\begin{equation}
A = \frac{\frac{BBBBBBBB}{CCCCCCCC}}{\frac{DDDDDDDDD}{EEEEEEEEE}}
\end{equation}
I want to add the equation as shown in the figure (I have written in MS Word) but I want to write same in LaTeX
. Can anyone help me with this?
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It only takes a minute to sign up.
Sign up to join this communityI would just write \frac{AAA}{BBB} \bigg/ \frac{CCC}{DDD}
.
If, in addition, you want to raise the first fraction and lower the second fraction, you could encase the fraction terms in \raisebox
wrappers with suitably chosen amounts of displacement. While you're at it, you may want to bring the displaced fractions closer to the tall slash symbol, say by adding \!
(negative thinspace) instructions. Speaking for myself, I don't think a useful purpose is served by applying such vertical displacement operations.
\documentclass{article}
\usepackage{amsmath} % for 'align*' env.
\begin{document}
\begin{align*}
A &= \frac{BBBBBBBB}{CCCCCCCC} \bigg/ \frac{DDDDDDDDD}{EEEEEEEEE} \\[2ex]
&= \raisebox{1.5ex}{$\dfrac{BBBBBBBB}{CCCCCCCC}$}
\!\! \Bigg/ \!\!
\raisebox{-1.5ex}{$\dfrac{DDDDDDDDD}{EEEEEEEEE}$} = \cdots
\end{align*}
\end{document}
\bigg/
Also note that please post yourMWE
as executable format always, i.e., from\documentclass
to\end{document}