Hot answers tagged

2 votes

How to make minted work inside custom environments?

Use a custom environment and not a macro: % !TeX program = txs:///arara % arara: pdflatex: {synctex: on, interaction: nonstopmode, shell: yes} \documentclass{beamer} \usepackage{minted} \...'s user avatar
1 vote

Placing two code snippets next to each other with minted with a headline over each snippet causes box shift

I finally found the problem. The package mathpazo caused the shift of the minipage-boxes. No idea why, I will just leave the package out - but if someone wants to investigate this, please answer in ...
Martin Schmeißer's user avatar
1 vote

Toggle to hide minted environment

So after some good nights' sleep, I realized I could just move the \if@answers...\fi outside of the environment definition, and define the answercode environment for both @answers and @noanswers. ...
pkok's user avatar
  • 63

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