好几天说要写博客写博客,一直打酱油中。
今天做的事情,主要就是熟悉了Latex的运用,Latex这个编辑工具做出来的文章版面以及效果真的是非常的漂亮。
把今天遇到的问题总结如下,以防遗忘:
1.在双栏和单栏中防止图像时,使用的关键字分别为figure和figure*
\begin{figure*}[htbp]
\centering
\includegraphics[width=10cm]{Fig1.pdf}
\centering
\caption{\csentence{The Entire information system.}}
\end{figure*}
其中{figure*}后面的参数分别代表着:
h Here - at the position in the text where the figure environment appears.
t Top - at the top of a text page.
b Bottom - at the bottom of a text page.
p Page of floats - on a separate float page, which is a page containing no text, only floats.
使用时包含宏包:
\usepackage{graphicx}
2.编制参考文献时,期刊名称出现&时使用:
\&
3.如果出现了非英文的字母,使用如下输入:
LaTeX command | Sample | Description |
---|---|---|
\`{o} | ò | grave accent |
\'{o} | ó | acute accent |
\^{o} | ô | circumflex |
\"{o} | ö | umlaut, trema or dieresis |
\H{o} | ő | long Hungarian umlaut (double acute) |
\~{o} | õ | tilde |
\c{c} | ç | cedilla |
\k{a} | ą | ogonek |
\l | ł | l with stroke |
\={o} | ō | macron accent (a bar over the letter) |
\b{o} | o | bar under the letter |
\.{o} | ȯ | dot over the letter |
\d{u} | ụ | dot under the letter |
\r{a} | å | ring over the letter (for å there is also the special command \aa) |
\u{o} | ŏ | breve over the letter |
\v{s} | š | caron/hacek ("v") over the letter |
\t{oo} | o͡o | "tie" (inverted u) over the two letters |
4.连续编号的项目(参考http://mrrmb.blog.hexun.com/14421289_d.html):
\begin{enumerate}
\item
\end{enumerate}
例
代码
\documentclass{jarticle}
\begin{document}
\begin{itemize}
\item \LaTeXe{}処理に必要なファイル
\begin{enumerate}
\item texファイル---文書のマークアップ原稿
\item clsファイル---文章クラス
\item cloファイル---クラスオプション
\end{enumerate}
\item \LaTeXe{}処理で生成されるファイル
\begin{enumerate}
\item auxファイル---補助ファイル
\item logファイル---ログファイル
\item tocファイル---目次項目ファイル
\item dviファイル---\TeX/\LaTeX{}の組版済みファイル
\end{enumerate}
\end{itemize}
\end{document}
输出结果
Latex插入项目符号和编号(来自http://blog.sina.com.cn/s/blog_3fe961ae0101eoht.html)
关于{itemize}里序号的形式:latex默认生成的简单列表,默认为一个小圆点,而我们在写文章时可能想要一些不一样的列表符号,比如 -, * 之类的. 我们可以这样写
\begin{itemize} \item[-] good morning... \item[-] good morning.... \end{itemize} |
生成的列表即为
- good morning - good morning |
带序号
关于{enumerate},这是用于带序号的列表。 默认生成 1,2,3。如果想要其他修饰,如(1) (2)....或step-1,step2,需要加载 \usepackage{enumerate},然后如下使用
\begin{enumerate}[step 1] \item good morning... \item good morning.... \end{enumerate} |
5. Latex 换行顶格、不缩进,使用的命令为:
\noindent