New answers tagged

0 votes

Include table as a subfigure

Use package \usepackage{subfig}, and the latex code is \begin{table}[htb] \centering \subfloat[Caption for subtable 1]{% \begin{tabular}{ |c|c|c| } \hline Regressor Model & Train & Test \\ \...
Snehal Rajput's user avatar
1 vote
Accepted

reference to a specific part of a subfigure in text

Since you've chosen not to provide \caption directives for the three subfigure environments, the associated \label statements cannot work correctly. That's what you've (re)discovered. Fortunately, ...
Mico's user avatar
  • 503k
0 votes

Automatically Cropping Images to Match Aspect Ratios in Side-by-Side Figures in LaTeX

I cannot visualize the utility of an automatic crop with images of different sizes width and heights, as this way you cannot have control of what is lost in each image. If the main point is maintain ...
Fran's user avatar
  • 80.1k
1 vote

Automatically Cropping Images to Match Aspect Ratios in Side-by-Side Figures in LaTeX

If you specify the width, then all you need to do is crop the image with the greater height. \documentclass{article} \usepackage{adjustbox} \usepackage{graphicx} \usepackage{subcaption} \begin{...
John Kormylo's user avatar
  • 79.3k
1 vote

Automatically Cropping Images to Match Aspect Ratios in Side-by-Side Figures in LaTeX

I wanted to share a workaround that I've developed using a PowerShell script, though it's not a direct LaTeX solution. I've written a PowerShell script that automatically uses ImageMagick to adjust ...
Foad's user avatar
  • 873

Top 50 recent answers are included