Search found 2 matches

by jhargis
Wed Feb 26, 2014 1:18 am
Forum: Text Formatting
Topic: Restore Centering for Equations in custom Class
Replies: 9
Views: 10405

Re: Restore Centering for Equations in custom Class

Actually, I also just found the solution (well, sort of). I went into the svjour3 cls file and found where the equations in two column mode are default set "fleqn" (line 42 of the code I believe). Just delete the "fleqn" inside the curly brackets , {}, and you'll get centered equations. Again, this ...
by jhargis
Wed Feb 26, 2014 1:05 am
Forum: Text Formatting
Topic: Restore Centering for Equations in custom Class
Replies: 9
Views: 10405

Restore Centering for Equations in custom Class

I'm having the same problem and came upon this thread. My minimum working example is as follows:

\documentclass[twocolumn]{svjour3}
\usepackage{amsmath}

\makeatletter
\AtBeginDocument{\@ifpackageloaded{amsmath}{\@mathmargin\z@}{}}%
\makeatother

\begin{document}
\begin{equation}
6x=2
\end ...