Math & Science ⇒ Changing fleqn option for part of doc only
Changing fleqn option for part of doc only
For the main body of the thesis, I would like (and currently have) the default alignment of equations-centered and eqno-right. For the appendices however, as they are almost entirely math derivations, I would like to change to have all the equations left-justified (with the same right-side eqno). Does anyone know a way? Ideally, since the appendices are quite long, I would like to do this once at the beginning of the appendices files, rather than for each equation.
I am currently using the following (math) packages:
\usepackage{amsmath, amssymb, amsthm}
I know there is an option within amsmath to have all equations left justified, i.e. \usepackage[fleqn]{amsmath}, however I am not sure how to turn this option on & off within the document itself (i.e. after \begin{document}...).
Thank you to all,
- Christie.
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Re: Changing fleqn option for part of doc only
Changing fleqn option for part of doc only
I don't think that amsmath provides such an environment. Can you please provide an example illustrating your advise?meznaric wrote:Since you are using the amsmath package, you can use the \begin{fleqn} \end{fleqn} environment for all the equations that you want left justified instead of usual...
Re: Changing fleqn option for part of doc only
\begin{fleqn}
Text and stuff.
\begin{align}
Equation aligned left.
\end{align}
Bla bla.
\end{fleqn}
\begin{align}
This equation is aligned like normal again.
\end{align}
Re: Changing fleqn option for part of doc only
what to do now? how can I get this package usepackage{nccmath}
thanks in adv
Re: Changing fleqn option for part of doc only
http://www.ctan.org/tex-archive/macros/ ... /ncctools/
I gave up and just set all my equations to fleqn in the preamble.
"The fish seem to like me", said Tom with baited breath.