You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Migrated from SourceForge
Author: *anonymous
Timestamp: 2008-05-13 16:24:59
In one of my recent Documents (using the beamer class) I used \wdthof to adjust the text width of (TikZ-) nodes. Last week I did a system-wide update, changing the installed TeX distribution which stopped the document from working.
Migrated from SourceForge
Author: *anonymous
Timestamp: 2008-05-13 16:24:59
In one of my recent Documents (using the beamer class) I used \wdthof to adjust the text width of (TikZ-) nodes. Last week I did a system-wide update, changing the installed TeX distribution which stopped the document from working.
This is a minimal example:
\documentclass{article}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\node at (0,0) [text width=\widthof{Text }] {Text};
\end{tikzpicture}
\end{document}
Mark Wibrow suggested a workaround like
\catcode`@=11
\tikzoption{text width}{%
\pgfutil@in@\widthof{#1}%
\ifpgfutil@in@%
\setbox\pgf@hbox=\hbox{{\let\widthof=\relax\pgfutil@selectfont#1}}%
\edef\tikz@text@width{\the\wd\pgf@hbox}%
\else%
\def\tikz@text@width{#1}%
\fi%
}
\catcode`@=12
here:
http://groups.google.com/group/comp.text.tex/msg/2c697dad650bf0c9
Things like "text width=\paperwidth*\real{0.618}" should be made to work again, too.
The text was updated successfully, but these errors were encountered: