Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a23f40f69e19dfff

Jump to content

// Workers AI · dad joke modeWhat did PSfrag say? I'm a frag-ment of code.

From Wikipedia, the free encyclopedia

PSfrag is a LaTeX package that allows one to overlay Encapsulated PostScript (EPS) figures with arbitrary LaTeX constructions, properly aligned, scaled, and rotated. The user has to place a text tag into the EPS file and the corresponding LaTeX construction into the LaTeX file that will include the EPS file. PSfrag will remove the tag and replace it by the specified LaTeX construction.

The authors of PSfrag are Craig Barratt, Michael Grant and David Carlisle.

Basic usage

[edit]
  • Insert a simple tag into the EPS file. The tag must be a single word, alphanumeric, and unaccented.
  • Add to the LaTeX document a \psfrag command for replacing the tag as follows.
    \psfrag{tag}[position][psposition][scale][rotation]{LaTeX construction}
    
  • Include the EPS file into the LaTeX document using \includegraphics.
  • Load psfrag.sty using \usepackage.

Pdf compatibility

[edit]

PSfrag is not pdf-compatible, but there exist external solutions, like pstool, pst-pdf or pdfrack.

[edit]