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
    Commented Sep 23, 2021 at 5:34

1 Answer 1


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

enter image description here


A cross-reference to \cref{sec:appA1}.

\section{Additional results}
\subsection{Proofs of various theorems} \label{sec:appA1}

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .