Skip to main content
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=...
MadyYuvi's user avatar
  • 14.7k
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]{...
samcarter_is_at_topanswers.xyz's user avatar
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 ...
Skillmon's user avatar
  • 63.3k
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{...
cfr's user avatar
  • 212k
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 ...
halsten's user avatar
  • 58
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{...
samcarter_is_at_topanswers.xyz's user avatar
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 ...
egreg's user avatar
  • 1.2m
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> { \...
samcarter_is_at_topanswers.xyz's user avatar

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