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.
35,153
questions
3
votes
2
answers
160
views
How to move the color blocks into the red frame region marked?
I'd like to use the area below the two first subfigures to place the color blocks, how can I achieve this effect?
The mwe is following
\documentclass[aspectratio=2013]{beamer}
\usepackage{tikz,...
6
votes
1
answer
66
views
Problem with add/.style in tkz-euclide
add is a style for changing the start and end points when drawing a line from one node to another.
Its definition is:
\tikzset{add/.style args={#1 and #2}{to path={%
($(\tikztostart)!-#1!(\...
0
votes
0
answers
74
views
Combined Tikz picture is not inserted
\documentclass{article}
\usepackage[a4paper]{geometry}
\usepackage[ngerman]{babel}
\usepackage[utf8]{inputenc}
\usepackage{graphicx}
\usepackage{caption}
\usepackage{tikz}
\usepackage{tikz-timing}
\...
1
vote
1
answer
50
views
Tikz: How to vertically align text across multiple nodes?
The title says it. In the example below, how can I make the text start from the top in all boxes? So node3, node1, node2 to be on the same top line, like node3 is right now? I have checked this, this, ...
1
vote
1
answer
27
views
Strange extra arrow behavior in tikz because xshift
The following code gives me a strange arrow:
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{bending, arrows, arrows.meta}
\begin{document}
\tikz{
\node (P) {$(x+3)(x-5)$};
\...
1
vote
1
answer
82
views
Customizable Vertical Rule / Divider Like `\vrule` With Automatic Height
I need to create a customizable vertical rule (divider) that behaves like \vrule regarding height calculation within different environments, such as minipages, mdframes, arrays, and tcolorbox boxes.
...
1
vote
1
answer
17
views
Date format option not working on genealogytree
I have a genealogytree TeX file that was working just fine when compiling on an old Macbook. I now changed to a Debian based system, and suddenly the file no longer compiles with the required "...
0
votes
2
answers
28
views
Modification of exam `answer plot` to allow drawing partial opacity when `\printanswers` is uncommented
Following up on this question and this question regarding "answer plots" for the exam class, I am running into an issue. I have a region shading at less than 100% opacity. If I try adding ...
1
vote
2
answers
69
views
How to create a command to plot a series of square lattices on a given line?
As the figure below, for a fixed line on a square-lattice layer with the scale of 30*30, it y-coordinate is 12, then I'd like to plot squares on the x-coordinates of 1,6-13,21,28-30, 13 square dots in ...
3
votes
0
answers
51
views
How to fixed the little bug of sharp conjunction of tikzpictures?
When I use tikz to plot the figure, the conjunction of two lines is not connected so good.
Shown as below, is there any solution to fix it?
Here below is the MWE:
\documentclass[border=10pt]{...
1
vote
1
answer
46
views
How do I make the text bend along the function using tikz if possible?
I am trying to label my diagram with the equation but I would love to make it bend along the equation. I haven't quite figured it out. I am hoping there is a solution involving tikz because it is what ...
2
votes
2
answers
86
views
Checking if the version of TikZ is newer in a format-independent way
Notice: that question has been answered here, posted to be useful to the general public.
I am struggling to write a macro to use in circuitikz to apply the change to arrow tips you can see here (which ...
3
votes
2
answers
82
views
NiceMatrix + Tikz Determinants Picture
I'm having trouble recreating a particular picture I want to use. It's a 3 x 3 determinants formula, which I'm trying to use the nodes created by NiceMatrix to create loops around the entries to ...
5
votes
5
answers
643
views
tikz diagram skier on a slope
is it possible to reproduce this schema with tikzpicture ?
This is what I tried :
\documentclass{article}
\usepackage{tikz}%,pgf}
%\usepackage{pgfplots}
%\usetikzlibrary{calc,angles}
\usetikzlibrary{...
1
vote
0
answers
37
views
Update tikz style of a named node type to be a box with two colours
Right now I have a node type that looks like this (pictured with wires coming out):
but I'd like it to just have two colours -- white on the left and orange on the right (no shading). I've read about ...