tbook: DTD Element View [User Element View]
[Home] [Elements] [Entities] [Prev] [Next]

Element graphics

Synopsis

Content Model

(psfrag*)

Attributes

NameTypeDefault Value
style CDATA None
scale CDATA None
class CDATA None
kind Enumeration:
  bitmap
  diagram
  overlay
  vector
Required
xml:lang NMTOKEN None
id ID None
file CDATA Required
basefontsize CDATA None

Parameter Entities

The following parameter entities contain graphics: indexinline, inline

Description

This includes a graphics that is taken from file (without file name extension). kind is interpreted as follows:

vector
is an EPS file with correct bounding box.
bitmap
is a JPEG bitmap with correct dpi resolution information.
overlay
is a JPEG bitmap like "bitmap" with an equally big EPS vector image that is printed over the bitmap as a label layer. The EPS file has the file name file plus an `l'.
diagram
is a LaTeX fragment read in directly. It may be e.g. Gnuplot output.

Eventually the XML processor must see how to interpret kind. I explain here the way my current tbook tools go.

basefontsize may be "10pt", "11pt" or "12pt". Sometimes one changes the global font size in a document which may make all Psfrag labels look ugly, namely too big or too small. Or one graphics migrate from one document to another with a different main font size. With basefontsize you can switch locally to the old font size. Of course, you can also use this attribute to change the label size for a certain graphics.

Parents

aphorism, caption, cell, cite, closing, em, figure, footnote, frontmatter, heading, idx, item, ix, ix2, legalnotice, mathref, multipar, opening, p, pageref, proof, psfrag, quote, ref, subject, subtitle, term, theorem, title, to, verse, visual, vref, wrap

Children

psfrag

Example

<graphics kind="overlay" file="wafer1">
  <psfrag tag="GaAs"><ch>GaAs</ch></psfrag>
  <psfrag tag="AlAs"><ch>AlAs</ch></psfrag>
  <psfrag tag="4mu"><unit>4 µm</unit></psfrag>
  <psfrag tag="top layer"/>
</graphics>


HTML Presentation of tbook by DTDParse (version 2.0beta6).