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

6
  • What exactly is a "small caps number"? Do you happen to have an example image of what you want?
    – Raven
    Commented Dec 19, 2018 at 16:10
  • 2
    I added a figure.
    – zdm
    Commented Dec 19, 2018 at 16:12
  • Do you want all numbers in the smallcaps font to be oldstyle, or just the particular example you give? Commented Dec 19, 2018 at 16:14
  • Yes that's fine too.
    – zdm
    Commented Dec 19, 2018 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
    Commented Dec 19, 2018 at 16:25

0

You must log in to answer this question.

Browse other questions tagged .