# Tag Info

## New answers tagged text-decorations

1

Unlike some other answers, the result is not in a box, and so it can work across line-breaks, paragraph breaks, and page breaks. In that sense, it is somewhat like Karl's answer. But unlike Karl's answer, it can be interspersed with normal text on a word by word basis. Ligatures are, however, lost. The settable options are: ...

3

With or without the xr package, \ref{x} is expanded to 1\hbox {} that is not a correct content for text along path. To get exactly 1, you may use the \getrefnumber macro provided by the refcount package (cf. How to compare the output of \ref to a number?). Here is a working figure.tex file: \documentclass{standalone} \usepackage{refcount} \usepackage{xr} ...

2

Your first question has been solved using xr package, as long as main.aux is in the same folder as figure.tex. For the second question, you can (ab-)use the character command key as follows. First, you need the key text effects along path, so that each character is inserted in the picture as a TikZ node. Then use text effects/.cd to enable access to keys ...

3

You may use the text effects along path decoration to apply the \contour command to each character. \documentclass{standalone} \usepackage{color} \usepackage[outline]{contour} \usepackage{tikz} \usetikzlibrary{decorations.text} \begin{document} \begin{tikzpicture} \def\mycontour#1{\contour{red}#1} \node (inicio) at (-3.9cm, -0.95cm) {}; \node (fin) ...

Top 50 recent answers are included