TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I use displayed numberd formula in lyx

the equations are appears in middel

I want to justify left the equations

I used elsarticl 2 column page format

share|improve this question
up vote 6 down vote accepted

Class option fleqn helps. The math indent can be configured via length \mathindent:

\documentclass[fleqn,twocolumn]{elsarticle}

\begin{document}
\noindent
Example equation:
\begin{equation}
E=mc^2
\end{equation}

\setlength{\mathindent}{0pt}

\noindent
Equation with zeroed math indent:
\begin{equation}
E=mc^2
\end{equation}
\end{document}

Result

share|improve this answer
    
how to do this in lyx? i don't know how to put code – mero Sep 11 '12 at 16:13

Also you can use this option

Indented for this the option fleqn must be inserted in the menu Document ▷ Settings under Document Class

share|improve this answer

It works tools->setting->document class

in class options put fleqn

before the first equation put the code like this

insert->tex code

in the box appears write

\setlength{\mathindent}{0pt}

and

\noindent

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.