5
votes
1answer
49 views

How label position and color can be modified in tikzpicture in posters?

I am working on a poster with fancytikzposter package, I cutted out the problematic part, it can be downloaded from here. I created a tikzpicture inside the poster and some problems occured: ...
0
votes
0answers
45 views

Positioning tikz nodes to the top

I have four circles in a beamer frame, \begin{tikzpicture}[% common options for the circles: ball/.style = {circle, draw, align=center, anchor=north, inner sep=0}] \node<1>[ball,text ...
3
votes
1answer
58 views

Is there a transformation in TikZ that transforms the positioning of nodes, but not the nodes itself?

I'm drawing some category theory diagrams like these: \documentclass{article} \usepackage{tikz} \begin{document} \newcommand{\dual}{\draw (-2,-1) node[below] {$X$} arc (180:0:2cm) node[below] ...
4
votes
1answer
79 views

{Tikz}{Tree} How to reduce leaves placement

Hello (and sorry for bad English...) I am working on a Tex document to produce algorithmic diagrams : it is quite good for me except that I would like to be able to reduce space used by leaves (it ...
1
vote
1answer
34 views

after end axis messes up pgfplots axis position

Latex and Tikz are going to get the life out of me... I saw Need to do some changes to pgfplots axis #39099, and that example was working fine for me; so I modified it a bit, and came up with the ...
3
votes
1answer
123 views

TikZ - flexible arrow positioning

The following MWE is translating to the desired tikz picture, but the code is not very useful for adjustments. Especially the positioning of some arrows is done very poorly by defining coordinates ...
2
votes
0answers
40 views

Location and size of pgf plot axis in a tikzpicture - with tikz positioning library?

This could be a second part to Positioning pgfplots axis in tikzpicture , I guess ; consider the following MWE: \documentclass{standalone} \usepackage{pgfplots} \usetikzlibrary{positioning} ...
3
votes
1answer
86 views

change position of TikZ node halfway

I am trying to move the node "H" to one of the two positions shown in red below: I am not sure how to position it at 'intermediate' positions such as I am suggesting. How could this be done? Is ...
1
vote
0answers
24 views

Draw node below two others nodes from the first node west to the second node east [duplicate]

I have this MWE : \documentclass[tikz]{standalone} \usepackage[utf8]{inputenc} \usetikzlibrary{shapes.geometric,arrows,positioning,fit,calc,backgrounds} \begin{tikzpicture} \node[draw, rectangle] ...
6
votes
3answers
137 views

Why is this Tikz scope coordinate system skewed?

I'm trying to create a simple figure in which the tick labels will not line up properly, because the coordinate system is skewed. Here is the MWE code: \documentclass[a4paper,twocolumn]{article} ...
1
vote
1answer
56 views

TikZ scalebox without translation

Below are two TikZ pictures. In the second one, I've added a \scalebox to scale the nodes ABC and the distance between them. I want the A to remain in the same position, but unfortunately the ...
2
votes
0answers
50 views

How to position a node in the corner of the (current) TikZ picture?

I'm drawing a flowchart as a standalone TikZ picture and want to position the legend in the lower right corner of the picture. How can I reference this position or find its coordinates?
3
votes
2answers
82 views

Tikz: positioning library breaks path picture bounding box?

I try to create and order text boxes with tikz-nodes. The nodes are ordered so far using the tikz positioning library. Additionally, I try to have numbers on the background of the nodes by using ...
2
votes
2answers
222 views

multiple relative positioning in tikz

How to align a node vertical align to one node, and horizontal align to another one? For example, given below code \documentclass{standalone} \usepackage{pgf} \usepackage{tikz} \usepackage{makecell} ...
7
votes
1answer
117 views

How to manage rotated rectangles positioning

How to draw this two rectangles in this picture : I tried like this : \documentclass[border=10pt]{standalone} %\usepackage[margin=1cm]{geometry} \usepackage{tikz,xcolor} ...
6
votes
2answers
151 views

How to place text at a particular position outside the plot in tikz

I would like to write \gamma on top of my legend in the plot (shown in Image) generated by using the code shown below. I generally use \node at (axis cs: co-ordinate x,co-ordinate y) {text} of the ...
3
votes
0answers
43 views

Difference between “below of=” and “below=of” in tikz? [duplicate]

I was trying to place a node relative to another node with the following code: \documentclass[margin=2pt]{standalone} \usepackage{tikz} \usetikzlibrary{positioning} \tikzset{ ...
3
votes
1answer
119 views

tikz incorrect node placement : gap between nodes

I am using a following code to produce an image as shown below. Now I set the node distance to 0 and draw=none in nodes to remove the border. comeback, comein nodes have size of 2.5cm, while handle ...
4
votes
3answers
110 views

TikZ figure in parts-environment

I'd like to have a TikZ figure in a parts-environment, but the figure appears above part (a) instead of below. How can I get the picture to follow the (a)? Thanks for your help! ...
5
votes
1answer
56 views

Understanding tikz inheritance with the positioning library

I have trouble understanding the tikz inheritance model while using the positioning library. Consider the following example: \documentclass[]{scrbook} \usepackage{tikz} \usetikzlibrary{positioning} ...
1
vote
1answer
27 views

\fill left of a node using the positioning library

How can I position a \fill relative to a node? I would position a node in the following way, using the positioning library: \node (mynode) at (2,4) {text}; \node [left=of mynode] {o}; But if I try ...
7
votes
4answers
238 views

How to label the curve of a function at any point along it in tikz?

In my example, I have to simple curves y = sqrt(x) and y = x. I would like to be able to attach a label along each curve, say at the middle of the curve. Right now, I am doing it by trial and error ...
6
votes
1answer
166 views

Animation: How to move the position of an equation in a continuous manner?

I want to make equations (or words) to continuously move in a page for a beamer talk. A simple example would be we have "A" on the left margin and "B" on the right margin and then "A" moves towards ...
7
votes
2answers
235 views

TikZ: Relative positioning of nodes

I am working on script to build chart depending on the input data and one of the troubles is to place node right of the rightest node. This is MWE: \documentclass[border=.5cm]{standalone} ...
4
votes
1answer
60 views

Fit node to another node in a seperate scope that has been shifted and canvas transformed

I want to fit a node to another node which is defined in a different scope which has been subject to the options "(x)shift and transform canvas" (see example code and image). Without any canvas or ...
12
votes
5answers
300 views

How to force nodes on different lines to have equal y-positioning

I have, hopefully, a very simple question. I use tikz to make a figure for confirmatory factor analysis (CFA). In the minimal example there a 6 arrows going from the circle to a fixed place. However, ...
7
votes
1answer
115 views

How to compute xslant and yslant

There must be an easy way to compute the required values of xslant and yslant to obtain the text in the "correct plane". Below I have guessed at then, but that is a very tedious process. The desired ...
2
votes
0answers
196 views

Package PGF Math Error: Unknown function 'north' (in 'north west')

I have created the following shape (it has some more features but the error is always the same), based on a rectangle. \pgfdeclareshape{set}{ %Like in rectangle but without all the separators ...
1
vote
1answer
99 views

Absolute positioning in TikZ3

I am also submitting the solution, please, save your time and energy on this Question. My problem is this. The absolute positioning stopped to work in some cases after upgrading TikZ2 to TikZ3. ...
3
votes
1answer
133 views

define manually the position of a pgfplots plot inside the TikZ picture

I just started using matlab2tikz for the graphics in my thesis and got stuck with a probably simple problem: I have a plot of a function and an inset (zoom-in) on it. Both the main plot and the inset ...
2
votes
1answer
36 views

Position some yticks to the right, and some others, to the left

I am trying to position the yticks to the left and right of the axis, depending on a comparaion to a reference value. Say in the following plot, I want to position the positive ylabels to the left, ...
5
votes
3answers
519 views

Table with arrows between cells

I want to create a table with arrows between some cells, for which I've used tabularx and TkiZ. I have the following problems: Text in cells aligned vertically to the center and at the same heigh ...
6
votes
2answers
564 views

Relative positioning of edge labels in Tikz

I have a graph with multiple edges that originate at the same y-level (possibly at different angles) and end at different y-levels. I would like to position the edge labels at the same y height. ...
2
votes
0answers
81 views

TikZ node positioning on edge parameter/label

I wonder if there exists a trick to position a graph node (relative), based on a parameter (label?) of an edge leading to it? I mean a kind of time diagram, i.e. for example I have a timed automat, ...
0
votes
0answers
26 views

How does 'right=of' and 'right of=' work, and what does 'node distance=' do? [duplicate]

I have three variants of the same code and I varied the following three cases: right of= together with node dimension=1.6cm -- looks fine right=of together with node dimension=1.6cm -- nodes too ...
7
votes
3answers
538 views

TikZ: Bottom right align text in rectangle

I am making some graphical models with tikz, and I have added a rectangle (plate./style) around three nodes. As you can see in the picture the text "N" is vertically/horizontally center aligned. I ...
7
votes
1answer
239 views

How to combine equations and graphical calculus in TikZ?

I am writing an article about category theory and a lot of my equations are graphical, like this: Straight lines (and later, bent lines and circles) represent morphisms in an abelian category. But ...
0
votes
2answers
165 views

Relative positioning of node with TikZ Positioning

I am trying to replicate an automata with tikz and was wondering if there is a keyword that would allow be to mimic the position of the states with relative positioning without a "dummy" node. Below ...
2
votes
2answers
204 views

scopes on chain: node distance not working

I have defined a few commands that each output a bunch of TikZ nodes that, combined, conceptually represent a single node/object. In order for the generated nodes to be treated as a cohesive whole, I ...
2
votes
1answer
85 views

How to place a node of a certain shape with one side on a line in TikZ

I would like to have an arrow shaped node to be positioned with its tail on the vertical axis of my reference frame. Here' were I got: \documentclass{article} \usepackage{tikz} ...
3
votes
1answer
506 views

How to place text with tikz under beamer at an absolute position on the slide

I want to place some text on a beamer slide next to a figure. The problem is that if I simply use tikzpicture environment, LaTeX places the text after whatever is placed before, be it hidden or shown. ...
8
votes
4answers
309 views

Tikz labels are shifted dependent on the letters size

General description of the intrinsic behavior The labels in a tikz picture are shifted (e.g. by above) exactly to the extreme of the letters in the labels, i.e. it takes the descender (see ...
9
votes
1answer
529 views

Tikz callout: positioning start of pointer

The pointers of my Tikz callout rectangles always start in the middle of the rectangle. But that kind of pointer sometimes gets in the way of other objects (e.g. the pointer start should be more to ...
3
votes
1answer
251 views

Use [midway], [near end] etc. for weights in TikZ

Is it possible to move weights of vertices using the commands [midway], [near end], [near start] etc? Just stating {above} and {below} doesn't always help, since the weights sometimes overlap: ...
3
votes
2answers
203 views

Overwrite TikZ auto placement of weights in graph

So I have the following graph: \documentclass{article} \usepackage{amsmath} \usepackage{tikz} \usepackage[english]{babel} \begin{document} ...
4
votes
2answers
254 views

Centering nodes with Tikz automatic node placement

I would like the nodes to be centered, an I can't see a way to do this: MWE: \documentclass[12pt]{article} \usepackage[english]{babel} \usepackage{tikz} \usetikzlibrary{graphs} \begin{document} ...
2
votes
0answers
168 views

TikZ: How to set a node on an exact position on a line?

to set a node on a line the usual way should be something like this: \begin{tikzpicture} % place nodes \node[draw] at (0, 0) (a) {A}; \node[draw] at (5, 0) (b) {B}; \node[draw] ...
6
votes
1answer
150 views

Pushing text below an absolutely positioned box

I'm trying to create a document header, part of which is an absolutely positioned TikZ picture, and part of which is some text in a TikZ node. The northwest or northeast anchor of the node should be ...
2
votes
1answer
80 views

How to calc y coordinate of the block to put it between 2 other?

Suppose, we have a flowchart with 2 branches: \documentclass{standalone} \usepackage[utf8]{inputenc} \usepackage[english]{babel} \usepackage{tikz} \usetikzlibrary{calc,shapes, positioning} ...
5
votes
2answers
183 views

Legend position control within rotated polar axis

How can I shift (control) the position of the legend within rotated polar axis environment? (e.g. shift into the south-east corner?) \documentclass{article} \usepackage{pgfplots} ...