Most Popular

1500 questions
102
votes
9 answers

How do I repeat a theorem number?

Often in my papers I want to mention theorems in the introduction that are introduced in more detail and proved in a later section. I'd like to include the statement of these theorems twice over, each time numbered as the theorem would naturally…
Scott Morrison
  • 7,553
  • 6
  • 33
  • 32
102
votes
1 answer

How sensible is it to use latexmk?

Until recently I always compiled my documents via the steps, pdflatex -> makeindex/biber -> pdflatex -> pdflatex (and the intermediate steps only if necessary). Latexmk does all the necessary steps in one command for me but I suspect that comes with…
Philipp
  • 5,078
  • 10
  • 30
  • 32
102
votes
4 answers

Installing TTF fonts in LaTeX

One of the annoying aspects of LaTeX is the limited number of fonts that come by default, and the pain involved in making new fonts 'LaTeX' ready. I have a collection of truetype fonts that I'd like to prepare for use, and I definitely want to make…
Suresh
  • 16,511
  • 14
  • 55
  • 64
102
votes
4 answers

Techniques and packages to keep up with good practices

Question What techniques and packages are there to keep up with good practices? What I already know I already know of the following packages for this kind of purpose: \RequirePackage[l2tabu,orthodox]{nag}% Old habits die hard. All the same, there…
N.N.
  • 36,163
102
votes
1 answer

What is the purpose of \protect?

Possible Duplicate: What is the difference between Fragile and Robust commands? I've never understood the purpose of the command \protect? When and why should it be used?
gablin
  • 17,006
102
votes
2 answers

Revisiting producing structured PDFs from LaTeX

I am trying to produce a structured or 'tagged' PDF from pdftex (Tex Live 2013) that passes automated tests in Adobe Acrobat for tagging. These tests are the de facto indicator for a document accessibility, which are often required by universities,…
Andy Clifton
  • 3,699
101
votes
3 answers

How to invoke latex with the -shell-escape flag in TeXStudio (former TeXMakerX)?

This is a follow-up question on the post: Creating a table around a java script code highlighted using minted where invoking -shell-escape flag in TeXStudio is one of the two questions posted by the OP. When running my document in TeXMakerX with…
hpesoj626
  • 17,282
101
votes
3 answers

Torn page effect

[See Torn paper: matching up the torn edges for more on this topic, as well as better illustrations of the final product.] I have a document with a lot of short excerpts from another book scattered through it. Putting frames around them looks a…
Mohan
  • 15,906
101
votes
17 answers

Squeezing scientific paper to fit within page limits

I am submitting a paper to a conference that has a limit of 10 pages. I have edited and edited the text, but the paper still fills 11 pages, and I am reluctant to remove anything. What tricks can I use to make the paper fit in 10 pages? I know…
Vebjorn Ljosa
  • 22,437
  • 17
  • 43
  • 32
101
votes
1 answer

Get the title instead of the number of a referenced chapter/section?

In my document I am referencing a section, e.g. \section{My Section}\label{test} Also see section\ref{test} This gives me, e.g. Also see section 1 but what I want is: Also see section My Section How can I do that? [Edit: comment moved to…
me.at.coding
  • 1,653
101
votes
5 answers

Can I use an image located on the web in a LaTeX document?

I have tried \includegraphics{http://www.site.com/path/to/figure.png} But this returns the error ERROR: Package pdftex.def Error: File `http://www.website.com/path/to/figure.png' not found. Are there other options?
101
votes
13 answers

Why should I use LaTeX for presentations?

I've read that LaTeX can be used also for presentations, using specific packages to make slides in PDF. But I'm wondering: since LaTeX is a typographic language made to separate content from style, and being PDF a format designed for printing; what…
clabacchio
  • 1,887
101
votes
6 answers

How can we draw a duck (in order to create a tikzducks package and store it in CTAN)?

This question led to a new package: tikzducks We have a scsnowman package but we don't have a ducks package, that's quite inexplicable since ducks are frequently used on TeX.SE (e.g., samcarter had to fall back on \PHdove of phaistos package…
CarLaTeX
  • 62,716
101
votes
2 answers

Changing font size of selected slides in beamer

I am preparing a presentation and I have some slides with up to 15 equations. How can I make the font size of these slides smaller? I need to change the font size to 6.
anna
  • 1,013
101
votes
11 answers

Make one author's name bold every time it shows up in the bibliography

I'm working on a CV. I'd like to highlight my name in every entry in the bibliography. I've tried simply replacing {myname} with {\bf myname} or {{\bf myname}}, but they fail with various errors, particularly when sorting. This post gives a…
keflavich
  • 4,613