summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/metapost/base/source/mpgraph.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/metapost/base/source/mpgraph.tex')
-rw-r--r--Master/texmf-dist/doc/metapost/base/source/mpgraph.tex30
1 files changed, 18 insertions, 12 deletions
diff --git a/Master/texmf-dist/doc/metapost/base/source/mpgraph.tex b/Master/texmf-dist/doc/metapost/base/source/mpgraph.tex
index 77c5d71c5a5..ea606e06e0f 100644
--- a/Master/texmf-dist/doc/metapost/base/source/mpgraph.tex
+++ b/Master/texmf-dist/doc/metapost/base/source/mpgraph.tex
@@ -1,12 +1,20 @@
-% $Id: mpgraph.tex,v 1.3 2005/03/22 00:16:53 karl Exp $
+% $Id: mpgraph.tex 444 2008-03-30 10:28:13Z stephanhennig $
% MetaPost graph doc, by John Hobby. License at end.
+\listfiles
+\RequirePackage{ifpdf}
+\ifpdf
\ifnum\pdftexversion<140
\else
\pdfminorversion=5
\pdfobjcompresslevel=1% Use compressed object streams.
\fi
-\RequirePackage[resetfonts]{cmap}
+\RequirePackage{cmap}
+\fi
\documentclass{article} % article is NOT the original style
+\usepackage[T1]{fontenc}
+\usepackage{lmodern}
+\usepackage{textcomp}
+\usepackage{mflogo}
\usepackage{makeidx}
\usepackage{fancyvrb}
\usepackage{ctabbing}
@@ -20,15 +28,6 @@
\newcommand\tdescr[1]{$\langle$\invisgap{\rm#1}\invisgap$\rangle$}
\newcommand\Ignore[1]{} % For fooling delatex so spell will work
-\newfont\psyvii{psyr at 7pt}
-\newcommand\regmark{$^{\hbox{\psyvii\char'322}}$} % Registered trademark
-\newcommand\logofn{\global\font\logofn=logo8 \logofn}
-\newcommand\logo{\global\font\logo=logo10 \logo}
-\newcommand\logosl{\global\font\logosl=logosl10 \logosl}
-\newcommand\MF{{\ifdim \fontdimen6\font <9pt \def\logo{\logofn}\fi
- \ifdim \fontdimen1\font >0pt \def\logo{\logosl}\fi
- {\logo META}\-{\logo FONT}}}
-
\newcommand\mathcenter[1]{\vcenter{\hbox{#1}}}
\author{John D. Hobby}
@@ -64,6 +63,13 @@ in a stand-alone graph package.}
citecolor=SpringGreen3
}
\usepackage[all]{hypcap}
+\ifpdf
+\pdfmapfile{=cm2lm.map}% replace CM by LM in figures
+\else
+\DeclareGraphicsExtensions{.mps}
+\DeclareGraphicsRule{mps}{eps}{*}{}
+\usepackage{breakurl}
+\fi
\begin{document}
@@ -111,7 +117,7 @@ The graph macros provide the following functionality:
\end{enumerate}
In addition to these items, the user also has access to all the features
described in the MetaPost user's manual~\cite{ho:mp3}.
-These include access to almost all the features of PostScript\regmark,
+These include access to almost all the features of PostScript,
ability to use and manipulate typeset text,
ability to solve linear equations,
and data types for points, curves, pictures, and coordinate transformations.