\section*{}
which removes the numbering in the headings, but I was wondering if there is a way I can manually assign a string+value to the label of a section. For example, can I say \subsection*{Appendix Subsection 1 }\label{2}[App.1]
, so every time I want to cross reference \ref{2}
it automatically outputs App.1
?Thank you !
Code: Select all
\documentclass[10pt,a4paper]{article}
\begin{document}
this is the first reference: \ref{1}
this is the second reference: \ref{2}
this is the third reference: \ref{3}
\section*{Appendix}\label{1}
\subsection*{Appendix Subsection 1 }\label{2}
\subsection*{Appendix Subsection 2 }\label{3}
\end{document}