1
0
Fork 0
mirror of https://gitlab.com/netravnen/NetworkLabNotes.git synced 2024-11-26 19:27:57 +00:00

Fixed newcommand fig set to accept 4 args instead of 3 args

This commit is contained in:
chhan11 2017-05-30 17:59:54 +02:00
parent 9af2ff3067
commit 9b09f4cf28

View file

@ -7,7 +7,7 @@
} }
% Usage: \fig{<path-to-file>}{<label>}{<caption>} % Usage: \fig{<path-to-file>}{<label>}{<caption>}
\newcommand{\fig}[4]{ \newcommand{\fig}[3]{
\begin{figure}[h!] \begin{figure}[h!]
\centering \centering
\includegraphics[width=0.95\columnwidth]{#1} \includegraphics[width=0.95\columnwidth]{#1}