Hot answers tagged

3

If I run your first example, the package warns +--------------------------------------------------------------+ | The box will not fit in the page. Please, re-edit your text. | +--------------------------------------------------------------+ as the image is too low. If I remove some text at the start so the document starts \lipsum[1-2] \lipsum[1] I get ...


3

This is a problem that should not occur. So the problem originated elsewhere in your code. Replace your three .png images with example-image to see if it is related to the images. You can always add vertical space, like \vspace*{<xx>pt}, to correct it. figure* in two columns will send the figure to a new page (one column). If you want to keep it with ...


3

You have some spurious spaces in your \fbox which causes the opening and closing spacing issues (see What is the use of percent signs (%) at the end of lines? (Why is my macro creating extra space?)). Also, the width of the text block should be reduced by the width of the \fbox's rule (\fboxrule) and the box gap (\fboxsep) twice (once for each side). \...


2

You are changing the geometry and so the image doesn't fit. insbox is warning you about it: +--------------------------------------------------------------+ | The box will not fit in the page. Please, re-edit your text. | +--------------------------------------------------------------+ To get rid of the "shadow" cut outs, replace \lipsum[1-3] by \...


2

You want to take into account the \fboxsep and \fboxrule parameters. Here's a new environment fminipage that shares all syntax with minipage and does the computation by itself. \documentclass[]{article} \usepackage{parskip} \usepackage{lipsum} \ExplSyntaxOn % a handy function \cs_set_eq:NN \dimeval \dim_eval:n \ExplSyntaxOff \newsavebox{\fminipagebox} \...


1

This may require more tweaking. It seems some things need to be done outside paracol (\pagestyle?). Also, \section will be more difficult as it uses \@startsection. I would redefine \section to be more like \chapter. \documentclass{report} \usepackage{paracol} \usepackage{lipsum} \makeatletter \renewcommand\chapter{\end{paracol} %\if@...


1

As far as I can tell you want to flush right but overlapping a fixed amount (25pt) past the allowed space. Using \fill rather than a fixed left margin allows it to easily adapt to different length texts. \RequirePackage[l2tabu, orthodox]{nag} \documentclass[aspectratio=169, 10pt]{beamer} \usetheme{metropolis} \metroset{numbering=fraction,} \...


1

The simplest is to define a verse enviornment that does not internally rely on the paragraph shape so you do not need to merge. Here I simply define it to add some vertical space and to locally define \\ to be end of paragraph. I force the extra indent here filled with dots to make the undulating margin clearer, you could not indent or indent with space ...


Only top voted, non community-wiki answers of a minimum length are eligible