Quick links (alphabetically)

Additional (math) operators, relations and so onBeamerBibliographies and citationsClasses and class optionsCorrect centeringCross-referencing, including hyperrefDatabasesDate and TimeFigure/table numberingFigure/table positioningFonts & font encodingFrequent source code related issuesFront matterImagesIndexing and GlossariesInstallingMath environmentsMeta TeX.SENamingOld font macrosSectioningSpacing and paginationSymbolsTable formattingText as textTheorems and friendsTikZ issues

I keep seeing the same bad coding styles being used in MWE or even recommended in answers or comments. There are also some FAQs (like the famous and repeatable asked how-to-place-my-figure-here question) which need to be linked to the appropriate existing question. Sometimes I have issues finding the related question quickly even if I already linked to it a couple of times before.

So I thought it would be good to have a collection of such often references questions sorted after topic in a meta post similar to our create Text building blocks.

Questions should be listed after topic. Every topic as CW answer to this post. Please use the following format:

## Topic Headline at Start of Answer Post

* [question title](http://tex.stackexchange.com/q/<question id>) [2 spaces] [linebreak]
 ``[question title](http://tex.stackexchange.com/q/<question id>)``

This way the question is provided as link (for quick access from this page) as well as markdown code suitable for comments (and as in-line link in a chat message). The URL can be received by using the link link below a question. There is also an stackapps app (modified by me) which produces this format. The include /<user id> should be removed to have the links in a neutral form. The two spaces and line break after the first line makes sure that the code starts at a new line.

Topic headers at the start of every answer post should be done using second order headlines, i.e. ## Topic. The first order headlines are a little to large IMHO.

  • 13
    Great list: thanks Martin! – Joseph Wright Apr 14 '12 at 16:43
  • 4
    @doncherry: Good idea with the quick links, thank you! – Jake May 8 '12 at 19:58
  • @Jake: I was thinking to add a bullet-point list at the bottom myself, but it didn't looked good. I like the top list in this form much better. – Martin Scharrer May 8 '12 at 20:03
  • @MartinScharrer I'm not sure if the format with several categories in separate answers is working out. We have 26 questions in 12 answers, that's about two per category, and whenever I want to add a question, I'm having trouble finding the right category. One answer with broader categories might be a better solution and more flexible? – doncherry Nov 16 '12 at 21:34
  • @JosephWright Would it be useful to add tex.stackexchange.com/questions/255709/… here? If so, does it belong with Installing or Fonts? I hesitate to just add it because it may be only frequently referenced by me and I don't want to use this meta-post for self-advertising .... – cfr Nov 1 '16 at 4:16

28 Answers 28




Symbols (see also Fonts & Font encoding)

Scott Pakin's Comprehensive symbols list
[Comprehensive symbols list](http://mirror.ctan.org/info/symbols/comprehensive/)

Symbols in math

Symbols in text or code


Bibliographies and citations

General problems

Specific elements of a bib entry

Bibliography tools and packages


Figure/table positioning


Correct centering


Math environments

Questions involving coding

Delimiters: \left / \right problems, sizing

Spacing, sizing and positioning (see also Symbols)

Displays and related multi-line environments




Frequent source code related issues

Package loading order

Use of percent signs (%)

LaTeX internal commands with at signs (@)

Use of \@ (backslash-at)

Verbatim inclusions

LaTeX3 syntax

Not ending paragraphs with a double backslash

Nested square brackets

Number parsing

  • I have issues finding a right title here. Feel free to change it. Not sure if there are more questions which fall under this topic. – Martin Scharrer Apr 17 '12 at 16:48
  • I'd suggest tex.stackexchange.com/questions/7453/… as the canonical question about %, as it doesn't contain a second question about braces. – Caramdir Jun 27 '12 at 16:05

Cross-referencing, including hyperref


hyperref and bookmarks


Old font macros

I need the following text quite often, so I post it here:

Please note that the `\it`, `\bf`, etc. font macros are deprecated because
they do not use the new font selection scheme introduced with LaTeX2e.
Please use `{\itshape ..}`, `{\bfseries ..}` or `\textit{..}`, `\textbf{..}` instead.
See [Does it matter if I use `\textit` or `\it`, `\bfseries` or `\bf`, etc.](https://tex.stackexchange.com/q/516)
and [Will two-letter font style commands (`\bf`, `\it`, …) ever be resurrected in LaTeX?](https://tex.stackexchange.com/q/15361)
for more information.

Spacing and pagination

Special cases of long strings without hyphenation

Ordinary hyphenation

Line breaking following a non-letter (e.g. a hyphen or slash)

  • 1
    there are many, many questions that ask why there isn't a space following some command; many could be combined, but most haven't. i've just added the [spacing] tag to several that didn't have it (apologies for kicking them to the active list; most did have the tag already). i think this concept is a good candidate for addition here, but can't decide among the pertinent questions. some candidates (only the numbers, or i'll run out of space here): 14526, 17730, 17872 (closed ==> 17730), 25820, 29211, 44878, 79760 (closed ==> 14526), probably more – barbara beeton Oct 30 '12 at 21:16
  • since you're the one who added this category, there are quite a few questions about removing vertical space, especially before chapter headings. among them (numbers only): 17299, 39988, 43087, 44751, 70156, 79232, 109722, possibly more. i didn't check for xrefs, but suspect that there are some. – barbara beeton May 9 '13 at 20:24

Fonts & Font encoding (see also Symbols)

Questions about text fonts

when using T1 font encoding, one should also

hyphenation problems with accented characters

using Times (the times package is obsolete)


Documentation & Definition of commands


LaTeX, package documentation look-up
[LaTeX, package documentation look-up](https://tex.stackexchange.com/q/62653)

What is the quickest way to open the pdf-manual for a given tex function or program? [What is the quickest way to open the pdf-manual for a given tex function or program?](https://tex.stackexchange.com/q/269521)

texdef & friends

Where do I find out how a command/environment is defined?
[Where do I find out how a command/environment is defined?](https://tex.stackexchange.com/q/4327)

Display source for a command
[Display source for a command](https://tex.stackexchange.com/q/36955)

source2e, macros2e

Documentation reference for LaTeX internal commands?
[Documentation reference for LaTeX internal commands?](https://tex.stackexchange.com/q/4790)




Figure/table numbering



  • The how to draw this scheme link is down. – Troy May 9 '17 at 10:04
  • @Troy Thanks. The question had been closed (as duplicate, but the dupe was deleted as well), and later deleted. But neither that question nor the duplicate had any answers, so I just removed the entry from the post. If you're wondering, it was about drawing this: texample.net/tikz/examples/multiplexer – Torbjørn T. May 9 '17 at 10:33

Table formatting


Indexing and Glossaries

  • The perl scripts question isn't specific to glossaries, but I wasn't sure where else to put it. – Nicola Talbot May 3 '16 at 9:01





Class options


Front matter

Title page

ToCs, Lists of figures/tables


Meta TeX.SE



Including/excluding "sections" of input code


Theorems and friends


Additional (math) operators, relations and so on



CSV / Text Files

Relational Databases





Text as text


Date and Time

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .