Most Popular

1500 questions
145
votes
4 answers

How to draw a Sankey Diagram using TikZ

This question led to a new package: sankey I would like to draw something similar to this (not exactly): using TikZ. Ideally I would be able to set the width by variables and rejoin two flows into one again. Is there a good way to do this? Since…
luksen
  • 1,553
145
votes
3 answers

Getting GIF and/or moving images into a LaTeX presentation

I'm very new to presentations in LaTeX (I've been using PowerPoint for years but have finally converted). I am wondering how to get a GIF into a section. If need be, I can convert a GIF into lots of pictures and have them overlay to give the…
iluvLatex
  • 1,513
145
votes
13 answers

How can I design a book cover?

Can anyone share his or her experience on designing a book cover? I just finished writing my e-book and now I am designing the cover. I tried \maketitle and the result was pretty ugly. I'd appreciate any tips on designing book covers.
user5177
144
votes
3 answers

What is the correct way to center a \tikzpicture?

Possible Duplicate: Should I use center or centering for figures and tables? What is the correct way to cause a \tikzpicture to be centered? By default it appears to be aligned with the left margin.
144
votes
2 answers

\topsep, \itemsep, \partopsep, \parsep - what do they each mean (and what about the bottom)?

The enumitem package documentation says: \topsep, \itemsep, \partopsep, \parsep? Ok, it doesn't quite say that, but it also doesn't illustrate what these dimensions mean. Can I get a diagram with what each of these means? And what's the equivalent…
einpoklum
  • 12,311
144
votes
6 answers

pdfTeX warning (ext4): destination with the same identifier (nam e{page.1}) has been already used, duplicate ignored

I get the following warning pdfTeX warning (ext4): destination with the same identifier (name{page.1}) has been already used, duplicate ignored when compiling the following…
N.N.
  • 36,163
144
votes
7 answers

TikZ: Node at same x-coordinate as another node, but specified y-coordinate?

In TikZ, if I have a node (A), how do I create a node (B) with the same x-coordinate as (A), but a given y-coordinate?
Jamie Vicary
  • 11,098
144
votes
3 answers

Change caption name of figures

How can I modify the caption name of a figure? For example I have \caption{This is a figure.} and by default the caption appears as Figure 1: This is a figure. However I want Fig.1 - This is a figure.
qwerty
  • 2,975
144
votes
16 answers

What is the status of generating LaTeX from handwriting (i.e., OCR)?

I type fast enough that for most things it's not a pain, but I have a few big stacks of old course notes I'd like in LaTeX which I'm dreading having to go through. So, I'm just wondering what the best solution for handwriting -> LaTeX is so far, if…
Zev Chonoles
  • 5,466
  • 5
  • 31
  • 52
143
votes
2 answers

Cross-Reference with custom text

Is there a way to make a cross reference to a label of a header with custom text? That is, its text should differ from the Header text, or its number or page (not like the predefined formats in Lyx). Something like the the hyperlinks or bookmarks in…
TMS
  • 2,193
143
votes
7 answers

How to create alternating rows in a table?

Sometimes you can see in books tables, that have alternating background color for rows in a table to support readability. How I can achieve this with LaTeX? And yes, I could put macros \odd and \even into each row, but in that case I would have to…
Mnementh
  • 4,157
143
votes
2 answers

Why does an environment's label have to appear after the caption?

\documentclass{article} \usepackage{algorithm} \begin{document} \setcounter{section}{54} \section{A section with no label} \begin{algorithm} \label{myalg} \caption{An algorithm with the label `myalg'.} \end{algorithm} Reference to myalg:…
einpoklum
  • 12,311
143
votes
5 answers

Multiple footnotes at one point

I'm trying to create multiple footnotes referencing from one point, that look like this: lorem1,2 Searching for "multiple footnotes" shows up almost exclusively solutions for multiple references to one footnote. Here I have two separate footnotes,…
Artur Czajka
  • 1,533
  • 2
  • 10
  • 9
143
votes
2 answers

How to center the table in Latex

I have got a simple code to generate table in Latex. \begin{tabular}{ | c | c | c | } \hline symbol & value & unit \\ \hline $z Na$ & 11 & - \\ \hline $z F$ & 9 & - \\ \hline $Emax Na$ & 0.545 & $[MeV]$ \\…
user1519221
142
votes
4 answers

Have new line between paragraphs, no indentation

Possible Duplicate: Is there an easy way to have my whole document with a space between paragraphs rather than indentation? I am sure that this must be a dup, but I can't find the right keywords to search for. So I am posting. Right now my…