# Appendices formatting/ Text displayed by reference [closed]

I want to obtain toc and text formatting as shown in MWE.

 \documentclass[12pt,a4paper]{article}
\usepackage[a4paper]{geometry}
\usepackage{polyglossia}
\setdefaultlanguage{polish}
\usepackage[titles]{tocloft}

\makeatletter
\renewcommand{\numberline}[1]{%
\@cftbsnum #1\@cftasnum~\@cftasnumb%
}

\begin{document}

\newpage
\tableofcontents

\newpage
\section{Section 1}
bla bla \ref{app2} bla.

\subsection{Subsection 1}
\newpage

\appendix

\section*{Appendices}
\renewcommand{\thesubsection}{Appendix \Alph{subsection}.}
\renewcommand{\theparagraph}{\Alph{subsection}}

\subsection{Description.}
\label{app1}

\subsection{Description.}
\label{app2}

\end{document}


But in section 1, I don't want to get "bla bla Appendix B. bla.", but: "bla bla B bla." (In polish due to declination I can't use header "Appendix B" in text.)

So, to solve my problem I can find how to:

1. get only number from Appendix.

2. make header "Appendix X. Description." without using:

 \renewcommand{\thesubsection}{Appendix \Alph{subsection}.}


In both ways I failed.

-

## closed as unclear what you're asking by Joseph Wright♦Aug 5 '13 at 7:21

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question.If this question can be reworded to fit the rules in the help center, please edit the question.

Welcome to TeX.sx! You don't have to sign with your name since it automatically appears in the lower right corner of your post. Also, we don't put a greeting or a "thank you" in our posts. While this might seem strange at first, it is not a sign of lack of politeness, but rather part of our trying to keep everything very concise. Upvoting is the preferred way here to say "thank you" to users who helped you. Again, welcome! –  hpesoj626 Jan 9 '13 at 22:02
Thank you for welcoming me. I will adapt and won't make such mistakes again. –  Tomasz Jakubek Jan 10 '13 at 9:44
I wouldn't think of it as a mistake. It is just the way things are done here. You will get used to it after a while. Enjoy the community. :) Once again, welcome! –  hpesoj626 Jan 10 '13 at 10:08
Up to this point, I don't think I understand what you are trying to achieve here. Can you make your question clearer or, better yet, post a picture that shows what you try to achieve? –  hpesoj626 Jan 11 '13 at 10:41