mmacells
mmacells copied to clipboard
Question: \mmaCellGraphics vertical positioning
Hi,
How can I move the \includegraphics{}
so that the "Out[...] =" label is centred vertically relative to graphics height? I can move it left/right using \mmaCellGraphics[ig={trim= -1cm 0cm 0cm 0cm}]{Output}{fig.pdf}
.
Best wishes, Jose Sa
Graphics included by mmacells
commands is always typeset inside latex3 coffin. You can control typesetting of this coffin using pole1
, pole2
, xoffset
and yoffset
options.
To put coffin handle in vertical center of coffin use pole2=vc
option. To control where coffin handle will be typeset, with respect to current reference point in the document, use xoffset
and yoffset
e.g.
\mmaCellGraphics[pole2=vc]{Output}{fig.pdf}
\mmaCellGraphics[pole2=vc,yoffset=.5ex]{Output}{fig.pdf}
\mmaCellGraphics[pole2=vc,yoffset=.5ex,xoffset=1cm]{Output}{fig.pdf}