Linked Questions

10 votes
3 answers
3k views

Draw an ellipse from the two focus points (foci) and the sum of the distances from foci to border

I have two nodes that I want and foci and I know what the sum of the distances should be (a constant times the distance between the focus nodes). The way I know of drawing ellipses takes as ...
user avatar
  • 243
22 votes
1 answer
854 views

Is there an advantage in using the pgf Basic Layer over tikz?

I'm working on a program to draw crystal unit cells with pgf/tikz. In the course of this project the question arose whether I should draw the constituent bonds and atoms using pgf Basic Layer commands ...
user avatar
  • 3,745
6 votes
3 answers
809 views

In TikZ, is it possible to have paths smoothly join a node?

\documentclass[tikz,border=2pt]{standalone} \begin{document} \begin{tikzpicture} \node at (0,0) (O) {} ; \foreach \a in {0,10,...,360} { \draw (\a:0.25) to (O); } \end{tikzpicture}...
user avatar
  • 696
9 votes
1 answer
2k views

tikz clip rounded corners

How to apply this Tikz solution (Rounded corners on only one side of a TikZ node) to have the same effect on clipping? I want to clip things (images) using that rectangle with differently rounded ...
user avatar
  • 429
9 votes
2 answers
1k views

TikZ clip shapes using several (built in) shapes

I'm looking for a way to draw one image composed of a union of multiple cloud shapes. The following MWE: \documentclass{standalone} \usepackage{tikz} \usetikzlibrary{positioning} \usetikzlibrary{...
user avatar
7 votes
2 answers
1k views

How to draw this picture with tikz?

I have a figure that I would like to draw in beamer and tikz. Here is the figure: I start by doing something, but I am not progressing well. Any help? \documentclass{beamer} \usepackage{tikz} \...
user avatar
3 votes
2 answers
1k views

Draw stroke inside/outside of path for arbitrary shapes and nodes

This is a followup question of Is there a way to draw TikZ lines on the “inside” or “outside” of a path? Since the other question is quite old I want to ask, if TikZ in the meantime is able to draw a ...
user avatar
  • 53.7k
5 votes
3 answers
296 views

How to clip a background including nodes according to an arbitrary shape?

The following WE \documentclass[border=10pt]{standalone} \usepackage[dvipsnames]{xcolor} \usepackage{tikz} \usetikzlibrary{arrows.meta,shapes, positioning, fit, backgrounds} \tikzstyle{backA}=[...
user avatar
  • 3,459
5 votes
2 answers
521 views

How can I design a DVD tray template to for my DVD label printer with TikZ?

Question I am trying to design a template for my Canon iP7250 printer. I would like to draw it using TikZ. I'd like to compile both pdf files and svg files. The middle should be transparent just like ...
user avatar
2 votes
1 answer
523 views

filling an intersection between shapes

I need assistance in finding out how to fill the intersection between the shapes RO1, RO2, RO4, RO5 in the following. Assistance appreciated. \documentclass[border=5]{standalone} \usepackage{tikz} \...
user avatar
  • 37
3 votes
1 answer
332 views

Inverted clipping using node shape?

I'm am able to invert clipping regions (as discussed in this question) and to use node shapes for clipping (as discussed in this one), but I'd like to combine the two, and I don't see quite how to do ...
user avatar