How to make horizontal space between a dot and a text equal to horizontal space between the dot of numerical label of numbered list and its item?What do we call the vertical space between a list item label and the item text?

Does an ice chest packed full of frozen food need ice?

Notation of last measure of a song with a pickup measure

Version 2 - print new even-length arrays from two arrays

What's the right way to purge recursively with apt?

Question about JavaScript Math.random() and basic logic

How would a aircraft visually signal in distress?

What risks are there when you clear your cookies instead of logging off?

What is this solid state starting relay component?

Remove sudoers using script

Last survivors from different time periods living together

How many pairs of subsets can be formed?

Is any name of Vishnu Siva?

Implement Homestuck's Catenative Doomsday Dice Cascader

How do photons get into the eyes?

What's up with this leaf?

How is it possible that Gollum speaks Westron?

Is it possible to (7 day) schedule sleep time of a hard drive?

How to make horizontal space between a dot and a text equal to horizontal space between the dot of numerical label of numbered list and its item?

Does the "6 seconds per round" rule apply to speaking/roleplaying during combat situations?

Deformation of rectangular plot

Is the term 'open source' a trademark?

How to generate random points without duplication?

My coworkers think I had a long honeymoon. Actually I was diagnosed with cancer. How do I talk about it?

Is this half mask suitable for spray painting?



How to make horizontal space between a dot and a text equal to horizontal space between the dot of numerical label of numbered list and its item?


What do we call the vertical space between a list item label and the item text?













1















Yesterday I could swear the horizontal spacing between the end of the item-label (a number followed by dot) of a numbered-list and the item-text following that label is 5.2pt, although the output (showoutput log) shows 5.0. After running some tests today, it's (surprisingly) not 5.2pt but 5.05. Considering today's code was not a copy of yesterday's (which cannot be recovered by now, unfortunately), most likely explanation is changes in the code. However, 5.05pt is still not 5.0. That's one issue I would like a feedback from you about.



The second issue is that there's no length macro I know of that defines the spacing in question (between a list-label and its item) while such macros are usually available for adjustment (so I can't adjust the spacing of the list).



Now let's go through the following demonstration.



documentclass[varwidth]standalone
usepackagefontspec
setmainfontGeorgia
showoutput
begindocument
beginenumerate
itemhello
endenumerate
1. hello

newlengthspaceWidth
settowidthspaceWidth
thespaceWidth % 2.41211pt
enddocument

...........TU/Georgia(0)/m/n/10 1.
.........glue 5.0
........penalty 0
........TU/Georgia(0)/m/n/10 hello

........TU/Georgia(0)/m/n/10 1.
........glue 2.41211 plus 1.20605 minus 0.80403
........TU/Georgia(0)/m/n/10 hello




(Space of 2.41211pt is less than glue of 5.0pt.)





Replace 1. hello with 1.makebox[5.0pt]hello (and remove thespaceWidth):



beginenumerate
itemhello
endenumerate
1.makebox[5.0pt]hello

...........TU/Georgia(0)/m/n/10 1.
.........glue 5.0
........penalty 0
........TU/Georgia(0)/m/n/10 hello

........TU/Georgia(0)/m/n/10 1.
........hbox(0.0+0.0)x5.0, glue set 2.5fil
.........glue 0.0 plus 1.0fil minus 1.0fil
.........glue 0.0 plus 1.0fil minus 1.0fil
........TU/Georgia(0)/m/n/10 hello






Perfect (so far)!



Now remove setmainfontGeorgia:









Obviously, 5.0pt is NOT enough.



Let's try 5.05pt: replace 1.makebox[5.0pt]hello with 1.makebox[5.05pt]hello:





Perfect.



What's your take on it? Thank you.










share|improve this question



















  • 1





    Your question is not clear, but the length you allude to has a name: it is labelsep.

    – Bernard
    7 hours ago















1















Yesterday I could swear the horizontal spacing between the end of the item-label (a number followed by dot) of a numbered-list and the item-text following that label is 5.2pt, although the output (showoutput log) shows 5.0. After running some tests today, it's (surprisingly) not 5.2pt but 5.05. Considering today's code was not a copy of yesterday's (which cannot be recovered by now, unfortunately), most likely explanation is changes in the code. However, 5.05pt is still not 5.0. That's one issue I would like a feedback from you about.



The second issue is that there's no length macro I know of that defines the spacing in question (between a list-label and its item) while such macros are usually available for adjustment (so I can't adjust the spacing of the list).



Now let's go through the following demonstration.



documentclass[varwidth]standalone
usepackagefontspec
setmainfontGeorgia
showoutput
begindocument
beginenumerate
itemhello
endenumerate
1. hello

newlengthspaceWidth
settowidthspaceWidth
thespaceWidth % 2.41211pt
enddocument

...........TU/Georgia(0)/m/n/10 1.
.........glue 5.0
........penalty 0
........TU/Georgia(0)/m/n/10 hello

........TU/Georgia(0)/m/n/10 1.
........glue 2.41211 plus 1.20605 minus 0.80403
........TU/Georgia(0)/m/n/10 hello




(Space of 2.41211pt is less than glue of 5.0pt.)





Replace 1. hello with 1.makebox[5.0pt]hello (and remove thespaceWidth):



beginenumerate
itemhello
endenumerate
1.makebox[5.0pt]hello

...........TU/Georgia(0)/m/n/10 1.
.........glue 5.0
........penalty 0
........TU/Georgia(0)/m/n/10 hello

........TU/Georgia(0)/m/n/10 1.
........hbox(0.0+0.0)x5.0, glue set 2.5fil
.........glue 0.0 plus 1.0fil minus 1.0fil
.........glue 0.0 plus 1.0fil minus 1.0fil
........TU/Georgia(0)/m/n/10 hello






Perfect (so far)!



Now remove setmainfontGeorgia:









Obviously, 5.0pt is NOT enough.



Let's try 5.05pt: replace 1.makebox[5.0pt]hello with 1.makebox[5.05pt]hello:





Perfect.



What's your take on it? Thank you.










share|improve this question



















  • 1





    Your question is not clear, but the length you allude to has a name: it is labelsep.

    – Bernard
    7 hours ago













1












1








1








Yesterday I could swear the horizontal spacing between the end of the item-label (a number followed by dot) of a numbered-list and the item-text following that label is 5.2pt, although the output (showoutput log) shows 5.0. After running some tests today, it's (surprisingly) not 5.2pt but 5.05. Considering today's code was not a copy of yesterday's (which cannot be recovered by now, unfortunately), most likely explanation is changes in the code. However, 5.05pt is still not 5.0. That's one issue I would like a feedback from you about.



The second issue is that there's no length macro I know of that defines the spacing in question (between a list-label and its item) while such macros are usually available for adjustment (so I can't adjust the spacing of the list).



Now let's go through the following demonstration.



documentclass[varwidth]standalone
usepackagefontspec
setmainfontGeorgia
showoutput
begindocument
beginenumerate
itemhello
endenumerate
1. hello

newlengthspaceWidth
settowidthspaceWidth
thespaceWidth % 2.41211pt
enddocument

...........TU/Georgia(0)/m/n/10 1.
.........glue 5.0
........penalty 0
........TU/Georgia(0)/m/n/10 hello

........TU/Georgia(0)/m/n/10 1.
........glue 2.41211 plus 1.20605 minus 0.80403
........TU/Georgia(0)/m/n/10 hello




(Space of 2.41211pt is less than glue of 5.0pt.)





Replace 1. hello with 1.makebox[5.0pt]hello (and remove thespaceWidth):



beginenumerate
itemhello
endenumerate
1.makebox[5.0pt]hello

...........TU/Georgia(0)/m/n/10 1.
.........glue 5.0
........penalty 0
........TU/Georgia(0)/m/n/10 hello

........TU/Georgia(0)/m/n/10 1.
........hbox(0.0+0.0)x5.0, glue set 2.5fil
.........glue 0.0 plus 1.0fil minus 1.0fil
.........glue 0.0 plus 1.0fil minus 1.0fil
........TU/Georgia(0)/m/n/10 hello






Perfect (so far)!



Now remove setmainfontGeorgia:









Obviously, 5.0pt is NOT enough.



Let's try 5.05pt: replace 1.makebox[5.0pt]hello with 1.makebox[5.05pt]hello:





Perfect.



What's your take on it? Thank you.










share|improve this question
















Yesterday I could swear the horizontal spacing between the end of the item-label (a number followed by dot) of a numbered-list and the item-text following that label is 5.2pt, although the output (showoutput log) shows 5.0. After running some tests today, it's (surprisingly) not 5.2pt but 5.05. Considering today's code was not a copy of yesterday's (which cannot be recovered by now, unfortunately), most likely explanation is changes in the code. However, 5.05pt is still not 5.0. That's one issue I would like a feedback from you about.



The second issue is that there's no length macro I know of that defines the spacing in question (between a list-label and its item) while such macros are usually available for adjustment (so I can't adjust the spacing of the list).



Now let's go through the following demonstration.



documentclass[varwidth]standalone
usepackagefontspec
setmainfontGeorgia
showoutput
begindocument
beginenumerate
itemhello
endenumerate
1. hello

newlengthspaceWidth
settowidthspaceWidth
thespaceWidth % 2.41211pt
enddocument

...........TU/Georgia(0)/m/n/10 1.
.........glue 5.0
........penalty 0
........TU/Georgia(0)/m/n/10 hello

........TU/Georgia(0)/m/n/10 1.
........glue 2.41211 plus 1.20605 minus 0.80403
........TU/Georgia(0)/m/n/10 hello




(Space of 2.41211pt is less than glue of 5.0pt.)





Replace 1. hello with 1.makebox[5.0pt]hello (and remove thespaceWidth):



beginenumerate
itemhello
endenumerate
1.makebox[5.0pt]hello

...........TU/Georgia(0)/m/n/10 1.
.........glue 5.0
........penalty 0
........TU/Georgia(0)/m/n/10 hello

........TU/Georgia(0)/m/n/10 1.
........hbox(0.0+0.0)x5.0, glue set 2.5fil
.........glue 0.0 plus 1.0fil minus 1.0fil
.........glue 0.0 plus 1.0fil minus 1.0fil
........TU/Georgia(0)/m/n/10 hello






Perfect (so far)!



Now remove setmainfontGeorgia:









Obviously, 5.0pt is NOT enough.



Let's try 5.05pt: replace 1.makebox[5.0pt]hello with 1.makebox[5.05pt]hello:





Perfect.



What's your take on it? Thank you.







spacing lists






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 7 hours ago







bp2017

















asked 8 hours ago









bp2017bp2017

1,270316




1,270316







  • 1





    Your question is not clear, but the length you allude to has a name: it is labelsep.

    – Bernard
    7 hours ago












  • 1





    Your question is not clear, but the length you allude to has a name: it is labelsep.

    – Bernard
    7 hours ago







1




1





Your question is not clear, but the length you allude to has a name: it is labelsep.

– Bernard
7 hours ago





Your question is not clear, but the length you allude to has a name: it is labelsep.

– Bernard
7 hours ago










1 Answer
1






active

oldest

votes


















4














In your document, both strings start at different horizontal positions. This difference does not account to a whole number of pixels on your screen, so you can't perfectly align the dots. So comparing the position on the h becomes meaningless. If you look closely at your last picture containing both hellos, you see that the red line does not touch both dots in the same way.



To get a more meaningful picture, you can ask TeX to indent your text in the same way it indents the label:



documentclass[varwidth]standalone
usepackagefontspec
showoutput
begindocument
beginenumerate
itemhello
endenumerate
settowidthleftskip1. % Don't do this in a real document!
advanceleftskip -20pt
leftskip-leftskip
noindent1.makebox[5.0pt]hello
enddocument


This moves the 1. hello to the right to align with the label list entry. Now both are perfectly aligned, both the 1. and the hello. So the distance actually is exactly 5pt.






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%2f493863%2fhow-to-make-horizontal-space-between-a-dot-and-a-text-equal-to-horizontal-space%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









    4














    In your document, both strings start at different horizontal positions. This difference does not account to a whole number of pixels on your screen, so you can't perfectly align the dots. So comparing the position on the h becomes meaningless. If you look closely at your last picture containing both hellos, you see that the red line does not touch both dots in the same way.



    To get a more meaningful picture, you can ask TeX to indent your text in the same way it indents the label:



    documentclass[varwidth]standalone
    usepackagefontspec
    showoutput
    begindocument
    beginenumerate
    itemhello
    endenumerate
    settowidthleftskip1. % Don't do this in a real document!
    advanceleftskip -20pt
    leftskip-leftskip
    noindent1.makebox[5.0pt]hello
    enddocument


    This moves the 1. hello to the right to align with the label list entry. Now both are perfectly aligned, both the 1. and the hello. So the distance actually is exactly 5pt.






    share|improve this answer



























      4














      In your document, both strings start at different horizontal positions. This difference does not account to a whole number of pixels on your screen, so you can't perfectly align the dots. So comparing the position on the h becomes meaningless. If you look closely at your last picture containing both hellos, you see that the red line does not touch both dots in the same way.



      To get a more meaningful picture, you can ask TeX to indent your text in the same way it indents the label:



      documentclass[varwidth]standalone
      usepackagefontspec
      showoutput
      begindocument
      beginenumerate
      itemhello
      endenumerate
      settowidthleftskip1. % Don't do this in a real document!
      advanceleftskip -20pt
      leftskip-leftskip
      noindent1.makebox[5.0pt]hello
      enddocument


      This moves the 1. hello to the right to align with the label list entry. Now both are perfectly aligned, both the 1. and the hello. So the distance actually is exactly 5pt.






      share|improve this answer

























        4












        4








        4







        In your document, both strings start at different horizontal positions. This difference does not account to a whole number of pixels on your screen, so you can't perfectly align the dots. So comparing the position on the h becomes meaningless. If you look closely at your last picture containing both hellos, you see that the red line does not touch both dots in the same way.



        To get a more meaningful picture, you can ask TeX to indent your text in the same way it indents the label:



        documentclass[varwidth]standalone
        usepackagefontspec
        showoutput
        begindocument
        beginenumerate
        itemhello
        endenumerate
        settowidthleftskip1. % Don't do this in a real document!
        advanceleftskip -20pt
        leftskip-leftskip
        noindent1.makebox[5.0pt]hello
        enddocument


        This moves the 1. hello to the right to align with the label list entry. Now both are perfectly aligned, both the 1. and the hello. So the distance actually is exactly 5pt.






        share|improve this answer













        In your document, both strings start at different horizontal positions. This difference does not account to a whole number of pixels on your screen, so you can't perfectly align the dots. So comparing the position on the h becomes meaningless. If you look closely at your last picture containing both hellos, you see that the red line does not touch both dots in the same way.



        To get a more meaningful picture, you can ask TeX to indent your text in the same way it indents the label:



        documentclass[varwidth]standalone
        usepackagefontspec
        showoutput
        begindocument
        beginenumerate
        itemhello
        endenumerate
        settowidthleftskip1. % Don't do this in a real document!
        advanceleftskip -20pt
        leftskip-leftskip
        noindent1.makebox[5.0pt]hello
        enddocument


        This moves the 1. hello to the right to align with the label list entry. Now both are perfectly aligned, both the 1. and the hello. So the distance actually is exactly 5pt.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered 7 hours ago









        Marcel KrügerMarcel Krüger

        13.5k11636




        13.5k11636



























            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%2f493863%2fhow-to-make-horizontal-space-between-a-dot-and-a-text-equal-to-horizontal-space%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

            Canceling a color specificationRandomly assigning color to Graphics3D objects?Default color for Filling in Mathematica 9Coloring specific elements of sets with a prime modified order in an array plotHow to pick a color differing significantly from the colors already in a given color list?Detection of the text colorColor numbers based on their valueCan color schemes for use with ColorData include opacity specification?My dynamic color schemes

            Invision Community Contents History See also References External links Navigation menuProprietaryinvisioncommunity.comIPS Community ForumsIPS Community Forumsthis blog entry"License Changes, IP.Board 3.4, and the Future""Interview -- Matt Mecham of Ibforums""CEO Invision Power Board, Matt Mecham Is a Liar, Thief!"IPB License Explanation 1.3, 1.3.1, 2.0, and 2.1ArchivedSecurity Fixes, Updates And Enhancements For IPB 1.3.1Archived"New Demo Accounts - Invision Power Services"the original"New Default Skin"the original"Invision Power Board 3.0.0 and Applications Released"the original"Archived copy"the original"Perpetual licenses being done away with""Release Notes - Invision Power Services""Introducing: IPS Community Suite 4!"Invision Community Release Notes

            199年 目錄 大件事 到箇年出世嗰人 到箇年死嗰人 節慶、風俗習慣 導覽選單