How to increase linestretch in inline-enumeration with enumitem?
Clash Royale CLAN TAG#URR8PPP
up vote
3
down vote
favorite
I would like to increase the linespread within a group. Namely, the linespread within an inline-enumeration. For this purpose, I have the following code.
documentclassarticle
parindent 0cm
usepackagesetspace
usepackageenumerate
usepackage[inline,shortlabels]enumitem
newlistchoicesenumerate*1
setlist[choices]itemjoin = hspace0.7cm, label=alph*)
begindocument
setstretch2
beginchoices
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
endchoices
\
beginchoices
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
endchoices
enddocument
Which produces
I would, however, like to have only the first list spaced with double spacing. Like so
documentclassarticle
parindent 0cm
usepackagesetspace
usepackageenumerate
usepackage[inline,shortlabels]enumitem
newlistchoicesenumerate*1
setlist[choices]itemjoin = hspace0.7cm, label=alph*)
begindocument
setstretch2
beginchoices
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
endchoices
enddocument
which produces
So, if I have only one list present, it works. As soon as there is another list, or other text, it doesn't. Can somebody help me?
Wrapping it in a minipage environment does the trick. Is there another solution?
enumerate enumitem setspace
add a comment |Â
up vote
3
down vote
favorite
I would like to increase the linespread within a group. Namely, the linespread within an inline-enumeration. For this purpose, I have the following code.
documentclassarticle
parindent 0cm
usepackagesetspace
usepackageenumerate
usepackage[inline,shortlabels]enumitem
newlistchoicesenumerate*1
setlist[choices]itemjoin = hspace0.7cm, label=alph*)
begindocument
setstretch2
beginchoices
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
endchoices
\
beginchoices
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
endchoices
enddocument
Which produces
I would, however, like to have only the first list spaced with double spacing. Like so
documentclassarticle
parindent 0cm
usepackagesetspace
usepackageenumerate
usepackage[inline,shortlabels]enumitem
newlistchoicesenumerate*1
setlist[choices]itemjoin = hspace0.7cm, label=alph*)
begindocument
setstretch2
beginchoices
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
endchoices
enddocument
which produces
So, if I have only one list present, it works. As soon as there is another list, or other text, it doesn't. Can somebody help me?
Wrapping it in a minipage environment does the trick. Is there another solution?
enumerate enumitem setspace
add a comment |Â
up vote
3
down vote
favorite
up vote
3
down vote
favorite
I would like to increase the linespread within a group. Namely, the linespread within an inline-enumeration. For this purpose, I have the following code.
documentclassarticle
parindent 0cm
usepackagesetspace
usepackageenumerate
usepackage[inline,shortlabels]enumitem
newlistchoicesenumerate*1
setlist[choices]itemjoin = hspace0.7cm, label=alph*)
begindocument
setstretch2
beginchoices
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
endchoices
\
beginchoices
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
endchoices
enddocument
Which produces
I would, however, like to have only the first list spaced with double spacing. Like so
documentclassarticle
parindent 0cm
usepackagesetspace
usepackageenumerate
usepackage[inline,shortlabels]enumitem
newlistchoicesenumerate*1
setlist[choices]itemjoin = hspace0.7cm, label=alph*)
begindocument
setstretch2
beginchoices
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
endchoices
enddocument
which produces
So, if I have only one list present, it works. As soon as there is another list, or other text, it doesn't. Can somebody help me?
Wrapping it in a minipage environment does the trick. Is there another solution?
enumerate enumitem setspace
I would like to increase the linespread within a group. Namely, the linespread within an inline-enumeration. For this purpose, I have the following code.
documentclassarticle
parindent 0cm
usepackagesetspace
usepackageenumerate
usepackage[inline,shortlabels]enumitem
newlistchoicesenumerate*1
setlist[choices]itemjoin = hspace0.7cm, label=alph*)
begindocument
setstretch2
beginchoices
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
endchoices
\
beginchoices
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
endchoices
enddocument
Which produces
I would, however, like to have only the first list spaced with double spacing. Like so
documentclassarticle
parindent 0cm
usepackagesetspace
usepackageenumerate
usepackage[inline,shortlabels]enumitem
newlistchoicesenumerate*1
setlist[choices]itemjoin = hspace0.7cm, label=alph*)
begindocument
setstretch2
beginchoices
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
endchoices
enddocument
which produces
So, if I have only one list present, it works. As soon as there is another list, or other text, it doesn't. Can somebody help me?
Wrapping it in a minipage environment does the trick. Is there another solution?
enumerate enumitem setspace
asked Aug 24 at 14:09
Johannes Bleher
183
183
add a comment |Â
add a comment |Â
2 Answers
2
active
oldest
votes
up vote
2
down vote
accepted
Never use \
in order to terminate paragraphs. Also, don't load enumerate
along with enumitem
.
documentclassarticle
usepackagesetspace
usepackage[inline]enumitem
newlistinnerchoicesenumerate*1
setlist[innerchoices]
itemjoin = hspace0.7cm,
label=alph*),
before=noindent,
mode=unboxed,
newenvironmentchoices[1][1]
beginspacing#1begininnerchoices
endinnerchoicesendspacing
begindocument
beginchoices[2]
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
endchoices
beginchoices
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
endchoices
enddocument
why and why? :) so why should I not end paragraphs with // ? and why should I not load enumitem and enumerate together? they are compatible, no?
– Johannes Bleher
Aug 24 at 19:34
1
@JohannesBleher\
is not to be used for ending paragraphs. Ever. And no,enumerate
andenumitem
are not really compatible.
– egreg
Aug 24 at 20:12
alright. looked it up tex.stackexchange.com/questions/82664/…
– Johannes Bleher
Aug 24 at 20:19
add a comment |Â
up vote
4
down vote
The package setspace offers an environment. You get the manual probably by typing texdoc setspace
on the command line.
documentclassarticle
parindent 0cm
usepackagesetspace
usepackageenumerate
usepackage[inline,shortlabels]enumitem
newlistchoicesenumerate*1
setlist[choices]itemjoin = hspace0.7cm, label=alph*)
begindocument
beginspacing2
beginchoices
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
endchoices
endspacing
beginchoices
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
endchoices
enddocument
We get:
your answer is great. i was torn... sorry. I roled a dice...
– Johannes Bleher
Aug 24 at 20:21
1
@JohannesBleher That's allright, egreg needs the rep much more than I do.
– Keks Dose
Aug 24 at 20:54
add a comment |Â
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
2
down vote
accepted
Never use \
in order to terminate paragraphs. Also, don't load enumerate
along with enumitem
.
documentclassarticle
usepackagesetspace
usepackage[inline]enumitem
newlistinnerchoicesenumerate*1
setlist[innerchoices]
itemjoin = hspace0.7cm,
label=alph*),
before=noindent,
mode=unboxed,
newenvironmentchoices[1][1]
beginspacing#1begininnerchoices
endinnerchoicesendspacing
begindocument
beginchoices[2]
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
endchoices
beginchoices
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
endchoices
enddocument
why and why? :) so why should I not end paragraphs with // ? and why should I not load enumitem and enumerate together? they are compatible, no?
– Johannes Bleher
Aug 24 at 19:34
1
@JohannesBleher\
is not to be used for ending paragraphs. Ever. And no,enumerate
andenumitem
are not really compatible.
– egreg
Aug 24 at 20:12
alright. looked it up tex.stackexchange.com/questions/82664/…
– Johannes Bleher
Aug 24 at 20:19
add a comment |Â
up vote
2
down vote
accepted
Never use \
in order to terminate paragraphs. Also, don't load enumerate
along with enumitem
.
documentclassarticle
usepackagesetspace
usepackage[inline]enumitem
newlistinnerchoicesenumerate*1
setlist[innerchoices]
itemjoin = hspace0.7cm,
label=alph*),
before=noindent,
mode=unboxed,
newenvironmentchoices[1][1]
beginspacing#1begininnerchoices
endinnerchoicesendspacing
begindocument
beginchoices[2]
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
endchoices
beginchoices
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
endchoices
enddocument
why and why? :) so why should I not end paragraphs with // ? and why should I not load enumitem and enumerate together? they are compatible, no?
– Johannes Bleher
Aug 24 at 19:34
1
@JohannesBleher\
is not to be used for ending paragraphs. Ever. And no,enumerate
andenumitem
are not really compatible.
– egreg
Aug 24 at 20:12
alright. looked it up tex.stackexchange.com/questions/82664/…
– Johannes Bleher
Aug 24 at 20:19
add a comment |Â
up vote
2
down vote
accepted
up vote
2
down vote
accepted
Never use \
in order to terminate paragraphs. Also, don't load enumerate
along with enumitem
.
documentclassarticle
usepackagesetspace
usepackage[inline]enumitem
newlistinnerchoicesenumerate*1
setlist[innerchoices]
itemjoin = hspace0.7cm,
label=alph*),
before=noindent,
mode=unboxed,
newenvironmentchoices[1][1]
beginspacing#1begininnerchoices
endinnerchoicesendspacing
begindocument
beginchoices[2]
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
endchoices
beginchoices
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
endchoices
enddocument
Never use \
in order to terminate paragraphs. Also, don't load enumerate
along with enumitem
.
documentclassarticle
usepackagesetspace
usepackage[inline]enumitem
newlistinnerchoicesenumerate*1
setlist[innerchoices]
itemjoin = hspace0.7cm,
label=alph*),
before=noindent,
mode=unboxed,
newenvironmentchoices[1][1]
beginspacing#1begininnerchoices
endinnerchoicesendspacing
begindocument
beginchoices[2]
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
endchoices
beginchoices
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
endchoices
enddocument
answered Aug 24 at 16:13


egreg
680k8318083056
680k8318083056
why and why? :) so why should I not end paragraphs with // ? and why should I not load enumitem and enumerate together? they are compatible, no?
– Johannes Bleher
Aug 24 at 19:34
1
@JohannesBleher\
is not to be used for ending paragraphs. Ever. And no,enumerate
andenumitem
are not really compatible.
– egreg
Aug 24 at 20:12
alright. looked it up tex.stackexchange.com/questions/82664/…
– Johannes Bleher
Aug 24 at 20:19
add a comment |Â
why and why? :) so why should I not end paragraphs with // ? and why should I not load enumitem and enumerate together? they are compatible, no?
– Johannes Bleher
Aug 24 at 19:34
1
@JohannesBleher\
is not to be used for ending paragraphs. Ever. And no,enumerate
andenumitem
are not really compatible.
– egreg
Aug 24 at 20:12
alright. looked it up tex.stackexchange.com/questions/82664/…
– Johannes Bleher
Aug 24 at 20:19
why and why? :) so why should I not end paragraphs with // ? and why should I not load enumitem and enumerate together? they are compatible, no?
– Johannes Bleher
Aug 24 at 19:34
why and why? :) so why should I not end paragraphs with // ? and why should I not load enumitem and enumerate together? they are compatible, no?
– Johannes Bleher
Aug 24 at 19:34
1
1
@JohannesBleher
\
is not to be used for ending paragraphs. Ever. And no, enumerate
and enumitem
are not really compatible.– egreg
Aug 24 at 20:12
@JohannesBleher
\
is not to be used for ending paragraphs. Ever. And no, enumerate
and enumitem
are not really compatible.– egreg
Aug 24 at 20:12
alright. looked it up tex.stackexchange.com/questions/82664/…
– Johannes Bleher
Aug 24 at 20:19
alright. looked it up tex.stackexchange.com/questions/82664/…
– Johannes Bleher
Aug 24 at 20:19
add a comment |Â
up vote
4
down vote
The package setspace offers an environment. You get the manual probably by typing texdoc setspace
on the command line.
documentclassarticle
parindent 0cm
usepackagesetspace
usepackageenumerate
usepackage[inline,shortlabels]enumitem
newlistchoicesenumerate*1
setlist[choices]itemjoin = hspace0.7cm, label=alph*)
begindocument
beginspacing2
beginchoices
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
endchoices
endspacing
beginchoices
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
endchoices
enddocument
We get:
your answer is great. i was torn... sorry. I roled a dice...
– Johannes Bleher
Aug 24 at 20:21
1
@JohannesBleher That's allright, egreg needs the rep much more than I do.
– Keks Dose
Aug 24 at 20:54
add a comment |Â
up vote
4
down vote
The package setspace offers an environment. You get the manual probably by typing texdoc setspace
on the command line.
documentclassarticle
parindent 0cm
usepackagesetspace
usepackageenumerate
usepackage[inline,shortlabels]enumitem
newlistchoicesenumerate*1
setlist[choices]itemjoin = hspace0.7cm, label=alph*)
begindocument
beginspacing2
beginchoices
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
endchoices
endspacing
beginchoices
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
endchoices
enddocument
We get:
your answer is great. i was torn... sorry. I roled a dice...
– Johannes Bleher
Aug 24 at 20:21
1
@JohannesBleher That's allright, egreg needs the rep much more than I do.
– Keks Dose
Aug 24 at 20:54
add a comment |Â
up vote
4
down vote
up vote
4
down vote
The package setspace offers an environment. You get the manual probably by typing texdoc setspace
on the command line.
documentclassarticle
parindent 0cm
usepackagesetspace
usepackageenumerate
usepackage[inline,shortlabels]enumitem
newlistchoicesenumerate*1
setlist[choices]itemjoin = hspace0.7cm, label=alph*)
begindocument
beginspacing2
beginchoices
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
endchoices
endspacing
beginchoices
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
endchoices
enddocument
We get:
The package setspace offers an environment. You get the manual probably by typing texdoc setspace
on the command line.
documentclassarticle
parindent 0cm
usepackagesetspace
usepackageenumerate
usepackage[inline,shortlabels]enumitem
newlistchoicesenumerate*1
setlist[choices]itemjoin = hspace0.7cm, label=alph*)
begindocument
beginspacing2
beginchoices
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
endchoices
endspacing
beginchoices
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
item $XXXX$
endchoices
enddocument
We get:
answered Aug 24 at 15:38


Keks Dose
19.8k35190
19.8k35190
your answer is great. i was torn... sorry. I roled a dice...
– Johannes Bleher
Aug 24 at 20:21
1
@JohannesBleher That's allright, egreg needs the rep much more than I do.
– Keks Dose
Aug 24 at 20:54
add a comment |Â
your answer is great. i was torn... sorry. I roled a dice...
– Johannes Bleher
Aug 24 at 20:21
1
@JohannesBleher That's allright, egreg needs the rep much more than I do.
– Keks Dose
Aug 24 at 20:54
your answer is great. i was torn... sorry. I roled a dice...
– Johannes Bleher
Aug 24 at 20:21
your answer is great. i was torn... sorry. I roled a dice...
– Johannes Bleher
Aug 24 at 20:21
1
1
@JohannesBleher That's allright, egreg needs the rep much more than I do.
– Keks Dose
Aug 24 at 20:54
@JohannesBleher That's allright, egreg needs the rep much more than I do.
– Keks Dose
Aug 24 at 20:54
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f447536%2fhow-to-increase-linestretch-in-inline-enumeration-with-enumitem%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
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