Graphics, Figures & TablesDisplaying code with listings and minipages

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
Eoj
Posts: 1
Joined: Wed Feb 09, 2022 6:57 pm

Displaying code with listings and minipages

Post by Eoj »

Hi,

I would like to display some code and an image is a section. So far I've used minipages and listings for the code, but am a bit lost as to how to do it and unsure if there is a better method.

I've attached an example of the layout I'm trying to achieve, so far I have the code and images separate, does anyone have any advice on how I can lay it out with the same format as image attached?
IMG_20220209_170608Q.jpg
IMG_20220209_170608Q.jpg (81.51 KiB) Viewed 1143 times
Thanks in advance,

Joe

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Post Reply