Le 02/05/22 à 23h16, Sivaram Neelakantan a écrit :
> How do I get the text to be aligned when using description
> environment?
>
> \begin{description}
> \item[Biology] Study of life.
> \item[Physics] Science of matter and its motion.
> \item[Psychology] Scientific study of mental processes and behaviour.
> \end{description}
>
> When the file is generated, the labels are aligned but not the text.
>
> % what I want
> Biology Study of life.
> Physics Science of matter and its motion.
> Psychology Scientific study of mental processes and behaviour.
>
> % what I get
> Biology Study of life.
> Physics Science of matter and its motion.
> Psychology Scientific study of mental processes and behaviour.
>
> Now the text description itself is going to be multiline text.
Try:
--8<---------------cut here---------------start------------->8---
\begin{description}[Psychology]
\item[Biology] Study of life.
\item[Physics] Science of matter and its motion.
\item[Psychology] Scientific study of mental processes and behaviour.
\end{description}
--8<---------------cut here---------------end--------------->8---
--
Denis