How to remove space at the start of inline enumitem itemized list?












4















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}


enter image description here










share|improve this question




















  • 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 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











  • 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
















4















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}


enter image description here










share|improve this question




















  • 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 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











  • 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














4












4








4


1






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}


enter image description here










share|improve this question
















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}


enter image description here







spacing lists itemize enumitem






share|improve this question















share|improve this question













share|improve this question




share|improve this question








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











  • 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





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











  • 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










1 Answer
1






active

oldest

votes


















7














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.






share|improve this answer























    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
    });


    }
    });














    draft saved

    draft discarded


















    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









    7














    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.






    share|improve this answer




























      7














      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.






      share|improve this answer


























        7












        7








        7







        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.






        share|improve this answer













        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.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Jan 21 at 13:09









        daleifdaleif

        32.5k252116




        32.5k252116






























            draft saved

            draft discarded




















































            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.




            draft saved


            draft discarded














            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





















































            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







            Popular posts from this blog

            1300-talet

            1300-talet

            Display a custom attribute below product name in the front-end Magento 1.9.3.8