Sign up ×
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.

I have been writing my thesis and there is this one problem that I cant seem to figure out why it happens:

The following is a segment of the code from my thesis style sheet. This defines the first reader and second reader for my signature page. And I have also attached a output snap of my PDF of the problem. Can someone please tell me why this occurs?

% Signature page
      \thispagestyle{empty} % KS 2009
      \centerline{\shortstack[c]{\vrule width 2in height 0.4pt\\
%      \vspace{0.15in}
%      \hspace{0in} \rm APPROVED:
      \leftline{ Approved:} % KS 2009
      \rightline{\shortstack[l]{\vrule width 3in height 0.4pt\\ \@adviser}}
 %     \vspace{0.15in}

      \leftline{Committee Members:} % KS 2009
 %    \vspace{0.375in}
      \rightline{\shortstack[l]{\vrule width 3in height 0.4pt\\ \@firstreader}}
  %    \vspace{.375in}

      \rightline{\shortstack[l]{\vrule width 3in height 0.4pt\\ \@secondreader}}
  %    \vspace{.375in}

This is what I get when I compile. the above code.

enter image description here

share|improve this question

3 Answers 3

up vote 4 down vote accepted

The fixed 3in rule width is good, but is also the problem here. Perhaps you can adjust your \rightline usage by using a fixed-width box (something like tabular). This way contents below the signature line will wrap as needed. I've defined \signatureline to be of width .6\linewidth, pushing its contents flush right as needed:

enter image description here

    \hline \\[-.5\normalbaselineskip] #1
\noindent Approved:\par%
\null \hfill \signatureline{Advisor\\A.\ B.\ Coverage\\Dept.\ of Electrical and Computer Engineering}

\noindent Committee Members:\par%
\noindent \hfill \signatureline{First Reader\\Dept.\ of Electrical and Computer Engineering}

\noindent \hfill \signatureline{Second Reader\\Dept.\ of Physics}


I've kept the other spacing as-is, although I would adjust them as well.

share|improve this answer

The \rightline macro will shove its contents to the right of the page. So your problem is not that the second reader's line is moved too far to the right, but that your first reader, and your committee chair, are pushed left a bit because their departmental affiliation lines are more than 3in long. You can either modify the template so that the \vrule width 3in is replaced with a sufficiently wide \vrule (determined by trial and error) or you can insert a manual line break in the affiliation text, e.g. Dept. of Electrical and\\Computer Engineering. Or use abbreviations, I suppose, depending on whether that is okay.

share|improve this answer

At the problem has been solved in this topic: Misalignment of \vrule.

The accepted solution contains two approaches:

  • Recursive patching of \signaturepage to the desired depth to get a wider rule:

      \patchcmd{\signaturepage}{\vrule width 3in}{\vrule width 3.5in}{#1}{}}
  • Shortening entries or to introducing a line break for the wider texts, such as

    \firstreader{E. Joe Charlson, Professor\\ Dept. of Electrical and\\ Computer Engineering}
share|improve this answer

Your Answer


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.