Most Popular
1500 questions
63
votes
2 answers
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 my document. But, as this minimal example…
vanden
- 30,891
- 23
- 67
- 87
63
votes
1 answer
"Undefined control sequence" at beginning of any simple document
Very new to Tex. Trying to get the most basic doc to work. Not matter what I do I always get an "Undefined control sequence" at line 1 of my document. As of now, I am only trying to build the following:
\documentclass{article}
\begin{document}
This…
Brad
- 765
63
votes
6 answers
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 this:
! LaTeX Error: \verb illegal in command…
vanden
- 30,891
- 23
- 67
- 87
63
votes
3 answers
Which "bold" style is recommended for matrix notation?
I am wondering which "bold"-style is the "appropriate" or "official" way for matrix notation. E.g., let's say the matrix "A." \textbf{A} would result in a more italics representation compared\textbf{A}…
user34074
63
votes
3 answers
Where are the necessary places to be appended with % to remove unwanted spaces?
I have experience where empty spaces cause unwanted effects. It is not easy to trace the cause of these unwanted effects. In order to eliminate any doubt, I often overuse % as follows.…
Display Name
- 46,933
63
votes
5 answers
Are there any good general typesetting books / references?
I would like to learn more about typesetting, the accepted best practices, rules and tricks used in books, letters, resumes etc. For example, what are the usual left and right margins? Line spacing? When to use what type of justification?
Any good…
63
votes
7 answers
How to automatically draw tree diagram of prime factorization with LaTeX?
I want to have a simple interface to automatically draw tree diagrams of prime factorization. For example, by invoking the following code,
\PrimeTree{36}
\PrimeTree{90}
\PrimeTree{112}
\PrimeTree{612}
\PrimeTree{7875}
\PrimeTree{22230}
we will get…
kiss my armpit
- 36,086
63
votes
2 answers
Figures: What is the difference between using subfig or subfigure
I tend to use \subfloats[]{} in my figures when I want to list multiple labelled figures of similar content in one bigger picture. However, I see that some people use \subfigure.
What is the difference between these two options?
Is one better than…
dustin
- 18,617
- 23
- 99
- 204
63
votes
3 answers
\nameref -- How to display section name AND its number
Is it possible to make \nameref display not only the title of the section but also its number?
\section{First Section}
\label{sec:some_sec}
\subsection*{Unnumbered subsection}
\label{sec:subsec}
[...]
As we defined in section…
cpt. jazz
- 885
63
votes
4 answers
Is it a bad idea to use \begin{section} ... \end{section} in LaTeX?
In several discussions about relatives merits of LaTeX v. xml, a xml supporter complained that in LaTeX sections, subsections etc are not properly closed, so it is hard to tell where a section ends. Of course it is typically possible to recognize…
Jan Hlavacek
- 19,242
63
votes
6 answers
How to create a Sierpinski triangle in LaTeX?
I have been trying to recreate the following image in LaTeX
and for me personally it has to be done with pdflatex. Although answers using pst-fractals
From Jake I got a good start which led to the following…
N3buchadnezzar
- 11,348
- 7
- 55
- 114
63
votes
2 answers
How to text-wrap an image in LaTeX
How to text-wrap an image in LaTeX.
Ex: In technical documents, authors names will be text wrapped tights, with their images.
Udhay Prakash
- 739
63
votes
2 answers
What is the basic mechanism for writing something to an aux file?
I am interested in the basic mechanism behind writing stuff to the .aux file. (Or some other auxiliary file).
Let's say I want to write myself a basic package for making notes on my files. (I know packages already exist for doing this. The point of…
Seamus
- 73,242
63
votes
3 answers
Double square brackets
In many equation editors (e.g. MS Word 2007 and Daum Equation Editor), there's a double square bracket. Is there a TeX equivalent for [[, ((, )), and ]]?
user28592
63
votes
1 answer
How to change section/subsection font size?
I'm writing a paper that requires the section titles to be in 12pt font, I can get the title to be in 12pt using:
\section{\fontsize{12}{15}\selectfont Introduction}
but the section number does not change size, is there a way to do this?
I've also…
andy mcevoy
- 1,729