2

In a tex document I have \textsc{exp3} and I would like to make the 3 a small caps number. Is it possible ?

Here is my code, which uses ACM template.

\documentclass[acmlarge]{acmart} 

\settopmatter{printacmref=false}% 
\renewcommand\footnotetextcopyrightpermission[1]{}% 
\renewcommand\footnotetextauthorsaddresses[1]{}% \pagestyle{plain} 
\fancyfoot{} 

\makeatletter 
\def\runningfoot{\def\@runningfoot{}} 
\def\firstfoot{\def\@firstfoot{}} 
\def\@copyrightspace{\relax} 
\makeatother 

\usepackage{amsmath} 
\usepackage{amsfonts} 
\usepackage{amsthm}  
\usepackage{amssymb} 
\usepackage[mathscr]{euscript}
\usepackage{booktabs} % For formal tables


\begin{document} 

\title{My Title} 

\author{Me} 

\maketitle 

\thispagestyle{empty} 

This is my file. This is an algorithm, called \textsc{exp3}. Numbers like $1,2,3$ are not small caps. 

\end{document}

See the figure below (the first set of numbers; from left to right):

enter image description here

  • What exactly is a "small caps number"? Do you happen to have an example image of what you want? – Raven Dec 19 '18 at 16:10
  • 2
    I added a figure. – zdm Dec 19 '18 at 16:12
  • Do you want all numbers in the smallcaps font to be oldstyle, or just the particular example you give? – Paul Stanley Dec 19 '18 at 16:14
  • Yes that's fine too. – zdm Dec 19 '18 at 16:15
  • 2
    See tex.stackexchange.com/q/185229 Oldstyle numbers aren’t small cap numbers, and very few fonts have the latter. – Thérèse Dec 19 '18 at 16:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.