Tagged Questions
4
votes
1answer
371 views
Calculate parbox width to make it meet the page border?
I'm using the program package to typeset my algorithms. I want my comments to have a light gray background, therefore I'm using colorbox with a parbox inside (for multi-line comments).
Now the ...
7
votes
1answer
739 views
Shrinking text to the width of a node within a tikzpicture
I would like to be able to scale text to the width of a TikZ node.
Using \widthof within tikzpicture as a starting point, I've arrived at somewhat of a solution, except it has incorrect spacing, and ...
4
votes
2answers
702 views
\widthof within tikzpicture
In this minimal example
\documentclass{scrartcl}
\usepackage{calc}
\usepackage{tikz}
\newlength{\TestLength}
\begin{document}
\setlength{\TestLength}{\widthof{\tikz \node {bla};}}
...