1
vote
1answer
62 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
91 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
118 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
107 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
82 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
102 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
142 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
119 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
60 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
61 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} ...
4
votes
4answers
105 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
282 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
268 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
116 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} ...
8
votes
1answer
142 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
368 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} ...
3
votes
0answers
308 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
182 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
80 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
150 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
169 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
301 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
93 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 ...
6
votes
1answer
2k 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
503 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
148 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
134 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
50 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
238 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
168 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
119 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
212 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
323 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
266 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
502 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... ...
6
votes
2answers
740 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
296 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
203 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} ...
3
votes
0answers
165 views

How to vertically align the captions for sub figures in subfigure? [duplicate]

This is my tikz code: \documentclass{article} \usepackage{tikz} \usetikzlibrary{shapes,shapes.geometric,arrows,fit,calc,positioning,automata,} \usepackage{amsmath} \usepackage{caption} ...
4
votes
1answer
200 views

How do i vertically align a tikz picture inside a beamer frame

The beamer frames optinal argument [c] seems to be ignored in the following example: \begin{frame}[c, fragile, shrink] %seems to be ignored, not aligning vertically \makebox[\textwidth][c]{ % ...
4
votes
2answers
732 views

How to anchor labels in tikz for baseline alignment

LaTeX handles subscripts and superscripts nicely, automatically correcting for various sizing and placement issues. I am trying to build a function that works like subscripts and superscripts, but ...
4
votes
1answer
269 views

LaTeX align/distribute objects à la InDesign?

I'm trying to replicate, in LaTeX, InDesign's align and distribute tools. This is a snapshot of ID's toolbar: Say I want first to align vertically two objects (texts, graphics, boxes,...), and ...
5
votes
3answers
175 views

Vertically align multiple labels

I have a sketch with two aligned lines. These lines have a label each. When you look on my example, you will see, that the labels "Top" and "Inlet" do not share the same baseline. Both labels are ...
5
votes
1answer
504 views

\resizebox shifts tikzpicture up when in a subfloat environment

Why when I try to re-scale a tikz figure using \resizebox the baseline is shifted up (regardless of how small the scale factor is), and two horizontal floats are not aligned properly. ...
6
votes
1answer
298 views

Aligning TikZ graphic vertically to neighbor in multicol

For my documentation of a blocks world problem in Prolog, I'd like to show the example code (using the listing package) next to the real world equivalent, which I made using TikZ. For this I used the ...
4
votes
2answers
406 views

Text block near image

I'm creating a photo address book for the community. Near the photo there are 3 text blocks 1. Names, 2. Address/phone/email and 3. native place). I want each of this blocks to be at top, center and ...
10
votes
2answers
303 views

Why is picture and matrix not drawn at the same height

I'm trying to put a adjacency matrix beneath a graph using subfloat. The graph is drawn with tikz. No matter what I do, the matrix is put below the graph as shown here: The code is here: ...
6
votes
1answer
537 views

Beamer: column alignment with tikzpicture inside

I am having trouble with using columns in Beamer class. For some reason, I have to display a plot in the left column, then replacing it with another plot to display additional data on it (I can not ...
6
votes
1answer
288 views

Using a table: alignment issues and cell labels

I'm using tables with the tabular environment, with cells containing tikzpicture. I would like to center the contents of the cells both vertically and horizontally, and have little labels in the top ...
4
votes
1answer
202 views

How to draw hierarchical boxes with vertical lines of sight? [duplicate]

Possible Duplicate: Creating a node fitting the horizontal width of two other nodes I would like to draw a hierarchy of boxes where the borders of the boxes are vertically in the same line ...