去除页眉的代码是
\pagestyle{plain} % 去除页眉
标题右对齐代码
\CTEXsetup[format={\Large\bfseries}]{section} % 标题右对齐
直接用就行,用XeLatex模式运行
可以用来写作业啥的
% ctex_test.tex
\documentclass[UTF8]{ctexart}
\CTEXsetup[format={\Large\bfseries}]{section} % 标题右对齐
\pagestyle{plain} % 去除页眉
\usepackage{fontspec} % Font selection for XeLaTeX; see fontspec.pdf for documentation
\defaultfontfeatures{Mapping=tex-text} % to support TeX conventions like ``---''
\usepackage{xunicode} % Unicode support for LaTeX character names (accents, European chars, etc)
\usepackage{xltxtra} % Extra customizations for XeLaTeX
\setmainfont{Charis SIL} % set the main body font (\textrm), assumes Charis SIL is installed
%\setsansfont{Deja Vu Sans}
%\setmonofont{Deja Vu Mono}
% other LaTeX packages.....
\usepackage{geometry} % See geometry.pdf to learn the layout options. There are lots.
\geometry{a4paper} % or letterpaper (US) or a5paper or....
\usepackage[parfill]{parskip} % Activate to begin paragraphs with an empty line rather than an indent
\usepackage{graphicx} % support the \includegraphics command and options
\title{ }
\author{ }
\date{} % Activate to display a given date or no date (if empty),
% otherwise the current date is printed
\begin{document}
\maketitle
\section{ }
\subsection{ }
\end{document}