All Questions
Tagged with tikz-pgf positioning
671
questions
3
votes
2
answers
146
views
How to place tikzpicture next to enumerate
This is my code
\documentclass{article}
\usepackage[margin=2cm]{geometry}
% maths
\usepackage{mathtools, amsmath, amssymb, amsfonts}
% tikzpicture
\usepackage{tikz, scalerel, pict2e, tkz-euclide}
\...
1
vote
1
answer
21
views
xshift doesn't work for \draw inside remember picture,overlay tikzpicture
I want to insert a booktab drawing to every page in a document. For that I am using a tikzpicture with remember picture,overlay option, and a \AddToHook{shipout/background} so that the tikz drawing ...
0
votes
1
answer
49
views
Positioning of tikz nodes with sub pictures based on the sub picture size
How is it possible to align nodes with sub pictures based on their size?
In the following example the rectangle of the sub picture overlaps the process node p2. Is there a way to positioning the sub ...
1
vote
1
answer
130
views
Problem: group of rectangles scaled, rotated and positioning in TikZ Code
I'm developing a python converter. This converter use vectorgraphis created with PowerPoint and convert this graphics into TikZ Code.
Now I created a graphic of two rectangles (size 6x4 cm) and group ...
0
votes
2
answers
75
views
Force exact location of text as background without affecting other text
I have the following code:
\documentclass[12pt]{report}
\usepackage[a4paper,left={1in}, right={1in}, top={1in}, bottom={1in}]{geometry}
\usepackage{titlesec}
\usepackage{lipsum}
\usepackage{tikz}
\...
0
votes
1
answer
137
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
2
answers
32
views
Alignment of nodes to achors given by bases
The base of the anchoring node must align with the horizontal line at 1cm. Also, the base of left and right nodes must align with the base of the anchoring node
The output I want is something like ...
4
votes
2
answers
90
views
Control positioning of Tikz label of an edge
Here's my code:
\usepackage{tikz}
\usetikzlibrary{automata, positioning, arrows}
\tikzset{
->, % makes the edges directed
>=stealth, % makes the arrow heads bold
node distance=3cm, % specifies ...
2
votes
1
answer
94
views
How to horizontally align the dashed lines to the intersection point?
Edit:
Solution has been found using the syntax I borrowed. It just involves changing the code pertaining to the horizontal line to \draw[dashed, line width=0.5mm] (0,0|-A) -- (A);. It's a simple ...
5
votes
2
answers
138
views
Tikz node position along edge, expressed in absolute distance
Is it possible to set node position in absolute distance along an edge, rather than using pos=<x> where pos=0 is at edge start and pos=1 at edge end (which are relative positions between the two ...
2
votes
2
answers
161
views
How to control the start and end of arrows
I would like to fix the following plot:
\documentclass{standalone}
\usepackage{tikz}
\usetikzlibrary{positioning,calc}
\usepackage{pgfmath}
\begin{document}
\begin{tikzpicture}[
reader/.style = {...
1
vote
1
answer
49
views
How to rotate nodes around their center without displacing the location
I would like to rotate with a different angle the rectangle nodes A,B, C, D and E of this plot:
\documentclass{standalone}
\usepackage{tikz}
\usetikzlibrary{positioning}
\usepackage{pgfmath}
\begin{...
3
votes
1
answer
60
views
Syntax for combining perpendicular node placement and calc in tikz
In the following example, the two attemps to express a node at the intersection of C and the midpoint of A and B is failing. The workaround with creating a separate coordinate works fine, but is there ...
0
votes
2
answers
57
views
tikzpicture moves the text
This is a follow up question of Overlap order among text, \backgroundcolor and \tikz.
In the following example, how to make the text of lipsum start at the top left corner of the page?
Indeed, it ...
3
votes
1
answer
82
views
Istgame package: how to get labels on both sides of a single edge?
In the colored game tree below, there are edges that have labels on both sides. The label on one side of the edge is the probability of the action that is denoted on the other side of the edge. In the ...