Linked Questions

36
votes
2answers
3k views

How can I draw a cake using TikZ?

It is always someone's birthday. I would like to use TikZ to draw a birthday cake. There are all sorts of cakes. What I would like is a cake that looks nice and tasty. Preferably a cake with lots of ...
33
votes
2answers
4k views

Christmas theme

In the process of making a paper for school look good, I came to wonder, if there was such a thing as latex themes for regular papers? What I am think about in particular would be a Christmas theme, ...
15
votes
2answers
9k views

Harry Potter symbols

Good evening I have one unusual question. Are there some Harry Potter symbols in LaTeX (pictures below) ? Thanks for an answer.
7
votes
2answers
2k views

How to draw an optical lattice

I want to make in TikZ or MetaPost an image of a two dimensional lattice with oscillations like these: (Source: http://www.uibk.ac.at/th-physik/qo/research/opticallattices.html) or this one: (...
4
votes
2answers
652 views

How to draw a tree?

How to draw a tree like using LaTeX and how can I give the labelling to the vertices and the edges?
36
votes
1answer
9k views

How to draw a decorated rectangle with rounded corners?

As the title says, I was trying to draw a rectangle with rounded corners, and then decided it needed decorating. Well, the result looks awesome, but isn't really what I had in mind. a) What happened? ...
34
votes
1answer
2k views

How can we draw a 3D Christmas gift box, with TikZ?

In the spirit of How can we draw a Christmas tree with decorations, using TikZ? Can you draw a 3D Christmas gift box with as many details as possible(bow tie, elevated lid/bow, patterned wrapping ...
17
votes
1answer
2k views

How can we draw Christmas animations with TikZ?

In the spirit of How can we draw a Christmas tree with decorations, using TikZ?, how can we realize Christmas animations with TikZ? For example: or also:
8
votes
1answer
477 views

Problems combining clip, layer and pic when multiple instances are included in the same tikzpicture

I'm having trouble figuring out how I am supposed to combine (or if I am supposed not to combine) pics, clipping and layering when more than one instance of a pic is included in a single tikzpicture ...
7
votes
1answer
625 views

Drawing tree canopy

Is it possible to draw a tree canopy in latex, possibly with tikz. An example: So, on the left of this image you will see a bunch of trees, can these be re-created with tikz?
7
votes
1answer
196 views

how to save the final box at the end of tikzpicture?

Perhaps the question is unclear. I know how to put a tikzpicture inside a box. I made it in this question like this \newsavebox{\mycandle} \savebox{\mycandle}{% \begin{tikzpicture}[scale=.1] ......
5
votes
1answer
5k views

Sub-figures of different sizes grid layout

I have two subfigures that I want to align as such: But what I got is this with the codes below: \documentclass{book} \usepackage{subcaption} \usepackage{pdfpages} \begin{document} \begin{figure}[!...
4
votes
1answer
1k views

Asymptote: How to create a radial shading or “elliptical” shading with intermediate color steps?

In Asymptote I can create radial gradient shadings using the radialshade function which defines a gradient varying smoothly from color A on a circle with center cA and radius rA to color B on a circle ...
2
votes
0answers
173 views

Problem with decorations in a small TikZ picture [closed]

When working on yesterday's update on my answer to the december challenge (a dcorated tree), I encountered a problem: if I choose the picture's dimensions to small, then it fails with Dimension too ...
2
votes
0answers
50 views

Redefining macro with arguments in a macro with arguments [duplicate]

Possible Duplicate: What is the meaning of double pound symbol (##1) in an argument? In the following code, I would like to build one macro \caseWord with two arguments corresponding to Case and ...

15 30 50 per page