Most Popular

1500 questions
116
votes
3 answers

Choosing whether to include PDF or PNG in PDFLaTeX

Can I tell graphicx somehow which graphic format to choose when I omit the file extension in includegraphics and both a PDF and a PNG version of the same image exist? The reason is that I have some very large PDF vector graphics (in terms of file…
Jan Pöschko
  • 1,417
116
votes
7 answers

Unused bibliography entries - how to check which entries were not used?

This question led to a new package: checkcites While reading papers, I put those that I'd like to refer to or mention in customized .bib files (one .bib file for each paper). (Thanks to Mendeley it's pretty easy and straight forward - they call it…
116
votes
7 answers

How do I typeset arbitrary fractions like the standard symbol for .5 = ½?

I know I've seen somewhere how to typeset 1/2 as ½, but with arbitrary fractions (that is, a macro that takes two arguments and makes the first denominator and the second numerator...). Now I can't seem to find it. How do I typeset an arbitrary…
Tomas Aschan
  • 15,528
116
votes
9 answers

Starting a PhD; Any guides to setting up a 'system'?

I'm starting a PhD and am being overwhelmed with the different possible ways people do things, and how they very rarely mix. I'm (obviously) sold on TeXing it, and have a ViM background I intend on continuing, and am using Mendeley for article…
Andrew Bolster
  • 1,729
  • 4
  • 13
  • 15
116
votes
4 answers

How to create magnified subfigures and corresponding boxes for portions of a large image

Updated Below I hope the title gets at what I'm trying to do. I have a large image for a thesis on an image processing topic, and I want show the large image, with zoomed in boxes (typically with the same aspect ratio). I also want colored frames…
SSilk
  • 3,732
116
votes
4 answers

How to add caption for a TikZ picture?

I'm drawing a automaton figure, and I want to name it says 'M1' below the figure? A minimal example would be greatly appreciated. Thank you. \begin{tikzpicture}[shorten >=1pt,node distance=2cm,on grid,auto] \node[state,initial] (q_0) …
roxrook
  • 9,907
116
votes
8 answers

How to center column values in a table?

How can I center the column values in this code? \documentclass[conference]{IEEEtran} \begin{document} \begin{table} \centering \begin{tabular}{|p{2.5cm}|p{2.5cm}|p{2.5cm}|} \hline Reconstruction strategy & aa & bb( \%) \\…
LearnToGrow
  • 2,579
116
votes
2 answers

The differences between TeX engines

I am confused about what TeX and its offspring (LaTeX, pdfTeX/pdfLaTeX, e-TeX, ConTeXt, LuaTeX, etc.) are. Some, like LaTeX, seem like add ons to TeX (maybe a change to the eyes and mouth, but not stomach). Others, like pdfTeX, seem like changes to…
user4263
116
votes
5 answers

How to plot functions like ‎‎‎‎‎x=f(y)‎‎ using TikZ?

To plot functions in the form of y=f(x), we simply write‎ ‎\draw ‎[‎smooth,‎samples=100‎,domain=0:‎‎2‎‎] ‎plot(\x,‎‎‎‎‎‎‎‎{(\x)...‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎});‎‎ But how about functions like x=f(y)? How to plot them? How to specify their domains ‎in terms of…
Sisabe
  • 3,351
115
votes
4 answers

Absolutely, definitely, preventing page break

This is a question that has been asked before in various ways, but I have yet to find a general answer to it. Perhaps I'm misunderstanding something and the solution is actually very simple. I have a section of a document where page breaks are…
115
votes
6 answers

TikZ: difference between \node and \coordinate?

What is the difference between \node and \coordinate in TikZ? Exchanging them does no visual effect in my (to be honest: still simple) pictures. When to use what?
Foo Bar
  • 13,247
115
votes
7 answers

Cyrillic in (La)TeX

What are different ways to use Cyrillic in (La)TeX? What are their pros and cons?
Grigory M
  • 4,984
  • 4
  • 39
  • 37
115
votes
2 answers

How do I create a LaTeX package?

I would like to jump into the cold waters of LaTeX package creation, mostly for procrastination reasons...but I haven't a clue how to start. For example, a previous question of mine got some nice answers. I would like to take one of these answers…
Yossi Farjoun
  • 13,274
  • 10
  • 74
  • 96
115
votes
3 answers

Putting a timeline for dates in moderncv

This question led to a new package: moderntimeline I just had the idea of using a timeline to specify dates in my CV. I've made a mockup in Inkscape: The idea, as you see it, is to display the dates of experience on timelines instead of just…
raphink
  • 31,894
115
votes
4 answers

Hiding the title of the bibliography

I'd like to get rid of the bibliography heading: Please note that I'm using the thebibliography environment.
Regis Santos
  • 14,463