Most Popular

1500 questions
94
votes
1 answer

What is glue stretching?

I had a question about dynamic vspaces (Dynamic vspace depending on text height) and there was a hint I should use a stretchable glue. Searching with Google didn't give me a helpful answer. I would be glad, if someone can explain it and give me a…
CSchulz
  • 1,915
94
votes
13 answers

What have been the most important changes to LaTeX in the last five years? (2005–2010)

I hope I will not be flamed for this question, but I have been out of the loop for the last five years. Therefore my question is: what do you consider the most important changes to LaTeX in the last five years, or asked differently: if you hadn't…
Owe Jessen
  • 1,167
94
votes
3 answers

Insert list of figures in the table of contents

Is it possible to create a list of all the figures at the end of a document (this I can do) and make it appear in the table of contents? So in the the table of content there will be a line saying List of figures ... 19 for example?
lpostula
  • 1,391
94
votes
6 answers

How to write a book in LaTeX

I have taken a look at other questions, and I don't see any answer to my question. If this is a duplicate for some question I haven't seen, feel free to comment. I am an experienced TeX user, I've been writing with TeX for about 3-4 years now. I am…
94
votes
5 answers

How can I create a pdf document exactly as big as my tikz picture?

I often create pictures in tikz that I want to either send to someone, or include in an email. The problem with that is that there is a big white space around and and especially below my pictures. To get around this, I usually print screen my figure…
Vivi
  • 26,953
  • 31
  • 77
  • 79
94
votes
5 answers

automatic size adjustment for nested parentheses

As I prefer outer parentheses to grow larger in nested expressions, I happen to insert \bigl and \bigr and its larger cousins a lot. I have always wondered whether there is a way to do this automagically. Inserting \left and \right prophylacticly…
uli
  • 4,315
94
votes
2 answers

How to fit a large figure to page

Possible Duplicate: Best figure size adjustment when dealing with different image sizes Given: a large figure, whose height:width ratio is unknown. Todo: Include this fig in LaTeX, such that: if the figure is very tall, then fit its height to…
lukmac
  • 1,073
  • 1
  • 8
  • 7
94
votes
5 answers

Braket notation in LaTeX

I am using the braket package to generate bra and ket vectors. However, I could not figure out how to do <0|0> using the package. Is there a command for this?
94
votes
4 answers

Difference between LaTeX, LaTeX2e, LaTeX3 ?

I was wondering, what is the difference between LaTeX, LaTeX2e and LaTeX3. Are the 2 higher versions available for use? I use LaTeX. How can I use the other 2 on Windows 7?
y2p
  • 2,117
  • 4
  • 20
  • 23
94
votes
3 answers

How to trace LaTeX errors efficiently?

One of the most annoying things about LaTeX is that handling errors can be cumbersome and nerve-racking. In fact, it is the main reason that keeps me from actively recommending LaTeX to most people (not only Apple users). Handling LaTeX errors is…
Christoph
  • 2,467
93
votes
1 answer

How to place label in middle of line (above and below) with TikZ

\fbox{ \begin{tikzpicture}[scale=1,auto=center] \node[circle,fill=gray!20] (n1) at (2,8) {Node A}; \node[circle,fill=gray!20] (n2) at (8,8) {Node B}; \foreach \from/\to in {n1/n2} \draw (\from) -- (\to)…
Faheem
  • 1,164
93
votes
3 answers

Change the background color of a frame in Beamer

How can I change the background color of one frame in my Beamer document? I tried doing \begin{frame} \setbeamercolor{background canvas}{bg=violet} % frame contents here \end{frame} but it seemed to have no effect. Anyone know what the problem…
Sophie Alpert
  • 15,550
  • 9
  • 37
  • 37
93
votes
4 answers

How to make the limit (mathematics) sign?

I want to learn how to make the limit sign. For example, take 'Limit of f(x) as x approaches 2 is 5' , how to make this?
JohnPhteven
  • 1,415
93
votes
3 answers

Bibliography not in ToC when using biblatex/biber

I just managed to switch from using BibTeX to biblatex with the biber backend. My references now appear how I want. However I have two new issues. 1) How do I change "Bibliography" to references? The old \renewcommand{\bibname}{References} does…
Alex
  • 1,393
93
votes
6 answers

Make first row of table all bold

I'm trying to do something that I thought would be relatively simple but seems to be quite hard. I have a table with a number of columns, and I'd like to make all of the titles appear in bold text. Obviously I can add \textbf to each of them in…
robintw
  • 7,362