diff --git a/njuthesis.tex b/njuthesis.tex index 3e3277e8a89c4edb695e81a12d36d8f481610fb7..609b3f7248ebd0d7f7536555d8a745a8c7e2a4af 100644 --- a/njuthesis.tex +++ b/njuthesis.tex @@ -93,6 +93,7 @@ \end{lstlisting} \section{鍥剧墖绀轰緥} +\label{sec:figures} \begin{figure}[htbp] \includegraphics[width=0.5\textwidth]{njuname} \caption{鍗椾含澶у鍚嶇О} @@ -109,18 +110,18 @@ \subsection{鏂囧瓧鐜粫鍥惧儚} % wrapfigure鍚庨潰涓嶈兘鏈夌┖琛� \begin{wrapfigure}{r}{0cm} - \label{fig:njulogo} \includegraphics[width=.3\textwidth]{njulogo} \caption{鐜粫鍥惧儚娴嬭瘯} + \label{fig:njulogo} \end{wrapfigure} \zhlipsum[4][name=xiangyu] -浣犲彲浠ヤ娇鐢╘lstinline|wrapfigure|鐜鎻掑叆鍥剧墖锛屽\cref{fig:njulogo}锛屼唬鐮佸涓�: +浣犲彲浠ヤ娇鐢╘lstinline|wrapfigure|鐜鎻掑叆鍥剧墖锛岀被浼间簬\cref{sec:figures}鐨勬櫘閫氬浘鐗囨彃鍏ユ柟娉曪紝浠g爜濡備笅: \begin{lstlisting}[language=TeX] - \begin{wrapfigure}{r}{0cm} - \label{fig:njulogo} +\begin{wrapfigure}{r}{0cm} \includegraphics[width=.3\textwidth]{njulogo} \caption{鐜粫鍥惧儚娴嬭瘯} + \label{fig:njulogo} \end{wrapfigure} \end{lstlisting} diff --git a/profile/reference.sty b/profile/reference.sty index b18caa83a7628310e2689b07e75f8ba86beb8a56..d9e4facc5f6ac7ec0e0c4d12bdbcebb89427b1cf 100644 --- a/profile/reference.sty +++ b/profile/reference.sty @@ -47,4 +47,9 @@ \crefname{definition}{瀹氫箟}{瀹氫箟} \crefname{figure}{鍥緘{鍥緘 \crefname{table}{琛▆{琛▆ -\crefname{equation}{鍏紡}{鍏紡} \ No newline at end of file +\crefname{equation}{鍏紡}{鍏紡} + +\crefname{chapter}{搂}{搂} +\crefname{section}{搂}{搂} +\crefname{subsection}{搂}{搂} +\crefname{subsubsection}{搂}{搂} \ No newline at end of file