scope
environment to the surrounding text with tikZ ?Graphics, Figures & Tables ⇒ tikZ | Alignment of Graphic with Respect to Text
-
- Posts: 402
- Joined: Fri May 20, 2011 9:41 am
tikZ | Alignment of Graphic with Respect to Text
Is there a way to top align a piece of graphics in a
Last edited by ghostanime2001 on Sat Dec 15, 2012 12:17 pm, edited 1 time in total.
NEW: TikZ book now 40% off at Amazon.com for a short time.

- Stefan Kottwitz
- Site Admin
- Posts: 10337
- Joined: Mon Mar 10, 2008 9:44 pm
tikZ | Alignment of Graphic with Respect to Text
You could use the
Stefan
baseline
option.Stefan
LaTeX.org admin
-
- Posts: 402
- Joined: Fri May 20, 2011 9:41 am
tikZ | Alignment of Graphic with Respect to Text
The
baseline
option goes in the tikzpicture
environment, right?- Stefan Kottwitz
- Site Admin
- Posts: 10337
- Joined: Mon Mar 10, 2008 9:44 pm
tikZ | Alignment of Graphic with Respect to Text
Yes, I guess you would like to align the whole TikZ picture. You can specify a coordinate for the
Stefan
baseline
option, such as (mynode.base)
.Stefan
LaTeX.org admin
-
- Posts: 402
- Joined: Fri May 20, 2011 9:41 am
Re: tikZ | Alignment of Graphic with Respect to Text
How do I do that ?
- Stefan Kottwitz
- Site Admin
- Posts: 10337
- Joined: Mon Mar 10, 2008 9:44 pm
tikZ | Alignment of Graphic with Respect to Text
Without specific code, you may get general advice. Generally, the
TikZ manual could be the first option, together with the mentioned feature. I don't reword parts of the manual.
If you tried something and it doesn't work, let us know.
If you would post a specific code example, perhaps you could get a working piece of code for it.
Stefan


If you would post a specific code example, perhaps you could get a working piece of code for it.
Stefan
LaTeX.org admin