Re: \hspace{\linewidth minus\linewidth}



rotava wrote:
On 6 mar, 11:26, Lars Madsen <dal...@xxxxxxxxxxxxxxxxxxxxx> wrote:
Oscar Rotava wrote:
I am trying to align a set of equations to the left of the page (only
a few). I am using, as reference, the following set of commands:
For one equation:
\begin{equation}
\hspace{0pt}
a = 20.688437 + 23.27365s
\hspace{\linewidth minus\linewidth}
\label{escflucap14}
\end{equation}
For several equations:
\begin{align}
\hspace{0pt}
&a = 20.688437 + 23.27365s \\
&b = 0.004461556 - 0.005388s \\
&c = 4.1909527\cdot 10^{-6} - 4.56842\cdot 10^{-6}s \\
&d = 3.240963 - 3.48916s
\hspace{\linewidth minus\linewidth}
\end{align}
The trouble is: The label number of the last equation is not printed
on the equation line, but on the next one, although there is room
enough on the equation line itself. Is it possible to overcome the
hindrance?
The problems only happens inside the \align environment.
Thank you for any help.
what exactly is it you are trying to do

that might be better solutions to your problem, but I do not understand
what you are trying to do

should thi be the entire document or just some? (which would lokk odd, IMO)

all document: fleqn class option

some: flalign

--

/daleif (remove RTFSIGNATURE from email address)

LaTeX FAQ: http://www.tex.ac.uk/faq
LaTeX book: http://www.imf.au.dk/system/latex/bog/ (in Danish)
Remember to post minimal examples, see URL belowhttp://www.tex.ac.uk/cgi-bin/texfaq2html?label=minxamplhttp://www.minimalbeispiel.de/mini-en.html- Ocultar texto entre aspas -

- Mostrar texto entre aspas -

I want to flush left only a few equations. The pattern of the whole
document is centered equations.

The procedure I described above puts de equation label in the right
place if I handle one equation. If I try to do the same with a set of
n equations inside a \align command (the printing format looks better
than treating each equation of the set individually), the equation
label of the (n-1) goes to the right place but the label of the nth
equation is put at the end of the next line.

a = 20.688437 + 23.27365s
1
b = 0.004461556 - 0.005388s 2
c = 4.1909527\cdot 10^{-6} - 4.56842\cdot 10^{-6}s 3
d = 3.240963 - 3.48916s
4

\begin{flalign}
aaa &= sdfdf &&
\\
bb &= ljhdslfkh &&
\\
....
\end{flalign}

can also be used for a single line

though I have a hard time understanding the need for this, anyway that is your business

whan one starts inserting stuff like that into equations then you are on the wrong path


--

/daleif (remove RTFSIGNATURE from email address)

LaTeX FAQ: http://www.tex.ac.uk/faq
LaTeX book: http://www.imf.au.dk/system/latex/bog/ (in Danish)
Remember to post minimal examples, see URL below
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=minxampl
http://www.minimalbeispiel.de/mini-en.html
.



Relevant Pages

  • Re: hspace{linewidth minuslinewidth}
    ... I am using, as reference, the following set of commands: ... The label number of the last equation is not printed ... LaTeX FAQ: http://www.tex.ac.uk/faq ... 4- Ocultar texto entre aspas - ...
    (comp.text.tex)
  • Re: Warnings
    ... should, so it says \label, \labeletc. but i get warnings ... the label keys a re not unique you get the warning you mention. ... LaTeX FAQ: http://www.tex.ac.uk/faq ... LaTeX book: http://www.imf.au.dk/system/latex/bog/ (in Danish) ...
    (comp.text.tex)
  • Re: chapter: vertical spacing and access to the title
    ... which solved the vertical spacing problem. ... nameref as in \namerefto get the name of the element ... with the label "latexlabel". ... LaTeX FAQ: http://www.tex.ac.uk/faq ...
    (comp.text.tex)
  • Re: hspace{linewidth minuslinewidth}
    ... I am using, as reference, the following set of commands: ... The label number of the last equation is not printed ... - Mostrar texto entre aspas - ... I want to flush left only a few equations. ...
    (comp.text.tex)
  • Re: hspace{linewidth minuslinewidth}
    ... I am using, as reference, the following set of commands: ... The label number of the last equation is not printed ... - Mostrar texto entre aspas - ... I want to flush left only a few equations. ...
    (comp.text.tex)