Here is my LaTeX code:
Code: Select all
\documentclass[12pt,a4paper,fleqn]{article}
\usepackage{fontspec}
\usepackage{xunicode}
\usepackage{xltxtra}
\usepackage{polyglossia}
\usepackage{appendix}
\setotherlanguages{english}
\usepackage{graphicx}
\usepackage{amsmath}
\usepackage{titlesec,titletoc}
\begin{document}
\clearpage% or \cleardoublepage if you want TOC to be on the right page
\tableofcontents
\begin{abstract}
Abstract\ldots
\end{abstract}
\section{first section}
text
\section{second section}
TEXT
\subsection{Subsection}
TEXT
\section*{\large{APPENDIX}}
\addcontentsline{toc}{section}{APPENDIX}
\appendix
\renewcommand{\thesection}{\arabic{section}.}
\begin{flushright}
1.appendix
\end{flushright}
\section[Appendix. Appendix name]{Appendix name}
\end{document}
1.Appendix. Appendix name
Bur problem is with appendix page, like you can see there is:
__________________________________1.appendix
1. Appendix name
BUT, I want this name without number and period, so it would look like this:
__________________________________1.appendix
Appendix name
Thanks for help
