0
votes
1answer
34 views

How can I have a node spanned over multiple columns push to its cell borders' borders?

I'd like to have the (big) node with Long text long text span from the very left of cell m-2-2 to the very right of cell m-2-5. How can I achieve that? MWE \documentclass[ 11pt ]{scrartcl} ...
2
votes
1answer
55 views

How to center text in a schemabox?

I would like the text in the nodes between the arrows to be centered rather than left aligned. Using \centering or \begin{center} ... \end{center} around the minipage or setting text align=center in ...
7
votes
1answer
199 views

Overlay two .tikz files from input

I have some plots generated from matlab2tikz which I would like to overlay. Each plot is a seperate .tikz file which I input using \input. My code currently is: \pgfplotsset{ every axis/.append ...
3
votes
2answers
61 views

Tikz aligning text in nodes

I am working on a Tikz picture of a calendar. The headings of the calendar are the months and I add them with nodes. But they aren't aligned. \begin{tikzpicture}[scale = 1.3] \path (0,0)node[minimum ...
3
votes
3answers
127 views

How do I horizontally align equations with graphical calculus?

I have a graphical proof in category theory that I wrote with TikZ and the align environment (Thanks to Henri's answer in this question). The diagrams on each line have a recurring feature, a vertical ...
1
vote
1answer
76 views

Align table side by side with graph

I'm trying to get my csv table aligned to the left of my graph. The graph is appearing below (and indented) the table. Any ideas? \begin{minipage}{0.5\textwidth} \pgfplotstabletypeset[col sep=comma, ...
15
votes
2answers
401 views

Placing TikZ drawings in a minipage side by side

I've some problems with aligning some drawings I made with TikZ: I want these two TikZ pictured below to be displayed side by side with the two captions being on the same horizontal level. ...
7
votes
3answers
157 views

Maintaining alignment between irregularly vertically spaced TikZ matrix nodes

I'm trying to create a diagram with pairs of rectangles of different sizes, each separated by a fixed interval. Additionally, I want each pair to be left-aligned at the same point. Here's an example ...
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 ...
1
vote
1answer
125 views

How to center a tikz figure in a beamer frame

I was told to use the standalone package, which I use, but it does not seem to center the figure. What options to do I miss? Concretely, here is the main file: \documentclass{beamer} ...
2
votes
1answer
255 views

Centering text in TikZ tree node

I'd like to have my text inside TikZ tree nodes centered; below is my progress so far: \documentclass[10pt, a4paper]{article} \usepackage{tikz} \usetikzlibrary{arrows} \begin{document} \tikzset{ ...
3
votes
2answers
226 views

Tikz, rectangle split, first part aligned abnormally

Some little code two draw a rectangle with 4 parts, from library shapes.multiparts. \tikzset{ font=\sffamily, BLOCK/.style={ draw, align=center, text height=0.4cm, ...
6
votes
1answer
101 views

Align to TikZ additional separation space

In TikZ I have a styled node, in this case a matrix with an addition separation space and a dashed border. Left and right of this matrix I want to align additional nodes with the north dashed border. ...
4
votes
2answers
280 views

Text alignment using fix anchor positions in TikZ

I created some biological drawings using Dia and exported them as TikZ TeX code. I want to define some commands that insert these drawings and add some text to them. As there is a lot of text and ...
8
votes
3answers
174 views

box the size of A containing B

A thing I'd often like to do is put in my document a box the size of some text A and containing some other text B. For instance, I have two tikz nodes, one containing $n$ and one containing $n+1$, and ...
3
votes
0answers
305 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
284 views

TikZ table text alignment

I'm having trouble aligning text inside a TikZ table. It currently just centres the middle letter, despite the align=left. I also tried using: row 1/.style={nodes={align=left}} (as suggested in ...
2
votes
1answer
251 views

Align tikz node labels

I have created the following picture using tikz: \tikzset{ graphnode/.style={ draw,fill, circle, minimum size=0.7mm, inner sep=0 }, } \begin{tikzpicture}[every ...
4
votes
1answer
196 views

callout boxes not aligning with aligned environment content

I've been able to create the split rectangle successfully. I've been able to work with \tikzmark and callout boxes. But now that I'm combining the two, something is going seriously wrong. Here's my ...
2
votes
2answers
767 views

Tikz picture, align left in column using beamer

I'm currently struggling with aligning a tikzpicture, within a figure environment, at the left of a column. It seems like the figure is always align centre, or right Using beamer, for a presentation. ...
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. ...
3
votes
1answer
157 views

How can I center a tikzpicture horizontally by a certain point/coordinate?

this is a rather nit-picky question but I wanted to ask anyway. Is is possible to center the tikz figure horizontally with using the coordinate indicated by the red circle? The catch is, I have ...
8
votes
3answers
399 views

TikZ Matrix - How can I align content horizontally which is spanning over multiple cells/rows?

I'd like to finetune the big rectangle in the last column and its content, i.e. that it's all aligned to the third column's center. It is currently too far on the right: So far I have been unable ...
44
votes
1answer
3k views

Manual/automatic line breaks and text alignment in TikZ nodes

How can I insert a line break in a TikZ node? Simply putting \\ where I want the break doesn't work (see MWE). Is there a way to make lines break automatically at some specified width? And can I ...
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. ...
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
1answer
478 views

Alignment of tikz nodes in a chain

How can the north anchors of the nodes in a going to the right chain be aligned in a tikz picture? As can be demonstrated by the following example, by default they seem to be aligned by the center ...
8
votes
4answers
324 views

Decimal separator and axis label centering with Tikz

The following code creates a figure with Tikz without the use of pfgplots (that I want to avoid here): % compilation: pdflatex --jobname=Runge-f1 Runge.tex \documentclass[12pt]{book} ...
1
vote
1answer
268 views

Alignement of tikz-pictures and tables in subfigures

Basically, I'm trying to explain the depth-first search. I'd like to align my images in the following manner: I'd like to put two graphs in each single line, with the corresponding 'table' ...
4
votes
4answers
304 views

Tikz : node filling with text

Here is a minimal working example %!TEX TS-program = xelatex \documentclass{article} %%%%%%%%%% % Colors % %%%%%%%%%% \usepackage{xcolor} \definecolor{green}{HTML}{C2E15F} ...
1
vote
1answer
164 views

alignment of tikzpicture

I have several plots which I create with tikzpicture. The plot dimension is set to \begin{tikzpicture}[x=\textwidth]. I try to align these plots right with \begin{flushright} and \end{flushright} but ...
5
votes
1answer
1k views

Horizontal alignment of text nodes of varying length in Tikz matrix like in Tex tabular

In tablular, we use {r|c|l} to define alignment. Is there anything similar for Tikz matrix. For example, by using matrix, the following MWE produces matrix of nodes, which appear to be center aligned ...
2
votes
2answers
187 views

Tikzpicture horizontal alignment with to[grid with coordinates]

I'm trying to align horizontally three grids, two of them in one figure. Below is the sample code: \documentclass[twocolumn]{article} %% ...
2
votes
1answer
98 views

TikZ object misaligned with main document: slightly shifted to the right

The TikZ picture is not aligned with the main content of the document. It slightly shifts to the right. Notice how the words go outside the frame on the right side. Any hints on how to correct this ...
4
votes
1answer
139 views

Why does \centering have no effect in my code?

It seems that when I use the \centering command to center a TikZ picture within a Beamer frame, it only works if there is a blank line between the \end{tikzpicture} and \end{frame}. Can someone ...
1
vote
0answers
123 views

Alignment of TikZ object [closed]

I'm using the classic thesis style by André Miede. As I have to import a lot of Matlab plots, I'm using matlab2tikz. In the LaTeX document, I want the TikZ object to act like a normal jpg/png ...
1
vote
0answers
134 views

Why is centering a TikZ picture from an external file not the same as a centering a .png figure? [closed]

Why can't I put a Tikz picture inside \makebox? \begin{figure}[!ht] \centering \makebox[\textwidth][c]{\includegraphics[width=.8\textwidth]{./Figures/chapter5/procedure_contacts.pdf}} \end{figure} ...
10
votes
3answers
527 views

TikZ: How to center captions below figures in matrix

I have three figures that I want to align in a matrix. Each figure is drawn in a different way and needs a caption that is centered below the corresponding figure. Here is what I currently have: ...
5
votes
1answer
143 views

Crossed hierarchy

I appreciate it if you let me know the most elegant way to draw a crossed hierarchy such as the followings: X /\ Y Z /\/\ p q t q has two parents Y and Z.
2
votes
2answers
568 views

How to horizontally top-align multiple \tikzpicture's without using \hspace?

The use case I'm having is the following: \documentclass{article} \usepackage{amsmath} \usepackage[showframe]{geometry} \usepackage{qtree} \begin{document} \Tree [.A B C [.D E ] ] \Tree [.F [.G H ...
3
votes
1answer
156 views

Center alignment of tikzpicture outside figure environment without vertical space [duplicate]

How to align tikzpicture outside figure environment without introducing vertical space? I'm aware of related questions, such as What is the correct way to center a \tikzpicture? and Should I use ...
3
votes
1answer
315 views

Alignment horizontal subcaption and TikZ

I have a problem with the alignment of 2 plots. The Problem is I want the captions to be horizontal aligned. Also the x-axis should be horizontal aligned! Is there a way to do that? ...
4
votes
1answer
240 views

Center subfigures; fix TikZ error

I am trying to center some figures produced by TikZ. In my example, I have three large Tikz pictures that are separate figures. I also have the same three pictures, but this time as subfigures. All ...
4
votes
2answers
731 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
268 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 ...
3
votes
0answers
99 views

TikZ: centre drawing at origin [duplicate]

Possible Duplicate: Centering a TikZ picture around an area I'm drawing 3 circles within each other with the same centre point, each circle represents a region for the project I'm doing. ...
27
votes
2answers
378 views

Align nodes containing numbers on the decimal separators

In a plot, I have several vertically distributed nodes containing numbers with different numbers of digits before and after the decimal separator, and a trailing percent sign. I would like to align ...
3
votes
1answer
278 views

Table right of TikZ image

I created a tree using TikZ and would like to add tabular explanation data to the right of it. The figure definition currently looks like this: \begin{figure*}[h!] \input{tikz/praefixeigenschaft} ...
10
votes
1answer
335 views

Misaligned month label in TikZ calendar

I'm putting together a multi-month calendar in TikZ and am seeing some awkward and undesired alignment in the month labels despite using the month label above centered style. In particular, the month ...
6
votes
1answer
872 views

Tikz flowchart: center text + math in node

I'm trying to draw a flowchart with TikZ. In one of the decision "diamonds", I have both text and a bit of math between $. \node [decision, below of=buildbid, node distance=1.8cm, aspect=8, minimum ...