0

I need to complete this numbering item enviroment from roman arabic to \hgnum in this

\begin{enumerate}[ label=\roman{enumi}--\arabic{enumi}--\!\!\!\!\!\babyloniannum{\value{enumi}}\!\!\!--\large\ngg\symbol{\numexpr "13000+\value{enumi}}--\hgnum{enumi}]

Here is the MWE:

 \documentclass{article}

 \usepackage{amssymb,amsmath}

 \usepackage{tikz-cd}

 \usepackage{fontspec}

 \usepackage[czech]{babel} \usepackage{mypackage}  

 \usepackage{babyloniannum} %\setfont{NewGardiner}
 \newfontfamily\ngg{Segoe UI Historic}

 \MakeRobust\babyloniannum \MakeRobust\hgnum \usepackage{enumitem}


   \begin{document}


 \underline{motto:}{ každý den $\pm$ nový princip }\hfill{$\square$} \\
 \\  \begin{enumerate}[
 label=\roman{enumi}--\arabic{enumi}--\!\!\!  \!\!\babyloniannum{\value{enumi}}\!\!\!--\large\ngg\symbol{\numexpr
 "13000+\value{enumi}}--\hgnum{\value{enumi}}]   
 \item rozhodovat se na hraně zajímavého \GoodBye{A}   
\item *vždycky to tam máš (data v matematice) K{\hg \hgunits{5}}L   
\item svoboda a volnost
\item \hgnum{152123}
\item 
\end{enumerate}
\end{document}
Alan Munn
  • 218,180
user2925716
  • 1,940
  • 1
    please always post self contained documents not just fragments that people have to reconstitute to see the issue. I wrote most of the answers in your (many) questions and I have no idea what \babyloniannum is and I can not guess how you have defined \! (the standard definition would give errors there) – David Carlisle Oct 07 '19 at 15:29
  • you have tagged this question pdftex but the referenced answer defines code that can not work with pdftex. – David Carlisle Oct 07 '19 at 15:30
  • @DavidCarlisle The \! alone works. It is supposed to do a negative space. Only when I add \hgnum{} an error occurs. Perhaps I do not know the right arguments and surroundings of \hgnum – user2925716 Oct 07 '19 at 17:17
  • no \! will give an error about missing math mode, but I can not run your example as \usepackage{babyloniannum} and \usepackage{mypackage} – David Carlisle Oct 07 '19 at 17:35
  • @DavidCarlisle So just delete all \! together with babylonyannum and try to substitute the right form of \hgnum so that the hieroglyphic numbers appear at \item's. The \usepackage{mypackage} is essentially your \hgnum: ^^^^^^013190^^^^^^013190^^^^^^013190^^^^^^013190^^^^^^013190\else ?\fi}

    \def\hgnum#1{{\hg\expandafter\hgnumx\the\numexpr10000000+#1\relax}} \def\hgnumx#1#2#3#4#5#6#7#8{%

    – user2925716 Oct 07 '19 at 17:50
  • 1
    no sorry it is your responsibility to ask a question with a reasonable example that does not require people to guess what code you are asking about, please edit the mwe so that it runs without error or if it gives an error, post the error message and ask about that. – David Carlisle Oct 07 '19 at 18:07
  • @DavidCarlisle Please see this if it meets your standard requiremnts to my OQ. – user2925716 Oct 07 '19 at 19:35
  • 1
    No! don't open yet another question edit this one!! (or delete this one and just have the new one, if you prefer) – David Carlisle Oct 07 '19 at 19:36
  • see how much easier it is to answer once you provide a test file:-) – David Carlisle Oct 07 '19 at 19:47

0 Answers0