Horizontal list with omitted separator at line endCreate a “case”-environmentindentation of enumitem...

Which country benefited the most from UN Security Council vetoes?

expand `ifthenelse` immediately

Was any UN Security Council vote triple-vetoed?

Could an aircraft fly or hover using only jets of compressed air?

Mortgage Pre-approval / Loan - Apply Alone or with Fiancée?

Roll the carpet

What is the word for reserving something for yourself before others do?

Is it legal for company to use my work email to pretend I still work there?

What is a clear way to write a bar that has an extra beat?

NMaximize is not converging to a solution

Languages that we cannot (dis)prove to be Context-Free

Can a monk's single staff be considered dual wielded, as per the Dual Wielder feat?

I'm flying to France today and my passport expires in less than 2 months

Question on branch cuts and branch points

Why are electrically insulating heatsinks so rare? Is it just cost?

Important Resources for Dark Age Civilizations?

Did Shadowfax go to Valinor?

How can bays and straits be determined in a procedurally generated map?

What defenses are there against being summoned by the Gate spell?

Two films in a tank, only one comes out with a development error – why?

What's that red-plus icon near a text?

if condition in the past

If human space travel is limited by the G force vulnerability, is there a way to counter G forces?

How do I deal with an unproductive colleague in a small company?



Horizontal list with omitted separator at line end


Create a “case”-environmentindentation of enumitem after number to match specific formatHow to add/check missing punctuation marks (itemize/enumerate) automatically?enumitem: how to put a prime into certain parenthesized labelsSplitting content of itemize items into two columnsIn LyX, how can I nest Itemize inside Enumerate, without starting a new Enumerate item when leaving Itemize?Automatically calculate height of tallest line in listCreating a custom list/enumerate environment with no bullets, custom spacing and alignment, a higher nesting limit, and in-item line breaksHow to insert horizontal line between list itemsLaTex enumitem - controlling alignment of items by level













1















I have created a new inline list style with enumitem that has no bullets and separates each item with a middle dot:



documentclass{article}

newcommand{middot}{~textperiodcentered~}

usepackage[inline]{enumitem}
newlist{skills}{itemize*}{1}
setlist[skills]{label={}, afterlabel={}, itemjoin=middot}

begin{document}
begin{skills}
item Something
item Another thing
item Foobar
item etc.
end{skills}
end{document}


This works great, but when the list of items overruns the line width, then it's possible that LaTeX will split on my middot separator. Which looks a bit like this (imagine my ASCII asterisks are textperiodcentered characters!):



|   Something * Another thing *   |
| Foobar * etc. |


I can get around this by judiciously choosing the order and the text in each of the items to avoid this. What would be nice, however, is that in this circumstance, LaTeX replaces the hanging middle dot with a line feed automatically (stretching the character spacing of that line, appropriately), without any fussy manual intervention. So the above might look like this (again, use your imagination!):



|   Something  *  Another thing   |
| Foobar * etc. |


(The case where the item text itself gets wrapped to the next line is fine. It's just the hanging middle dots that don't look nice.)



How could one achieve this?










share|improve this question























  • it would be easier to test possible answers if you edited the example to be an example of the problem.

    – David Carlisle
    3 hours ago
















1















I have created a new inline list style with enumitem that has no bullets and separates each item with a middle dot:



documentclass{article}

newcommand{middot}{~textperiodcentered~}

usepackage[inline]{enumitem}
newlist{skills}{itemize*}{1}
setlist[skills]{label={}, afterlabel={}, itemjoin=middot}

begin{document}
begin{skills}
item Something
item Another thing
item Foobar
item etc.
end{skills}
end{document}


This works great, but when the list of items overruns the line width, then it's possible that LaTeX will split on my middot separator. Which looks a bit like this (imagine my ASCII asterisks are textperiodcentered characters!):



|   Something * Another thing *   |
| Foobar * etc. |


I can get around this by judiciously choosing the order and the text in each of the items to avoid this. What would be nice, however, is that in this circumstance, LaTeX replaces the hanging middle dot with a line feed automatically (stretching the character spacing of that line, appropriately), without any fussy manual intervention. So the above might look like this (again, use your imagination!):



|   Something  *  Another thing   |
| Foobar * etc. |


(The case where the item text itself gets wrapped to the next line is fine. It's just the hanging middle dots that don't look nice.)



How could one achieve this?










share|improve this question























  • it would be easier to test possible answers if you edited the example to be an example of the problem.

    – David Carlisle
    3 hours ago














1












1








1








I have created a new inline list style with enumitem that has no bullets and separates each item with a middle dot:



documentclass{article}

newcommand{middot}{~textperiodcentered~}

usepackage[inline]{enumitem}
newlist{skills}{itemize*}{1}
setlist[skills]{label={}, afterlabel={}, itemjoin=middot}

begin{document}
begin{skills}
item Something
item Another thing
item Foobar
item etc.
end{skills}
end{document}


This works great, but when the list of items overruns the line width, then it's possible that LaTeX will split on my middot separator. Which looks a bit like this (imagine my ASCII asterisks are textperiodcentered characters!):



|   Something * Another thing *   |
| Foobar * etc. |


I can get around this by judiciously choosing the order and the text in each of the items to avoid this. What would be nice, however, is that in this circumstance, LaTeX replaces the hanging middle dot with a line feed automatically (stretching the character spacing of that line, appropriately), without any fussy manual intervention. So the above might look like this (again, use your imagination!):



|   Something  *  Another thing   |
| Foobar * etc. |


(The case where the item text itself gets wrapped to the next line is fine. It's just the hanging middle dots that don't look nice.)



How could one achieve this?










share|improve this question














I have created a new inline list style with enumitem that has no bullets and separates each item with a middle dot:



documentclass{article}

newcommand{middot}{~textperiodcentered~}

usepackage[inline]{enumitem}
newlist{skills}{itemize*}{1}
setlist[skills]{label={}, afterlabel={}, itemjoin=middot}

begin{document}
begin{skills}
item Something
item Another thing
item Foobar
item etc.
end{skills}
end{document}


This works great, but when the list of items overruns the line width, then it's possible that LaTeX will split on my middot separator. Which looks a bit like this (imagine my ASCII asterisks are textperiodcentered characters!):



|   Something * Another thing *   |
| Foobar * etc. |


I can get around this by judiciously choosing the order and the text in each of the items to avoid this. What would be nice, however, is that in this circumstance, LaTeX replaces the hanging middle dot with a line feed automatically (stretching the character spacing of that line, appropriately), without any fussy manual intervention. So the above might look like this (again, use your imagination!):



|   Something  *  Another thing   |
| Foobar * etc. |


(The case where the item text itself gets wrapped to the next line is fine. It's just the hanging middle dots that don't look nice.)



How could one achieve this?







line-breaking itemize enumitem






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked 5 hours ago









XophmeisterXophmeister

1506




1506













  • it would be easier to test possible answers if you edited the example to be an example of the problem.

    – David Carlisle
    3 hours ago



















  • it would be easier to test possible answers if you edited the example to be an example of the problem.

    – David Carlisle
    3 hours ago

















it would be easier to test possible answers if you edited the example to be an example of the problem.

– David Carlisle
3 hours ago





it would be easier to test possible answers if you edited the example to be an example of the problem.

– David Carlisle
3 hours ago










0






active

oldest

votes












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%2f483368%2fhorizontal-list-with-omitted-separator-at-line-end%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















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%2f483368%2fhorizontal-list-with-omitted-separator-at-line-end%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

IEEEtran - How to include ORCID in TeX/PDF with PdfLatexIs there a standard way to include ORCID in TeX /...

Cicindela nigrior Przypisy | Menu nawigacyjneCicindela varians unicolorManual for the Identification of the...

Glossaries-extra: Adding glossaries package to “Clas­sicTh­e­sis” template by Dr. André Miede v. 4.6 ...