Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- documentclass[12pt]{article}
- usepackage[margin=1in]{geometry}
- usepackage{catchfilebetweentags}
- usepackage{wrapfig}
- usepackage{graphicx}
- CatchFileBetweenTags{SectionA}{content.tex}{SectionA}
- CatchFileBetweenTags{SectionB}{content.tex}{SectionB}
- begin{document}
- section*{Section A}
- SectionA
- section*{Section B}
- SectionB
- end{document}
- %<*SectionA>
- text
- %</SectionA>
- %<*SectionB>
- text
- begin{wrapfigure}{r}{0.25linewidth}
- begin{center}
- includegraphics[width=linewidth]{./graphics/example.png}
- end{center}
- caption{Caption here.}
- label{example_wrap_figure}
- end{wrapfigure}
- text
- text
- %</SectionB>
- %<*SectionA>
- text
- begin{wrapfigure}{r}{0.25linewidth}
- begin{center}
- includegraphics[width=linewidth]{./graphics/example.png}
- end{center}
- caption{Caption here.}
- label{example_wrap_figure}
- end{wrapfigure}
- %</SectionA>
- %<*SectionB>
- text
- text
- text
- %</SectionB>
- section*{Section A}
- SectionA
- begin{wrapfigure}{r}{0.25linewidth}
- begin{center}
- includegraphics[width=linewidth]{./graphics/example.png}
- end{center}
- caption{Caption here.}
- label{example_wrap_figure}
- end{wrapfigure}
- section*{Section B}
- SectionB
- section*{Section A}
- SectionA
- {
- begin{wrapfigure}{r}{0.25linewidth}
- begin{center}
- includegraphics[width=linewidth]{./graphics/example.png}
- end{center}
- caption{Caption here.}
- label{example_wrap_figure}
- end{wrapfigure}
- }
- section*{Section B}
- SectionB
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement