jbezos / enumitem

Customize enumerate, itemize and description
MIT License
48 stars 5 forks source link

Enumerate item with circled label has inconsistent font size #41

Closed zwz closed 1 year ago

zwz commented 1 year ago

I want to have enumerate item with circled label. I tried circledtext package, which provides better results than \textcircled. Here is mwe

\documentclass{article}
\usepackage{enumitem}
\usepackage{circledtext}
\newlist{steps}{enumerate}{2}
\setlist[steps,1]{label=(\arabic*)}
\setlist[steps,2]{label=\circledtext{\arabic*}}

\begin{document}
\begin{steps}
\item
  item1
  \begin{steps}
  \item
    item1.1
  \item
    item1.2
  \end{steps}
\item
  item2
\end{steps}
\end{document}

You will see that the circled label before item1.1 is obviously bigger than that before item1. I tried \setlist[steps,2]{label=\circledtext{\tiny\arabic*}} and \setlist[steps,2]{font=\tiny, label=\circledtext{\arabic*}}, but had no effect.

muzimuzhi commented 1 year ago

You will see that the circled label before item1.1 is obviously bigger than that before item1.

What's the output you got? I can only get smaller label before item1.1 than that before item1.

pdflatex: image

xelatex: image

zwz commented 1 year ago

@muzimuzhi Yes, you are right. In fact, I was using \documentclass{ctexart} with xelatex before I posted the issue.

Anyway, how could I make the label the same size as the text?

jbezos commented 1 year ago

Please, keep in mind the issue tracker is not intended as a general support forum, but for reporting bugs and feature requests. For other type of questions, consider asking at https://tex.stackexchange.com/ . I'm closing this issue because it’s neither a bug nor a feature request.

zwz commented 1 year ago

@jbezos Well, I am not sure, but it seems a bug to me. I will try https://tex.stackexchange.com/.