How to change zero to dotted zero in an enumitem label?
Clash Royale CLAN TAG#URR8PPP
up vote
2
down vote
favorite
MWE
documentclass[a4paper,11pt]book
usepackage[T1]fontenc
usepackage[utf8]inputenc
usepackagelmodern
usepackageenumitem
makeatletter
protecteddefpmzerodot%
nfss@text%
sbox0$vcenter$% math axis
sbox20%
sbox40/%
ooalign%
0cr
hidewidth
kerndimexprwd4-wd2relax % compensate for slanted fonts
raisedimexpr(ht2-dp2)/2-ht0relaxhbox%
if bexpandafter@carf@series@nilrelax
mathversionbold%
fi
$cdotm@th$%
%
hidewidth
cr
vphantom0% correct depth of final symbol
%
%
newcommand*dotarabic[1]%
expandafter@dotarabiccsname c@#1endcsname
newcommand*@dotarabic[1]%
expandafterdotarabic@scannumber #1relax
newcommand*dotarabic@scan[1]%
ifxrelax#1%
expandafter@gobble
else
expandafter@firstofone
fi
%
ifnum#1=0 %
ifincsname
0%
else
pmzerodot
fi
else
#1%
fi
dotarabic@scan
%
makeatother
renewcommand*theequationdotarabicchapter.dotarabicequation
renewcommand*thepagedotarabicpage
renewcommand*thechapterdotarabicchapter
renewcommand*thesectiondotarabicchapter.dotarabicsection
renewcommand*thetabledotarabicchapter.dotarabictable
renewcommand*thefiguredotarabicchapter.dotarabicfigure
%renewcommand*labelenumidotarabicenumi <- Don't working
%renewcommand*theenumidotarabicenumi <- Don't working
begindocument
beginenumerate
item One
item Two
item Three
item Four
item Five
item Six
item Seven
item Eight
item Nine
item Ten
endenumerate
enddocument
I can not run item Ten
. I added renewcommand*labelenumidotarabicenumi
and renewcommand*theenumidotarabicenumi
, don't working. I marked what I was trying to do as red.
I don't know how to do it. I'm waiting for your help.
Thanks to @Heiko Oberdiek: https://tex.stackexchange.com/a/240271/33075
enumerate itemize enumitem protected-macro
add a comment |Â
up vote
2
down vote
favorite
MWE
documentclass[a4paper,11pt]book
usepackage[T1]fontenc
usepackage[utf8]inputenc
usepackagelmodern
usepackageenumitem
makeatletter
protecteddefpmzerodot%
nfss@text%
sbox0$vcenter$% math axis
sbox20%
sbox40/%
ooalign%
0cr
hidewidth
kerndimexprwd4-wd2relax % compensate for slanted fonts
raisedimexpr(ht2-dp2)/2-ht0relaxhbox%
if bexpandafter@carf@series@nilrelax
mathversionbold%
fi
$cdotm@th$%
%
hidewidth
cr
vphantom0% correct depth of final symbol
%
%
newcommand*dotarabic[1]%
expandafter@dotarabiccsname c@#1endcsname
newcommand*@dotarabic[1]%
expandafterdotarabic@scannumber #1relax
newcommand*dotarabic@scan[1]%
ifxrelax#1%
expandafter@gobble
else
expandafter@firstofone
fi
%
ifnum#1=0 %
ifincsname
0%
else
pmzerodot
fi
else
#1%
fi
dotarabic@scan
%
makeatother
renewcommand*theequationdotarabicchapter.dotarabicequation
renewcommand*thepagedotarabicpage
renewcommand*thechapterdotarabicchapter
renewcommand*thesectiondotarabicchapter.dotarabicsection
renewcommand*thetabledotarabicchapter.dotarabictable
renewcommand*thefiguredotarabicchapter.dotarabicfigure
%renewcommand*labelenumidotarabicenumi <- Don't working
%renewcommand*theenumidotarabicenumi <- Don't working
begindocument
beginenumerate
item One
item Two
item Three
item Four
item Five
item Six
item Seven
item Eight
item Nine
item Ten
endenumerate
enddocument
I can not run item Ten
. I added renewcommand*labelenumidotarabicenumi
and renewcommand*theenumidotarabicenumi
, don't working. I marked what I was trying to do as red.
I don't know how to do it. I'm waiting for your help.
Thanks to @Heiko Oberdiek: https://tex.stackexchange.com/a/240271/33075
enumerate itemize enumitem protected-macro
add a comment |Â
up vote
2
down vote
favorite
up vote
2
down vote
favorite
MWE
documentclass[a4paper,11pt]book
usepackage[T1]fontenc
usepackage[utf8]inputenc
usepackagelmodern
usepackageenumitem
makeatletter
protecteddefpmzerodot%
nfss@text%
sbox0$vcenter$% math axis
sbox20%
sbox40/%
ooalign%
0cr
hidewidth
kerndimexprwd4-wd2relax % compensate for slanted fonts
raisedimexpr(ht2-dp2)/2-ht0relaxhbox%
if bexpandafter@carf@series@nilrelax
mathversionbold%
fi
$cdotm@th$%
%
hidewidth
cr
vphantom0% correct depth of final symbol
%
%
newcommand*dotarabic[1]%
expandafter@dotarabiccsname c@#1endcsname
newcommand*@dotarabic[1]%
expandafterdotarabic@scannumber #1relax
newcommand*dotarabic@scan[1]%
ifxrelax#1%
expandafter@gobble
else
expandafter@firstofone
fi
%
ifnum#1=0 %
ifincsname
0%
else
pmzerodot
fi
else
#1%
fi
dotarabic@scan
%
makeatother
renewcommand*theequationdotarabicchapter.dotarabicequation
renewcommand*thepagedotarabicpage
renewcommand*thechapterdotarabicchapter
renewcommand*thesectiondotarabicchapter.dotarabicsection
renewcommand*thetabledotarabicchapter.dotarabictable
renewcommand*thefiguredotarabicchapter.dotarabicfigure
%renewcommand*labelenumidotarabicenumi <- Don't working
%renewcommand*theenumidotarabicenumi <- Don't working
begindocument
beginenumerate
item One
item Two
item Three
item Four
item Five
item Six
item Seven
item Eight
item Nine
item Ten
endenumerate
enddocument
I can not run item Ten
. I added renewcommand*labelenumidotarabicenumi
and renewcommand*theenumidotarabicenumi
, don't working. I marked what I was trying to do as red.
I don't know how to do it. I'm waiting for your help.
Thanks to @Heiko Oberdiek: https://tex.stackexchange.com/a/240271/33075
enumerate itemize enumitem protected-macro
MWE
documentclass[a4paper,11pt]book
usepackage[T1]fontenc
usepackage[utf8]inputenc
usepackagelmodern
usepackageenumitem
makeatletter
protecteddefpmzerodot%
nfss@text%
sbox0$vcenter$% math axis
sbox20%
sbox40/%
ooalign%
0cr
hidewidth
kerndimexprwd4-wd2relax % compensate for slanted fonts
raisedimexpr(ht2-dp2)/2-ht0relaxhbox%
if bexpandafter@carf@series@nilrelax
mathversionbold%
fi
$cdotm@th$%
%
hidewidth
cr
vphantom0% correct depth of final symbol
%
%
newcommand*dotarabic[1]%
expandafter@dotarabiccsname c@#1endcsname
newcommand*@dotarabic[1]%
expandafterdotarabic@scannumber #1relax
newcommand*dotarabic@scan[1]%
ifxrelax#1%
expandafter@gobble
else
expandafter@firstofone
fi
%
ifnum#1=0 %
ifincsname
0%
else
pmzerodot
fi
else
#1%
fi
dotarabic@scan
%
makeatother
renewcommand*theequationdotarabicchapter.dotarabicequation
renewcommand*thepagedotarabicpage
renewcommand*thechapterdotarabicchapter
renewcommand*thesectiondotarabicchapter.dotarabicsection
renewcommand*thetabledotarabicchapter.dotarabictable
renewcommand*thefiguredotarabicchapter.dotarabicfigure
%renewcommand*labelenumidotarabicenumi <- Don't working
%renewcommand*theenumidotarabicenumi <- Don't working
begindocument
beginenumerate
item One
item Two
item Three
item Four
item Five
item Six
item Seven
item Eight
item Nine
item Ten
endenumerate
enddocument
I can not run item Ten
. I added renewcommand*labelenumidotarabicenumi
and renewcommand*theenumidotarabicenumi
, don't working. I marked what I was trying to do as red.
I don't know how to do it. I'm waiting for your help.
Thanks to @Heiko Oberdiek: https://tex.stackexchange.com/a/240271/33075
enumerate itemize enumitem protected-macro
enumerate itemize enumitem protected-macro
asked 4 hours ago
Ãzgür
1,4001019
1,4001019
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
2
down vote
accepted
Without enumitem
you would need:
renewcommand*labelenumitheenumi.
renewcommand*theenumidotarabicenumi
documentclassarticle
makeatletter
protecteddefpmzerodot%
nfss@text%
sbox0$vcenter$% math axis
sbox20%
sbox40/%
ooalign%
0cr
hidewidth
kerndimexprwd4-wd2relax % compensate for slanted fonts
raisedimexpr(ht2-dp2)/2-ht0relaxhbox%
if bexpandafter@carf@series@nilrelax
mathversionbold%
fi
$cdotm@th$%
%
hidewidth
cr
vphantom0% correct depth of final symbol
%
%
newcommand*dotarabic[1]%
expandafter@dotarabiccsname c@#1endcsname
newcommand*@dotarabic[1]%
expandafterdotarabic@scannumber #1relax
newcommand*dotarabic@scan[1]%
ifxrelax#1%
expandafter@gobble
else
expandafter@firstofone
fi
%
ifnum#1=0 %
ifincsname
0%
else
pmzerodot
fi
else
#1%
fi
dotarabic@scan
%
makeatother
renewcommand*labelenumitheenumi.
renewcommand*theenumidotarabicenumi
begindocument
beginenumerate
item One
item Two
item Three
item Four
item Five
item Six
item Seven
item Eight
item Nine
item Ten
endenumerate
enddocument
With enumitem
you would need:
usepackageenumitem
makeatletter
AddEnumerateCounterdotarabic@dotarabic0
makeatother
The use of AddEnumerateCounter
to add a counter for use within the optional argument of the lists.
documentclassarticle
makeatletter
protecteddefpmzerodot%
nfss@text%
sbox0$vcenter$% math axis
sbox20%
sbox40/%
ooalign%
0cr
hidewidth
kerndimexprwd4-wd2relax % compensate for slanted fonts
raisedimexpr(ht2-dp2)/2-ht0relaxhbox%
if bexpandafter@carf@series@nilrelax
mathversionbold%
fi
$cdotm@th$%
%
hidewidth
cr
vphantom0% correct depth of final symbol
%
%
newcommand*dotarabic[1]%
expandafter@dotarabiccsname c@#1endcsname
newcommand*@dotarabic[1]%
expandafterdotarabic@scannumber #1relax
newcommand*dotarabic@scan[1]%
ifxrelax#1%
expandafter@gobble
else
expandafter@firstofone
fi
%
ifnum#1=0 %
ifincsname
0%
else
pmzerodot
fi
else
#1%
fi
dotarabic@scan
%
makeatother
usepackageenumitem
makeatletter
AddEnumerateCounterdotarabic@dotarabic0
makeatother
begindocument
beginenumerate[label = dotarabic*., ref = dotarabic*]
item One
item Two
item Three
item Four
item Five
item Six
item Seven
item Eight
item Nine
item Ten
endenumerate
enddocument
Thanks to your support was what I wanted.
â Ãzgür
3 hours ago
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
2
down vote
accepted
Without enumitem
you would need:
renewcommand*labelenumitheenumi.
renewcommand*theenumidotarabicenumi
documentclassarticle
makeatletter
protecteddefpmzerodot%
nfss@text%
sbox0$vcenter$% math axis
sbox20%
sbox40/%
ooalign%
0cr
hidewidth
kerndimexprwd4-wd2relax % compensate for slanted fonts
raisedimexpr(ht2-dp2)/2-ht0relaxhbox%
if bexpandafter@carf@series@nilrelax
mathversionbold%
fi
$cdotm@th$%
%
hidewidth
cr
vphantom0% correct depth of final symbol
%
%
newcommand*dotarabic[1]%
expandafter@dotarabiccsname c@#1endcsname
newcommand*@dotarabic[1]%
expandafterdotarabic@scannumber #1relax
newcommand*dotarabic@scan[1]%
ifxrelax#1%
expandafter@gobble
else
expandafter@firstofone
fi
%
ifnum#1=0 %
ifincsname
0%
else
pmzerodot
fi
else
#1%
fi
dotarabic@scan
%
makeatother
renewcommand*labelenumitheenumi.
renewcommand*theenumidotarabicenumi
begindocument
beginenumerate
item One
item Two
item Three
item Four
item Five
item Six
item Seven
item Eight
item Nine
item Ten
endenumerate
enddocument
With enumitem
you would need:
usepackageenumitem
makeatletter
AddEnumerateCounterdotarabic@dotarabic0
makeatother
The use of AddEnumerateCounter
to add a counter for use within the optional argument of the lists.
documentclassarticle
makeatletter
protecteddefpmzerodot%
nfss@text%
sbox0$vcenter$% math axis
sbox20%
sbox40/%
ooalign%
0cr
hidewidth
kerndimexprwd4-wd2relax % compensate for slanted fonts
raisedimexpr(ht2-dp2)/2-ht0relaxhbox%
if bexpandafter@carf@series@nilrelax
mathversionbold%
fi
$cdotm@th$%
%
hidewidth
cr
vphantom0% correct depth of final symbol
%
%
newcommand*dotarabic[1]%
expandafter@dotarabiccsname c@#1endcsname
newcommand*@dotarabic[1]%
expandafterdotarabic@scannumber #1relax
newcommand*dotarabic@scan[1]%
ifxrelax#1%
expandafter@gobble
else
expandafter@firstofone
fi
%
ifnum#1=0 %
ifincsname
0%
else
pmzerodot
fi
else
#1%
fi
dotarabic@scan
%
makeatother
usepackageenumitem
makeatletter
AddEnumerateCounterdotarabic@dotarabic0
makeatother
begindocument
beginenumerate[label = dotarabic*., ref = dotarabic*]
item One
item Two
item Three
item Four
item Five
item Six
item Seven
item Eight
item Nine
item Ten
endenumerate
enddocument
Thanks to your support was what I wanted.
â Ãzgür
3 hours ago
add a comment |Â
up vote
2
down vote
accepted
Without enumitem
you would need:
renewcommand*labelenumitheenumi.
renewcommand*theenumidotarabicenumi
documentclassarticle
makeatletter
protecteddefpmzerodot%
nfss@text%
sbox0$vcenter$% math axis
sbox20%
sbox40/%
ooalign%
0cr
hidewidth
kerndimexprwd4-wd2relax % compensate for slanted fonts
raisedimexpr(ht2-dp2)/2-ht0relaxhbox%
if bexpandafter@carf@series@nilrelax
mathversionbold%
fi
$cdotm@th$%
%
hidewidth
cr
vphantom0% correct depth of final symbol
%
%
newcommand*dotarabic[1]%
expandafter@dotarabiccsname c@#1endcsname
newcommand*@dotarabic[1]%
expandafterdotarabic@scannumber #1relax
newcommand*dotarabic@scan[1]%
ifxrelax#1%
expandafter@gobble
else
expandafter@firstofone
fi
%
ifnum#1=0 %
ifincsname
0%
else
pmzerodot
fi
else
#1%
fi
dotarabic@scan
%
makeatother
renewcommand*labelenumitheenumi.
renewcommand*theenumidotarabicenumi
begindocument
beginenumerate
item One
item Two
item Three
item Four
item Five
item Six
item Seven
item Eight
item Nine
item Ten
endenumerate
enddocument
With enumitem
you would need:
usepackageenumitem
makeatletter
AddEnumerateCounterdotarabic@dotarabic0
makeatother
The use of AddEnumerateCounter
to add a counter for use within the optional argument of the lists.
documentclassarticle
makeatletter
protecteddefpmzerodot%
nfss@text%
sbox0$vcenter$% math axis
sbox20%
sbox40/%
ooalign%
0cr
hidewidth
kerndimexprwd4-wd2relax % compensate for slanted fonts
raisedimexpr(ht2-dp2)/2-ht0relaxhbox%
if bexpandafter@carf@series@nilrelax
mathversionbold%
fi
$cdotm@th$%
%
hidewidth
cr
vphantom0% correct depth of final symbol
%
%
newcommand*dotarabic[1]%
expandafter@dotarabiccsname c@#1endcsname
newcommand*@dotarabic[1]%
expandafterdotarabic@scannumber #1relax
newcommand*dotarabic@scan[1]%
ifxrelax#1%
expandafter@gobble
else
expandafter@firstofone
fi
%
ifnum#1=0 %
ifincsname
0%
else
pmzerodot
fi
else
#1%
fi
dotarabic@scan
%
makeatother
usepackageenumitem
makeatletter
AddEnumerateCounterdotarabic@dotarabic0
makeatother
begindocument
beginenumerate[label = dotarabic*., ref = dotarabic*]
item One
item Two
item Three
item Four
item Five
item Six
item Seven
item Eight
item Nine
item Ten
endenumerate
enddocument
Thanks to your support was what I wanted.
â Ãzgür
3 hours ago
add a comment |Â
up vote
2
down vote
accepted
up vote
2
down vote
accepted
Without enumitem
you would need:
renewcommand*labelenumitheenumi.
renewcommand*theenumidotarabicenumi
documentclassarticle
makeatletter
protecteddefpmzerodot%
nfss@text%
sbox0$vcenter$% math axis
sbox20%
sbox40/%
ooalign%
0cr
hidewidth
kerndimexprwd4-wd2relax % compensate for slanted fonts
raisedimexpr(ht2-dp2)/2-ht0relaxhbox%
if bexpandafter@carf@series@nilrelax
mathversionbold%
fi
$cdotm@th$%
%
hidewidth
cr
vphantom0% correct depth of final symbol
%
%
newcommand*dotarabic[1]%
expandafter@dotarabiccsname c@#1endcsname
newcommand*@dotarabic[1]%
expandafterdotarabic@scannumber #1relax
newcommand*dotarabic@scan[1]%
ifxrelax#1%
expandafter@gobble
else
expandafter@firstofone
fi
%
ifnum#1=0 %
ifincsname
0%
else
pmzerodot
fi
else
#1%
fi
dotarabic@scan
%
makeatother
renewcommand*labelenumitheenumi.
renewcommand*theenumidotarabicenumi
begindocument
beginenumerate
item One
item Two
item Three
item Four
item Five
item Six
item Seven
item Eight
item Nine
item Ten
endenumerate
enddocument
With enumitem
you would need:
usepackageenumitem
makeatletter
AddEnumerateCounterdotarabic@dotarabic0
makeatother
The use of AddEnumerateCounter
to add a counter for use within the optional argument of the lists.
documentclassarticle
makeatletter
protecteddefpmzerodot%
nfss@text%
sbox0$vcenter$% math axis
sbox20%
sbox40/%
ooalign%
0cr
hidewidth
kerndimexprwd4-wd2relax % compensate for slanted fonts
raisedimexpr(ht2-dp2)/2-ht0relaxhbox%
if bexpandafter@carf@series@nilrelax
mathversionbold%
fi
$cdotm@th$%
%
hidewidth
cr
vphantom0% correct depth of final symbol
%
%
newcommand*dotarabic[1]%
expandafter@dotarabiccsname c@#1endcsname
newcommand*@dotarabic[1]%
expandafterdotarabic@scannumber #1relax
newcommand*dotarabic@scan[1]%
ifxrelax#1%
expandafter@gobble
else
expandafter@firstofone
fi
%
ifnum#1=0 %
ifincsname
0%
else
pmzerodot
fi
else
#1%
fi
dotarabic@scan
%
makeatother
usepackageenumitem
makeatletter
AddEnumerateCounterdotarabic@dotarabic0
makeatother
begindocument
beginenumerate[label = dotarabic*., ref = dotarabic*]
item One
item Two
item Three
item Four
item Five
item Six
item Seven
item Eight
item Nine
item Ten
endenumerate
enddocument
Without enumitem
you would need:
renewcommand*labelenumitheenumi.
renewcommand*theenumidotarabicenumi
documentclassarticle
makeatletter
protecteddefpmzerodot%
nfss@text%
sbox0$vcenter$% math axis
sbox20%
sbox40/%
ooalign%
0cr
hidewidth
kerndimexprwd4-wd2relax % compensate for slanted fonts
raisedimexpr(ht2-dp2)/2-ht0relaxhbox%
if bexpandafter@carf@series@nilrelax
mathversionbold%
fi
$cdotm@th$%
%
hidewidth
cr
vphantom0% correct depth of final symbol
%
%
newcommand*dotarabic[1]%
expandafter@dotarabiccsname c@#1endcsname
newcommand*@dotarabic[1]%
expandafterdotarabic@scannumber #1relax
newcommand*dotarabic@scan[1]%
ifxrelax#1%
expandafter@gobble
else
expandafter@firstofone
fi
%
ifnum#1=0 %
ifincsname
0%
else
pmzerodot
fi
else
#1%
fi
dotarabic@scan
%
makeatother
renewcommand*labelenumitheenumi.
renewcommand*theenumidotarabicenumi
begindocument
beginenumerate
item One
item Two
item Three
item Four
item Five
item Six
item Seven
item Eight
item Nine
item Ten
endenumerate
enddocument
With enumitem
you would need:
usepackageenumitem
makeatletter
AddEnumerateCounterdotarabic@dotarabic0
makeatother
The use of AddEnumerateCounter
to add a counter for use within the optional argument of the lists.
documentclassarticle
makeatletter
protecteddefpmzerodot%
nfss@text%
sbox0$vcenter$% math axis
sbox20%
sbox40/%
ooalign%
0cr
hidewidth
kerndimexprwd4-wd2relax % compensate for slanted fonts
raisedimexpr(ht2-dp2)/2-ht0relaxhbox%
if bexpandafter@carf@series@nilrelax
mathversionbold%
fi
$cdotm@th$%
%
hidewidth
cr
vphantom0% correct depth of final symbol
%
%
newcommand*dotarabic[1]%
expandafter@dotarabiccsname c@#1endcsname
newcommand*@dotarabic[1]%
expandafterdotarabic@scannumber #1relax
newcommand*dotarabic@scan[1]%
ifxrelax#1%
expandafter@gobble
else
expandafter@firstofone
fi
%
ifnum#1=0 %
ifincsname
0%
else
pmzerodot
fi
else
#1%
fi
dotarabic@scan
%
makeatother
usepackageenumitem
makeatletter
AddEnumerateCounterdotarabic@dotarabic0
makeatother
begindocument
beginenumerate[label = dotarabic*., ref = dotarabic*]
item One
item Two
item Three
item Four
item Five
item Six
item Seven
item Eight
item Nine
item Ten
endenumerate
enddocument
edited 3 hours ago
answered 4 hours ago
Werner
425k589311604
425k589311604
Thanks to your support was what I wanted.
â Ãzgür
3 hours ago
add a comment |Â
Thanks to your support was what I wanted.
â Ãzgür
3 hours ago
Thanks to your support was what I wanted.
â Ãzgür
3 hours ago
Thanks to your support was what I wanted.
â Ãzgür
3 hours ago
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f455913%2fhow-to-change-zero-to-dotted-zero-in-an-enumitem-label%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password