Using the questions:
- Get width of a given text as length
- Lengths and when to use them
- enumitem package and description lists
- For the inline enumerate: controlling the item spacing
- Customizing inline enumerate with enumitem still not working?
I am trying to set my inline list inter space to one space \
using this code:
\documentclass{article}
\usepackage{enumitem}
\newlist{inlinelist}{enumerate*}{1}
\setlist*[inlinelist,1]{label=}
\usepackage{calc}
\begin{document}
some text \begin{inlinelist}[label=,itemjoin=\the\widthof{\ }]
\item First Keyword.
\item Second Keyword.
\item Third Keyword.
\end{inlinelist} more text
\end{document}
But it is not setting the correct size and it is showing some stranger text:
How can I properly calculate the size of a space \
and set the itemjoin
to this value?
Best Answer
Two ways: