0

I can't put my equation in the center, i don't know if is related to be using the srcbook package.

equation

I tried using the amsmath package, the nccmath package and fleqn command, also i used the align* command, but the equation is always as you can see in the image.

What can i do?

1
  • Please post a minimal working example of LaTeX code that generates the problem behavior you're looking to fix. The code should begin with \documentclass and end with \end{document}.
    – Mico
    Commented Jun 25, 2017 at 2:23

1 Answer 1

2

This works without problems. If you want to have your equations centred, do not use the fleqn option.

\documentclass{scrbook}
\usepackage{amsmath}
\begin{document}
I can't align this equation
\begin{align*}
  a &= b \\
    &= c
\end{align*}
\end{document}

enter image description here

4
  • Thank you, there was a hidden fleqn in the document class, that was my problem.
    – LP0
    Commented Jun 25, 2017 at 2:41
  • @LenaVonEngel - Are you sure the scrbook document class sets the option fleqn?
    – Mico
    Commented Jun 25, 2017 at 5:57
  • @Mico I think OP was using some custom class wrapping scrbook. Commented Jun 25, 2017 at 5:58
  • @Mico It was, at least in the template i was using for.
    – LP0
    Commented Jul 9, 2017 at 22:37

You must log in to answer this question.

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