As far as your second question, it is a simple matter of using #1, which represents the first parameter of the macro. \documentclass{article} \usepackage{xcolor} \newcommand{\MyBox}[1]{ \begin{center}% \colorbox{yellow}{% \parbox{0.8\linewidth}{% #1% }% }% \end{center}% }% \be...
"""@package mypackage.aThis is a package docstring in mypackage.a.py"""importmypackagedefbar(bar):"""This is the function named bar.The function calls `mypackage.foo()` and returns an 'a'.Paramters:bar (str): Just a parameter.Returns:str: Just an 'a'."""mypackage.foo(bar)return(...
The stackengine package has a parameter \def\useanchorwidth{} that when set to T, ignores the stacked-on or -under content when determining the width of the stack. The optional argument provides the stacking gap. A {}={} had to be used to get the stacked equal sign to act as a ma...