From 8022e30db655813ba90cae67df2d594af3dab342 Mon Sep 17 00:00:00 2001
From: Glatt MA <glatavento@outlook.com>
Date: Thu, 23 Sep 2021 09:10:37 +0800
Subject: [PATCH] =?UTF-8?q?fix:=20=E7=94=A8=E4=B8=8D=E5=A4=9F=E7=BE=8E?=
 =?UTF-8?q?=E8=A7=82=E7=9A=84=E6=96=B9=E5=BC=8F=E8=A7=A3=E5=86=B3=E6=BC=94?=
 =?UTF-8?q?=E7=A4=BA=E5=92=8C=E5=AE=9E=E7=8E=B0=E4=B9=8B=E9=97=B4=E7=9A=84?=
 =?UTF-8?q?=E8=BF=9B=E5=BA=A6=E5=B7=AE=E5=BC=82=E9=97=AE=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 chapters/FigTabCode.tex | 18 ++++++++++++------
 1 file changed, 12 insertions(+), 6 deletions(-)

diff --git a/chapters/FigTabCode.tex b/chapters/FigTabCode.tex
index d5c45cf..3e9efb5 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}
-- 
GitLab