0
\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?

WordOutput from LATEX

2
  • 1
    Please try with \bigg/ Also note that please post your MWE as executable format always, i.e., from \documentclass to \end{document}
    – MadyYuvi
    Aug 16 at 5:39
  • tex.stackexchange.com/questions/639580/… does half the job: it prints the large slash but doesn't offset the denominator/numerator vertically. Aug 16 at 5:46

1 Answer 1

3

I 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.

enter image description here

\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}
1
  • 1
    Thanks Mico, it worked.
    – A S
    Aug 16 at 7:01

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .