himcm競賽如何使用LaTeX讓論文更美觀?

一年一度的 HiMCM 美國高中生數學建模大賽又要開始了。在比賽中,將有一部分同學選擇用LaTeX排版論文,以使論文獲得更好的視覺效果;但是,就既往經驗來看,其中部分同學,還並沒有熟練地掌握LaTeX的相關(guan) 技巧,隻是比較生硬的套用網上所給的論文模板,一旦出現一些小問題就會(hui) 不知所措。

【備賽工具】正在報名丨himcm必備,如何使用LaTeX讓論文更美觀?

今天給大家帶來HIMCM必備——LaTeX的使用技巧

LaTeX常用網站

截圖公式生成

https://mathpix.com/

手寫(xie) 公式生成

https://webdemo.myscript.com/views/math/index.html

表格生成

https://tablesgenerator.com/

LaTeX的使用

字體(ti) 設置 導航欄->LaTex->字體(ti) 格式

加粗 textbf{hello} Ctrl+B

斜體(ti)   textit{yez} Ctrl+I

符號 在目錄欄裏

1. 不進行首行縮進:代碼前加  noindent

2. 第一端首行縮進2字符:hspace*{2em}

3. 上下端間隔:vspace{2em}

有序列表

有序列表的每一項用item開始
begin{enumerate}
item
end{enumerate}

無序列表

深入了解並開始自行創建內(nei) 容前,我們(men) 將展示 Visio 提供的多個(ge) 入門圖表。通過這種方式,可了解程序中的圖表的觀感。
 
begin{itemize}
item The first is*.
\%換行%
item The second is*.              

end{itemize}

單擊“類別”

改變表格整體(ti) 大小

包:usepackage{graphicx}在tabular外加上scalebox{1.2} 1.2為(wei) 放大的倍數 begin{table}[h] centering caption{The value of the two assessment indicators}%標題 vspace{1em} scalebox{1.2}{ begin{tabular}{|l|l|l|} hline & Percent of pass & Accuracy rate \ hline BTC      & 97.65%   & 99.7%  \ hline GOLD      & 97.15%   & 100.00%  \ hline end{tabular}} label{t3} end{table}

普通表格  
begin{table}[h]
centering
begin{tabular}{|l|l|l|}
hline
number & name & age \ hline
1      & xx   & 12  \ hline
2      & ee   & 15  \ hline
end{tabular}
end{table}

三線表

begin{table}[h]
begin{center}%表格居中        caption{National vulnerability classification}%標題
begin{tabular}{ccc}%第幾個(ge) c表示第幾列居中
toprule
multicolumn{1}{m{2cm}}{centering Symbol}
&multicolumn{1}{m{10cm}}{centering Definition}
&multicolumn{1}{m{2cm}}{centering Unit}\
midrule
$E_0$&Single photon energy&ev\
$h$&Planck constant&eV·s\
$v$&Photon frequency&hz\
$E_0$&Single photon energy&ev\
$lambda$&Wavelength&m\
$E$&The energy of all the photons&ev\
$N$&the total number of photons participating in the transition&mol\
$I$&Projection of strength&ev\
$I_0$&Illumination intensity&ev\
$epsilon$&Molar absorption coefficient&L/(mol·cm)\
$b$&Optical path length&$mu$m\
$c$&The concentration of light-absorbing substances&mol/L\
$T$&Transmissivity&\
$alpha$&The absorption coefficient&1/m\
$k$&extinction coefficient&\
$d$&The thickness of the metal&$mu$m\
bottomrule
end{tabular}label{tb: lable}
end{center}
end{table}

斜線分割單元格

樣式:

【備賽工具】正在報名丨himcm必備,如何使用LaTeX讓論文更美觀?加一個(ge) 包:    usepackage{diagbox}
diagbox[width=斜線的長度和寬度]
 
begin{table}[]
caption{The predicted value of *}%標題
vspace{1em}
centering
begin{tabular}{@{}ccccccc@{}}
toprule
multicolumn{2}{c}{begin{tabular}[c]{@{}c@{}}diagbox[width=10em,trim=l]{Number of\ Hidden Neurons}{Number of\ delays d}end{tabular}} & 2                                                         & 4                                                         & 6                                                         & 8                                                         & 10                                                        \ midrule
5   & begin{tabular}[c]{@{}c@{}}Testing\ Allend{tabular}  & begin{tabular}[c]{@{}c@{}}0.99802\ 0.99626end{tabular} & begin{tabular}[c]{@{}c@{}}0.99769\ 0.99643end{tabular} & begin{tabular}[c]{@{}c@{}}0.99619\
0.99687end{tabular} & begin{tabular}[c]{@{}c@{}}0.99583\ 0.99727end{tabular} & begin{tabular}[c]{@{}c@{}}0.99162\ 0.99634end{tabular} \ 0.99596end{tabular} & begin{tabular}[c]{@{}c@{}}0.99267\ 0.99592end{tabular} & begin{tabular}[c]{@{}c@{}}0.99201\ 0.99535end{tabular} & begin{tabular}[c]{@{}c@{}}0.97491\ 0.99211
end{tabular} \
bottomrule

公式

無序公式

有序公式

begin{equation}

end{equation}

%多行連等公式

begin{align}

a & = b + c + d + e \

& = g + f\

&=m

end{align}

在編輯器頭部加入宏包 usepackage{float}
在插入圖片的語句後加個(ge) [H]   begin{figure}[H]

單張圖片

begin{figure}[htpb]

centering

includegraphics[scale=0.4]{figures/111.png}

vspace{-.5em}

caption{The name of this figure}

label{fig:1}

end{figure}

圖片並排

導入包:

usepackage{graphicx}
usepackage{subfigure}

begin{figure}[htbp]

subfigure[name of the subfigure] %第一張子圖

begin{minipage}{7cm}

centering          %子圖居中

includegraphics[scale=0.5]{six.png}   %以pic.jpg的0.5倍大小輸出            end{minipage}

subfigure[name of the subfigure] %第二張子圖

begin{minipage}{7cm}

centering      %子圖居中

includegraphics[scale=0.5]{se.png}   %以pic.jpg的0.5倍大小輸出            end{minipage}

caption{name of the figure} %  %大圖名稱

label{fig:2}  %圖片引用標記

end{figure}

板浮動體(ti)

根據頁麵大小自動調整圖片和表格的位置

浮動體(ti) 的位置參數

h 當前位置(代碼所處的上下文)
t 頂部
b 底部
p 單獨成頁
! 在決(jue) 定位置時忽視限製

參考文獻

begin{thebibliography}{99}
bibitem{1}
Steven J. Leon.
Linear Algebra with Applications.
China Machine Press, 51 (2019).
bibitem{2}
Steven J. Leon.
Linear Algebra with Applications.
China Machine Press, 51 (2019).
end{thebibliography}
 
引用 cite{1}

2023年HiMCM競賽規則 【備賽工具】正在報名丨himcm必備,如何使用LaTeX讓論文更美觀?1、比賽時間

報名截止日期:2023年11月1日,美國東(dong) 部標準時間下午2:00

競賽窗口打開:2023年11月1日,美國東(dong) 部標準時間下午3:01

競賽窗口關(guan) 閉:2023年11月14日,美國東(dong) 部標準時間下午8:00

解決(jue) 方案報告的最後期限:2023年11月14日,美國東(dong) 部標準時間晚上9:00

2、比賽結果

結果將於(yu) 2024年1月底2月初左右公布

*每支隊伍100美元注冊(ce) 費

3、比賽規則

適合學生:9~12年級高中生

比賽語言:英語

比賽地點:團隊可以選擇所在地的任意地點

比賽形式:由1-4名學生組成參賽隊伍,並配一名指導老師

注意:HiMCM官方文件要求一支隊伍的所有成員來自同一所學校,因為(wei) 在獎狀上會(hui) 寫(xie) 明學校。

比賽題量:1題;從(cong) Problem A 和Problem B 中任選一道進行答題

比賽題型:來源實際生活場景的問答題,用一定的數學模型解答後,形成一篇論文提交

競賽要求:競賽時可以用書(shu) 本、計算、軟件、網絡等資源,但不能和隊外的任何人(包括本隊的指導老師)進行任何方式的討論。競賽結束後向COMAP遞交答卷,由COMAP組織專(zhuan) 家評閱。

【競賽報名/項目谘詢+微信:mollywei007】

上一篇

深國交/貝賽思/深中國際等參加的AMC競賽對背景提升有什麽用?

下一篇

2023美國大學生數學建模競賽C題解題思路和分析

你也可能喜歡

  • 暫無相關文章!

評論已經被關(guan) 閉。

插入圖片
返回頂部