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.

I'm using LyX and a custom class from Colorado-Boulder which is based on the thesis class. I'm at another school and my advisor wants me to include titles of the readers on the signature page as well as a date line for each signator. I've looked through some documentation on the thesis class and poked around in the .cls file in use but didn't come across anything obvious to change. Perhaps this section would help though?

\newcommand*{\th@degreeyear}{\number\the\year}
\newcommand*{\th@signature}[1]{ \begin{center}
    \normalsize
    \vspace*{16mm}  % works well?
    \vrule width 80mm height 0.2mm\\
    #1 \end{center}
}
\newcommand*{\th@dateline}{
\vspace*{9mm}
\begin{flushright}
    Date~{\vrule width 35mm height 0.2mm}
\end{flushright}

How do I include this?

share|improve this question

1 Answer 1

  • If you would like to change existing macros of a class file, you can use \renewcommand to redefine them.

  • If you see the character @ in the code, i.e. in macro names, use need to use \makeatletter before and \makeatother after. See why: What do \makeatletter and \makeatother do.

  • In LyX, use the menu and go to document settings, to modify the document preamble. Insert the lines for redefinition there. These may now look like

    \makeatletter
    \renewcommand*{\th@signature}[1]{%
      \begin{center}
      ...
      \end{center}%
    }
    \makeatother
    

An explanation for the star * is given here: What's the difference between \newcommand and \newcommand*. And for the percent signs: What is the use of percent signs at the end of lines.

share|improve this answer

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.