diff --git a/config/thesis_commands.tex b/config/thesis_commands.tex index e6913c3..42bbc43 100644 --- a/config/thesis_commands.tex +++ b/config/thesis_commands.tex @@ -67,9 +67,9 @@ \setkeys{Gin}{height=#1}% } -\RenewDocumentCommand{\subfig}{o O{b} m O{}}{% #1 = width, #2 = valign, #3 = filename, #4 = caption +\RenewDocumentCommand{\subfig}{o O{b} m}{% #1 = width, #2 = valign, #3 = filename \hfill% - \subfloat[#4\label{fig:#3}]{% + \subfloat[\label{fig:#3}]{% \IfValueTF{#1}{% \includegraphics[width=#1\linewidth, valign=#2, keepaspectratio]{#3}% }{%