LaTeX Books
LaTeX users online
In total there are 21 users online :: 2 registered, 0 hidden and 19 guests (based on users active over the past 5 minutes)Most users ever online was 1327 on Tue Nov 05, 2013 7:11 pm
Users browsing this forum: Bing [Bot], Google [Bot] and 19 guests
Equation left alignment using alignLaTeX Forum: GeneralAdd tags
8 posts
• Page 1 of 1
Hi all,
I know one could use align in the following manner to align equations
But I have a long equation and I want to save some space by doing the following
But the whole equation just got pushed way right and left a big blank space on the left. Is there any way I could tell LaTeX to align the whole thing left? Thanks.
I'm not sure whether I understand you right. You could set the fleqn (force left equation) option for the document class.
Best regards and welcome to the board Thorsten¹ LaTeX Community Moderator
How to make a "Minimal Example" Board Rules Avoidable Mistakes ¹ System: openSUSE 13.1 (Linux 3.11.10), TeX Live 2013 (vanilla), TeXworks 0.5 (r1351) ² Posting stopped indefinitely due to offenses
Thanks localghost. I did that and now it aligns to the left. However, LaTeX still leaves a margin of about 4 spaces to the left of the whole equation (I guess this is supposed to make it look nicer in the surrounding text environment). Please see the attached image.
Is there any way I could remove this shift? Thanks.
Giving help would be easier if you provided the code of this excerpt shown in the screenshot.
LaTeX Community Moderator
How to make a "Minimal Example" Board Rules Avoidable Mistakes ¹ System: openSUSE 13.1 (Linux 3.11.10), TeX Live 2013 (vanilla), TeXworks 0.5 (r1351) ² Posting stopped indefinitely due to offenses
I've seen people put full width equations in double column layouts. Do you know how to do that? Thanks. I really appreciate the help.
Hi fenghedo,
Just set \mathindent to 0pt:
Btw. in the first line of the formula above you probably want to write
look at the position of the &. Stefan LaTeX Community Administrator
Another way of aligning could be the following.
LaTeX Community Moderator
How to make a "Minimal Example" Board Rules Avoidable Mistakes ¹ System: openSUSE 13.1 (Linux 3.11.10), TeX Live 2013 (vanilla), TeXworks 0.5 (r1351) ² Posting stopped indefinitely due to offenses
I assume that you have defined \norm more or less by \newcommand{\norm}[1]{\left\Vert#1\right\Vert}.
The solution proposed by localghost works if you replace \begin{split} by \begin{aligned}[t], and \end{split} by \end{aligned}. Anyway, I would remark the following facts:
Taking these points into account, I would propose the following code:
I have also added a point at the end. Mathematical expressions should be punctuated with commas and points, as done with ordinary text. The CTAN lion is an artwork by Duane Bibby. Courtesy of www.ctan.org.
8 posts
• Page 1 of 1
LaTeX users onlineUsers browsing this forum: Bing [Bot], Google [Bot] and 19 guests |