TransWikia.com

How do I add a dot inside the zeros on the date?

TeX - LaTeX Asked on September 27, 2021

My MWE

documentclass[a4paper,11pt]{article}

%%%%%%%%%%%%% dot with zero
makeatletter
newcommand*{pmzerodot}{%
  nfss@text{%
sbox0{$vcenter{}$}% math axis
sbox2{0}%
sbox4{0/}%
ooalign{%
  0cr
  hidewidth
  kerndimexprwd4-wd2relax % compensate for slanted fonts
  raisedimexpr(ht2-dp2)/2-ht0relaxhbox{%
    if bexpandafter@carf@series@nilrelax
      mathversion{bold}%
    fi
    $cdotm@th$%
  }%
  hidewidth
  cr
  vphantom{0}% correct depth of final symbol
}%
  }%
}
makeatother

title{}

usepackage{datetime}
newdateformat{specialdate}{twodigit{THEDAY}.twodigit{THEMONTH}.THEYEAR}
date{specialdatetoday}
begin{document}

maketitle

Bla...

end{document}

And output

enter image description here

But that I want

enter image description here

How do I add a dot inside the zeros on the date?

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP