Due to the page limit, I now wish to reduce the blank space right after a figure (a TikZ drawing).
I personally find it too big.
Below is my MWE. How may I fix it?
\documentclass[a4paper]{article}
\usepackage{lipsum} % for dummy text only
\usepackage{tikz} % for TikZ drawing
\begin{document}
\lipsum
The system architecture is shown in Figure~\ref{fig:systemarchitecture}.
\begin{figure}
\centering
\begin{tikzpicture}[block/.style={draw, fill=white, rectangle, minimum width=0.95*\columnwidth, anchor=west}, font=\small]
\node[block, minimum width=0.9*\columnwidth, minimum height = 3cm, fill=yellow, opacity=1, text opacity=1](phone) at (0,0){};
\end{tikzpicture}
\caption{System Architecture}
\label{fig:systemarchitecture}
\end{figure}
\end{document}
[htb]
to\begin{figure}[htb]
, the figure will look nice. If you still want to reduce the space, put\usepackage[belowskip=-10pt]{caption}
in the preamble. Change-10pt
to suit your need.[htb]
looks pretty much the same. So I am trying to use\usepackage[belowskip=-10pt]{caption}
, but! LaTeX Error: Command \caption@ContinuedFloat already defined
.[htb]
the figure is properly placed (i.e., after it is mentioned in text). Regarding the error, you have something else. Your mwe above works for me. Please add more details.