How to remove space at the start of inline enumitem itemized list?
Here I show the out-of-the-box behaviour of an inline itemized list, and then a workaround that achieves the look I'm after. The desired look is achieved, here, by manually adding a negative space to left-align the first line of the lede. Can the alignment be made to work as desired using built in enumitem options?
documentclass{article}
usepackage[inline]{enumitem}
begin{document}
section{Introduction}
begin{itemize*}[label=,leftmargin=*,]
item In this Introduction we have recalled the textbf{necessary
background} on sonic screwdrivers, and presented textbf{supporting
material} to frame our research.
end{itemize*}
section{Re-introduction}
begin{itemize*}[label=,leftmargin=*,]
item hspace{-.5em}In this Introduction we have recalled the
textbf{necessary background} on sonic screwdrivers, and presented
textbf{supporting material} to frame our research.
end{itemize*}
end{document}
spacing lists itemize enumitem
add a comment |
Here I show the out-of-the-box behaviour of an inline itemized list, and then a workaround that achieves the look I'm after. The desired look is achieved, here, by manually adding a negative space to left-align the first line of the lede. Can the alignment be made to work as desired using built in enumitem options?
documentclass{article}
usepackage[inline]{enumitem}
begin{document}
section{Introduction}
begin{itemize*}[label=,leftmargin=*,]
item In this Introduction we have recalled the textbf{necessary
background} on sonic screwdrivers, and presented textbf{supporting
material} to frame our research.
end{itemize*}
section{Re-introduction}
begin{itemize*}[label=,leftmargin=*,]
item hspace{-.5em}In this Introduction we have recalled the
textbf{necessary background} on sonic screwdrivers, and presented
textbf{supporting material} to frame our research.
end{itemize*}
end{document}
spacing lists itemize enumitem
1
Sorry for asking, but what is the purpose then of doing this as a list?
– daleif
Jan 21 at 12:51
1
see theafterlabel
option, setting it toafterlabel=,
aka no value seems to work. I still do not understand the use case though.
– daleif
Jan 21 at 12:55
I started with a bullet list, and now just want to change how it looks. I realise I could get the text to flow in the usual way if I remove the list markup, but it feels like enumitem should be able to take care of that for me. That way I can preserve the logical structure.
– Joe Corneli
Jan 21 at 12:55
thanks - if you put that as an answer I am happy to accept.
– Joe Corneli
Jan 21 at 12:56
Most people use section or subsection for this sort of thing.
– John Kormylo
Jan 21 at 16:59
add a comment |
Here I show the out-of-the-box behaviour of an inline itemized list, and then a workaround that achieves the look I'm after. The desired look is achieved, here, by manually adding a negative space to left-align the first line of the lede. Can the alignment be made to work as desired using built in enumitem options?
documentclass{article}
usepackage[inline]{enumitem}
begin{document}
section{Introduction}
begin{itemize*}[label=,leftmargin=*,]
item In this Introduction we have recalled the textbf{necessary
background} on sonic screwdrivers, and presented textbf{supporting
material} to frame our research.
end{itemize*}
section{Re-introduction}
begin{itemize*}[label=,leftmargin=*,]
item hspace{-.5em}In this Introduction we have recalled the
textbf{necessary background} on sonic screwdrivers, and presented
textbf{supporting material} to frame our research.
end{itemize*}
end{document}
spacing lists itemize enumitem
Here I show the out-of-the-box behaviour of an inline itemized list, and then a workaround that achieves the look I'm after. The desired look is achieved, here, by manually adding a negative space to left-align the first line of the lede. Can the alignment be made to work as desired using built in enumitem options?
documentclass{article}
usepackage[inline]{enumitem}
begin{document}
section{Introduction}
begin{itemize*}[label=,leftmargin=*,]
item In this Introduction we have recalled the textbf{necessary
background} on sonic screwdrivers, and presented textbf{supporting
material} to frame our research.
end{itemize*}
section{Re-introduction}
begin{itemize*}[label=,leftmargin=*,]
item hspace{-.5em}In this Introduction we have recalled the
textbf{necessary background} on sonic screwdrivers, and presented
textbf{supporting material} to frame our research.
end{itemize*}
end{document}
spacing lists itemize enumitem
spacing lists itemize enumitem
edited Jan 21 at 18:08
homocomputeris
17011
17011
asked Jan 21 at 12:36
Joe CorneliJoe Corneli
2,1431834
2,1431834
1
Sorry for asking, but what is the purpose then of doing this as a list?
– daleif
Jan 21 at 12:51
1
see theafterlabel
option, setting it toafterlabel=,
aka no value seems to work. I still do not understand the use case though.
– daleif
Jan 21 at 12:55
I started with a bullet list, and now just want to change how it looks. I realise I could get the text to flow in the usual way if I remove the list markup, but it feels like enumitem should be able to take care of that for me. That way I can preserve the logical structure.
– Joe Corneli
Jan 21 at 12:55
thanks - if you put that as an answer I am happy to accept.
– Joe Corneli
Jan 21 at 12:56
Most people use section or subsection for this sort of thing.
– John Kormylo
Jan 21 at 16:59
add a comment |
1
Sorry for asking, but what is the purpose then of doing this as a list?
– daleif
Jan 21 at 12:51
1
see theafterlabel
option, setting it toafterlabel=,
aka no value seems to work. I still do not understand the use case though.
– daleif
Jan 21 at 12:55
I started with a bullet list, and now just want to change how it looks. I realise I could get the text to flow in the usual way if I remove the list markup, but it feels like enumitem should be able to take care of that for me. That way I can preserve the logical structure.
– Joe Corneli
Jan 21 at 12:55
thanks - if you put that as an answer I am happy to accept.
– Joe Corneli
Jan 21 at 12:56
Most people use section or subsection for this sort of thing.
– John Kormylo
Jan 21 at 16:59
1
1
Sorry for asking, but what is the purpose then of doing this as a list?
– daleif
Jan 21 at 12:51
Sorry for asking, but what is the purpose then of doing this as a list?
– daleif
Jan 21 at 12:51
1
1
see the
afterlabel
option, setting it to afterlabel=,
aka no value seems to work. I still do not understand the use case though.– daleif
Jan 21 at 12:55
see the
afterlabel
option, setting it to afterlabel=,
aka no value seems to work. I still do not understand the use case though.– daleif
Jan 21 at 12:55
I started with a bullet list, and now just want to change how it looks. I realise I could get the text to flow in the usual way if I remove the list markup, but it feels like enumitem should be able to take care of that for me. That way I can preserve the logical structure.
– Joe Corneli
Jan 21 at 12:55
I started with a bullet list, and now just want to change how it looks. I realise I could get the text to flow in the usual way if I remove the list markup, but it feels like enumitem should be able to take care of that for me. That way I can preserve the logical structure.
– Joe Corneli
Jan 21 at 12:55
thanks - if you put that as an answer I am happy to accept.
– Joe Corneli
Jan 21 at 12:56
thanks - if you put that as an answer I am happy to accept.
– Joe Corneli
Jan 21 at 12:56
Most people use section or subsection for this sort of thing.
– John Kormylo
Jan 21 at 16:59
Most people use section or subsection for this sort of thing.
– John Kormylo
Jan 21 at 16:59
add a comment |
1 Answer
1
active
oldest
votes
For inline lists there are a few extra options. For example afterlabel
by default inserts a non-breaking space (a same as ~
) after the list label. Since there are no label here, the non breaking space is clearly visible.
Using
afterlabel=,
sets this value to be empty, and the space goes away.
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
});
}
});
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
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f471121%2fhow-to-remove-space-at-the-start-of-inline-enumitem-itemized-list%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
For inline lists there are a few extra options. For example afterlabel
by default inserts a non-breaking space (a same as ~
) after the list label. Since there are no label here, the non breaking space is clearly visible.
Using
afterlabel=,
sets this value to be empty, and the space goes away.
add a comment |
For inline lists there are a few extra options. For example afterlabel
by default inserts a non-breaking space (a same as ~
) after the list label. Since there are no label here, the non breaking space is clearly visible.
Using
afterlabel=,
sets this value to be empty, and the space goes away.
add a comment |
For inline lists there are a few extra options. For example afterlabel
by default inserts a non-breaking space (a same as ~
) after the list label. Since there are no label here, the non breaking space is clearly visible.
Using
afterlabel=,
sets this value to be empty, and the space goes away.
For inline lists there are a few extra options. For example afterlabel
by default inserts a non-breaking space (a same as ~
) after the list label. Since there are no label here, the non breaking space is clearly visible.
Using
afterlabel=,
sets this value to be empty, and the space goes away.
answered Jan 21 at 13:09
daleifdaleif
32.5k252116
32.5k252116
add a comment |
add a comment |
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');
});
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%2f471121%2fhow-to-remove-space-at-the-start-of-inline-enumitem-itemized-list%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');
});
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');
});
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');
});
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
1
Sorry for asking, but what is the purpose then of doing this as a list?
– daleif
Jan 21 at 12:51
1
see the
afterlabel
option, setting it toafterlabel=,
aka no value seems to work. I still do not understand the use case though.– daleif
Jan 21 at 12:55
I started with a bullet list, and now just want to change how it looks. I realise I could get the text to flow in the usual way if I remove the list markup, but it feels like enumitem should be able to take care of that for me. That way I can preserve the logical structure.
– Joe Corneli
Jan 21 at 12:55
thanks - if you put that as an answer I am happy to accept.
– Joe Corneli
Jan 21 at 12:56
Most people use section or subsection for this sort of thing.
– John Kormylo
Jan 21 at 16:59