好幾天說要寫博客寫博客,一直打醬油中。
今天做的事情,主要就是熟悉了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

