The following templates are suitable for writing usability documents (short documents),
The contents are as follows
% xelatex can use any mac os x font. see the Setromanfont command below.% input to xelatex is full unicode, so Unicode characters can be typed directly into the source.% The next lines tell texshop to typeset with xelatex, and to open and save the source with unicode encoding.%! tex ts-program = xelatex%! tex encoding = utf-8 unicode\documentclass[12pt]{ctexart}\usepackage{geometry} % See geometry.pdf to learn the layout options. there are lots.\geometry{ a4paper} % ... or a4paper or a5paper or ... %\geometry{landscape} % activate for for rotated page geometry%\usepackage[parfill]{parskip} % activate to begin paragraphs with an empty line rather than An indent\usepackage{graphicx}\usepackage{amssymb}% will robertson ' S fontspec.sty can be used to simplify font choices.% to experiment, open / Applications/font book to examine the fonts provided on mac os X,% and change "Hoefler text" to any of these choices.%\ usepackage{fontspec,xltxtra,xunicode}\defaultfontfeatures{mapping=tex-text}\setromanfont[mapping=tex-text]{ Hoefler text}\setsansfont[Scale=matchlowercase,mapping=tex-text] {gill sans}\setmonofont[scale=matchlowercase]{andale mono}\title{article title}\author{laven liu}%\date{ } % activate to display a given date or no date\begin{document}\maketitle\begin{abstract} This is a summary. \end{abstract}\section{article title} Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body body text body bodies bodies bodies body body Normal body text normal text bodies body bodies bodies of text of the body body of the text body of main body of the body of body main body of normal text normal body Jong Jongwen Jong Jongwen. \subsection{article level two title} Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body body text body bodies bodies bodies body body Normal body text normal text bodies body bodies bodies of text of the body body of the text body of main body of the body of body main body of normal text normal body Jong Jongwen Jong Jongwen. \subsubsection{a three-level title} Text body Body Body Body Body Body Body Body Body Body Body Body Body Body text body Body Body Body Body Body Body Body Body Body Body Body body body body body bodies bodies bodies bodies bodies bodies bodies body body body Body bodies body text normal bodies bodies bodies bodies of text text The text of the text of the text of the content of normalBody Body Body Body Body Body Body Body Body Body Body Body Body Body Body text body Body Body Body Body Body Text Body Body text body Body Body text. \subsection{article level two title too} Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body body text body bodies bodies bodies body body Normal body text normal text bodies body bodies bodies of text of the body body of the text body of main body of the body of body main body of normal text normal body Jong Jongwen Jong Jongwen. \section{Second Chapter} Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body body text body bodies bodies bodies body body Normal body text normal text bodies body bodies bodies of text of the body body of the text body of main body of the body of body main body of normal text normal body Jong Jongwen Jong Jongwen. \subsection{Chapter II Title of Class two} Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body body text body bodies bodies bodies body body Normal body text normal text bodies body bodies bodies of text of the body body of the text body of main body of the body of body main body of normal text normal body Jong Jongwen Jong Jongwen. \subsection{has a level two title} Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body body text body bodies bodies bodies body body Normal body text normal text bodies body bodies bodies of text of the body body of the text body of main body of the body of body main body of normal text normal body Jong Jongwen Jong Jongwen. \subsubsection{a three-level title} Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body Body body text body bodies bodies bodies body body Normal body text normal text bodies body bodies bodies of text of the body body of the text body of main body of the body of body main body of normal text normal body Jong Jongwen Jong Jongwen. \end{document}
After compiling with Xelatex, the resulting document effect is,
650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M01/84/3E/wKioL1eJrNbC8Y0VAAP03TXTBmA897.png-wh_500x0-wm_3 -wmp_4-s_1627224467.png "title=" screen Shot 2016-07-16 at 11.40.30.png "alt=" Wkiol1ejrnbc8y0vaap03txtbma897.png-wh_ "/>
This article is from the "solid-state Drive" blog, make sure to keep this source http://lavenliu.blog.51cto.com/5060944/1826941
Document templates for Mac systems