\documentclass[tikz,border=0cm]{standalone} % choose border size here <===
%
% A detailed description of how to use this template is provided on my blog: https://shannonmlocke.wordpress.com/2021/01/15/create-multipanel-figures-in-latex/
%
% This template will help you create multi-panel figures for publication. Four elements are included in this example, but if you want more, copy/paste and edit one of the element blocks within the tikzpicture environment. There are two modes: DRAFT and FINAL. Toggle between these in the preamble, with the draft mode having a red bounding box and red dots for the anchor positions. Editing the anchor positions with the coordinate "at (x,y)" will move the element around. The figure dimensions and font size of "a, b, c, ..." can be specified in the preamble. The south west corner of the bounding box is at (0,0) and the north east at (\figwidth,\figheight). In the element blocks you can edit the figure anchor position, figure label (e.g. "a)"), figure scale, & figure input. In general, look for the "<===" to indicate the lines you'd likely be editing. Finally, you can specify the white space around the figure on the first line by changing "border". All units are in cm but can be changed to other units (see latex documentation for full list).
%
% Created by Shannon Marie Locke, Jan 2019.
% Edited by SML, Jan 2020 - added custom nodes.
% Load necessary packages:
\usepackage{graphicx}
\usepackage{tikz}
\usetikzlibrary{positioning} % allows nodes to be defined relative to each other
\usepackage{cmbright} % use sanserif fonts
\usepackage{etoolbox} % conditional toggles
% Define figure properties:
\newcommand{\figwidth}{16cm} % WIDTH <===
\newcommand{\figheight}{10cm} % HEIGHT <===
\newcommand{\fontselect}{\large\bf} % label FONT SIZE (e.g. \small, \normalsize, \large, etc,) + BOLD(\bf) <===
% Custom nodes:
\tikzset{
labelNode/.style={anchor=south east, above left=0cm and 0cm of anchor, font=\fontselect}, % labels
redAnchorNode/.style={anchor=center, left=-0.1cm of anchor, circle, fill=red, minimum size=0.2cm}, % red anchor dots
graphicNode/.style={anchor=north west, below right=0cm and 0cm of anchor}, % graphics
}
% Toggle between draft mode & final copy:
\newtoggle{draft}
\toggletrue{draft} % draft mode
% \togglefalse{draft} % final-copy mode <=== comment this line if you want draft mode
%% ======================================================== %%
\begin{document}
\begin{tikzpicture}[every node/.style={inner sep=0pt}]
% Bounding box (for arranging your graphic elements):
\iftoggle{draft}{\node[anchor=south west, rectangle, draw, red, line width=2pt, minimum width=\figwidth, minimum height=\figheight] at (0,0) {};}
{\node[anchor=south west, rectangle, fill=white, minimum width=\figwidth, minimum height=\figheight] at (0,0) {};};
% Element 1:
\node (anchor) at (1,9.35) {}; % anchor (choose coordinates) <===
\node[labelNode] {a)}; % figure letter label (choose letter) <===
\node[graphicNode] {\includegraphics[scale=0.4]{lightbulb.jpeg}}; % lightbulb (choose image and scale) <===
\iftoggle{draft}{\node [redAnchorNode] {};}; % red anchor dot (leave alone)
% Element 2:
\node (anchor) at (1,5) {}; % anchor (choose coordinates) <===
\node[labelNode] {b)}; % figure letter label (choose letter) <===
\node[graphicNode] {\includegraphics[scale=0.6]{venus.jpeg}}; % venus (choose image and scale) <===
\iftoggle{draft}{\node [redAnchorNode] {};}; % red anchor dot (leave alone)
% Element 3:
\node (anchor) at (6.75,9.35) {}; % anchor (choose coordinates) <===
\node[labelNode] {c)}; % figure letter label (choose letter) <===
\node[graphicNode] {\includegraphics[scale=0.55]{meow.jpeg}}; % cat (choose image and scale) <===
\iftoggle{draft}{\node [redAnchorNode] {};}; % red anchor dot (leave alone)
% Element 4:
\node (anchor) at (12,7) {}; % anchor (choose coordinates) <===
\node[labelNode] {d)}; % figure letter label (choose letter) <===
\node[graphicNode] {\includegraphics[scale=0.5]{weed.jpeg}}; % plant (choose image and scale) <===
\iftoggle{draft}{\node [redAnchorNode] {};}; % red anchor dot (leave alone)
\end{tikzpicture}
\end{document}
%% ======================================================== %%