Math & Sciencesvjour3 | QED Symbol issue

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
rko15
Posts: 1
Joined: Sun Dec 16, 2012 12:14 am

svjour3 | QED Symbol issue

Post by rko15 »

I'm writing a math paper for a Springer journal, using the svjour3 class. According to the manual, \smartqed should produce a right justified qed symbol, but it does not. On the other hand, \qed works fine. What am I doing wrong?

Code: Select all

\RequirePackage{fix-cm}
\documentclass[smallextended]{svjour3}
\usepackage{graphicx}
\usepackage{mathptmx}
\usepackage{amssymb,amsmath,amsfonts,latexsym}
\begin{document}
\begin{theorem}
If $X$, then $Y$.
\end{theorem}
\begin{proof}
Clear. \smartqed
\end{proof}
\begin{theorem}
If $X$, then $Y$.
\end{theorem}
\begin{proof}
Clear. \qed
\end{proof}
\end{document}
The directory contains "svjour3.cls", "svglov3.clo", "spmpsci.bst", and the file "s.tex" containing the above code. I am using MiKTeX 2.9 and compile with PDFLaTeX. The files are available at http://www.springer.com/cda/content/doc ... 5-468198-0

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

svjour3 | QED Symbol issue

Post by localghost »

The remarks in the manual are a bit misleading. The \smartqed macro redefines \qed. So you have to use it in another way.

Code: Select all

\documentclass[smallextended]{svjour3}
\usepackage[T1]{fontenc}

\smartqed

\begin{document}
  \begin{theorem}
    If $X$, then $Y$. \qed
  \end{theorem}
  \begin{proof}
    Clear. \qed
  \end{proof}
  \begin{theorem}
    If $X$, then $Y$. \qed
  \end{theorem}
  \begin{proof}
    Clear. \qed
  \end{proof}
\end{document}
Just for information to other users for awareness of possibly already existing solutions. The question has also been posted to {TeX} SX. Please have a look at some thoughts about that.


Best regards and welcome to the board
Thorsten
Post Reply