← Back to blog

Blog & updates

Advanced LaTeX figure layout: deep integration after DrawFig TikZ export

2026-04-25

From DrawFig TikZ export to publication-ready figures—captions, cross-references, subfigures, font matching, and journal templates.

Advanced LaTeX figure layout: deep integration after DrawFig TikZ export

Published: 2026-04-25 Category: LaTeX figures Reading time: ~10 min Tags: LaTeX figures, TikZ, drawfig, academic figures, paper layout, figure export

Introduction

You export TikZ from DrawFig, paste into LaTeX, compile—and something is off: fonts do not match body text, caption style is wrong, the figure overflows a two-column layout. Those details separate “it compiled” from publication-grade. This article starts at DrawFig TikZ export and covers advanced LaTeX figure integration for IEEE, ACM, Springer, and similar templates.

1 — DrawFig TikZ export: recommended settings

DrawFig emits standalone-ready TikZ. Before export:
  1. Units — Prefer cm or pt to match LaTeX sizing and avoid surprise scaling.
  2. Font inheritance — Enable “use document font” when available so nodes inherit body typography.
  3. Bounding box — Trim excess canvas margin to avoid huge whitespace in \figure.
Save as figures/fig-graph.tex and \input it:
\begin{figure}[htbp]
  \centering
  \input{figures/fig-graph.tex}
  \caption{Your caption here}
  \label{fig:graph}
\end{figure}
TikZ export costs 3 credits/use and requires sign-in. Canvas editing remains free.

2 — Captions and cross-references

2.1 \caption conventions

Publisher Caption style
IEEE Sentence case; no trailing period
ACM Sentence case; with period
Springer Sentence case; period; often italic label
% ACM / Springer
\usepackage[labelfont=bf, textfont=it]{caption}

% IEEE — usually handled by IEEEtran

2.2 Cross-references

Prefer \cref{} from cleveref:
\usepackage{cleveref}

As shown in \cref{fig:graph}, the pipeline has three stages…
Label names: fig:network-topology, not fig1.

3 — Subfigures: subcaption

Side-by-side related figures:
\usepackage{subcaption}

\begin{figure}[htbp]
  \centering
  \begin{subfigure}[b]{0.48\textwidth}
    \centering
    \input{figures/fig-undirected.tex}
    \caption{Undirected graph}
    \label{fig:undirected}
  \end{subfigure}
  \hfill
  \begin{subfigure}[b]{0.48\textwidth}
    \centering
    \input{figures/fig-directed.tex}
    \caption{Directed graph}
    \label{fig:directed}
  \end{subfigure}
  \caption{Comparison of graph types}
  \label{fig:graph-comparison}
\end{figure}
[b]{0.48\textwidth} plus \hfill balances width; in two-column papers use figure* and 0.48\linewidth for full-width rows. DrawFig tip: One page per subfigure, batch-export .tex files, compose in LaTeX—easier than cramming multiple diagrams on one canvas.

4 — Font consistency

Exported TikZ may not follow \usepackage{times} or newtxtext unless you set global styles:
\tikzset{
  every node/.style={font=\normalfont\small}
}
Or per role:
\tikzset{
  vertex/.style={
    circle, draw, minimum size=20pt,
    font=\small\sffamily
  },
  edge label/.style={font=\footnotesize}
}
Zoom the PDF: node text should visually match body paragraphs.

5 — Journal templates

5.1 Two-column (IEEE / ACM)

Column width ≈ \columnwidth (~88 mm). Design DrawFig canvas ≤ 80 mm when possible.
\begin{figure}[!t]
  \centering
  \resizebox{\columnwidth}{!}{\input{figures/fig-topology.tex}}
  \caption{Network topology}
  \label{fig:topology}
\end{figure}
\resizebox{\columnwidth}{!}{…} scales to column width—prefer correct canvas size over aggressive scaling.

5.2 Full-width (figure*)

\begin{figure*}[!t]
  \centering
  \input{figures/fig-system-overview.tex}
  \caption{System overview}
  \label{fig:system}
\end{figure*}
Use [!t] or [!b]—full-width floats have strict placement rules.

5.3 Springer LNCS

LNCS often prefers compiled PDF figures to avoid macro clashes:
\documentclass[tikz,border=2mm]{standalone}
\usepackage{tikz}
\begin{document}
\input{fig-graph.tex}
\end{document}
Compile to PDF, then \includegraphics[width=0.9\textwidth]{figures/fig-graph.pdf} in the main file.

6 — Troubleshooting

Issue Cause Fix
Float stuck at page bottom LaTeX float algorithm [!h] or \usepackage{float} + [H]
Label overflow Small minimum width Increase minimum width / text width
Undefined control sequence Missing TikZ library Add \usetikzlibrary{arrows.meta, positioning}
Slow compile on huge TikZ Inline complexity Standalone PDF + \includegraphics
Subfigure labels wrong Publisher style Configure subcaption label format

Summary

DrawFig export is the start; publication quality comes from:
  1. Modular .tex files + \input
  2. Font alignment with \tikzset
  3. subcaption with sensible widths
  4. Template-aware width and compile strategy
Combined with DrawFig’s visual editor, figure time drops from hours to minutes while meeting journal bars.

Get started

👉 Open DrawFig editor (free canvas) Browser-based editing; export LaTeX-ready TikZ when you need it. Canvas and SVG/PNG/PDF export are free with no sign-in. TikZ export: 3 credits/use (sign-in required). 30 credits daily (accumulated). See credit rules.