Tag Info

New answers tagged

3

In TikZ you can use tikzfadingfrompicture from fadings library to clip using text. In the following example I use a shaded rectangle in place of your image. \documentclass{standalone} \usepackage{tikz} \usetikzlibrary{fadings} \begin{document} % the clipping text \begin{tikzfadingfrompicture}[name=title] \node [text=transparent!0, text ...


14

Solution without TikZ Using text as clip path is supported by package pdfrender if pdfTeX (or LuaTeX) is running in PDF mode. \pdfsave and \pdfrestore saves and restores the current graphics state, thus that the clipping ends after \pdfrestore. Since the graphics state include the current transfer matrix (e.g., the current point on the PDF page), the ...


13

This is a slightly tweaked solution based on Mark Wibrow's answer. It adds the fit library so that the front node (the one with the text) stretches to cover the background image without having to set the size manually. This is the image source (place it in your Tex folder where the main document is, and rename it vegetation). Output Code ...



Top 50 recent answers are included