<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">\chapter{å›¾è¡¨ç¤ºä¾‹}

\section{æ’å›¾}

å›¾ç‰‡é€šå¸¸åœ¨ \env{figure} çŽ¯å¢ƒä¸­ä½¿ç”¨ \cs{includegraphics} æ’å…¥ï¼Œå¦‚å›¾~\ref{fig:example} çš„æºä»£ç&nbsp;ã€‚
å»ºè®®çŸ¢é‡å›¾ç‰‡ä½¿ç”¨ PDF æ&nbsp;¼å¼ï¼Œæ¯”å¦‚æ•°æ®å¯è§†åŒ–çš„ç»˜å›¾ï¼›
ç…§ç‰‡åº”ä½¿ç”¨ JPG æ&nbsp;¼å¼ï¼›
å…¶ä»–çš„æ&nbsp;…æ&nbsp;¼å›¾åº”ä½¿ç”¨æ—&nbsp;æŸçš„ PNG æ&nbsp;¼å¼ã€‚
æ³¨æ„ï¼ŒLaTeX ä¸æ”¯æŒ TIFF æ&nbsp;¼å¼ï¼›EPS æ&nbsp;¼å¼å·²ç»è¿‡æ—¶ã€‚

\begin{figure}
	\centering
	\includegraphics[width=0.5\linewidth]{example-image-a.pdf}
	\caption*{å›½å¤–çš„æœŸåˆŠä¹&nbsp;æƒ¯å°†å›¾è¡¨çš„æ&nbsp;‡é¢˜å’Œè¯´æ˜Žæ–‡å­—å†™æˆä¸€æ®µï¼Œéœ€è¦æ”¹å†™ä¸ºæ&nbsp;‡é¢˜åªå«å›¾è¡¨çš„åç§°ï¼Œå…¶ä»–è¯´æ˜Žæ–‡å­—ä»¥æ³¨é‡Šæ–¹å¼å†™åœ¨å›¾è¡¨ä¸‹æ–¹ï¼Œæˆ–è€…å†™åœ¨æ­£æ–‡ä¸­ã€‚}
	\caption{ç¤ºä¾‹å›¾ç‰‡æ&nbsp;‡é¢˜}
	\label{fig:example}
\end{figure}

è‹¥å›¾æˆ–è¡¨ä¸­æœ‰é™„æ³¨ï¼Œé‡‡ç”¨è‹±æ–‡å°å†™å­—æ¯é¡ºåºç¼–å·ï¼Œé™„æ³¨å†™åœ¨å›¾æˆ–è¡¨çš„ä¸‹æ–¹ã€‚
å›½å¤–çš„æœŸåˆŠä¹&nbsp;æƒ¯å°†å›¾è¡¨çš„æ&nbsp;‡é¢˜å’Œè¯´æ˜Žæ–‡å­—å†™æˆä¸€æ®µï¼Œéœ€è¦æ”¹å†™ä¸ºæ&nbsp;‡é¢˜åªå«å›¾è¡¨çš„åç§°ï¼Œå…¶ä»–è¯´æ˜Žæ–‡å­—ä»¥æ³¨é‡Šæ–¹å¼å†™åœ¨å›¾è¡¨ä¸‹æ–¹ï¼Œæˆ–è€…å†™åœ¨æ­£æ–‡ä¸­ã€‚

å¦‚æžœä¸€ä¸ªå›¾ç”±ä¸¤ä¸ªæˆ–ä¸¤ä¸ªä»¥ä¸Šåˆ†å›¾ç»„æˆæ—¶ï¼Œå„åˆ†å›¾åˆ†åˆ«ä»¥ (a)ã€(b)ã€(c)...... ä½œä¸ºå›¾åºï¼Œå¹¶é¡»æœ‰åˆ†å›¾é¢˜ã€‚
æŽ¨èä½¿ç”¨ \pkg{subcaption} å®åŒ…æ¥å¤„ç†ï¼Œ æ¯”å¦‚å›¾~\ref{fig:subfig-a} å’Œå›¾~\ref{fig:subfig-b}ã€‚

\begin{figure}
	\centering
	\subcaptionbox{åˆ†å›¾ A\label{fig:subfig-a}}
	{\includegraphics[width=0.35\linewidth]{example-image-a.pdf}}
	\subcaptionbox{åˆ†å›¾ B\label{fig:subfig-b}}
	{\includegraphics[width=0.35\linewidth]{example-image-b.pdf}}
	\caption{å¤šä¸ªåˆ†å›¾çš„ç¤ºä¾‹}
	\label{fig:multi-image}
\end{figure}



\section{è¡¨æ&nbsp;¼}

è¡¨åº”å…·æœ‰è‡ªæ˜Žæ€§ã€‚ä¸ºä½¿è¡¨æ&nbsp;¼ç®€æ´æ˜“è¯»ï¼Œå°½å¯èƒ½é‡‡ç”¨ä¸‰çº¿è¡¨ï¼Œå¦‚è¡¨~\ref{tab:three-line}ã€‚
ä¸‰æ¡çº¿å¯ä»¥ä½¿ç”¨ \pkg{booktabs} å®åŒ…æä¾›çš„å‘½ä»¤ç”Ÿæˆã€‚

\begin{table}
	\centering
	\caption{ä¸‰çº¿è¡¨ç¤ºä¾‹}
	\begin{tabular}{ll}
		\toprule
		æ–‡ä»¶å          &amp; æè¿°                         \\
		\midrule
		nxuthesis.dtx   &amp; æ¨¡æ¿çš„æºæ–‡ä»¶ï¼ŒåŒ…æ‹¬æ–‡æ¡£å’Œæ³¨é‡Š \\
		nxuthesis.cls   &amp; æ¨¡æ¿æ–‡ä»¶                     \\
		nxuthesis-*.bst &amp; BibTeX å‚è€ƒæ–‡çŒ®è¡¨æ&nbsp;·å¼æ–‡ä»¶    \\
		\bottomrule
	\end{tabular}
	\label{tab:three-line}
\end{table}

è¡¨æ&nbsp;¼å¦‚æžœæœ‰é™„æ³¨ï¼Œå°¤å…¶æ˜¯éœ€è¦åœ¨è¡¨æ&nbsp;¼ä¸­è¿›è¡Œæ&nbsp;‡æ³¨æ—¶ï¼Œå¯ä»¥ä½¿ç”¨ \pkg{threeparttable} å®åŒ…ã€‚
ç&nbsp;”ç©¶ç”Ÿè¦æ±‚ä½¿ç”¨è‹±æ–‡å°å†™å­—æ¯ aã€bã€câ€¦â€¦é¡ºåºç¼–å·ï¼Œæœ¬ç§‘ç”Ÿä½¿ç”¨åœˆç&nbsp; â‘&nbsp;ã€â‘¡ã€â‘¢â€¦â€¦ç¼–å·ã€‚

\begin{table}
	\centering
	\begin{threeparttable}[c]
		\caption{å¸¦é™„æ³¨çš„è¡¨æ&nbsp;¼ç¤ºä¾‹}
		\label{tab:three-part-table}
		\begin{tabular}{ll}
			\toprule
			æ–‡ä»¶å                 &amp; æè¿°                         \\
			\midrule
			nxuthesis.dtx\tnote{a} &amp; æ¨¡æ¿çš„æºæ–‡ä»¶ï¼ŒåŒ…æ‹¬æ–‡æ¡£å’Œæ³¨é‡Š \\
			nxuthesis.cls\tnote{b} &amp; æ¨¡æ¿æ–‡ä»¶                     \\
			nxuthesis-*.bst        &amp; BibTeX å‚è€ƒæ–‡çŒ®è¡¨æ&nbsp;·å¼æ–‡ä»¶    \\
			\bottomrule
		\end{tabular}
		\begin{tablenotes}
			\item [a] å¯ä»¥é€šè¿‡ xelatex ç¼–è¯‘ç”Ÿæˆæ¨¡æ¿çš„ä½¿ç”¨è¯´æ˜Žæ–‡æ¡£ï¼›
			ä½¿ç”¨ xetex ç¼–è¯‘ \file{nxuthesis.ins} æ—¶åˆ™ä¼šä»Ž \file{.dtx} ä¸­åŽ»é™¤æŽ‰æ–‡æ¡£å’Œæ³¨é‡Šï¼Œå¾—åˆ°ç²¾ç®€çš„ \file{.cls} æ–‡ä»¶ã€‚
			\item [b] æ›´æ–°æ¨¡æ¿æ—¶ï¼Œä¸€å®šè¦è®°å¾—ç¼–è¯‘ç”Ÿæˆ \file{.cls} æ–‡ä»¶ï¼Œå¦åˆ™ç¼–è¯‘è®ºæ–‡æ—¶è½½å…¥çš„ä¾ç„¶æ˜¯æ—§ç‰ˆçš„æ¨¡æ¿ã€‚
		\end{tablenotes}
	\end{threeparttable}
\end{table}

å¦‚æŸä¸ªè¡¨éœ€è¦è½¬é¡µæŽ¥æŽ’ï¼Œå¯ä»¥ä½¿ç”¨ \pkg{longtable} å®åŒ…ï¼Œéœ€è¦åœ¨éšåŽçš„å„é¡µä¸Šé‡å¤è¡¨çš„ç¼–å·ã€‚
ç¼–å·åŽè·Ÿè¡¨é¢˜ï¼ˆå¯çœç•¥ï¼‰å’Œâ€œï¼ˆç»­ï¼‰â€ï¼Œç½®äºŽè¡¨ä¸Šæ–¹ã€‚ç»­è¡¨å‡åº”é‡å¤è¡¨å¤´ã€‚

\begin{longtable}{cccc}
	\caption{è·¨é¡µé•¿è¡¨æ&nbsp;¼çš„è¡¨é¢˜}
	\label{tab:longtable} \\
	\toprule
	è¡¨å¤´ 1 &amp; è¡¨å¤´ 2 &amp; è¡¨å¤´ 3 &amp; è¡¨å¤´ 4 \\
	\midrule
	\endfirsthead
	\caption*{ç»­è¡¨~\thetable\quad è·¨é¡µé•¿è¡¨æ&nbsp;¼çš„è¡¨é¢˜} \\
	\toprule
	è¡¨å¤´ 1 &amp; è¡¨å¤´ 2 &amp; è¡¨å¤´ 3 &amp; è¡¨å¤´ 4 \\
	\midrule
	\endhead
	\bottomrule
	\endfoot
	Row 1  &amp; &amp; &amp; \\
	Row 2  &amp; &amp; &amp; \\
	Row 3  &amp; &amp; &amp; \\
	Row 4  &amp; &amp; &amp; \\
	Row 5  &amp; &amp; &amp; \\
	Row 6  &amp; &amp; &amp; \\
	Row 7  &amp; &amp; &amp; \\
	Row 8  &amp; &amp; &amp; \\
	Row 9  &amp; &amp; &amp; \\
	Row 10 &amp; &amp; &amp; \\
\end{longtable}



\section{ç®—æ³•}

ç®—æ³•çŽ¯å¢ƒå¯ä»¥ä½¿ç”¨ \pkg{algorithms} æˆ–è€… \pkg{algorithm2e} å®åŒ…ã€‚

\renewcommand{\algorithmicrequire}{\textbf{è¾“å…¥ï¼š}\unskip}
\renewcommand{\algorithmicensure}{\textbf{è¾“å‡ºï¼š}\unskip}

\begin{algorithm}
	\caption{Calculate $y = x^n$}
	\label{alg1}
	\small
	\begin{algorithmic}
		\REQUIRE $n \geq 0$
		\ENSURE $y = x^n$
		
		\STATE $y \leftarrow 1$
		\STATE $X \leftarrow x$
		\STATE $N \leftarrow n$
		
		\WHILE{$N \neq 0$}
		\IF{$N$ is even}
		\STATE $X \leftarrow X \times X$
		\STATE $N \leftarrow N / 2$
		\ELSE[$N$ is odd]
		\STATE $y \leftarrow y \times X$
		\STATE $N \leftarrow N - 1$
		\ENDIF
		\ENDWHILE
	\end{algorithmic}
\end{algorithm}
</pre></body></html>