CTeX的安装及使用

您所在的位置:网站首页 ctex怎么用 CTeX的安装及使用

CTeX的安装及使用

2024-06-08 21:29| 来源: 网络整理| 查看: 265

在学习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*} 作者信息,直接粘贴替换,多个作者,中间用and连接。 \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}


【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3