Questions tagged [tikz-pgf]
TikZ is a higher-level drawing language built on top of the PGF graphics framework. For questions specifically about the PGF layer use {pgf-core} instead. Both tags are possible on the same question. The tag {diagrams} is also compatible with this tag.
66 questions from the last 30 days
3
votes
0
answers
71
views
How do I use Tikz to create new text characters with serifs?
I would like to create "half letters" that attach to the left side of letters in a math formula. This would not only allow for the Latin AE character, but also characters like AD, OP, TB, ...
1
vote
0
answers
45
views
Creating Boxplot from precomputed value for each line in table
I am using the box plot prepared method from here: Read boxplot prepared values from a table.
My problem is the following: I have multiple rows in that csv and I want a box plot for each of these rows....
10
votes
2
answers
556
views
I am plotting a family of parabolas in TikZ, and there is a stray parabola. I'm confused
I am plotting a family of parabolas in TikZ, and there is a stray parabola.
I'm confused.
\documentclass[tikz,border=1cm]{standalone}
\begin{document}
\begin{tikzpicture}
\pgfmathsetmacro{\...
0
votes
1
answer
44
views
Two 'Missing character: There is no ; (U+003B) in font nullfont!' warnings with pgfplots
I get two Missing character: There is no ; (U+003B) in font nullfont! warnings when I compile the below code with LuaLaTeX. I don't see any line numbers for the warnings in the .log file. I don't see ...
5
votes
4
answers
462
views
How to write at an angle along a straight line
Using "sloped" I know how to write text parallel to a line, but how do I make the text also at an angle in the second case?
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{...
2
votes
1
answer
65
views
align text in tikz node with minimum width
\documentclass{article}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\node[fill=yellow!80!black,align=right, minimum width=10cm]
{This is a\\ demonstration text for\\ alignments.};
\end{...
1
vote
1
answer
64
views
how to zoom in on tikz clipped image
I have the following situation:
where the first \clip in the second frame is very small and I wish to present it a bit bigger for visibility reasons. I'm unsure how to tweak the code I'm using and if ...
4
votes
3
answers
202
views
How to draw arc segments of circular quiver diagram elegant with tikz?
Claim
This post is more likely asking for better approach, focused on the arc's plot.
And that is similar to, but I don't find the same one:
Drawing cyclic quiver
Drawing a circular graph using xypic
...
1
vote
1
answer
48
views
Getting memory error with lualatex when trying to make a knock-out masking with indic texts
I am trying to make a small decorative badge / logo for a friend. The plan is the have a background image (of grass and flowers), then a white mask. I want to "punch" a tamil word in there ...
8
votes
4
answers
943
views
What is the best way to draw a potato (like found in vector analysis/continuum mechanics courses)
I apologized if this is a duplicate.
What is the best way to draw such figures with tikz (or other packages)?
For the time being just the potato like figure. I do not care for the vectors and the ...
3
votes
1
answer
126
views
Latex: Tikz - rectangle to inherit the width of another rectangle
I would like node B to have exactly the same width as node A, without explicitly specifying a fixed dimension, with the following constraints:
The two nodes are not adjacent in the source code. I do ...
5
votes
1
answer
74
views
Strange intersection glitch of knots package?
This question based on the previous question:
% Source - https://tex.stackexchange.com/a/759998
% Posted by Andrew Stacey
% Retrieved 2026-02-21, License - CC BY-SA 4.0
\documentclass[tikz, border=...
5
votes
4
answers
183
views
Using tikz's backgrounds library to draw something behind text
Consider the following minimal example where I want to draw a rectangle behind a sequence of numbers (to highlight them):
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{backgrounds,calc}
\...
0
votes
2
answers
120
views
How to draw self-overlapped path with double line style?
The question is similar to this solution, but not the same:
\documentclass[tikz, border=1cm]{standalone}
\usetikzlibrary{decorations.pathreplacing}
% https://tex.stackexchange.com/a/572738/322482
\...
2
votes
2
answers
143
views
How to draw a half‑sphere with 5‑degree lines along the x‑axis in TikZ/PGF? [closed]
I found this post and I'm trying to retrieve the version shown in the image below. Does anyone know how I can get that specific version?
I've checked the documentation and explored the available ...