TransWikia.com

Indent the variable definition after an equation

TeX - LaTeX Asked by Vishal R on February 7, 2021

I would like to indent the definition of the variables used in the equation like below:

a = b + c

where,
    a = the variable a
    b = the variable b
    c = the variable c

I have tried doing as shown below, but it does not work:

begin{frame}
    [ a = b + c ]
    begin{small}
        where, 
        indent a = the variable a
        indent b = the variable b
        indent c = the variable c
    end{small}
end{frame}

Please let me know the correct way to do it. Thank you.

One Answer

parindent is 0pt by default in beamer, so indent will do nothing. Better use another approach anyway

documentclass{beamer}

begin{document}

begin{frame}

[ a = b + c ]
where
begin{tabular}[t]{r@{}l}
$a={}$ & the variable a
$b={}$ & the variable b
$c={}$ & the variable c
end{tabular}

or
$begin{aligned}[t]
a&=text{the variable a}
b&=text{the variable b}
c&=text{the variable c}
end{aligned}$

end{frame}

end{document}

enter image description here

Note that begin{small}...end{small} works because of a quirk of how begin and end are defined.

Answered by campa on February 7, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP