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 ...
838 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 ...
780 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}...
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 ...
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{...
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} \...
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 ...
260 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}=[...
516 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 ...