Most Popular
1500 questions
127
votes
7 answers
Useful shortcuts or key bindings or predefined commands for emacs+AUCTeX
One of the problems I've encountered with emacs in general, and with the defaults key bindings in particular, is the diversity. There are simply so many of them that sometimes, at the end of the day, you simply don't know that you should look for…
Dror
- 22,613
127
votes
5 answers
Put entire thesis on one A0 poster?
The question
Is there any way to automatically scale and put an entire document on an A0 page? The thesis for which this is to be done is available as LaTeX code, as well as PDF output. Of course I know it is possible to do this manually, but I…
Zwähnia
- 2,011
127
votes
8 answers
Align equation left
Here is my split equation:
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{equation}
\begin{split}
a_{ijk} =& \frac {Pr(M_{I} =2 \& M_J=1 \& M_K =1 | I=i , J=j , K=k)}{Pr (M_I =1 \& M_J =1 \& M_K=1 | I=i , J=j)} \\
…
user35571
- 2,127
- 5
- 21
- 21
126
votes
5 answers
Does it matter if I use \textit or \it, \bfseries or \bf, etc
I typically use
\textit{Some italicized text}
while some of my colleagues use
{\it Some other text}
Should I bother changing one or the other, or does it matter?
Related:
Is there any reason not to use \let to redefine a deprecated control…
KeithB
- 3,368
- 2
- 21
- 16
126
votes
5 answers
A simpleton's guide to (...)TeX workflow with emacs
Progress Report
Four months on, I thought it a good idea to "report back" here, and I wrote something. Then, I had better thoughts and turned it into a blog post.
You can read it on the TeX.sx blog.
Prompted by a recent conversation in the chat…
Brent.Longborough
- 27,991
126
votes
1 answer
Subfigures side by side with captions
I am using the following code to put my two figures side by side with different captions,
\begin{figure*}[t!]
\centering
\begin{subfigure}[b]{0.5\textwidth}
\centering
\includegraphics[height=1.2in]{a}
\caption{Lorem…
Sait
- 2,007
125
votes
3 answers
How to insert a background image in a beamer frame?
I want to insert a background image in a beamer frame and use this "frame" as a beamer frame. I want to insert different background images on different frames. Towards this end, I…
suncoolsu
- 1,449
125
votes
5 answers
How to add extra spaces between rows in tabular environment?
I couldn't find any option that lets me expand the vertical space between rows in tabular environment. For example,
\begin{tabular}{c c}
$f^{(n)}(x)$ & $f^{(n)}(0)$ \\
$-2xe^{-x^{x^{x^2}}}$ & 0
\end{tabular}
This looks awkward because of…
roxrook
- 9,907
125
votes
8 answers
How can I crop included PDF documents?
I've got a PDF that is automatically generated from a certain piece of software, that I want to include in the report I'm writing. I'm using pdfpages which gets the job done elegantly, but the problem is, the PDF has a lot of white space around the…
Martin Tapankov
- 17,900
125
votes
1 answer
booktabs: What is the difference between \toprule and \hline
The horizontal lines in tabular environment can be constructed. What is the difference between \toprule, \midrule, \bottomrule and specifying horizontal line using \hline?
Vaibhav
- 6,625
- 15
- 49
- 76
125
votes
5 answers
Define a variable in TikZ
I guess this is a very simple question, but I couldn't find the answer... How can I define a variable in TikZ? I want to have something like, for example:
\draw[->] (x1,y1)--(x2,y2);
Such that x1,x2,y1,y2 are defined somewhere else and can be…
Dror
- 22,613
124
votes
4 answers
\bar vs. \overline - when to use what, semantically?
Following the question "The \bar and \overline commands" which is simply about the lengths of both, I'd like to know when to use \bar and when to use \overline from a semantically viewpoint.
I always used \bar, because up until now I only had single…
Foo Bar
- 13,247
124
votes
1 answer
Set limit to one author when using "et al." in biblatex
In the header of my document I set the maximal author names to 2:
\usepackage[style=authoryear-icomp, maxbibnames=9, maxcitenames=2, backend=biber]{biblatex}
Now, when I cite texts with two authors, LaTeX gives me the following:
(Author_A/…
Carry White
- 1,293
124
votes
11 answers
What are the advantages of TikZ/PGF over PSTricks?
The first time I saw the PSTricks' 3D Galleries, I immediately fell in love with it. I have spent much time to learn and use it.
In this forum, I see many people using TikZ. I have not used TikZ yet. But now I am confused why there are so many…
Display Name
- 46,933
124
votes
6 answers
How to specify font size less than 10pt (or more than 12pt)?
I'm trying to make a document that has a very small font throughout, I tried this:
\documentclass[0.5mm, a4paper]{article}
\documentclass[7pt, a4paper]{article}
But it doesn't seem that they allow me to go anything below 10pt.
This hack make it…
Enrico Susatyo
- 2,007