[Tex/LaTex] Producing Attic Greek numerals

fonts

I know the teubner package can produce Attic Greek numerals with the \AtticNumeral command, but their appearance is quite different from what numerals are used in history of math textbooks. For instance, in Howard Eves' textbook on the history of mathematics, he gives the following representation of the number 2857:

enter image description here

Is there a way to produce these symbols for the different numerals (particularly the symbols that incorporate the use of 5 — the third and seventh symbols above, from left to right, respectively)?

Best Answer

You could use the font Quivira for this. Generally I would search the symbol fifty in unicode and see, which fonts are supported there.

% arara: lualatex

\documentclass{article}
\usepackage{fontspec}    
\usepackage{booktabs}
\usepackage{siunitx}

\begin{document}
    \setmainfont{quivira.otf}
    \begin{tabular}{S[table-format=5.2,group-four-digits=true]l}
        \toprule
        {Arabic} & Attic Greek\\
        \midrule
        0.25 & \symbol{"10140}\\
        0.5 & \symbol{"10141}\\
        1 & \symbol{"0399}\\ % usual Iota
        5 & \symbol{"10143}\symbol{"03A0}\\ % second: usual Pi
        10 & \symbol{"0394}\\ % usual Delta
        50 & \symbol{"10144}\\
        100 & \symbol{"0397}\\ % usual Eta
        500 & \symbol{"10145}\\
        1000 & \symbol{"03A7}\\ % usual Chi
        5000 & \symbol{"10146}\\
        10000 & \symbol{"039C}\\ % usual Mu
        50000 & \symbol{"10147}\\
        \bottomrule
    \end{tabular}
\end{document} 

enter image description here


Your example could be set (using FreeSerif) like this:

% arara: lualatex

\documentclass{article}
\usepackage{fontspec}
\setmainfont{Linux Biolinum O}
\usepackage{blindtext}
\newfontfamily\atticFont{freeserif.otf} 
\newcommand*{\atOne}{{\atticFont\symbol{"0399}}}
\newcommand*{\atFive}{{\atticFont\symbol{"10143}}}
\newcommand*{\atFifty}{{\atticFont\symbol{"10144}}}
\newcommand*{\atHundret}{{\atticFont\symbol{"0397}}}
\newcommand*{\atFiveHundret}{{\atticFont\symbol{"10145}}}
\newcommand*{\atThousand}{{\atticFont\symbol{"03A7}}}

\begin{document}
    \blindtext%
    \begin{center}
        2857 = \atThousand\atThousand\atFiveHundret\atHundret\atHundret\atHundret\atFifty\atFive\atOne\atOne
    \end{center}
    \blindtext
\end{document} 

enter image description here


In order to get automatic calculation like \atticNum{2857} you will have to do another question or wait for real programmers to help out. You could search this site for the calculation of Roman numerals and use the routines you find there. Or you ask Claudio Beccari to add an option for unicode mapping to his package teubner. This would omit to program it again.