Latex学习(1)

先安装CTEX套装,再安装CTEX-Fonts套装:在安装完CTEX(full)套装的完整版之后,通过所有程序|CTeX|FontSetup安装CTEX-Fonts套装。

安装CTeX的同时会安装WinEdt,前者是免费的,但后者需要破解。

测试程序text.tex:

<span style="font-size:18px;">\documentclass[CJK]{cctart}
\begin{document}
    中文测试文档。
\end{document}</span>

\documentclass{book} %book, report, letter ,article调用已有的模版
%\usepackage{amsmatch} %宏包
%导言区
\begin{document}


\title{This is my book}


\author{Wang Enlai}


\date{}


\maketitle


\tableofcontents     %要便宜两遍才会显示目录
 
\mainmatter          %目录以正文部分作为起始页
 
\part{elementary}


\chapter{introduction}


\section{first section}


\chapter{summary}


\part{advanced}


The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.


The quick brown fox jumps over the lazy dog. The $a^2+b^2=c^2$quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.


\% \$ \{...\}  $\backslash$


$$a^2+b^2=c^2$$


\end{document} 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值