TransWikia.com

Math system with external parameter

TeX - LaTeX Asked by Catarella on April 26, 2021

I’m writing a document where I need to define a system with an external parameter. Here an image to make it clearer:

enter image description here

I’m using this current code to generate a common system, here is an example:

documentclass{report}
usepackage{mathtools}
begin{document}

begin{spreadlines}{1.5ex}
      begin{equation}
        begin{dcases}
        mathbf{dot r} ,= frac{dr}{dt} ;= mathbf{v} 
        mathbf{dot v} ,= frac{dv}{dt} ;= g + frac{mathbf{T}}{m} ;= g + mathbf{a_T}
        dot m = frac{dm}{dt} = -frac{T}{g_o I_mathrm{sp}} = -frac{T}{c}
        end{dcases}
       end{equation}
end{spreadlines}

end{document}

How could I rework the code to make an external parameter appear (likewise the psi greek letter along with the equality sign)?

Thank you!

One Answer

I wouldn't say that a dcases environment is particularly well suited for the job at hand. I think you're better off with an alignedat environment, especially as it allows direct alignment of the = symbols.

enter image description here

documentclass{report}
usepackage{mathtools}
begin{document}

begin{spreadlines}{1.5ex}
begin{equation}
psi=
left{
    begin{alignedat}{3}
      dot{mathbf{r}} &= frac{dr}{dt} &&= mathbf{v} 
      dot{mathbf{v}} &= frac{dv}{dt} &&= g + frac{mathbf{T}}{m}     &&= g + mathbf{a_T}
      dot{m}          &= frac{dm}{dt} &&= -frac{T}{g_o I_mathrm{sp}} &&= -frac{T}{c}
    end{alignedat}
right.
end{equation}
end{spreadlines}

end{document}

Correct answer by Mico on April 26, 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