正文

CTeX,LaTeX,TeX2006-04-10 21:24:00

【评论】 【打印】 【字体: 】 本文链接:http://blog.pfan.cn/atom/12224.html

分享到:

使用过几次,看到这篇文章觉得蛮简短,完全可以作为初学者入门。
另外需要注意的是:这里用到的所有的键盘上能出现的字符全部是英文状态下输入的。

文章来源于:

http://www.gridchina.org/~wfsun/blog/2004/05/ctexlatextex.html

排版工具。
CTeX是ctex工作组出的支持中文的一个封装。在windows下由安装版本。比较大
200多M吧。
装了一下,看了一下他自带的demo,感觉还可以,挺好用。
CTeX集成的是WinEdt/MiKTeX
里面的保留字很多,主要是:
\documentclass[a4paper,11pt]{article}
% define the title
\author{H.~Partl}
\title{Minimalism}
\begin{document}
% generates the title
\maketitle
% insert the table of contents
\tableofcontents
\section{Start}
Well, and here begins my lovely article.
\section{End}
\ldots{} and here it ends.
\end{document}

看到例子的收获是:
%为注释
\section{Color Package Example} 一章的开始

\medskip 换行,常用

\begin{center}
\includegraphics[width=2.5583in]{WinEdt}\\
\end{center}
插入图片

\noindent \textbf{Example 2 (next page):} 不加索引

\medskip 好像是换行?

\begin{verbatim}
golfer.eps (27 KB)
golfer.png (10 KB)
golfer1.eps (38 KB)
golfer1.pdf (81 KB)
\end{verbatim} verbaim相当于把所有里面的东西不当特殊字符处理。

\definecolor{Dark}{gray}{.20} 字体颜色
\colorbox{red}{Black text on red background} 背景颜色

\begin{tabular}{|c|c|c|c|c|} 画表格,先画5列。
\hline 画横格
% after \\: \hline or \cline{col1-col2} \cline{col3-col4} ...
 &  &  &  &  \\
\hline
 &  &  &  &  \\
 &  &  &  &  \\
 &  &  &  &  \\
\hline
\end{tabular} &为字符直接的分隔标志

\rotatebox{0}{
\begin{tabular}{|c|c|c|c|c|c|}
% after \\: \hline or \cline{col1-col2} \cline{col3-col4} ...
xx & yy & zz & a & b & c \\
xx & yy & zz & a & b & c \\
xx & yy & zz & a & b & c \\
\end{tabular}
}
转来转去

\landscape 横幅的风景模式

\section{Useful \TeX\-ing Hints} 将TeX用花体写

\url{http://www.tug.org} 超级链接

晚上听一个什么人讲latex,正好和我看的东西差不多,都是入门的东西。现记录如下:
1、latex中,方括号里面的是可选项,花括号里面的是必选项
2、要引入相应的包,unpacket[***],就和include的作用一样
3、注意编译多次。改动交叉引用时,第一次是编译改动的内容,第二次是改动引用。
4、在编译文摘库时,先编译latex两次,再编译文摘库,再编译latex一次
5、\hfill时对齐
6、"\"符号时一个命令的开始,以 空格或者"\"结束命令
7、\begin{equation}在公式中引入编号 \begin{math}不引入编号
8、在正文中要引入公式要用两个$括起来,可以在中英文交替出现的文章中,凡是英文的都用两个$括起来

还算是有点收获的。呵呵

阅读(9263) | 评论(0)


版权声明:编程爱好者网站为此博客服务提供商,如本文牵涉到版权问题,编程爱好者网站不承担相关责任,如有版权问题请直接与本文作者联系解决。谢谢!

评论

暂无评论
您需要登录后才能评论,请 登录 或者 注册