2
votes
2answers
98 views

Aligning a Table and a diagram in the same line

I wish to align a table and a diagram vertically on a line. Here is my code: \begin{flushleft} \begin{tabular}{l||c|r} & a & b \\ \hline $q_0 & q_1 & q_0$ \\ ...
9
votes
3answers
369 views

Letter “p” ruining vertical alignment

I have a simple diagram I have created. \begin{figure}[t] \begin{center} \setlength{\unitlength}{10pt} \begin{picture}(24,4) \setlength\fboxsep{0pt} ...
2
votes
2answers
327 views

How can I align text, a diagram and a set of equations at the top?

I used the right environment + commands but I don't understand why my "1." the top of the diagram and the first line of the equation don't line up. Whatever else follows doesn't have to be aligned but ...
8
votes
3answers
5k views

Problem with TikZ and vertical alignment of text inside nodes

I have a problem in TikZ with the vertical alignment of text inside nodes. With a very minimal example like this: \usetikzlibrary{arrows,positioning,shapes.geometric} \begin{tikzpicture}[% ->, ...
7
votes
2answers
2k views

Centering a TikZ picture around an area

I often find myself in the following situation: A tikzpicture of mine consists of a main area and some outer material like text labels which are hardly symmetric around the main area. If such a ...
4
votes
1answer
2k views

How can I center horizontally but not vertically?

This centers both horizontally and vertically, but I do not want vertical centering. I want the grid to be at the top of the page. (The geometry package works well at defining margins though). ...