| This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these messages)
| The topic of this article may not meet Wikipedia's general notability guideline. Please help to demonstrate the notability of the topic by citing reliable secondary sources that are independent of the topic and provide significant coverage of it beyond a mere trivial mention. If notability cannot be shown, the article is likely to be merged, redirected, or deleted. Find sources: "PSfrag" – news · newspapers · books · scholar · JSTOR (May 2012) (Learn how and when to remove this message) |
| This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed. Find sources: "PSfrag" – news · newspapers · books · scholar · JSTOR (May 2012) (Learn how and when to remove this message) |
| This article relies excessively on references to primary sources. Please improve this article by adding secondary or tertiary sources. Find sources: "PSfrag" – news · newspapers · books · scholar · JSTOR (October 2021) (Learn how and when to remove this message) |
(Learn how and when to remove this message) |
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
- 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
PSfrag is not pdf-compatible, but there exist external solutions, like pstool, pst-pdf or pdfrack.
External links
|
|---|
| Classes | |
|---|
| Macro packages | |
|---|
| LaTeX integration | |
|---|
| Conversion tools | |
|---|
| Related | |
|---|