Answers for "subfloat in latex"

0

subfloat in latex

\usepackage{subfig}
\usepackage{graphicx}

%other part of code which compiles fine

\begin{figure}
     \centering
     \subfloat[][a]{\includegraphics{<figure1>}\label{<figure1>}}
     \subfloat[][b]{\includegraphics{<figure2>}\label{<figure2>}}
     \caption{Comparison of steady state results (a) x method (b) y method}
     \label{steady_state}
\end{figure}

%remaining part
Posted by: Guest on April-23-2022
0

subfloat in latex

\documentclass{article}

\usepackage{subfig}
\usepackage[demo]{graphicx}

\begin{document}
other part of code which compiles fine

\begin{figure}
     \centering
     \subfloat[][a]{\includegraphics{<figure1>}\label{<figure1>}}
     \subfloat[][b]{\includegraphics{<figure2>}\label{<figure2>}}
     \caption{Comparison of steady state results (a) x method (b) y method}
     \label{steady_state}
\end{figure}
%remaining part

\end{document}
Posted by: Guest on April-23-2022

Browse Popular Code Answers by Language