3
votes
2answers
75 views

Vertical and Horizontal aligment with several figures and tikz figures

I've been having some trouble aligning multiple figures. The problem is present with png figures and tikz figures, so I guess I am missing something. tikz figures not properly aligned: the ...
0
votes
2answers
32 views

How can I vertically align the first line of a multi-line node to an object? [duplicate]

I'd like to have the first line of the node centered vertically with the object (here: a line) on the left of it. How can I do that? Of course I could split the elements into several parts and then ...
3
votes
3answers
137 views

Tikz-Create a Picture Legend

I am trying to create a legend inside a tikzpicture. The picture shows an accelerator and I would like to make a legend that will explain each part. My code is \documentclass{standalone} ...
3
votes
1answer
64 views

tikz how to center text in a vertical rectangle

I am trying to put vertically rotated text inside a rectangle and I have not been able to get it centred vertically. Here is my minimal code and what I get. Any help would be appreciated. ...
6
votes
1answer
124 views

Aligning both tikz pictures and their captions

I am using two tikz pictures in subfigures. The baseline parameter allows aliging the subfigures via the nodes, however the caption (b) is much above the caption (a) in such case. If I don't you ...
0
votes
0answers
51 views

Aligning figures in a table

I'm trying to align four figures vertically and horizontally. But I couldn't get it right in spite of repeated tweaks. I guess its a fairly small error. Can someone help me out? Here is a MWE -- there ...
2
votes
1answer
71 views

How to line up a tikz image with the bottom of a cell in a tabular

The code for the two images below is identical except for the colors and the 4pt in the bounding box in the bottom image. In the bottom image the diagonal line touches the corner of the blue area; in ...
0
votes
1answer
85 views

How can I align 2 plots vertically?

I have two plots with tikzpicture above each other. (they have quite difficult text files as source, so I can not show them here). The plots have the same width, the problem is that the legend is ...
3
votes
3answers
354 views

Problem aligning multiple pgfplots due to different axis label sizes

I have two plots that comes back to back in my paper. One of these plots is generated from 1000 data samples while the other one from 320. The problem that I'm, facing right now, is that plots are ...
2
votes
0answers
126 views

How to draw “stacked blocks” with tikz?

I want to draw using tikz a figure which looks like the following: I started writing it using nodes and positioning them using right of =, above of = but I don't know how to avoid using hard coded ...
1
vote
1answer
195 views

Bottom-aligning columns with tikzposter

I am using the tikzposter class to create a poster and have three columns extending almost to the bottom of the page. I would like to stretch the space in between blocks so that the bottoms of the ...
3
votes
1answer
70 views

How to vertically align nodes of different sizes using relative positioning

I am trying to draw a timeline and I want to label an interval of time using a horizontal double arrow such as <--->. Unfortunately, because the nodes $t$ and $t + \ell_t$ have different ...
1
vote
1answer
90 views

Simple vertical text in TikZ

How do we write this title vertically in TikZ - similar to vertical text (not in table)?: T T I H T I I M L S S Y E
6
votes
2answers
111 views

How to align these tqft cobordisms?

I find placement and alignment with the otherwise great tqft package irksome. I'm trying to align several cobordisms in a tikz matrix: \documentclass{article} \usepackage{tikz} \usepackage{tqft} ...
5
votes
2answers
195 views

Vertical aligment with tikzpicture

I have a problem with vertical alignment in a tabular environment with tikzpicture. My code so far is: \documentclass[12pt,a4paper]{article} \usepackage{tikz} \begin{document} \begin{tabular}{ccccc} ...
0
votes
1answer
157 views

Aligning .tikz pgfplots with semi custom styles

Previously I was helped with how to align and position graphs in a table with optional subplots in this question: Overlay two .tikz files from input It worked great, but I was not happy using scaling ...
3
votes
3answers
270 views

tikz-figures in minipage: Captions at the same height and top alignment

I want to place two tikz pictures next to each other, both of them should be figures I can reference to. Please consider the following MWE: \documentclass{scrartcl} \usepackage{tikz} \begin{document} ...
6
votes
3answers
276 views

Vertical alignment of subfigures of different horizontal length

I have four different tikzpictures merged in one single figure by means of the subcaption package and the \subfigure environment. However, the figures have different horizontal lengths, so I don't get ...
8
votes
3answers
319 views

Vertical align a tabular and tikz figure in a minipage

How can I vertically align a tabular left to a tikz figure? With minipage without a vertical align option it looks good: The problem is that I need it aligned at top (for this I replaced ...
3
votes
1answer
203 views

Aligning Tikz Graphs of x-y coordinate systems

I have 5 different x-y coordinate planes I am trying to draw, and I'd like to have them aligned. In particular, I'd like to make 3 in one row, 2 in the next, and have the x-axes all aligned within ...
3
votes
1answer
99 views

Tikz: Alignment of labels relative to a split rectangle

Is there a way for accurate placement of labels relative to the center of each of the parts of a split rectangle? The following example shows two errors: Alignment is with the left side of the ...
2
votes
2answers
71 views

Putting text next to a kmap

I want to put the equation next to the kmap, but it seems the kmap is located higher. How can I align the text and the kmap to start at the same height? \documentclass[12pt]{article} ...
6
votes
4answers
141 views

Alignment of TikZ pictures in enumerate environment

I want to draw some trees in tikz and align them like this (mockup): Note that the enumerations align to the top. Ideally, this should "just work", breaking lines as needed, and automatically ...
4
votes
1answer
511 views

TikZ: Crop images after placing them

I have a ton of microscopy images to include in a report, some of these images have rather uninteresting information I want to crop. Since I add scale bars using TikZ and therefore require all image ...
2
votes
3answers
450 views

Tikz matrix vertical alignment

I'm having trouble with the vertical alignment of the nodes in a tikz matrix. I have two plots next to each other. I want them to be aligned with respect to the center of their bounding boxes, but ...
4
votes
2answers
178 views

Wrong tick labels alignment on baseline

Here is an example replicating a problem I faced using the xticklabels from table feature: \documentclass{article} \usepackage{pgfplots} \usepackage{tikz} \usepackage{siunitx} \begin{document} ...
9
votes
1answer
156 views

Measuring align

From what I read it seems that align environments are processed twice: the first time for measuring, the second time for actual typesetting. My question is whether one can get access to these ...
5
votes
1answer
705 views

Align vertically two tikzpicture in subfloat

I have two sublfoat that I would like to align from the horizontal coordinate line. \documentclass{article} \usepackage{tikz} \usepackage{amsmath} \usepackage{subfig} \begin{document} \begin{figure} ...
5
votes
1answer
425 views

TikZ graph not aligning

I am having two issues with TikZ pictures. I have three graphs side by side, and I am having issues, but only with some of them, which is very odd. First the x-axis is going out of alignment (some ...
2
votes
1answer
296 views

How to shift yticklabels vertically?

When plotting data matrices as done here and here, the tick labels get drawn at the border of fields. They should be drawn in the center. I've tried shifting them using hspace and vspace. This works ...
3
votes
1answer
103 views

vertical distance between two graphics in sidewaysfigure environment

I have two tikz graphics in a \sidewaysfigure environment and i want to separate them with a little vertical spacing. The problem is that the two graphics are directly side by side, only the caption ...
8
votes
2answers
170 views

Included graphics with text: Alignment

tl;dr How do I align text to text within \included graphics? Let's look at the following logo, which I want to include (in a vector format, e.g. pdf or svg). The blue/red lines are my annotations. ...
7
votes
3answers
225 views

Vertical alignment of decorated numbers

I have a set of numbers with some decorations (circled or rounded) using tikz or pifont package. The issue is they look ugly because they don't look like aligned. Is there way to align (or move) them ...
3
votes
1answer
432 views

Align TikZ node inside equation environment

I am trying to insert a TikZ node into an equation but I have some problems: the = sign is not vertically centred inside the circle the circle is not vertically aligned with the formula. I want to ...
1
vote
1answer
103 views

vertical alignment of 3 columns with different content

I'm using the linguistic avm library along with tikz and I am trying to put a \leftrightarrow vertically centered between the attribute-value matrix and the tikz image. Thanks in advance for any ...
7
votes
1answer
3k views

Tikz node alignment

How can I align (or shift) Tikz nodes? I have the following figure (see below), which consists of multiple horizontal nodes. I want to align the data node with top/bottom of nodes A-D (i.e., red ...
6
votes
2answers
663 views

Alignment problem of empty cells when doing multirow/multicolumn cells in TikZ matrices

This is a question which has been discussed here and here. One of the solution discussed is to use fit to cover empty cells. However, while trying it, it displayed an alignment problem between the ...
5
votes
1answer
199 views

Array Alignment using TikZ Matrices; cell over a complete row

I want to align subplots in a pgfplot. with \matrix it is easy to align pictures. My problem is, that I need several rows with two columns/pictures and a last row with a picture over both columns. ...
2
votes
2answers
153 views

Align Captions of 2 figures

I managed to get my two Tikz figures side by side. The vertical alignment of the Tikz figures is fine and needs to stay that way. However, I am bothered by the captions and I'd like both of them to be ...
1
vote
0answers
53 views

Tikz Matrix (alignment?) [duplicate]

I have the following example: \documentclass{article} \usepackage{amsmath} \usepackage{tikz} \usetikzlibrary{matrix} \begin{document} \begin{equation} \begin{tikzpicture}[baseline=(current ...
3
votes
2answers
322 views

TikZ: Text blocks with minimum spacing AND “preferred” anchor

I'm new to TikZ, and I'm trying to solve a problem which should be easy, I found many related examples but none helped me. Given the following MWE: \documentclass{article} \usepackage{fontspec} ...
7
votes
1answer
210 views

Rule at the middle of a page

Is it possible to draw a (dotted) horizontal rule at the middle of the page (same distance from the top as from the bottom) independent of the rest of the text (perhaps in some way overlayed over the ...
4
votes
2answers
132 views

Boxing a number and aligning it vertically along the baseline

I am making a big list of exercises and I'd like to box the number of the exercise at each line. I found this: \tikzstyle{square}=[minimum width=0.5cm, minimum height=0.3cm, rectangle, rounded ...
3
votes
1answer
220 views

Tikz vertical alignement text and shape

I want to vertically align sans serif font with a rectangle. The following code show the problem: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{tikz} \usetikzlibrary[positioning] ...
6
votes
1answer
456 views

Code improvement and suggestions in template

Consider the following MWE: \documentclass[12pt,twoside,letterpaper]{report} \usepackage[text={4.95in,7.5in},centering,bottom=1.5in,showframe]{geometry} \usepackage[dvipsnames]{xcolor} ...
9
votes
1answer
337 views

How to vertically center the \vdots in this node?

I'd like the \vdots in this chain to have the same distance to both of the arrows. I know that I could manually shift the node so that it looks right, but there must be a better solution. How? ...
5
votes
1answer
631 views

tikz picture inside of an enumerate environment

Is there a way I can make sure that the number of the enumerate environment stays in the top left of the tikzpicture? I'm using a custom environment that just wraps around the enumerate environment... ...
7
votes
2answers
1k views

Putting text at the side of a tikzpicture

I've just completed a tikz diagram. I need the text In the following diagram, what can you say about $\angle F$, $\angle B$ and$\angle E$? to go to the right of the diagram to save space on ...
8
votes
3answers
368 views

Aligning text and a tikZ picture vertically

Here is my current slide: \documentclass{beamer} \usepackage[english]{babel} \usepackage{tikz} \usetikzlibrary{backgrounds} \begin{document} \begin{frame} \frametitle{My slide} ...
2
votes
1answer
219 views

TikZ node in normal text

I would like to place a TikZ node inside normal text to get the fancy boxes. But the box is on the same baseline. I would like to get the text on the baseline. What can I do? \documentclass{article} ...