CTeX的安装及使用

2020-06-19  本文已影响0人  花爬满篱笆

在学习CTeX前,需要了解LaTeX和CTEX之间的关系,可以看下下面这篇文章。

CteX与LaTeX的区别

简单的说,CTeX就是利用TEX排版系统的中文套装。 CTeX中文套装在 MiKTeX的基础上增加了对中文的完整支持。是一款比较方便入手的排版软件。推荐给大家。

下载完的软件如下:

软件目录

先安装第一个,再安装第二个。可以自定义安装路径,其他都选默认即可。

安装完找到WinEdt(红色框里的),这就是我们要用的编译器!

编译器

一般相关期刊都会给出排版的格式,.tex文件,可以在IEEE网站下载论文排版格式(选择LaTex格式),有了这个文件,我们的排版就非常容易了!以IEEE的一个会议论文格式为例。
通过我们WinEdt打开下载的模板.tex文件,如果找不到模板,也可以自己按照下面的规则写。


打开的页面显示.png
\documentclass[conference]{IEEEtran}  
\usepackage{cite}
\usepackage{amsmath,amssymb,amsfonts}
\usepackage{algorithm}
\usepackage{algorithmic}
\usepackage{graphicx}
\usepackage{textcomp}
\begin{document} 
\title{*Paper Title*} 
\author{\IEEEauthorblockN{1\textsuperscript{st} Given Name Surname}
\IEEEauthorblockA{\textit{dept. name of organization (of Aff.)} \\
\textit{name of organization (of Aff.)}\\
City, Country \\
email address}
\and
\IEEEauthorblockN{2\textsuperscript{nd} Given Name Surname}
\IEEEauthorblockA{\textit{dept. name of organization (of Aff.)} \\
\textit{name of organization (of Aff.)}\\
City, Country \\
email address}
\and
\IEEEauthorblockN{3\textsuperscript{rd} Given Name Surname}
\IEEEauthorblockA{\textit{dept. name of organization (of Aff.)} \\
\textit{name of organization (of Aff.)}\\
City, Country \\
email address}
\begin{abstract}
粘贴摘要
\end{abstract}
\begin{IEEEkeywords}
粘贴关键字
\end{IEEEkeywords}
\section{Introduction}

\section{Related Work}
\subsection{我是子章节,例如1.1,A}

-段落
中间空一行,表示分段。

\begin{itemize}
\item 111111.
\item 222222.
\item 333333.
\end{itemize}

效果图:


列表图呈现.png

插入图片,必须是.eps格式,Visio格式转换为.eps这篇文章介绍了如何将visio画的图转换为.eps格式。

\begin{figure}[htbp]
\centerline{\includegraphics[scale=0.45]{图片名.eps}}
\caption{该图片的名称}
\label{fig}
\end{figure}
\textbf{我是加粗后的字}
\emph{我是斜体}
$PPK_i$
$PK_i$

$PK^i$
上下角标.png
\begin{algorithm}[]
 \caption{The algorithm name}
  \label{Algorithm}
   \begin{algorithmic}[1]
   \STATE I am a little girl
   \STATE Recently pick up a lot of fun $Mushrooms$
   \STATE I give the $Mushrooms$ to the rabbit. $I \to Rabbit.getMushrooms()$
   \STATE Little Rabbit goes home and cooks mushroom soup
   \IF{$Mushrooms$ is non-toxic}
      \STATE Little Rabbit is very happy
      \STATE Stay friends with me
   \ELSE
      \STATE Little Rabbit is very angry
   \ENDIF
   \STATE Little Rabbit gives me a lot of $Carrots$
   \STATE I want to give $Carrots$ to pigs
   \IF{$Carrots \to pigs $}
      \IF{$Paige \in pigs \to true$}
         \STATE I give the $Carrots$ to Paige
         \STATE Paige is very happy
      \ELSE
         \STATE Paige's not here. I gave them to George
      \ENDIF
   \ELSE
      \STATE Feed myself
   \ENDIF
 \end{algorithmic}
\end{algorithm}

效果图:


算法效果图.png
\begin{thebibliography}{00}
\bibitem{b1} P. Yuan, X. Xiong, L. Lei and K. Zheng, ``Design and Implementation on Hyperledger-Based Emission Trading System," IEEE Access, 2018, 6109--6116.
\bibitem{b2} T. T. Than, S. Vasupongayya, ``Blockchain based secret-data sharing model for personal health record system,'' 2018 5th International Conference on Advanced Informatics: Concept Theory and Applications (ICAICTA). IEEE, 2018, pp. 196--201.
\end{thebibliography}
\end{document}
上一篇下一篇

猜你喜欢

热点阅读