1

I want to cite a theorem of 7 authors. The theorem enivornment I use does not break lines, so the last name is way off the margin. Anyone knows how to deal with this?

Here is the beginning of the document:

\documentclass[11pt]{article} 
\usepackage{theorem} 
\newtheorem{thm}{Theorem} 

\begin{document}
\begin{thm}[ Author1, Author2, Author3, Author4, Author5, Author6, Author7 \cite{manyauthored}] 
... 
\end{thm}
\end{document}

so Theorem number and the authors' names are just too long and it does not break the line.

5
  • 1
    Your question is a little hard to answer without any details. Can you maybe add a minimal working example to illustrate your problem, so that it is easier to help you out? (Remember to add all the relevant details such as documentclass and required packages)
    – Markus G.
    Sep 18, 2021 at 19:34
  • Here is the beginning of the document: \documentclass[11pt]{article} \usepackage{amssymb} \usepackage{amsmath} \usepackage{graphicx} \usepackage{epsfig} \usepackage{epstopdf} \DeclareGraphicsExtensions{.pdf,.eps,.png,.jpg,.mps} \usepackage{multicol} \usepackage{theorem} \usepackage{etex} \newtheorem{thm}{Theorem} In the document I have \begin{thm}[ Author1, Author2, Author3, Author4, Author5, Author6, Author7 \cite{manyauthored}] ... \end{thm} so Theorem number and the authors' names are just too long and it does not break the line. Sep 18, 2021 at 20:08
  • You can actually edit your original question so that it contains this information.
    – Markus G.
    Sep 18, 2021 at 20:09
  • 1
    The amsthm package doesn't pack the optional argument in a box, so it will break. (You don't want the space at the beginning though.) Sep 18, 2021 at 20:53
  • Remove the calls to epsfig and epstopdf (the former is obsolete and the latter is automatically loaded if needed); there is no need to specify \DeclareGraphicsExtensions. And, as @barbarabeeton says, do \usepackage{amsthm} in place of \usepackage{theorem} (which, by the way, is obsolete as well). Also \usepackage{etex} should be removed.
    – egreg
    Sep 18, 2021 at 22:03

1 Answer 1

1

Let me examine the code you show in the preamble

\documentclass[11pt]{article}

\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage{epsfig}
\usepackage{epstopdf}
\DeclareGraphicsExtensions{.pdf,.eps,.png,.jpg,.mps}
\usepackage{multicol}
\usepackage{theorem}
\usepackage{etex}

\newtheorem{thm}{Theorem}

\begin{document}

\begin{thm}[ Author1, Author2, Author3, Author4, Author5, Author6, Author7 \cite{manyauthored}]
...
\end{thm}

\end{document}

The strike-outs denote lines you should remove; here are the reasons:

① Obsolete package
② Automatically loaded if need arises
③ Redundant, but it might be useful
④ Obsolete package
⑤ Obsolete package

Solution for your problem: load amsthm.

\documentclass[11pt]{article}

\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage{multicol}
\usepackage{amsthm}


\newtheorem{thm}{Theorem}

\begin{document}

\begin{thm}[Author1, Author2, Author3, Author4, Author5, Author6, Author7 \cite{manyauthored}]
...
\end{thm}

\end{document}

enter image description here

2
  • Very very nice the new formattation with the circle numbers.
    – Sebastiano
    Sep 18, 2021 at 22:32
  • thank you very much! Sep 19, 2021 at 6:02

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .