38
votes
5answers
6k views

How can I get an underbrace and an overbrace to partially overlap in an equation?

Sometimes I want to describe portions of an equation using \underbrace and \overbrace in such a way that the portions are not completely distinct, for example: /-------\ x = A + B + C + D + E ...
32
votes
4answers
13k views

How to wrap text around a figure?

How to wrap text around a figure in LaTeX like this? Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean quis mi ut elit interdum imperdiet quis non ante. Sed imperdiet, sapien quis ...
30
votes
3answers
9k views

How can I typeset an exam or assignment paper?

I want to use LaTeX for exam and assignment papers for a class that I am teaching. I obviously could just do the whole thing myself. But, what alternatives are there for easily typesetting such ...
11
votes
1answer
3k views

Slashed symbols

In my field of work, mathematical operators that live on reduced dimensions are customarily defined as the normal one with a slash through it. For example, the gradient is usually written as \nabla, ...
112
votes
3answers
40k views

How do I ensure that figures appear in the section they're associated with?

Often floats may land quite a bit later in the document than the point they are created, sometimes after a section break. Is there a way to force a new section to start on a new page, after any ...
37
votes
3answers
10k views

Can I use \clap, \rlap and \llap in math mode?

The commands \clap, \llap and \rlap are useful "horizontal" analogues of \smash: they reduce the horizontal width of a box to zero, aligning the box with either the middle, left or right of the ...
37
votes
2answers
14k views

How to find the \textwidth in two-column mode?

Sometimes I find that floats don't fit nicely on a page, so I use \resizebox{\textwidth}{!}{ <blah blah blah> } so that the borders match the margins. However, I'm now working on a paper in ...
19
votes
1answer
7k views

Can I get a normal footnote in a minipage environment in LaTeX? How?

I need to use a minipage environment and I need a footnote in that minipage. I want the footnote to be numbered in the normal footnote sequence and to occur together with the rest of the footnotes in ...
54
votes
1answer
24k views

How to make clickable links and cross-references in pdfs produced by LaTeX?

How can I make things link url references, my index, table of contents, and cross references clickable links in documents produced by LaTeX? I generally use pdflatex to produce my documents.
82
votes
9answers
77k views

What's the best way to write e-mail addresses?

When trying to write an e-mail address, there are always problems with the @ sign. Solutions I've seen suggested are using some verbatim environment (more difficult in footnotes) and using a ...
91
votes
9answers
59k views

Fonts larger than \Huge?

How can I make text that is larger than the size of the output of {\Huge ...}? I would like to be able to make text arbitrarily large (even if that is done by some suboptimal scaling routine).
16
votes
2answers
907 views

How to set preferred PDF viewer for texdoc in TeXLive 2010 pretest.

I had evince, installed TexLive 2010 pretest (ubuntu lucid linx, fresh install). texdoc was using evince. Then I installed kubuntu ontop, and texdoc switched to okular. Now I've installed acroread and ...
4
votes
1answer
258 views

How do I make links in my pdf to run other programs?

I remember when I installed MiKTeX on my PC, I did it by clicking a series of links in a pdf document, which would run the various installer programs. What (La)TeX commands were used to make that ...
124
votes
3answers
24k views

What is the difference between \let and \def?

What is the difference between the \let and \def commands in TeX/LaTeX? Ideally please provide a simple example that will illustrate the difference between them.
621
votes
4answers
282k views

When should I use \input vs. \include?

There are two different commands to incorporate another file into the source of some document, \input and \include. When should I use one or the other? What are the differences between them? Are there ...
2
votes
2answers
2k views

How do I add numbered footnotes on every page?

I wan to be able adding numbered footnotes for some words in my documents, but displaying them on the same page and not at the end of the document. Ho do I do that?
8
votes
3answers
3k views

Using custom symbols

As comprehensive as the existing set of symbols is, it doesn't have every possible symbol that could exist, and it really takes the fun out of inventing a new symbol if you can't typeset it nicely. ...
79
votes
10answers
9k views

How can you use LaTeX to write a document with other people?

I imagine that many users are or were [PhD] students, so I would like to know: how do you use LaTeX to write a document (like the final dissertation) that requires many revisions from other people. ...
121
votes
9answers
49k views

How can I add “page # of ##” on my document?

I want to add a footer to my document displaying the current number out of total number of pages. How do I do that?
50
votes
5answers
21k views

Installing TTF fonts in LaTeX

One of the annoying aspects of LaTeX is the limited number of fonts that come by default, and the pain involved in making new fonts 'LaTeX' ready. I have a collection of truetype fonts that I'd like ...
31
votes
10answers
38k views

I want to start using LaTeX on Ubuntu. Where do I start?

There are many different kind of options that you can do in order to start using LaTeX on Ubuntu. I would prefer doing that through Eclipse, but if there is a better way of doing it, feel free to ...
19
votes
4answers
1k views

How do I break up a bibliography into separately numbered sections?

There are at least two use cases where one might want to list items in a bibliography under separate subsections with different numbering conventions. a CV, where you'd like to list journal papers, ...
38
votes
6answers
54k views

I want to start using LaTeX on Mac OS X. Where do I start?

I want to write my final thesis using LaTeX, what should I do in order to be able to do that through Eclipse on a Mac OS X? If any another good editor exists, feel free to write your opinion on why ...
1
vote
2answers
592 views

Will the \phantom{…} command break left justification if placed at the end of a line?

If I have some text and then \phantom{more text}, will LaTeX just allow an overfull (invisible) box at the end of the line, or could it potentially put in a line break and then have the invisible box ...
6
votes
1answer
1k views

Automagically externalising PSTricks and TikZ pictures

My thesis currently has a few PSTricks and TikZ pictures. It takes a while to compile over here Scott says he has some scripts to automate externalising TikZ pictures. I'm looking ideally for ...
20
votes
4answers
5k views

What table tools/packages do you use?

Making tables in LaTeX can be painful. All you need is a semi complex table with cells that have to span multiple rows/columns. What tools do you use to get around this complexity? Tabular? Tabularx? ...
9
votes
2answers
887 views

How can I get two sequences of “footnotes” in one LaTeX document, one as footnotes, the other as endnotes?

I want to have two distinct sequences of "footnotes" in a single text, one as footnotes, the other as endnotes. Can this be accomplished in LaTeX? If so, how? In case it isn't clear what I mean, ...
82
votes
9answers
40k views

What graphics packages are there for creating graphics in LaTeX documents?

What packages do you use and recommend for creating graphics in your LaTeX documents? As this is a community wiki post, please add your package to the accepted answer (or add a comment, and ...
24
votes
3answers
957 views

Are there LaTeX performance profiling tools?

The most obvious way to speed up LaTeX processing is to split a large and complex document into smaller pieces. For example, Makefiles, \beginpgfgraphicnamed/\endpgfgraphicnamed when using TiKZ, and ...
38
votes
5answers
8k views

How to obtain verbatim text in a footnote?

I want to employ a \verb command in a footnote. But, when I run pdflatex on \documentclass{article} \begin{document} I want this.\footnote{\verb|But, it does not work!|} \end{document} I get ...
120
votes
5answers
185k views

eqnarray vs align

Motivation I want to include a list of related equations, say, for a proof, in my LaTeX document. As far as I know, I have two good options, eqnarray and align. Question What is the difference ...
24
votes
5answers
8k views

How does one set custom labels for description lists?

Every now and then I use the description list environment \begin{description} \item[foo] foo is good \item[bar] bar is bad \end{description} to create lists with non-numerical labels. ...
55
votes
4answers
17k views

How do I insert an image in LaTeX so it looks good on print?

LaTeX documents print beautifully, but images often looks "ugly", "pixelated" or "low-res" compared to the text. By images I don't mean photos, which I rarely use, but rather diagrams, charts and ...
46
votes
3answers
4k views

Is there a program equivalent to lint for LaTeX?

Is there a program equivalent to lint for LaTeX? (lint checks C code for syntax errors and possible mistakes.)
43
votes
13answers
2k views

What are other good resources on-line for information about TeX, LaTeX and friends?

Are there newsgroups, forums, FAQs, and other sites that provide quality information on TeX, LaTeX and friends? Are all of these in English, or is there one in "my language of choice"?
103
votes
12answers
7k views

LaTeX packages for use with revision control

I use revision control (Subversion, to be exact) to keep track of the edits to my LaTeX documents. Is there a LaTeX package that interfaces with revision control? Specifically, it would be nice to see ...
25
votes
4answers
14k views

Anyone know a good template for formal letters?

Occasionally, I write letters that I actually print out and send by snail mail :). I'd like them to look as formal as possible. Archaic (pre-typewriter) Dutch customs require the sender's address to ...
46
votes
5answers
8k views

Avoiding jumping frames in beamer

Sometimes I want an element on a frame to change in steps. I do this by \only<2>{ ... } \only<3>{ ... } etc. But this causes the frame to jump due to different sizes of the ...
98
votes
24answers
42k views

What are good sites to find citations in BibTex format?

When working with Bibtex, manually transferring the citation information for articles, prooceedings, books, etc. can be a tedious work. Some web sites provide citations in Bibtex format. What are your ...
189
votes
3answers
145k views

How can I make an enumerate list start at something other than 1?

Sometimes, I want to have enumerate lists in LaTeX start at other than the first value (1, a, i, etc.) How can I make an enumerate list start at an arbitrary value?
33
votes
7answers
26k views

Why are some pages in my PDF coming out bold? [duplicate]

When I run my LaTeX document through pdflatex, some of the pages (the ones where figures appear) have all the text bolded. Why, and what can I do to make it stop?
100
votes
3answers
56k views

What are underfull hboxes and vboxes and how can I get rid of them?

Often, TeX outputs underfull hbox and vbox warnings when running and in the generated log file. What are these and how can I get rid of them?
40
votes
3answers
14k views

How can I make a table that takes up more than a single page?

I've got data that I need to include in a table, but there's a lot if it. I've played with the font size and table formatting as much as I can, but the table still won't fit on the page. Is there ...
37
votes
11answers
10k views

Embedding LaTeX equations into a webpage

I'd like to include some basic math equations into a webpage. Is there an easy way of either compiling the LaTeX into an image which I can upload, or else of having the browser parse the code?
7
votes
3answers
1k views

How do I create pasting diagrams in TikZ?

I've been toying with the idea of switching over from Xy-pic to TikZ for all of my diagramming needs, but one feature that's very important to me is the ability to create 2-categorical pasting ...
6
votes
1answer
1k views

How to create luatex.fmt

I wanted to try the latest version of LuaTeX, so I downloaded the official precompiled binaries but these raw binaries are useless without a luatex.fmt. How can this file be created?
27
votes
5answers
9k views

Can one “manually override” BibTeX's choice of citation keys by adding a field to the entry?

Normally, I'm basically OK with BibTeX's choice of citation key (by which I mean, the short symbol it shows in the final document, like [2] or [Hil05], not the one one types in the tex file), but ...
62
votes
5answers
7k views

Tool for cleaning LaTeX code

Is there something like indent for LaTeX? I have a collaborator that is using Scientific Workplace and the code it produces is totally messed up; I know I shouldn't expect miracles, but any machine ...
17
votes
14answers
1k views

What do I need in order to use TeX on Windows as an eventual replacement for Word?

What do I need in order to use TeX on Windows as an eventual replacement for Word? What software is available for Windows for WYSIWYG editing of TeX files?
2
votes
2answers
517 views

Is there a makefile system for LaTeX, etc? [duplicate]

Possible Duplicate: Tools for automating document compilation How do I handle building complicated and large LaTeX projects? Is there a makefile system (like GNU Make) or should I just ...

15 30 50 per page