diff --git a/chapters/FigTabCode.tex b/chapters/FigTabCode.tex index d5c45cf5951d82a50ba7f6c7255e0f4895fcb622..3e9efb5ab3bf8a5772a99bd8b0468b1bbce232db 100644 --- a/chapters/FigTabCode.tex +++ b/chapters/FigTabCode.tex @@ -5,14 +5,16 @@ 鎵€鏈夊浘鐗囬粯璁ゅ瓨鏀惧湪涓荤洰褰曚笅鐨刓texttt{figure/}鏂囦欢澶瑰唴 \begin{figure}[htbp] - \includegraphics[width=0.5\textwidth]{njuname} + % \includegraphics[width=0.5\textwidth]{njuname} + \resizebox{0.5\textwidth}{!}{\input{njuname.tikz}} \caption{鍗椾含澶у鍚嶇О} \label{fig:njuname} \end{figure} 浣犲彲浠ヤ娇鐢╘lstinline|figure|鐜鎻掑叆鍥剧墖锛屽\cref{fig:njuname}锛屼唬鐮佸涓�: \begin{lstlisting}[style=LaTeX] \begin{figure} - \includegraphics[width=0.5\textwidth]{njuname} + % \includegraphics[width=0.5\textwidth]{njuname} + \resizebox{0.5\textwidth}{!}{\input{njuname.tikz}} \caption{鍗椾含澶у鍚嶇О} \end{figure} \end{lstlisting} @@ -21,7 +23,8 @@ % wrapfigure鍚庨潰涓嶈兘鏈夌┖琛� \begin{wrapfigure}{r}{0cm} % \label{fig:njulogo} - \includegraphics[width=.15\textwidth]{njulogo} + % \includegraphics[width=.15\textwidth]{njulogo} + \resizebox{.15\textwidth}{!}{\input{njulogo.tikz}} \caption{鏍″窘} \end{wrapfigure} \zhlipsum[3][name=xiangyu] @@ -29,17 +32,20 @@ \begin{figure}[htbp] \begin{subfigure}{.32\textwidth} \centering - \includegraphics[width=\textwidth]{njulogo} + % \includegraphics[width=\textwidth]{njulogo} + \resizebox{\textwidth}{!}{\input{njulogo.tikz}} \caption{logo1} \end{subfigure} \begin{subfigure}{.32\textwidth} \centering - \includegraphics[width=\textwidth]{njulogo} + % \includegraphics[width=\textwidth]{njulogo} + \resizebox{\textwidth}{!}{\input{njulogo.tikz}} \caption{logo2} \end{subfigure} \begin{subfigure}{.32\textwidth} \centering - \includegraphics[width=\textwidth]{njulogo} + % \includegraphics[width=\textwidth]{njulogo} + \resizebox{\textwidth}{!}{\input{njulogo.tikz}} \caption{logo3} \end{subfigure} \caption{njulogos}