2

I'm using pdflatex. Here is my MWE

\documentclass{amsart}
\newtheorem{proposition}{Proposition}
\begin{document}
\begin{proposition}[Algebraic Structure of $F[x]$]
This is a proposition.

\end{proposition} \end{document}

But this didn't work

enter image description here

  • 5
    Try putting the brackets in an extra set of braces so the close bracket isn't interpreted as as the end of the optional argument: \begin{proposition}[Algebraic Structure of {$F[x]$}] – frabjous Sep 10 '22 at 05:21
  • Or you can group only that bracket {]} – antshar Sep 10 '22 at 05:24
  • 2
    @antshar you can here but not in general: {]} is a mathord not a mathclose so will have different spacing in most cases. – David Carlisle Sep 10 '22 at 08:35

1 Answers1

2
\documentclass{amsart}
\newtheorem{proposition}{Proposition}
\begin{document}
\begin{proposition}[Algebraic Structure of $F\lbrack x\rbrack$]
This is a proposition.
\end{proposition}
\end{document}

enter image description here

Clara
  • 6,012