This question already has an answer here:

I've created a longtable in latex, and I've centred it, because it is quite wide, and I don't want my text running off the side. However I have one particularly long equation, which I put in the align block, so it goes down into a new line. However unlike the rest of the equations in column 1, it doesn't start at the same place as the others (which is the left of the margin).

I have tried using the same method as shown here, but that doesn't work. Latex longtable, start equation on new line

I'm wondering how I can make it start on at the margin, and also how to remove the [t]

My code and a print screen of my pdf is below:

Column 1, row 5 the equation doesnt start in the same place

As you can see from the picture above, column 1, row 5 (with the red text), the equation doesn't start at the same point as the others. And also the [t] is there. Any way to remove it would also be helpful.


% all relevant preamble above %

\setlength{\LTleft}{-20cm plus -1fill}
\begin{longtable}{ >{$}l<{$} L >{$}l<{$} }
more similar

\overline{X} \cdotp Y \cdotp Z + [(\overline{X} + Y + Z) \cdotp (\overline{X} + \overline{Y} + \overline{Z})]  & 
Multiply everything out} & 
A \cdotp B = \overline{A} + \overline{B},
& \quad A = \overline{X} + Y + Z \\ 
& \quad B = \overline{X} + \overline{Y} + \overline{Z} 
\end{aligned} \\

\overline{X} \cdotp Y \cdotp Z + [\textcolor{red}{\overline{X} \cdotp    \overline{X}} + \overline{X} \cdot \overline{Y} + \overline{X} \cdot \overline{Z} + \\ 
                              Y \cdotp \overline{X} + \textcolor{red}{Y  \cdot \overline{Y}} + Y \cdot \overline{Z} +
                              Z \cdotp \overline{X} + Z \cdot  \overline{Y} + \textcolor{red}{Z \cdot \overline{Z}}]  
\end{aligned}[t] & 
Use De Morgans's law [OR to AND] across 3 variables, twice. & 
\overline{A+B+C} = \overline{A} \cdotp \overline{B} \cdotp \overline{C} \\
 more similar rows

marked as duplicate by Mico equations Nov 7 '16 at 20:34

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 1
    Tha same question was already asked *user118173 *. See answer on it: tex.stackexchange.com/questions/337964/… – Zarko Nov 7 '16 at 20:16
  • That's the method I used, but it doesn't work. In fact I'm the one who asked that question but, I accidentally made a different account for it, I was unaware I had this one. – Physco111 Nov 7 '16 at 23:39
  • well, do you now test my answer in given link? does it help you? Let me know in comment below answer, not here. – Zarko Nov 8 '16 at 0:13
  • Actually, I think I figured it out. It was to do with where I put my \\ in the text. Thank you, your method did work. – Physco111 Nov 8 '16 at 11:00