Take the 2-minute tour ×
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.

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
add comment

2 Answers

up vote 5 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
add comment

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
add comment

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.