BibTeX, biblatex and biber ⇒ \cite[option]{citation} does not work
\cite[option]{citation} does not work
I have the following code:
\begin{theorem}[Schmith theorem, see \cite[Theorem 3.1]{book}]
...
\end{theorem}
This results in the following error:
>ERROR: Argument of \@citex has an extra }.
>
>--- TeX said ---
><inserted text>
> \par
>l.2641 ...[Schmith theorem, see \cite[Theorem 3.1]
>
>{book}]...
The optional argument for \cite works normally, but not when it occurs as an argument in a theorem style environment. Anybody got an idea? Thanks a lot.
Just to make sure: I'm using TeXlive on Ubuntu 9.4.
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
\cite[option]{citation} does not work
Code: Select all
\begin{theorem}[Schmith theorem, see {\cite[Theorem 3.1]{book}}]
% theorem contents
\end{theorem}
Best regards and welcome to the board
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10