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:
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!
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.
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
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP