Linked Questions

2
votes
1answer
294 views

Gnuplottex fails with 'undefined control sequence' when choosing different font size [duplicate]

I encounter a very strange problem when using gnuplottex on my Win 7 32 bit system with MiKTeX 2.9 - gnuplot 4.6.3 & the latest gnuplottex release: \documentclass[dvips]{minimal} ...
32
votes
8answers
11k views

What is the easiest way to draw 3D cube with TikZ?

I'm trying to find the easiest way to draw a 3D cube (it's for my UML diagram) with TikZ. Could you please give an example? Like this:
25
votes
10answers
1k views

Best typesetting of formula

Consider the following example. \documentclass{article} \usepackage{amsmath} \newcommand*\mathsetfont{\mathbf} \newcommand*\DeclareMathSet[1]{% \expandafter\newcommand\csname ...
39
votes
3answers
11k views

pgfplots: how can I scale to text width?

This question led to a new package: tikzscale When I try to scale a plot with: width=\textwidth there is some horizontal space between the start/end of the plot and the start/end of the ...
17
votes
7answers
733 views

LaTeX command for unknown symbol

I am trying to type the shown symbol in LaTeX and I am hoping to find a command producing this symbol. This is just a very crude sketch. The three lines are supposed to be equal length with 120 ...
29
votes
3answers
2k views

Creating playing cards using TikZ

I'm creating a card game, specifically a computer science Fluxx variant, and want to generate the cards through *TeX. They should look like this: In some of them I want to put some graphics or ...
35
votes
3answers
2k views

How do I develop a complex time line?

I currently have a resume I've made in Illustrator with a time line of my work with academics on the lower part and jobs on the upper section: The trouble with it being in Illustrator of course, is ...
20
votes
3answers
2k views

What is the advantage of using minimal over article when creating a standalone graphic?

What is the advantage of using minimal document class over article document class when creating a standalone graphic? Bonus question: Before I have time to make a test by myself, is there anybody ...
14
votes
6answers
634 views

How to define a point between two points for a given length ratio?

I have the points A(0,0) and B(3, 4), I want a point that is 4/6 of the length of AB and lies on the the same line. How to do this?
17
votes
3answers
1k views

How do you end with a single quote followed by a double quote?

I have a paragraph as follows: ``This is a quote. `Here is a quote within a quote.''' But the formatting works out to be a double quote (") followed by a single quote (') instead of the other way ...
12
votes
5answers
5k views

Diagonal strikeout starting too low and ending too high

I want to strikeout an equation with diagonal line but I've not managed to get the diagonal line to draw as I want. The closest I've gotten is via the first example in Frédéric's answer of \cancel ...
11
votes
4answers
309 views

What if I use a \def name starting with “if”

Following this answer to Is it possible to use some sort of internationalization in LaTeX? I'm setting up my own dictionaries. When compiling the files I get this error: ! Use of \if doesn't match ...
8
votes
3answers
1k views

Creating uniformly sized boxes around text

I want to put individual words in to boxes next to each other. I've used the \framebox command, but this has produced different sized boxes around each word. How could I get all the boxes to be the ...
6
votes
2answers
1k views

Drawing a rectangle along the border of a circle

I would like to draw a rectangle along the border of a circle. The \draw with the \angle operation might do it, but it is rather cumbersome. I was wondering if there is another more elegant/shorter ...
10
votes
2answers
2k views

Inserting text inside an arrow in Tikz

I want to draw an arrow between two nodes (a) and (b), and write text inside the arrow. How can I modify this command to control the size of the arrow head and insert the text? \draw[->, ...

15 30 50 per page