# Is it possible to write a small caps number in only one place in a tex document?

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}%
\fancyfoot{}

\makeatletter
\def\runningfoot{\def\@runningfoot{}}
\def\firstfoot{\def\@firstfoot{}}
\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):

• 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
• 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
• 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