New answers tagged

1 vote

Problem aligning tikzpicture or caption (side by side) with subfloat and comma separator in xaxis

Use subfigure environment from subcaption package instead of subfig: \documentclass{article} \usepackage{subcaption} \usepackage{pgfplots} \usetikzlibrary{calc} \pgfplotsset{ compat=newest, /...
user avatar
  • 19.1k
2 votes
Accepted

How to insert text next to figure and align two figures placed on top of each other?

A simple alternative. \documentclass{article} \usepackage{graphicx} \begin{document} \noindent\begin{tabular}{@{}rl} Left Hand &\includegraphics[width=0.9\textwidth,...
user avatar
  • 28.4k
0 votes

Adding vertical distance between subfigure environments

Try \\[3ex] between subfigures, adjusting the size to taste.
-1 votes

"Environment subfigure undefined" on journal submission

The captionsetup did not work for me but i could keep the same structure by simply exchanging the subfigure parts with minipage like this: \begin{figure}[H] \centering \begin{minipage}{0.49\...
user avatar
0 votes

Error using subcaption

\documentclass{article} \usepackage[demo]{graphicx} \usepackage{caption} \usepackage[skip=0cm,list=true,labelfont=it]{subcaption} \begin{document} \begin{figure}[hptb] \begin{subfigure}{.45\textwidth} ...
user avatar
1 vote

Align three code blocks in different orientations

You can nest the two subfigures on the right within their own subfigure to get the desired layout. \documentclass{article} \usepackage{listings} \usepackage{subcaption} \begin{document} \begin{...
user avatar
  • 3,533

Top 50 recent answers are included