Tag: minipage

  • minipage with defined height

    Could I create a minipage with defined height? Yes, but it wouldn’t work the way I or you want. For example here is a minipage with a defined height of 2cm: \documentclass{article} \usepackage[showboxes,overlay]{textpos} \begin{document} \setlength{\parindent}{0cm} \TPshowboxestrue \begin{textblock*}{\textwidth}(1cm,1cm) \begin{minipage}[t][2cm][t]{0.4\textwidth} The height of this minipage is 2cm. The height of this minipage is 2cm. The height of […]

  • latex minipage wider than textwidth

    In normale minipage examples allways textwidth would be used to determine width of minipage. But also the paperwidth could be used too. example \documentclass{article} \begin{document} \noindent \begin{minipage}{0.5\textwidth} \fbox{frame around dummy text and more} \end{minipage} \begin{minipage}{0.5\textwidth} \fbox{second framed dummy text and more} \end{minipage} \begin{minipage}{0.5\paperwidth} \fbox{frame around dummy text and more} \end{minipage} \begin{minipage}{0.5\paperwidth} \fbox{second framed dummy text […]

  • latex minipage text beside figure

    How to put text beside figure with minipage? We use two minipages side by side in first one we put the figure e.g. pic1 und in second one the text. The vspace command in the second minipage is only a hint, for example if the text is not enough you could push it up by […]

  • latex minipage side by side figures

    To get two figures side by side just use this example: \documentclass{article} \usepackage{graphicx} \begin{document} \begin{minipage}[c]{0.5\textwidth} \includegraphics[width=\textwidth]{figure 1} \end{minipage} \begin{minipage}[c]{0.5\textwidth} \includegraphics[width=\textwidth]{figure 2} \end{minipage} \end{document} It also works with two tables side by side.