Most Popular

1500 questions
66
votes
5 answers

Enumerated list with square brackets

I want to make an enumerated list in the following format: [1] foo foo [2] foo foo ... How I can do that using enumerated lists? I have tried the following: \begin{enumerate}[\left[ 1 \right]] but it does not work.
Regressor
  • 763
66
votes
2 answers

LaTeX template for a technical reference manual / user guide?

I'm looking to use LaTeX for my technical documentation needs (such as reference manuals, user guides, etc). Could I use your template to quickly get started in order to avoid being overwhelming by the LaTeX world... tons of packages and control…
Harry
  • 763
  • 1
  • 6
  • 5
66
votes
1 answer

Referencing figures doesn't work

Possible Duplicate: Where to put the \label on a figure environment? I'm having a problem with referencing figures in LaTeX. I have the following…
66
votes
2 answers

How to change the nested itemize bullet characters?

When creating a nested itemize environment in LaTeX as follows: \begin{itemize} \item one \dots{} \begin{itemize} \item Language Models \item Vector Space Models \end{itemize} \item two \dots{} \item three…
66
votes
11 answers

Seasonal Challenge (Contributions from TeXing Dead Welcome)

This question led to a new package: halloweenmath Update - 9th November, 2016 Many thanks to all the fantastic and imaginative answers! In a reflection of today's events, the winner of the bounty is not the winner of the popular vote. If it…
cfr
  • 198,882
66
votes
4 answers

How to style blockquote?

I use this code: \begin{quote} my quote \end{quote} I want to set it to singlespacing although the rest of the text ist formated with oneandahalfspacing. i also want to set the font size. How can I do this?
texNewbie
  • 1,211
66
votes
12 answers

Is there a standard way to include ORCID in TeX / PDF?

I would like to add the ORCID to the metadata of documents I write. Is this possible with PDF? Is there a standard way to include it in TeX? The nicest way would be if there way a standard TeX command so that the compiled PDF would automatically…
Martin Thoma
  • 18,799
66
votes
3 answers

(error) \tightlist (converting .md file into .pdf using pandoc)

I was converting 'lecture1.md' file I made via Rstudio into 'lecture1.pdf' using Pandoc at Mac Terminal. and I got this error message : ! Undefined control sequence. \tightlist l.213 \end{frame} pandoc: Error producing PDF from…
inmybrain
  • 772
  • 1
  • 5
  • 8
66
votes
1 answer

e^{...} vs \exp(...) in display mode

In terms of readability as well as correct syntax, what is more preferred in mathematical equations: e^{...} or \exp(...) -- and why? For instance, e^{x^2/(4t)} or \exp(x^2/(4t)). The latter is easier in that I can directly convert this expression…
user80948
66
votes
5 answers

How do I display pi in LaTeX like Don?

Way back in 1979, Donald Knuth, tried to give the feeling that π is irrational using the idea of infinite sequence of smaller and smaller font sizes like what I have tried to do here using HTML and CSS. How do I do the same using LaTeX? Now to the…
Sukii
  • 1,051
66
votes
4 answers

Stable vertical alignment of columns in Beamer

In Beamer, I often use a two-column slide layout, picture on the left and text on the right. Sometimes the same picture is used on multiple slides, with the text on the right changing. I use the Beamer columns environment for this purpose. My…
Neil Olver
  • 4,942
66
votes
13 answers

How can I superimpose LaTeX / TeX output over a PDF file?

I have a form as a PDF file. I would like to use LaTeX/TeX to overlay my text over the form, and send the output to either a print or another PDF file. Is this possible? How would I go about it?
chernevik
  • 761
66
votes
4 answers

Grid System in LaTeX

I'd like to typeset documents using the 'Grid system' of page layout. Good examples are on pages 40-53 of this document. The textpos package is helpful for this, but two additional features would be useful: Automatic flow of text across…
Chris Johnson
  • 1,497
  • 2
  • 13
  • 14
66
votes
5 answers

Drawing Mechanical Systems in LaTeX

I really like CircuiTikZ for drawing diagrams in my LaTeX documents. However I mostly draw mechanical and not electronic systems, which is why I'm looking for some similar way to draw mechanical systems. What I want is something to draw masses,…
Paul
  • 1,749
66
votes
1 answer

Losing the vertical line on my table when using multicolumn

I tried to use this for the last part of my table, but I can't get a vertical line at the end. Does anyone know? \begin{tabular}{|CC|C|C|C|C|C|C|C|C|C|C|}\hline \Tab{Method Based on \\\hline Radiography\\Magnetic Particle (A.C.)\\ \\Eddy…
Allie Roldan
  • 1,113