Math & ScienceUsing '\smash', '\llap' or '\rlap' Commands in 'enumerate'

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
ghostanime2001
Posts: 402
Joined: Fri May 20, 2011 9:41 am

Using '\smash', '\llap' or '\rlap' Commands in 'enumerate'

Post by ghostanime2001 »

How can I use \smash, \llap or \rlap for \item in an enumerate environment?
Last edited by ghostanime2001 on Sun Aug 07, 2011 7:13 am, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

Re: Using '\smash', '\llap' or '\rlap' Commands in 'enumerat

Post by Stefan Kottwitz »

Just write the command and the argument therein.

This question ist not very specific. Perhaps elaborate what you mean.

Stefan
LaTeX.org admin
ghostanime2001
Posts: 402
Joined: Fri May 20, 2011 9:41 am

Re: Using '\smash', '\llap' or '\rlap' Commands in 'enumerat

Post by ghostanime2001 »

Do you mean like this? \llap{\item} ? OR \item{\llap} ?
User avatar
Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

Re: Using '\smash', '\llap' or '\rlap' Commands in 'enumerat

Post by Stefan Kottwitz »

I mean the latter, such as \item{\llap{text}}.

Stefan
LaTeX.org admin
ghostanime2001
Posts: 402
Joined: Fri May 20, 2011 9:41 am

Re: Using '\smash', '\llap' or '\rlap' Commands in 'enumerat

Post by ghostanime2001 »

NO no i mean collapsing the label itself using \smash or \rlap or \llap
User avatar
Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

Using '\smash', '\llap' or '\rlap' Commands in 'enumerate'

Post by Stefan Kottwitz »

You could use the enumitem package which provides commands for such lists customizations.

Stefan
LaTeX.org admin
ghostanime2001
Posts: 402
Joined: Fri May 20, 2011 9:41 am

Re: Using '\smash', '\llap' or '\rlap' Commands in 'enumerat

Post by ghostanime2001 »

I've read that package a zillion times. Nothing in there helps with what I want.
User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Re: Using '\smash', '\llap' or '\rlap' Commands in 'enumerat

Post by frabjous »

Please explain what it is you want. Otherwise, it's going to be hard to provide any help.
ghostanime2001
Posts: 402
Joined: Fri May 20, 2011 9:41 am

Re: Using '\smash', '\llap' or '\rlap' Commands in 'enumerat

Post by ghostanime2001 »

have a look at "Correct Alignment of nested Counters with outer Contents" post that I posted. This is ultimately what I am trying to do. By removing whitespace around the \item still doesn't help.
Post Reply