4
votes
Accepted
Second Argument of \fontsize{}{}\selectfont Not Working in a Pspicture
I believed that problem was not because of pspicture, actually it was due to the command \textcolor also unnecessary groupings, and the modified MWE is:
\documentclass[12pt]{book}
\usepackage[hmargin=...
2
votes
Accepted
How to include Latex listing in a command using minipage?
You can avoid such problems by using a custom environment instead of a command:
\documentclass{article}
\usepackage{xcolor}
\usepackage{fancyvrb}
\usepackage{listings}
\lstset{%
language=[LaTeX]{...
2
votes
How to include Latex listing in a command using minipage?
The following uses a verbatim argument to grab your fourth argument and then uses \scantokens to allow the code to be interpreted. Please note that this way the macro \foocmd is not allowed to be used ...
2
votes
Accepted
Aligning TikZ Shape and Text to the Top with Minipage
Tell tikz to align the tikzpicture on the baseline of the counter number, rather than using the bottom of the picture, which is the default.
\begin{tikzpicture}[baseline=(char.base)]
\documentclass{...
1
vote
after "minipage" command, words cannot change line auto but extend the page layout
From the code and screenshot, it appears that you're trying to force a line break using \\ \linebreak after the minipage environment. However, this isn't the most effective way to control text flow in ...
1
vote
Accepted
listings not cover the whole minipage area
You can adjust the belowskip:
\documentclass[border=2pt]{standalone}
\usepackage{listings}
\usepackage{xcolor}
\begin{document}
\begin{minipage}{\linewidth}
\pagecolor[RGB]{128,128,128}%
\begin{...
1
vote
Itemize and minted environment height problem inside minipage
You don't want to set the height of the minipages and the left one should be moved a bit to the right, if you want to show the line numbers.
I visually gaged the vertical space above the minted ...
1
vote
Accepted
Itemize and minted environment height problem inside minipage
You could use Top aligned beamer columns:
% !TeX program = txs:///arara
% arara: pdflatex: {synctex: on, interaction: nonstopmode, shell: yes}
\documentclass{beamer}
\mode<presentation> {
\...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
minipage × 1782floats × 200
tables × 188
vertical-alignment × 168
tikz-pgf × 136
horizontal-alignment × 128
graphics × 126
captions × 118
spacing × 101
beamer × 88
subfloats × 80
positioning × 65
boxes × 57
footnotes × 56
margins × 50
page-breaking × 44
align × 43
itemize × 41
environments × 40
listings × 39
two-column × 38
multicol × 36
subcaption × 35
wrapfigure × 33
enumerate × 32