# Tag Info

0


1

Add only BACKGROUND_COLOR="xclEnvBk" in the section of switches.ini. The rest of the setting from  are for multiline backgrounds. And don't forget to load the script.

0

Sorry for the confusion everyone. I should have read the posting rules more thoroughly so I could have provided some actual useful information instead of a wall of nonsense code! The issue was a missing brace in chapter 3. I didn't realize that the error messages thrown by TeXstudio wouldn't give the exact line of the error, so I was assuming something ...

6

You can use the environ package like this: \documentclass{article} \usepackage{environ} \NewEnviron{margin}{\marginpar{\BODY}} \begin{document} \begin{margin} Figure goes here \end{margin} \end{document}

Top 50 recent answers are included