Questions tagged [tex]

TeX is a typesetting system, where the output is defined by command-sequences. Note that https://tex.stackexchange.com is specifically dedicated to TeX questions.

TeX is a typesetting system, where the output is defined by command sequences. It was designed and mostly written by Donald Knuth. TeX was designed with two main goals in mind: to allow anyone to produce high-quality books using minimal effort, and to provide a system that would give exactly the same results on all computers, at any point in time.

There is a Stack Exchange site dedicated to TeX, which is a good place to ask any TeX-related questions.

Resources:

872 questions
191
votes
8 answers

Get started with Latex on Linux

Impressed by is-latex-worth-learning-today, and many how-to's on Windows, How do you have someone started with LaTeX on Linux? How do you generate a pdf out of it and give up the OOO Word processer? Update: Thanks to all the suggestions given in…
lprsd
  • 84,407
  • 47
  • 135
  • 168
124
votes
26 answers

Is a successor for TeX/LaTeX in sight?

TeX/LaTeX is great, I use it in many ways. Some of its advantages are: it uses text files, this way the input-files can be diffed and many tools exist to work with text it is very flexible it has a stable layout: if I change something at the start…
Mnementh
  • 50,487
  • 48
  • 148
  • 202
94
votes
9 answers

How to create a timeline with LaTeX?

In history-books you often have timeline, where events and periods are marked on a line in the correct relative distance to each other. How is it possible to create something similar in LaTeX?
Mnementh
  • 50,487
  • 48
  • 148
  • 202
73
votes
5 answers

Python: Unable to Render Tex in Matplotlib

I recently upgraded my laptop to Snow Leopard, updated TeX to Version 3.1415926 (TeX Live 2011/MacPorts 2011_5), and installed Python 2.7.3. After all these installs, I ran macport selfupdate and macport upgrade outdated. However, now when I try…
cosmosis
  • 6,047
  • 3
  • 32
  • 28
71
votes
7 answers

Disabling underscore-to-subscript in Emacs Org-Mode export

When I export to PDF via org-mode (C-c C-e d), any words with underscores end up being partially converted to subscript. How can I prevent this from happening? I found this article on the subject: Disabling Underscore subscript in Emacs Tex…
zpinter
  • 2,232
  • 2
  • 23
  • 29
59
votes
4 answers

Enable xelatex in Latex Workshops for Visual Studio Code

I have a template, which defines all the typesetting recommendations for thesis, but it uses xelatex for compilation. I want to continue using VS Code with Latex Workshops, question is how to change compiler to xelatex from pdflatex. The last one…
A.Ametov
  • 1,790
  • 1
  • 13
  • 20
56
votes
4 answers

Passing command-line arguments to LaTeX document

Sometimes, I define new commands such as the following. \newcommand{\comment}[1]{\textbf{#1}} %\necommand{\comment}[1]{\emph{#1}} The above commands enable me to change the style of parts of my code all at once. If I want to generate both of the…
reprogrammer
  • 14,298
  • 16
  • 57
  • 93
54
votes
2 answers

Renumbering figure in LaTeX?

How can I make figures be renumbered in a TeX document? I want the main figures to be 1, 2, 3, ...etc. But then I want a section to have supplementary figures, S1, S2, S3, S4. The "S" does not have to appear in the figure name, but I do want to…
user248237
51
votes
5 answers

Removing prefix from figure captions in LaTeX

I'd like to make my own caption inside \caption{} in figures of LaTeX. How can I turn off the "Figure " prefix from the captions that appear?
user248237
49
votes
5 answers

Latex and Vim usage

How can I use Latex effectively in VIM? Is there a way to configure compile errors by highlighting the line in vim? I have syntax highlight. What are other recommended add-ons? Is a makefile the recommended way to compile a latex file to…
Verhogen
  • 27,221
  • 34
  • 90
  • 109
42
votes
4 answers

How to obtain the same font(-style, -size etc.) in matplotlib output as in latex output?

I have one .tex-document in which one graph is made by the python module matplotlib. What I want is, that the graph blends in to the document as good as possible. So I want the characters used in the graph to look exactly like the other same…
JHK
  • 639
  • 1
  • 7
  • 14
37
votes
2 answers

Make an unbreakable block in TeX

I want to do something like the following in TeX: \begin{nobreak} Text here will not split over pages, it will remain as one continuous chunk. If there isn't enough room for it on the current page a pagebreak will happen before it and the whole…
fredley
  • 32,953
  • 42
  • 145
  • 236
36
votes
10 answers

When you write TeX source, how do you use your editor's word wrap?

Do you use "hard wrapping" (either yourself or automatically by your editor) by inserting newlines into your source document at a certain line length, or do you write your paragraphs in one continual line and let your editor "soft-wrap" for…
jparker
  • 1,569
  • 2
  • 16
  • 16
35
votes
1 answer

How to insert plain text?

I have some xml text to be inserted in the document as plain text. I directly inserted but it gives weird symbols. How can I avoid that? XML I want to add: \begin{tabular}{|c|}
Title and Logo
left Column…
SwiftMango
  • 15,092
  • 13
  • 71
  • 136
31
votes
2 answers

How to Remove Footers of LaTeX Beamer Templates?

I am using the "beamerthemesplit" template of the Beamer LaTeX package. This templates includes the author's name and the title of the presentation in the footer of all pages. Is anyone aware of any way to suppress this footer?
reprogrammer
  • 14,298
  • 16
  • 57
  • 93
1
2 3
58 59