latex使用教程(latex使用教程是什么)

2022-10-24 科技百科 16万阅读 投稿:花颜。Blue
最佳答案LaTeX是一种基于ΤΕΧ的排版系统,利用这种格式,即使使用者没有排版和程序设计的知识也可以充分发挥由TeX所提供的强大功能,能在几天、甚至几小时内生成很多具有书籍质量的印刷品。

latex使用教程是什么呢?不清楚的小伙伴来看看小编今天的分享吧!

1latex界定:

LaTeX是一种基于ΤΕΧ的排版系统,利用这类格式,即便使用人没有排版和编程设计的知识还可以充分运用由TeX所提供强劲作用,可在几日、乃至几小时内生成许多具备书本品质的印刷物。针对生成复杂表格和公式,这一点表现的尤为突出。因此它十分适用生成高印刷品质的科技和数学类文档。这个系统同样适用于生成从简单信函到详细书籍的全部别的类型的文档。

2LaTeX文件的一般词法:

\documentstyle{article}

\begin{document}

This is a first example of a simple inputfile.

\end{document}

假如是汉语,将\documentstyle{article}改成\documentstyle{carticle}

3标准:

(1)空格:Latex中空格失灵。

(2)换行:用控制命令“\\”,或“ \newline”.

(3)按段:用控制命令“\par” 或多出一行。

(4)换页:用控制命令“\newpage”或“\clearpage”

(5)独特控制字符:#,$, %, &, - ,{, }, ^, ~

latex使用教程(latex使用教程是什么)

4西文字符变换表:

\rm 罗马字体 \it 西班牙字体

\bf 黑体 \sl 歪斜体

\sf 等线体 \sc 小体大写字母

\tt 打字机字体 \mit 数学斜体

竖向固定间隔控制命令

\smallskip \medskip \bigskip

页面控制命令

\textwidth=14.5cm

\textheight=21.5cm

系统默认:字号10pt= 五号字;西文字体为罗马字体;textwidth=12.2cm,textheight=18.6cm。等同于美国标准信笺尺寸。

5中英文LaTeX模版

汉语LaTeX2e模版,这时文件的扩展名为.ctx。模版中%后边的中文是中文注释,读者能够阅读这种模版中的中文注释,以了解所涉及的LaTeX2e命令的内涵。

\documentclass[11pt]{ccart}%文档类表明

%也可以选择的类是cctbook

\setlength{\parindent}{12pt}%自然段第一行的缩进量为12pt

\setlength{\parskip}{10pt plus1ptminus1pt}

%自然段间的距离为10pt,并可在8pt到11pt中间转变

\setlength{\baselineskip}{8pt plus2ptminus1pt}

%行间距为8pt,并可在7pt到10pt中间转变

\setlength{\textheight}{21truecm}%版块高为21cm

\setlength{\textwidth}{14.5truecm}%版块宽为14.5cm

\begin{document}%正文逐渐

\title{Thesis}%标题,双反斜杠\\表明换行

\author{author\\Dept. of Math.}

%作者名,企业,通讯地址等,双反斜杠\\表明换行

\date{2003/8/5}

%文章写作日期,假如省去此番,计算机日期做为创作日期

\maketitle%创建标题部分

%文章的正文键入

\begin{center}%参考文献的书写

latex使用教程(latex使用教程是什么)

{\heiti 参考文献}

\end{center}

\vskip 0.1cm

\def\hang{\hangindent\parindent}

\def\textindent#1{\indent\llap{#1\enspace}\ignorespaces}

\def\re{\par\hang\textindent}

\re{[1]} Nordhaus E,Stewart B,WhiteA.On theMaximum Genus of a Graph.{\it J.combinatorial TheoryB},1971,11:258-267

\re{[2]} Skoviera M.The Maximum Genus of Graphsof Diameter Two.{\it Discrete Math}.1991, 87:175-180

\end{document}%源代码的完毕

英文LaTeX2e模版

\documentclass[11pt]{article}%文档类表明

%也可以选择的类是book,report

\setlength{\parindent}{12pt}%自然段第一行的缩进量为12pt

\setlength{\parskip}{10pt plus1ptminus1pt}

%自然段间的距离为10pt,并可在8pt到11pt中间转变

\setlength{\baselineskip}{8pt plus2ptminus1pt}

%行间距为8pt,并可在7pt到10pt中间转变

\setlength{\textheight}{21truecm}%版块高为21cm

\setlength{\textwidth}{14.5truecm}%版块宽为14.5cm

\begin{document}%正文逐渐

\title{Thesis}%标题,双反斜杠\\表明换行

\author{author\\Dept. of Math.}

%作者名,企业,通讯地址等,双反斜杠\\表明换行

\date{2003/8/5}

%文章写作日期,假如省去此番,计算机日期做为创作日期

\maketitle%创建标题部分

%文章的正文键入

\section{Introduction}%第一节前言(设备自动编号)

{\bf Theorem 1.} {\it For any fixed $\rho>0$,we have

$$||R(u,\rho)||\leq ||R_1(u,\rho)||\leq2||R(u,\rho)||,~~~\forall u\in H.

\eqno(10)$$ Hence, (2) and (3) are equivalent forany fixed$\rho>0$.}

%一般定律的书写

{\bf Proof.}

\begin{thebibliography}{99}

\bibitem{Kind} D. Kinderlehrer and G.Stampacchia, {\it An Introduction to

Variational Inequalities and Their Applications},Academic Press,New York, (1980).

\end{thebibliography}%参考文献

\end{document}%源代码的完毕

之上就是小编今天的分享了,希望可以帮助到大家。

声明:掌知识所有作品(图文、音视频)均由用户自行上传分享,仅供网友学习交流。若您的权利被侵害,请联系mysmallcode@qq.com