Most Popular

1500 questions
120
votes
1 answer

What can *I* do to help the LaTeX3 Project

First, I appreciate this may not be the right place for this question, so absolutely no offence if it gets closed. I'm very much an end-user, rather than a programmer, of LaTeX, and I watch with awe and wonder, and often complete bewilderment, as,…
120
votes
8 answers

What are the relative strengths of TikZ and Asymptote?

I want to compare TikZ and Asymptote for their abilities in 2D & 3D functional plot and other general purpose, simple drawings. What are the strong aspects of TikZ over Asymptote?
120
votes
2 answers

How to set not italic or not bold?

It is well known that you can make the font italic or bold using \textit{} or \textbf{}. However, if I have an italic or bold font, what command can I use to make it nonitalic or nonbold?
kolonel
  • 1,593
119
votes
10 answers

Defining commands/abbreviations that contain numbers

I tend to use \newcommand to define macros for symbols I use often, e.g. \newcommand{\hankel}{H^{(1)}_0}. One inconvenience of this approach is the fact that command names cannot include numbers. What I ideally want is to map something like \H0 to…
119
votes
7 answers

Progress bar for latex-beamer

Instead of slide numbers, I find it very nice to have something like a unobtrusive progressbar at the bottom which grows each slide about (width of screen)/(slide numbers). I've found here (page in German) the following code…
lumbric
  • 4,269
119
votes
4 answers

Making a (simple) directory tree

I'm trying to make a simple directory tree representation in LaTeX. Something like: spam | +-- ham +-- eggs | +-- more spam +-- dead parrots The tree won't be that long (say, 10--15 entries or so), with three or so levels, and is…
119
votes
8 answers

Sieve of Eratosthenes in tikz

I am writing notes for my students under the topic of prime factorization and I needed to illustrate the Sieve of Eratosthenes and this is what I came up with in…
azetina
  • 28,884
119
votes
3 answers

Theorem without numbering

Is it possible to have single theorems without numbering? I would like to be able to switch them off individually with asterisk-* or have a nono-theorem environment. \newtheorem{theorem}{Theorem} \newtheorem{nono-theorem}{Theorem}[]
Sebastian
  • 1,907
119
votes
11 answers

How to convert PDF to EPS?

I can't find a tool to convert PDF to EPS, neither in MikTeX nor in TeXLive. Is there such a tool actually? Update: Based on Herbert's accepted answer, I simplify his batch as follows: #!/bin/sh # $Id: pdf2eps,v 0.01 2005/10/28 00:55:46 Herbert…
Display Name
  • 46,933
119
votes
8 answers

Cunning (La)TeX tricks

Writing (La)TeX code sometimes requires a degree of guile. Here (in no particular order) are two of my favourite examples. Macros ending with spaces Pete asked how to see the implementation of \LaTeX, since \show\LaTeX results in \protect \LaTeX.…
Ian Thompson
  • 43,767
119
votes
7 answers

When should I use non-breaking space?

DEK gained a reputation of painting red the draft dissertations of his students, taking particular note of incidents when they omitted a non-breaking space that should have been included. I have this list of places where you have to place…
Yossi Gil
  • 15,951
119
votes
3 answers

Changing background color of text in Latex

How can I make change a text background in LaTeX? For example using Latex code \textsc{Extra Curricular Achievements}\ I get However, I want the background of this heading to be changed so that it looks like this:- I want the background to be…
sairajat
  • 1,345
119
votes
1 answer

How to create internet link in PDF?

Let us consider the following example : \documentclass[11pt,twoside,a4paper]{book} \usepackage{hyperref} \begin{document} For more information about 'TikZ' click on the following link…
Soumitra Sen
  • 2,995
118
votes
11 answers

Inserting a small vertical space in a table

Is there a way that I can insert a small space in a table? When I use a superscript, the number touches the \hline.…
celenius
  • 5,274
118
votes
1 answer

How to produce a double column document in Latex?

I want to write double column document and I used this command \documentclass[twoside]{article} but it is not working, I do not know what is wrong and why it is disabled.
Tsigab
  • 1,191
  • 2
  • 8
  • 5