Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  nodelist  faq  login

Maybe Computer Science should be in the College of Theology. -- R. S. Barton


computers / comp.text.tex / aligning text in beamer description environment

SubjectAuthor
* aligning text in beamer description environmentSivaram Neelakantan
`* Re: aligning text in beamer description environmentDenis_Bitouzé
 `- Re: aligning text in beamer description environmentSivaram Neelakantan

1
Subject: aligning text in beamer description environment
From: Sivaram Neelakantan
Newsgroups: comp.text.tex
Organization: A noiseless patient Spider
Date: Mon, 2 May 2022 17:46 UTC
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: nsivaram...@gmail.com (Sivaram Neelakantan)
Newsgroups: comp.text.tex
Subject: aligning text in beamer description environment
Date: Mon, 02 May 2022 23:16:55 +0530
Organization: A noiseless patient Spider
Lines: 27
Message-ID: <85k0b3n7xs.fsf@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: reader02.eternal-september.org; posting-host="683c7d1c30f9fe06f6b40a2b86ab9b93";
logging-data="17671"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/pgm64PAOjnkNh1VzqdYJ2BukCFmM7+xI="
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (windows-nt)
Cancel-Lock: sha1:U/Yzdmgr2MgeqrYMGnxFUqXA/CI=
sha1:ujx4meVU9WcoZ9oZQAK3qNHfigE=
User-Mail-Address: nsivaram.net@gmail.com
View all headers

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.
--8<---------------cut here---------------start------------->8---
% 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.
--8<---------------cut here---------------end--------------->8---

Now the text description itself is going to be multiline text. 

sivaram
--


Subject: Re: aligning text in beamer description environment
From: Denis_Bitouzé
Newsgroups: comp.text.tex
Organization: A noiseless patient Spider
Date: Mon, 2 May 2022 20:30 UTC
References: 1
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: dbito...@wanadoo.fr (Denis_Bitouzé)
Newsgroups: comp.text.tex
Subject: Re: aligning text in beamer description environment
Date: Mon, 02 May 2022 22:30:15 +0200
Organization: A noiseless patient Spider
Lines: 36
Message-ID: <875ymnn0dk.fsf@example.com>
References: <85k0b3n7xs.fsf@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Info: reader02.eternal-september.org; posting-host="bb4fec0b552968dd07642f5acd90e7e5";
logging-data="10360"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/kQK6alOV8adY6vihZ/7+4SnNmytNgsSc="
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
Cancel-Lock: sha1:XDv4UO086ET2snntIOIg96PFnUk=
sha1:UlOsTs72j8WH3x4QHbHoSQY2e8M=
X-Archive: encrypt
X-Url: http://gte.univ-littoral.fr/members/dbitouze/pub/latex
View all headers
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


Subject: Re: aligning text in beamer description environment
From: Sivaram Neelakantan
Newsgroups: comp.text.tex
Organization: A noiseless patient Spider
Date: Tue, 3 May 2022 16:14 UTC
References: 1 2
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: nsivaram...@gmail.com (Sivaram Neelakantan)
Newsgroups: comp.text.tex
Subject: Re: aligning text in beamer description environment
Date: Tue, 03 May 2022 21:44:20 +0530
Organization: A noiseless patient Spider
Lines: 19
Message-ID: <85fslqmw4j.fsf@gmail.com>
References: <85k0b3n7xs.fsf@gmail.com> <875ymnn0dk.fsf@example.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Info: reader02.eternal-september.org; posting-host="e4751b669548b7053afcda06db82fb02";
logging-data="31052"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+ZaJZenlsj43kX/i24f54X4Oz5KRn4K/8="
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (windows-nt)
Cancel-Lock: sha1:rr54Sr2b9Dv4lUWj3YUXRl9nsiE=
sha1:3RUA5OSTbcz9yhOX0cRXe+Ta3Eg=
User-Mail-Address: nsivaram.net@gmail.com
View all headers
On Mon, May 02 2022,Denis Bitouzé wrote:

Le 02/05/22 à 23h16, Sivaram Neelakantan a écrit :


[snipped 23 lines]

Try:

\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}

Thank you, that's exactly what I wanted!

sivaram
--


1
rocksolid light 0.7.2
clearneti2ptor