# Textual reference of Section + Number reference of Subsection

Is there any simple way to make

"Textual reference of Section" followed by "Number reference of Subsection"

with one command?

What I want to see is e.g., Appendix A.1, in which "Appendix" is the name of the (higher-level) section and "A.1" is the number of (lower-level) subsection.

• Welcome to TeX.SE.
– Mico
Sep 23, 2021 at 5:34

I would like to suggest that you look into the cleveref package and its main user command, \cref.

\documentclass{article}
\usepackage[capitalize]{cleveref}

\begin{document}
\section{Introduction}
A cross-reference to \cref{sec:appA1}.

\appendix