# Tag Info

### Variable containing the total horizontal length of a table

You can simply put the tabular in a box and measure the width of the box with \wd. In the following example, I have used a multiplicative factor of 120%. \documentclass{article} \usepackage{array,...
• 26.5k
Accepted

### Side-by-side captions in minipage run too long, don't wrap to second line

(I've found a copy of SciPost document class online at https://git.scipost.org/scipost/SciPost_LaTeX_Templates_Submission.) The SciPost document class loads, among other packages, the caption package ...
• 444k

### How to align caption of minipage side-by-side with equation and image?

I'd use just four \parbox (or {minipage}). \documentclass{article} \usepackage{lipsum} \usepackage{mathtools} \begin{document} \begin{figure} \parbox{.475\linewidth}{% \begin{align} x = 1 \\ y =...
• 26.3k
1 vote

### How to split a page into 6 parts, adding a centered image to each?

If there are only six figures images, you only need the packages graphicx and adjustvox for the vertical align: \documentclass[a4paper]{article} \usepackage[margin=1cm]{geometry} \usepackage{graphicx} ...
• 74k

### Align minipage on top of multiline section header

\documentclass[12pt]{article} \usepackage{lmodern} \usepackage{lipsum} \begin{document} 2021\hspace{1cm}\begin{minipage}[t]{0.5\textwidth} \lipsum[1] \end{minipage} \end{document} You can use the ...
• 342
Accepted

### Text stays above minipage

You want \includegraphics here as you do not want a full page. \documentclass{article} \usepackage{pdfpages} \begin{document} \subsection{Approach 1: Scikit-learn} We will start by importing ...
• 674k
1 vote

### Cutting a quote to fit page

I would use the ready-made quotation environment to typeset the long quote. E.g., adapting the code in @Celdor's answer, I'd write \documentclass{article} \usepackage{kantlipsum} \usepackage[...
• 444k

### Cutting a quote to fit page

Use a list environment with options to set left and right margins as well as any other paragraph settings, s.a. line spread, paragraph indentation and paragraph skip \documentclass{article} \...
• 1,662