0

I'm using KOMA-Script to typeset a stage play. We have two identical sets of characters, one living, one dead. I want to go for a classic look and want to to group these in the list of characters using curly braces, like in this example ("Die Räuber" by Friedrich Schiller from Reclam): enter image description here

The problem is that I want to use KOMA-Script's title page back side for the list of characters, specifically \uppertitleback{}. When try this

\documentclass{scrbook}
\usepackage[T1]{fontenc}
\usepackage{amsmath} % \text{}

\title{Kopenhagen}
\author{Michael Frayn}
\date{}
\uppertitleback{%
    \addsec*{Dramatis Person\ae}
    \vspace{\baselineskip}
    \[
    \left.
    \text{%
    \begin{tabular}{l}
        Werner \textsc{Heisenberg}\\
        Niels \textsc{Bohr}\\
        \textsc{Margrethe} Bohr, \textit{seine Frau}
    \end{tabular}
    }
    \quad
    \right}
    \text{im Jenseits \textdagger}
    \]

    \vspace{\baselineskip}
    \begin{tabular}{l}
        Werner \textsc{Heisenberg}\\
        Niels \textsc{Bohr}\\
        \textsc{Margrethe} Bohr, \textit{seine Frau}
    \end{tabular}
    \quad
    \text{im Diesseits \(\ast\)}
}

\begin{document}
\maketitle
\end{document}

I get the error message ! LaTeX Error: Missing \begin{document}. from pdfLaTeX.

I guess one cannot use math mode before \begin{document} and thus not in \uppertitleback. On the other hand using inline math \(\ast\) to make use of a centered asterisk works fine, so maybe this is not the problem? Is this possible without too dirty hacks? What is the correct way doing this?

  • 1
    you have to escape the right }, i.e., \right\} (now LaTeX thinks that your \uppertitleback ends with the \right} and that the following code should be typeset immediately, which is not allowed because there is no \begin{document} yet). – Marijn Jul 6 at 15:17
  • Okay this was stupid, thanks :) – Philipp Stephan Jul 6 at 16:16
2

As Marijn already noted in the comments, you will have to replace \right} with \right\} in order to make your example compilable. However, this will also horizontally center your tabulars as can be seen here:

enter image description here

If you instead perfer left alignment, I'd recommend using the bigdelim package and its \rdelim\} command:

enter image description here

\documentclass{scrbook}
\usepackage[T1]{fontenc}
\usepackage{amsmath}
\usepackage{bigdelim}

\title{Kopenhagen}
\author{Michael Frayn}
\date{}
\uppertitleback{%
    \addsec*{Dramatis Person\ae}
    \vspace{\baselineskip}    
    \begin{tabular}{@{}l l}
    Werner \textsc{Heisenberg} & \rdelim\}{3}{*}[im Jenseits \textdagger]\\
    Niels \textsc{Bohr}\\
    \textsc{Margrethe} Bohr, \textit{seine Frau} \\
    \\
    Werner \textsc{Heisenberg} & \rdelim\}{3}{*}[im Diesseits \(\ast\)]\\
    Niels \textsc{Bohr}\\
    \textsc{Margrethe} Bohr, \textit{seine Frau} \\
   \end{tabular}
}

\begin{document}
\maketitle
\end{document}

With this approach all curly brackets will be at the same horizontal position. If you prefer an output as in the image in your question, put each block of persons inside a new tabular environment instead of using one tabular for the whole list.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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