I would like all components of each equation to be aligned with one another. The first 3 rows are ok, but the last two are not. What can be done to align them with the rest? I would like to stick to ''aligned'' if possible as I only want one numbering that is placed in the middle. I tried with begin split but it does not make any difference. Also is there a good way to produce a vertical line? Using \begin{vmatrix} produces too long vertical lines.
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
Thank you. Is it possible to remove the extra space in from of all +'s ? Also, the last two rows are still not aligned with the above ones (I refer here to the vertical bars...) I tried with alignat
You can split the tabular material at the vertical bars as well. The space between the columns is inserted inside the @{}. The alignment in each column is done with the regular specifiers c(entral), l(eft) and r(ight). But since the material inside the bars have different width (because of different kernings) you might have to tweak the output a little bit.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p