Skip to main content

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.

0 votes
1 answer
26 views

Add a tikzpicture to every pages except the first and last one

I want to add a tikzpicture (in the example below a circle at the top of the page) to every page in my article, except for the first and last page. I am using \AtBeginShipout, but how can I exclude ...
KGB91's user avatar
  • 187
5 votes
1 answer
48 views

How can I create a new TikZ-element that takes some keyval arguments?

I've got the following code: \documentclass[a4paper]{article} \usepackage{tikz} \usetikzlibrary{intersections, calc, spath3} \begin{document} \begin{tikzpicture} \coordinate (P) at (110:1.5); \...
Peter Maier's user avatar
5 votes
2 answers
94 views

How do I recreate this Sangoku?

I am trying to recreate this Japanese Sangoku using tkz-euclide: My attempt so far: \documentclass[border=1mm]{standalone} \usepackage{tkz-euclide} \begin{document} \begin{tikzpicture} \tkzDefPoint(...
Jim Ye's user avatar
  • 157
0 votes
1 answer
59 views

How to recreate "old style" graphs

I am still a beginner in LaTeX and would like to know if it is possible to reproduce this type of graph identically (same font, same line thickness, etc.). If this is indeed possible, I would love to ...
Walterminator-58's user avatar
1 vote
1 answer
23 views

Overset/Overlapping Plots pgfplots

I would like to make some KPI charts using LaTeX. I have some dummy data which pops my budget and spend adjacent to each other. However, I would like to make the budget a wider box with no fill and a ...
Craig.C's user avatar
  • 113
0 votes
2 answers
31 views

Define a grid to fit the available height of the page

I apologize if this question has already been asked. How to define the hauteur in the following code so that the grid fits dynamically the available height of the page? Thank you very much! \...
Dimitrios ANAGNOSTOU's user avatar
0 votes
0 answers
50 views

how can draw curve with a loop? [duplicate]

I am trying to draw a curve with a loop as shown in the image. After a lot of hard work, I managed to draw it, but it does not appear as smooth as in the image. Can anyone help me with this? I would ...
Samia Rani's user avatar
3 votes
1 answer
42 views

Defining anchor points in a custom pic

There are possibly very useful answers in this post, but I couldn't understand them. In the example below, how can I define an anchor at north of my pic so that while drawing a line from that point, I ...
blackened's user avatar
  • 4,525
2 votes
1 answer
49 views

\IfSubStr inside tikz path style

I don't know whether what I'm trying to do is possible at all, but I really want to make a tikz path style that behaves differently depending on the names of the coordinates it's given. Here's a ...
N. Virgo's user avatar
  • 4,460
0 votes
1 answer
38 views

Add a symbol centered vertically between two tikzpicture

I would like to be able to add an arrow between two parts of an image, centered relative to the other two parts of my image. My initial idea was to create 3 tikzpictures: one for the left diagram, one ...
Nicolas's user avatar
  • 1,709
0 votes
1 answer
42 views

Rotating a 3d prism in TikZ

I'm trying to recreate this image without color: My code so far: \documentclass{article} \usepackage{tikz,tkz-euclide,graphicx} \usetikzlibrary{3d} \begin{document} \begin{tikzpicture}[rotate ...
CreeperGuyPlayz's user avatar
0 votes
0 answers
45 views

Help with Missing number, treated as zero and Missing = inserted for \ifnum, for code that works

I'm trying to create a function with tikz that can create some points around a circle. The document can be rendered, and everything look fine, but I am still getting some errors I can't figure out how ...
M L's user avatar
  • 1
3 votes
6 answers
417 views

How to tune the TikZ marking code more elegant?

I use the following TikZ commands to draw the followng figure: \documentclass[margin=2cm]{standalone} \usepackage{tikz,xfp} \usetikzlibrary{arrows.meta,decorations.markings} \pgfmathtruncatemacro{\NN}{...
Explorer's user avatar
  • 913
2 votes
0 answers
40 views

Why is the figure going out of shape with `uplatex` and `dvipdfmx`?

The following source code follows as the question. \documentclass[dvipdfmx]{jsarticle} % Compile: uplatex -> uplatex -> dvipdfmx %\url{https://tex.stackexchange.com/q/732522/86} \usepackage{tikz}...
Koki MIZOGUCHI's user avatar
2 votes
2 answers
107 views

Shading young tableau

EDIT: Following Jasper Habicht's answer https://tex.stackexchange.com/a/732655/308324 , This code works well for all cells (you may need to fine tune the varuiables, which is annoying but doable) \...
nick hristov's user avatar

15 30 50 per page
1
2 3 4 5
2382