TransWikia.com

llncs: Upright text in theorems and lemmas

TeX - LaTeX Asked by andrepd on May 15, 2021

By default the llncs class defines a host of theorem-like environments, without my loading amsthm. Some of them, such as Theorem, Lemma, Corollary, set their text in italics.

I think this is not very good, typographically, and I would like to change it. Besides manually writing normalfont after each begin{theorem}, what can I do?

In a similar vein, I would also like to put a qed before the end of each end{proof}. Maybe there is a similar solution?

One Answer

Preface (personal opinion): llncs.cls is not particularly pretty, so I would only use it if I had to (because of submitting to a Springer venue). In this case, I would not change the predefined settings, because this is the way the elements (like theorems) are supposed to look like. It's up to the editor to define a common appearance.

Regarding your questions: You can define your own environments, like

spnewtheorem{thm}{Theorem}{bfseries}{}

If you want/have to reuse the theorem environment, you can redefine it:

lettheoremrelax
spnewtheorem{theorem}{Theorem}{bfseries}{}

To obtain a square at the end of proofs, llncs.cls defines the command qed.

enter image description here

documentclass{llncs}
lettheoremrelax
spnewtheorem{theorem}{Theorem}{bfseries}{}
begin{document}
begin{theorem}
  The theorem I worked on all my life.
end{theorem}
begin{proof}
  The result is obvious.qed
end{proof}
end{document}

Correct answer by gernot on May 15, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP