6

A minipage has no special spacing rules, it just acts like a big letter, so it is easier to see how \medskip (or \vspace) works just using letters: \documentclass{article} \begin{document} \bigskip\hrule\bigskip 111 a b\\ c \bigskip\hrule\bigskip 222 a \medskip b\\ c \bigskip\hrule\bigskip 333 a \medskip b\\ c \bigskip\hrule\bigskip \end{...


2

Welcome! You can use wrapfig. \documentclass{article} \usepackage{amsmath} \usepackage{blkarray} \usepackage{tikz} \usepackage{wrapfig} \begin{document} \begin{wrapfigure}[6]{r}[10pt]{4cm} \centering \begin{tikzpicture}[->,every node/.style={circle,draw},line width=1pt, node distance=1.6cm] \node (1) {A}; \node (2) [below right of=1]...


2

Beside the missing paragraphs: you should also be aware that a minipage with [t] alignment is like a letter with a rather large descender (a large depth). This means that following lines are glued to the bottom at a fix distance (1pt by default). If you want the normal distance between lines you should end the text in the minipage with a \strut: \...


2

The algorithm environment from algorithm2e is, by default, a floating environment, and therefore it cannot be placed inside of a minipage environment. Using the [H] placement specifier allows to prevent this; with this option the algorithm will not be a float anymore, and the algorithm could be placed in a minipage. The following example outputs both ...


2

Since the anchor of a TikZ node is its center by default, the easiest way is to enter the text to be overlayed onto the images as the contents of a node, as follows. Two equivalent techniques: Placing the node at an explicit coordinate ((0,0) is where the overlayed picture is inserted in the LaTeX document): \node at (0,0) {\includegraphics[scale=0.2]{...


1

After cleaning-up your code, I obtain the following result: (red lines indicate text border) \documentclass{article} \usepackage[skip=1ex, labelfont=bf,font=small]{caption} % <--- new %---------------- show page layout. don't use in a real document! \usepackage{showframe} \renewcommand\ShowFrameLinethickness{0.15pt} \renewcommand*\...


1

If you can't increase the width of the text block, some of the following, not mutually exclusive, measures may yield success: Switch from a tabular environment to an array environment. The default amount of intercolumn whitespace is smaller for array environments is smaller than that for tabular environments. Plus, making this switch would let you get rid ...


1

This should work with informs3, but I am too lazy to install it. \documentclass{article} \usepackage[linesnumbered,ruled,lined, noend]{algorithm2e} \usepackage{paracol} \globalcounter{algocf} \begin{document} \begin{paracol}{2} \begin{algorithm}[htbp] \SetAlFnt{\small} \DontPrintSemicolon \KwIn{Suppose we are given with several ...


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