Dissertate
Dissertate copied to clipboard
Subfigures not recognised in the environment
Hi, I am trying to add a subfigure in the thesis but it runs into an issue where the Overleaf compiler returns an error saying "Environment subfigure undefined". Anyone ran into the same issue? Thanks in advance for your help!
\begin{figure}[h] \begin{subfigure} \includegraphics[width=0.3\textwidth, height=0.4\textwidth]{figures/chapter5/image1.jpg} \caption{Caption1} \label{fig:jpa_elec} \end{subfigure}
\begin{subfigure}
\includegraphics[width=0.3\textwidth, height=0.4\textwidth]{figures/chapter5/image2.jpg}
\caption{Caption1}
\label{fig:jpa_optical}
\end{subfigure}
\end{figure}
@ankur92 were you able to figure how to get subfigures to work? I am having the same issue
No, I couldn’t. I composed the figures in Illustrator to make it work.
Yeah, I did something similar for my large panel figures. For the smaller ones (only two subfigs), it was fortunately easy enough to manually format A and B in the correct locations.
Cool! I am glad it worked. There must an easy fix but just adding the sub caption package didn’t help when I tried.
On Sun, Mar 5, 2023 at 10:55 PM Deshawn Sambrano @.***> wrote:
Yeah, I did something similar for my large panel figures. For the smaller ones (only two subfigs), it was fortunately easy enough to manually format A and B in the correct locations.
— Reply to this email directly, view it on GitHub https://github.com/suchow/Dissertate/issues/85#issuecomment-1455400296, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAM4GMNLUZYVDNCZV7TW3MDW2VN4HANCNFSM5W3F75DQ . You are receiving this because you were mentioned.Message ID: @.***>
--
Ankur Agrawal Physics Doctoral Student The University of Chicago http://home.uchicago.edu/~ankuragrawal/