開篇:Latex學習筆記(一)


好幾天說要寫博客寫博客,一直打醬油中。

今天做的事情,主要就是熟悉了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}這是用於帶序號的列表 默認生成 123如果想要其他修飾(1) (2)....step-1step2需要加載 \usepackage{enumerate}然后如下使用

\begin{enumerate}[step 1]

\item good morning...

\item good morning....

\end{enumerate}

 

5. Latex 換行頂格、不縮進,使用的命令為:

\noindent


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM