Most Popular
1500 questions
502
votes
34 answers
What are the available "documentclass" types and their uses?
Some of the available classes of documents in LaTeX are well known and widely used, such as the article and beamer classes, while others are not so well known, such as the standalone class.
I found this figure (edit: transcribed)
article for…
Vivi
- 26,953
- 31
- 77
- 79
502
votes
4 answers
LaTeX figures side by side
I want to place 2 images side by side in LaTeX. I have 2 .png files and I don't understand how to do it in LaTeX. I have tried many ways but could not get a good result.
nikhil
478
votes
5 answers
Differences between LuaTeX, ConTeXt and XeTeX
I’m interested in the differences and commonalities between the “new” (La)TeX processors:
LuaTeX,
XeTeX, and
ConTeXt.
Personally, I’ve only used XeTeX so far and without having the time to try out all three systems, I’m having a surprisingly hard…
Konrad Rudolph
- 39,394
- 22
- 107
- 160
470
votes
4 answers
Difference between \textwidth, \linewidth and \hsize
The three lengths \textwidth, \linewidth and \hsize seem to all hold the width of the current line. At least I never saw some real difference between \textwidth and \linewidth in my code. Both seem to be identical even when changed, e.g. by a…
Martin Scharrer
- 262,582
466
votes
65 answers
What packages do people load by default in LaTeX?
I'm getting the impression from reading the answers written by some of the real experts here that there are quite a few little packages that just tweak LaTeX2e's default behaviour a little to make it more sensible here and there.
Rather than try to…
Andrew Stacey
- 153,724
- 43
- 389
- 751
465
votes
13 answers
Column and row padding in tables
How do you guys go about controlling column padding in tables?
Update
To clarify, I'm looking for a way to control both vertical and horizontal padding. So, if I had a simple table like in the following code snippet, I could pad the columns and…
JustDanyul
- 5,037
464
votes
2 answers
Why should I use \usepackage[T1]{fontenc}?
As a native English speaker, I've mostly been allowed the luxury of pretending that ASCII is enough, and have been able to treat font encodings as not my problem. I've seen lots of advice that I ought to include \usepackage[T1]{fontenc} in my…
vanden
- 30,891
- 23
- 67
- 87
451
votes
12 answers
Commenting out large sections
To "comment out" a line, I need to insert a % at the beginning of the line (so that the line will not be compiled).
Is there a way to comment out a large section without having to manually place % in front of each line?
BeauGeste
- 4,613
448
votes
6 answers
How to change certain pages into landscape/portrait mode
How can I change the orientation of some pages of my document into landscape mode, while leaving the others in portrait mode (or vice versa)?
hayalci
- 6,489
442
votes
3 answers
Strikethrough text
I am writing an article in LaTeX 2e. Part of the article describes the Sieve of Eratosthenes, and I want to show examples of how multiples of a prime are removed from the sieve by showing them in a strikethrough font. How do I create a strikethrough…
user448810
- 5,615
429
votes
5 answers
How to suppress page number?
I've made myself custom title-page, put it in separate .tex file and when I input it, it is numbered with 1. The very next page is numbered with 1 also, and page-number increases on the following pages. Main file looks like…
user1996
426
votes
10 answers
How do I change the `enumerate` list format to use letters instead of the default Arabic numerals?
I've seen documentation whereby an \alph command is put around the \begin{enumerate} somewhere, but I'm not entirely sure how that operates...
Billy ONeal
- 10,439
423
votes
28 answers
Is there any way to do a correct word count of a LaTeX document?
Often assignments (or even papers) have a word count limit. That is not a big deal when using Word, but I don't know how to do that using LaTeX. My solution has been so far to compile the document and then do a rough word count of my pdf file,…
Vivi
- 26,953
- 31
- 77
- 79
420
votes
7 answers
How to write “ä” and other umlauts and accented letters in bibliography?
How to write in bibliography (package natbib) letter "a" with two dots above? Specially, I mean the word Birkhäuser.
Is there a general rule or way how to write such umlauts or other accented letters in bibliographies?
Laura
- 6,403
412
votes
6 answers
What to do to switch to biblatex?
Because of the great answers posted around in the site, I'm finally considering to do the switch and move to biblatex. So, the question is what do I have to do?
To give the question some focus, assume that I already have a somewhat largish .bib file…
Juan A. Navarro
- 62,139
- 32
- 140
- 169