Most Popular

1500 questions
407
votes
4 answers

Omitting the date when using \maketitle

I'm using the \author and \title commands to produce a title with \maketitle. I also know that there is a \date command to specify the date of my work. However, if I omit \date, \maketitle will produce the current date. How do I achieve that no date…
lockstep
  • 250,273
405
votes
13 answers

Are \( and \) preferable to dollar signs for math mode?

Along the lines of Why is \[ ... \] preferable to $$ ... $$?, what reasons are there (if any) to favor \( ... \) over $ ... $?
Mark Meckes
  • 17,791
394
votes
6 answers

What is the use of percent signs (%) at the end of lines? (Why is my macro creating extra space?)

I see that the code in many packages and examples contains percent signs % at the end of (many) lines. What are they used for? Do they affect the parsing of those lines?
393
votes
8 answers

Keeping tables/figures close to where they are mentioned

Is there any package or a method to force LaTeX to keep floating environments like table and figure closer to where they are declared?
artimess
  • 4,301
390
votes
14 answers

biblatex in a nutshell (for beginners)

Is there a 'biblatex in a nutshell' guide out there? I'd like if someone explained to me the essentials on how to use biblatex (what lines I have to write in my document, which files I have to have, how many times and what I have to compile), so…
slackenerny
  • 4,900
389
votes
1 answer

How to change the space between the itemize "items" in LaTeX?

How to change the space between the itemize "items" in LaTeX so that I can continue to use the "itemize" and "item" tag without needing to redefine any new tags?
user3906
  • 3,991
388
votes
5 answers

What is the difference between \def and \newcommand?

Inspired by a question about \let and \def, I have some that essentially all boil down to asking What are the differences between \def and \newcommand? In particular, I wonder Is it possible to have parameters passed to \defed commands, both…
Michael Underwood
  • 21,356
  • 13
  • 52
  • 41
388
votes
7 answers

How to add an extra level of sections with headings below \subsubsection

I have a document which requires many levels of sectioning. I have sections, subsections and subsubsections, but require one more level below that. I can't change the sections to be parts and move everything up a level, as this document will…
robintw
  • 7,362
388
votes
13 answers

How to create posters using LaTeX

I want to create posters for my poster presentation on a conference. What tools or LaTeX classes are available for preparing posters ?
hayalci
  • 6,489
385
votes
34 answers

What are good learning resources for a LaTeX beginner?

Which book (free or otherwise) was the most useful to you when you started learning LaTeX? I am frequently asked this question by friends who want to learn LaTeX, and I recommend the book which got me started, The Not So Short Introduction to…
Vivi
  • 26,953
  • 31
  • 77
  • 79
379
votes
7 answers

How do I update my TeX distribution?

I'm trying to compile a document that only works with an up-to-date distribution, so I'd like to know: how do I update my distribution? Please provide screenshots where appropriate. List of answers MacTeX (Mac) MiKTeX GUI…
cmhughes
  • 100,947
377
votes
5 answers

What is the LaTeX command for "em dash" (—)?

I am trying to insert the symbol in the title of the question, which I copied from a PDF article, but it appears as space in the output file. What is the corresponding LaTeX command?
Tarek
  • 3,933
  • 3
  • 15
  • 6
357
votes
2 answers

Lengths and when to use them

There are many lengths in LaTeX. For instance, \enskip, \enspace, \quad, \parskip, \smallskip, ... Some of them are mostly used for vertical spacing, some others are mostly used for horizontal spacing, and perhaps some of them are used in both…
ASdeL
  • 4,925
356
votes
8 answers

Is it possible to change the size of an arrowhead in TikZ/PGF?

I'm trying to draw an arrow with a bigger head than normal. Is it possible without changing the style of the line itself?
yegor256
  • 12,021
355
votes
4 answers

Vertical space in lists

What is the best way to change the amount of vertical space between items in list environments (globally or locally)?
Mark Meckes
  • 17,791