LaTex(PART VI) 摘要和关键字

摘要

命令
\begin{abstract}
\end{abstract}
示例代码
 \begin{abstract}
这是中文摘要,这是中文摘要,这是中文摘要,这是中文摘要,这是中文摘要,这是中文摘要,这是中文摘要,这是中文摘要,这是中文摘要,这是中文摘要,这是中文摘要,这是中文摘要,这是中文摘要,这是中文摘要,这是中文摘要,这是中文摘要,这是中文摘要,这是中文摘要,这是中文摘要,这是中文摘要,这是中文摘要,这是中文摘要,这是中文摘要,这是中文摘要,这是中文摘要,这是中文摘要,这是中文摘要,这是中文摘要,这是中文摘要,这是中文摘要,这是中文摘要,这是中文摘要,这是中文摘要,这是中文摘要,这是中文摘要,这是中文摘要,这是中文摘要,这是中文摘要,这是中文摘要,
 \end{abstract}
中英文摘要共存:

由于此时是中文环境,需要定义一个新的英文摘要

\newcommand{\enabstractname}{Abstract}
\newenvironment{enabstract}{%
    \par\small
    \noindent\mbox{}\hfill{\bfseries \enabstractname}\hfill\mbox{}\par
    \vskip 2.5ex}{\par\vskip 2.5ex}  
示例代码:
\begin{enabstract}
    This is the abstract in English.    This is the abstract in English.    This is the abstract in English.    This is the abstract in English.    This is the abstract in English.    This is the abstract in English.    This is the abstract in English.    This is the abstract in English.    This is the abstract in English.    This is the abstract in English.    This is the abstract in English.    This is the abstract in English.    This is the abstract in English.    This is the abstract in English.    This is the abstract in English.    This is the abstract in English.    This is the abstract in English.    This is the abstract in English.    This is the abstract in English.

    \centering
    \textbf{Keywords:} Abstract, \LaTeXe, English
  \end{enabstract}

关键字

命令
\textbf{关键字:}摘要、\LaTeX、中文

完整示例代码:

\documentclass[UTF8]{ctexart}
\usepackage{fancyhdr}%设置页脚页眉需要的包
\pagestyle{fancy}
\author{哈巴狗} 
\title{我的论文标题}
%这里是页眉
\lhead{西安电子科技大学}%左边
%\chead{中间}%中间
\rhead{硕士研究生毕业设计}%右边
%这里是页脚
%\lfoot{左边}%页脚左边
\cfoot{\thepage}%页脚中间
%\rfoot{右边}%页脚右边
\renewcommand{\headrulewidth}{0.4pt}%页眉
\renewcommand{\headwidth}{\textwidth}
\renewcommand{\footrulewidth}{0.4pt}
\newcommand{\enabstractname}{Abstract}
\newenvironment{enabstract}{%
    \par\small
    \noindent\mbox{}\hfill{\bfseries \enabstractname}\hfill\mbox{}\par
    \vskip 2.5ex}{\par\vskip 2.5ex}  
\begin{document}
  \maketitle%输出标题
  \newpage%另起一页
  \tableofcontents%命令输出论文目录
  \newpage
  \begin{enabstract}
    This is the abstract in English.    This is the abstract in English.    This is the abstract in English.    This is the abstract in English.    This is the abstract in English.    This is the abstract in English.    This is the abstract in English.    This is the abstract in English.    This is the abstract in English.    This is the abstract in English.    This is the abstract in English.    This is the abstract in English.    This is the abstract in English.    This is the abstract in English.    This is the abstract in English.    This is the abstract in English.    This is the abstract in English.    This is the abstract in English.    This is the abstract in English.

    \centering
    \textbf{Keywords:} Abstract, \LaTeXe, English
  \end{enabstract}

  \newpage%另起一页
  \begin{abstract}
这是中文摘要,这是中文摘要,这是中文摘要,这是中文摘要,这是中文摘要,这是中文摘要,这是中文摘要,这是中文摘要,这是中文摘要,这是中文摘要,这是中文摘要,这是中文摘要,这是中文摘要,这是中文摘要,这是中文摘要,这是中文摘要,这是中文摘要,这是中文摘要,这是中文摘要,这是中文摘要,这是中文摘要,这是中文摘要,这是中文摘要,这是中文摘要,这是中文摘要,这是中文摘要,这是中文摘要,这是中文摘要,这是中文摘要,这是中文摘要,这是中文摘要,这是中文摘要,这是中文摘要,这是中文摘要,这是中文摘要,这是中文摘要,这是中文摘要,这是中文摘要,这是中文摘要,
  \newline%另起一行

  \centering%使得关键字居中
  \textbf{关键字:}摘要、\LaTeX、中文
  \end{abstract}
  \newpage%另起一页

  \section{第一章,一级标题} 这是第一章
    \subsection{二级标题} 第一章二级标题标题
      \subsubsection{三级标题}
      \subsubsection{三级标题}
      \subsubsection{三级标题}
     \subsection{二级标题} 第一章二级标题标题
      \subsubsection{三级标题}
      \subsubsection{三级标题}
      \subsubsection{三级标题}
  \newpage

  \section{第二章,一级标题} 这是第一章
    \subsection{二级标题} 第二章二级标题标题
      \subsubsection{三级标题}
      \subsubsection{三级标题}
      \subsubsection{三级标题}
     \subsection{二级标题} 第二章二级标题标题
      \subsubsection{三级标题}
      \subsubsection{三级标题}
      \subsubsection{三级标题}
\end{document} 
  • 23
    点赞
  • 149
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值