Latex常用指令學習


1:\begin{}與\end{}的用法

2:\textcolor{red}{\fangsong\zihao{2}漢字:}

3:\newpage  新的一頁

4:\heiti\zihao{4}\bf{}

5:\qquad  與 \hfill   加空白     矩陣中數字空用  :$\

公式用\,加空格

6:\newline 與 \\   斷行

7:\bigskip   \medskip   \smallskip 增加段落間距

8:\noindent  \indent    段落的縮進

9:\small\normalsize \large \LARGE \huge \Huge 字體大小設置

10:\begin{quote}   文本  \end{quote}  文本兩邊縮進一定長度

11:空行表示分段

12:格式列表設置:

\begin{itemize} \item列表文本 \end{itemize} 默認黑點標簽  可利用\item【1.1】改變樣式

\begin{enumerate}\item列表文本 \end{enumerate} 數字標簽

13:參考文獻設置

\begin{thebibliography}{99}   \item{關鍵詞} 或\bibitem{關鍵詞}

\end{ thebibliography }

引用:\cite{關鍵詞}或\upcite{關鍵詞}

\begin{thebibliography}{99}

\bibitem{DF2005_Auto1}

Ding F, Chen T. Hierarchical gradient-based identification of

multivariable discrete-time systems [J].  Automatica, 2005, 41(2):315-325

\cite{ DF2005_Auto1} 或\upsite{DF2005_Auto1}

………………

\end{thebibliography}

14:列表設置:

\newcounter{fig}

\begin{list}

\item   文本

………

\end{list}

15:注釋   %開頭 若有多行每行都需以%開頭

16:腳注和邊注

\footnote{{\songti\zihao{-5}{\heiti收搞日期}: 2007-10-19 \\

{\heiti基金項目}: 國家自然科學基金項目(No. 60973043).\\

{\heiti作者簡介}: XXX(1984-), 女, XXX人, 控制理論與控制工程碩士研究生. xxx@xxxx.xxx. \\

丁鋒(1963-), 男, 湖北廣水人, 博士生導師. 研究方向為系統建模、系統辨識、過程控制、多率系統等. fding@jiangnan.edu.cn}}

17:\iffalse

18:\mu_k(t)\leqslant2\left(\sum^{t}_{i=1}[\|\hat

{\bfpsi}_k(t)\|^2+\|\bfvarphi(t)\|^2]\right)^{-1}.   表示方程為:

19:\[

      公式

\]     :   單行公式

20:矩陣公式

\vect{y_1(t)}{y_2(t)}-0.85\vect{y_1(t-1)}{y_2(t-1)}=

\left[\begin{array}{rr}2.00&\1.00\\1.00&\2.00\end{array}\right]\vect{u_1(t-1)}{u_2(t-1)}

\bftheta^{\T}=\bfQ_1=\mtwor{2.00}{1.00}{1.00}{2.00}

表示:

21:表的設置:

\begin{table}[!hbt]

\centering %\tabcolsep 3mm

表\ref{hhq1_tab1}: \  參數估計及其誤差($L=1000$, $\sigma_1^2=\sigma_2^2=1.00^2$)

\vspace{-3mm}

\caption{The parameter estimates and errors ($L=1000$, $\sigma_1^2=\sigma_2^2=1.00^2$)}

\label{hhq1_tab1}

\vspace{-3mm}

\tabcolsep 3mm

\begin{tabular}{cccccccc}\\\hline :加橫線      c表示列的數目

 

表的內容 (可利用$   $對其表中內容)

 

\end{tabular}\end{table}

表示:

22:圖的設置:

\begin{figure}[!hbt]

\includegraphics[width=0.8\hsize]{CARMA-like-HG1_sigma100_L1000.eps}\\ 打開圖標

 %The original size: width=15cm, height=8cm

\vspace{-2mm}

\centering

圖\ref{hhq1_fig1} \ 估計誤差$\delta$隨$k$變化曲線($L=1000$, $\sigma_1^2=\sigma_2^2=1.00^2$)

 \vspace{-1mm}

\caption{The parameter estimation errors $\delta$ versus $k$ ($L=1000$, $\sigma_1^2=\sigma_2^2=1.00^2$)}

\label{hhq1_fig1}

\end{figure}

 

表的下標注表示:

23:整體框架

\begin{document}

 

文本

\end{document}

 

24方框圖表示:

25:公式編輯

  1.\begin{equation}    $單個公式 $ \end{equation}   或

\begin{eqnarray}    $多行公式 $    \end{eqnarray}

2.\{        \} 表示大括號{   }

3.\left{          \right }  {  }會根據公式大小調整尺寸

4.$  $   公式對齊符號

5.公式不顯示用 \non  或 \nonumber      標簽公式式用  \label{關鍵詞}

  引用  \ref{關鍵詞}

6.數學公式黑體設置        $ \mathbf{   }$

tex提供300多條基本排版命令。。。

 

from: http://xuliewei.cn/archives/2205


免責聲明!

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



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