LaTex Study Notes - A Simple Cover

  Operating system: Ubuntu 14.04LTS; tool: TeXstudio; in addition, I also installed the complete texlive (sudo apt-get install texlive-full, it is relatively large, you can install the part as appropriate).
  In practical work, it is more common to use pictures in articles. Here is a simple method of using pictures. The following is a sample code with a picture on the cover (just started learning to use it, sorry for the bad writing):

% 加oneside以去除多余的空白页;加AutoFakeBold是让汉字可以加粗
\documentclass[12pt,oneside,AutoFakeBold]{book}
\usepackage{geometry}          % 用于页面设置
\geometry{a4paper, scale=0.8}  % 设置为A4纸,边距0.8
\usepackage{graphics}          % 与图形有关

\usepackage{xeCJK}             % 用于汉字支持
% 定义字体设置命令,用\song来设置字体为宋体(AR PL UKing CN)
\setCJKfamilyfont{song}{AR PL UMing CN}
\newcommand{\song}{\CJKfamily{song}}
% 定义字体设置命令,用\song来设置字体为黑体(文泉驿微米黑)
\setCJKfamilyfont{heiti}{文泉驿微米黑}
\newcommand{\heiti}{\CJKfamily{heiti}}
% 定义字体设置命令,用\kaiti来设置字体为楷体(AR PL UKai CN)
\setCJKfamilyfont{kaiti}{AR PL UKai CN}
\newcommand{\kaiti}{\CJKfamily{kaiti}}

\pagestyle{plain}  % 设置页码风格

\begin{document}

% ----------- 封面 ---------------
\begin{center}  % 居中
\quad \\
\vspace{3cm}  % 间距
\includegraphics[width=3in]{cover.jpeg}\\
\vspace{1cm}
\heiti{\Huge{《九阴真经》学习笔记}}\\
\vspace{1cm}
\Large {1218年3月21日} \\
\vspace{0.5cm}
梅超风
\end{center}
\vspace{4cm}
书名:《九阴真经》\\
作者:黄裳\\
出版:大宋皇家出版社\\
版次:1164年8月第1版\\
书号:ISBN 7-181-9527
\thispagestyle{empty}
\clearpage  % 清除当页页码

% ---------- 作者介绍 -----------
\Large {\centerline {关于作者}}
\quad \par
\normalsize
黄裳,宋朝人,出生于1044年,于1082年(38岁)考取状元。1094年,知福州。1111年皇帝委派其刻书《万寿道藏》。受《万寿道藏》启发以及江湖历练,于1164年著《九阴真经》,数年后,卒。
\thispagestyle{empty}

% ---------- 目录 -----------
\tableofcontents  % 生成目录
\thispagestyle{empty}

% ---------- 正文开始 -----------
\mainmatter
\chapter{易筋锻骨}
\par \normalsize 天之道,损有馀而补不足,是故虚胜实,不足胜有馀。其意博,其理奥,其趣深。天地之像分,阴阳之侯烈,变化之由表,死生之兆章。

\end{document}

The effect is as follows:
LaTex Study Notes - A Simple Cover
  there was originally a code for creating a cover, maybe I knew too little and felt inflexible, so I didn't use it. The style of the header and footer, I use the simplest style, that is, the plain style.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324518062&siteId=291194637