How to align enumerate environment inside description environment Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)Creating an enumerate-description style environmentProblem using align in enumerate environmentTable inside description listLine break after description labelForce itemize inside description onto a new lineHow to align enumerate and add answer to exercises?How to change the list structure indentation?How can I redefine description list items only when embedded?No new line for theorem in enumerateSetting where to break items in enumerate environment
What does Turing mean by this statement?
What order were files/directories output in dir?
Did pre-Columbian Americans know the spherical shape of the Earth?
In musical terms, what properties are varied by the human voice to produce different words / syllables?
What are the main differences between the original Stargate SG-1 and the Final Cut edition?
Getting out of while loop on console
How many time has Arya actually used Needle?
How can a team of shapeshifters communicate?
How much damage would a cupful of neutron star matter do to the Earth?
Weaponising the Grasp-at-a-Distance spell
Why is it faster to reheat something than it is to cook it?
Why is std::move not [[nodiscard]] in C++20?
What does it mean that physics no longer uses mechanical models to describe phenomena?
How to align enumerate environment inside description environment
Was Kant an Intuitionist about mathematical objects?
Caught masturbating at work
Can an iPhone 7 be made to function as a NFC Tag?
Nose gear failure in single prop aircraft: belly landing or nose-gear up landing?
How does light 'choose' between wave and particle behaviour?
Flight departed from the gate 5 min before scheduled departure time. Refund options
How to write capital alpha?
Why not send Voyager 3 and 4 following up the paths taken by Voyager 1 and 2 to re-transmit signals of later as they fly away from Earth?
Test print coming out spongy
New Order #6: Easter Egg
How to align enumerate environment inside description environment
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)Creating an enumerate-description style environmentProblem using align in enumerate environmentTable inside description listLine break after description labelForce itemize inside description onto a new lineHow to align enumerate and add answer to exercises?How to change the list structure indentation?How can I redefine description list items only when embedded?No new line for theorem in enumerateSetting where to break items in enumerate environment
I'd like to know how to align the enumerate
list nested inside the description
by the vertical black line as shown in the picture.
begindocument
begindescriptionitem[Description]
beginenumerate[leftmargin=4cm]
item Item
item Another item
item Last item
endenumerate
enddescription
enddocument
enumerate description
New contributor
add a comment |
I'd like to know how to align the enumerate
list nested inside the description
by the vertical black line as shown in the picture.
begindocument
begindescriptionitem[Description]
beginenumerate[leftmargin=4cm]
item Item
item Another item
item Last item
endenumerate
enddescription
enddocument
enumerate description
New contributor
add a comment |
I'd like to know how to align the enumerate
list nested inside the description
by the vertical black line as shown in the picture.
begindocument
begindescriptionitem[Description]
beginenumerate[leftmargin=4cm]
item Item
item Another item
item Last item
endenumerate
enddescription
enddocument
enumerate description
New contributor
I'd like to know how to align the enumerate
list nested inside the description
by the vertical black line as shown in the picture.
begindocument
begindescriptionitem[Description]
beginenumerate[leftmargin=4cm]
item Item
item Another item
item Last item
endenumerate
enddescription
enddocument
enumerate description
enumerate description
New contributor
New contributor
edited 4 hours ago
Kurt
41.6k950164
41.6k950164
New contributor
asked 4 hours ago
SomeoneSomeone
61
61
New contributor
New contributor
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
You want to set 4cm as the leftmargin
for description
(with a correction for the labelsep
).
documentclassarticle
usepackageenumitem
usepackageshowframe % just to show the margins of the text block
begindocument
begindescription[leftmargin=4cm,labelwidth=dimexpr4cm-labelsep]
item[Description]
beginenumerate[leftmargin=*]
item Item
item Another item
item Last item
endenumerate
enddescription
enddocument
add a comment |
If you want to have the minimal distance between the description items and the enumerate items, you can obtain it eaasily with calc
and enumitem
:
documentclassarticle
usepackage[showframe]geometry
usepackagecalc
usepackageenumitem
begindocument
begindescription[leftmargin=widthoftextbfDescription + labelsep , style = unboxed]item[Description]
beginenumerate[wide=0pt, leftmargin =*]
item Item
item Another item. Some more text. Some more text. Some more text. Some more text. Some more text. Some more text
item Last item
endenumerate
enddescription
enddocument
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "85"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Someone is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f485825%2fhow-to-align-enumerate-environment-inside-description-environment%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
You want to set 4cm as the leftmargin
for description
(with a correction for the labelsep
).
documentclassarticle
usepackageenumitem
usepackageshowframe % just to show the margins of the text block
begindocument
begindescription[leftmargin=4cm,labelwidth=dimexpr4cm-labelsep]
item[Description]
beginenumerate[leftmargin=*]
item Item
item Another item
item Last item
endenumerate
enddescription
enddocument
add a comment |
You want to set 4cm as the leftmargin
for description
(with a correction for the labelsep
).
documentclassarticle
usepackageenumitem
usepackageshowframe % just to show the margins of the text block
begindocument
begindescription[leftmargin=4cm,labelwidth=dimexpr4cm-labelsep]
item[Description]
beginenumerate[leftmargin=*]
item Item
item Another item
item Last item
endenumerate
enddescription
enddocument
add a comment |
You want to set 4cm as the leftmargin
for description
(with a correction for the labelsep
).
documentclassarticle
usepackageenumitem
usepackageshowframe % just to show the margins of the text block
begindocument
begindescription[leftmargin=4cm,labelwidth=dimexpr4cm-labelsep]
item[Description]
beginenumerate[leftmargin=*]
item Item
item Another item
item Last item
endenumerate
enddescription
enddocument
You want to set 4cm as the leftmargin
for description
(with a correction for the labelsep
).
documentclassarticle
usepackageenumitem
usepackageshowframe % just to show the margins of the text block
begindocument
begindescription[leftmargin=4cm,labelwidth=dimexpr4cm-labelsep]
item[Description]
beginenumerate[leftmargin=*]
item Item
item Another item
item Last item
endenumerate
enddescription
enddocument
answered 4 hours ago
egregegreg
735k8919343260
735k8919343260
add a comment |
add a comment |
If you want to have the minimal distance between the description items and the enumerate items, you can obtain it eaasily with calc
and enumitem
:
documentclassarticle
usepackage[showframe]geometry
usepackagecalc
usepackageenumitem
begindocument
begindescription[leftmargin=widthoftextbfDescription + labelsep , style = unboxed]item[Description]
beginenumerate[wide=0pt, leftmargin =*]
item Item
item Another item. Some more text. Some more text. Some more text. Some more text. Some more text. Some more text
item Last item
endenumerate
enddescription
enddocument
add a comment |
If you want to have the minimal distance between the description items and the enumerate items, you can obtain it eaasily with calc
and enumitem
:
documentclassarticle
usepackage[showframe]geometry
usepackagecalc
usepackageenumitem
begindocument
begindescription[leftmargin=widthoftextbfDescription + labelsep , style = unboxed]item[Description]
beginenumerate[wide=0pt, leftmargin =*]
item Item
item Another item. Some more text. Some more text. Some more text. Some more text. Some more text. Some more text
item Last item
endenumerate
enddescription
enddocument
add a comment |
If you want to have the minimal distance between the description items and the enumerate items, you can obtain it eaasily with calc
and enumitem
:
documentclassarticle
usepackage[showframe]geometry
usepackagecalc
usepackageenumitem
begindocument
begindescription[leftmargin=widthoftextbfDescription + labelsep , style = unboxed]item[Description]
beginenumerate[wide=0pt, leftmargin =*]
item Item
item Another item. Some more text. Some more text. Some more text. Some more text. Some more text. Some more text
item Last item
endenumerate
enddescription
enddocument
If you want to have the minimal distance between the description items and the enumerate items, you can obtain it eaasily with calc
and enumitem
:
documentclassarticle
usepackage[showframe]geometry
usepackagecalc
usepackageenumitem
begindocument
begindescription[leftmargin=widthoftextbfDescription + labelsep , style = unboxed]item[Description]
beginenumerate[wide=0pt, leftmargin =*]
item Item
item Another item. Some more text. Some more text. Some more text. Some more text. Some more text. Some more text
item Last item
endenumerate
enddescription
enddocument
answered 4 hours ago
BernardBernard
177k778210
177k778210
add a comment |
add a comment |
Someone is a new contributor. Be nice, and check out our Code of Conduct.
Someone is a new contributor. Be nice, and check out our Code of Conduct.
Someone is a new contributor. Be nice, and check out our Code of Conduct.
Someone is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f485825%2fhow-to-align-enumerate-environment-inside-description-environment%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown