<filename>examples/subfiles/sections/section2/section2.tex<gh_stars>1-10
% !TEX root=../../../example-with-subfiles.tex
\documentclass[example-with-subfiles.tex]{subfiles}
\begin{document}
    \section{Section 2}
    \begin{figure}[h]
        \pyfig{sincos}
        \caption{A plot of $I = \sin(x)\cos(y)$.}
        \label{fig:cubic}
    \end{figure}
\end{document}
