Code: Select all
\begin{tabbing}
$f(x)$ \= $ = \left( \dfrac{a}{b} \right)$ \\
\> $ = \left( \dfrac{c}{d} \right)$ \\
\end{tabbing}
How to separate them?
Code: Select all
\begin{tabbing}
$f(x)$ \= $ = \left( \dfrac{a}{b} \right)$ \\
\> $ = \left( \dfrac{c}{d} \right)$ \\
\end{tabbing}
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
\\
for adding vertical space:
Code: Select all
\begin{tabbing}
$f(x)$ \= $ = \left( \dfrac{a}{b} \right)$ \\[1ex]
\> $ = \left( \dfrac{c}{d} \right)$ \\
\end{tabbing}
Is there a special reason why don't use thewhite_owl wrote:I have a long equation inside a{tabbing}
environment […]
align*
environment from amsmath?
Code: Select all
\documentclass[11pt]{article}
\usepackage[T1]{fontenc}
\usepackage{mathtools} % loads »amsmath«
\begin{document}
\begin{align*}
f(x) &= \left(\frac{a}{b}\right) \\
&= \left(\frac{c}{d}\right)
\end{align*}
\end{document}
Most packages are well documented. Do you read documentation? In this case, besides the excellentwhite_owl wrote:too many packages and not enough documentation for them.
amsmath
. Perhaps you did not read one. No problem, but in this case better not judge on TeX. Both linked documentation would tell you that: you could simply use the class optionwhite_owl wrote:How to move the equations to the left side of the page?
fleqn
(flush left equations), such asCode: Select all
\documentclass[fleqn]{article}
Ok, can I judge texdoc in this case?Stefan_K wrote:Some comments,
Most packages are well documented. Do you read documentation? In this case, besides the excellentwhite_owl wrote:too many packages and not enough documentation for them.mathmode document, the
amsmath manual is relevant. Every good introduction, tutorial and book should mention
amsmath
. Perhaps you did not read one. No problem, but in this case better not judge on TeX.![]()
If you don't use an outdated version, but a new one.white_owl wrote:Ok, can I judge texdoc in this case?
texdoc amsmath
works fine and opens amsldoc
. I tested with TeX Live 2012 and 2011, possibly it worked also earlier. You can test it online on texdoc.net. My link above is based on it. There's a quick search feature for the browser if you don't want to update your local TeX.texdoc
is a great tool for working with the documentation. It's based on filenames, but sometimes developers choose difficult names, as it's the case with amsmath. So somebody added an exception for amsmath, and there were also synonyms introduced.Here I have to disagree vigorously. The vast majority of the packages (>90%) are documented very good. So I can't comprehend these concerns.white_owl wrote:[…] The main problem of TeX - too many packages and not enough documentation for them. […]
The amsmath package also provides thewhite_owl wrote:[…] But what I see from your example - the align* also centers the equations. What if I do not want that? How to move the equations to the left side of the page?
flalign*
environment which allows to align equations individually to the left margin.
Code: Select all
\documentclass[11pt]{article}
\usepackage[T1]{fontenc}
\usepackage{mathtools} % loads »amsmath«
\begin{document}
Preceding Text
\begin{flalign*}
f(x) &= \left(\frac{a}{b}\right) &\\
&= \left(\frac{c}{d}\right) &
\end{flalign*}
Following Text
\end{document}
I have texlive "2009-11 squeeze1". The one which is distributed by Debian's repository.Stefan_K wrote:If you don't use an outdated version, but a new one.white_owl wrote:Ok, can I judge texdoc in this case?Wich version of TeX do you have installed?
In current versionstexdoc amsmath
works fine and opensamsldoc
. I tested with TeX Live 2012 and 2011, possibly it worked also earlier.
Thank you very much. It looks like it would be my primary search engine from now on.Stefan_K wrote:You can test it online on texdoc.net.
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