Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

How do I keep the two parties with the same height of 53mm?

\documentclass[a4paper,10pt]{book}
\usepackage{tikz}
\usetikzlibrary{positioning,shapes}
\begin{document}
%Tikz styles
\tikzset{>=latex,inner sep=0pt,
  cx1/.style={rectangle,draw,rounded corners=1cm,orange,text centered},
}

\begin{tikzpicture}[remember picture,overlay]
    \node[cx1,rectangle split,rectangle split parts=2,rectangle split parts,text width=5.3cm,text height=5.3cm] at (13.35,3.25) {aula\nodepart{second} $09$};
\end{tikzpicture}
\end{document}

I want it part1=53mm,part2=53mm.

share|improve this question
add comment

1 Answer

up vote 3 down vote accepted

You can use a \rule with a width of 0pt for this:

\node[cx1,rectangle split,rectangle split parts=2,text width=5.3cm] at (13.35,3.25) {\rule[-2.65cm]{0pt}{5.3cm}aula\nodepart{second}\rule[-2.65cm]{0pt}{5.3cm} $09$};
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.