From 007f67a693e4d031fd3d792df8e4d5f43e2cb2e7 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 9 Jan 2006 00:49:07 +0000 Subject: doc/latex git-svn-id: svn://tug.org/texlive/trunk@84 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/overpic/README | 28 +++++++ Master/texmf-dist/doc/latex/overpic/README.de | 23 ++++++ Master/texmf-dist/doc/latex/overpic/golfer.ps.gz | Bin 0 -> 10872 bytes Master/texmf-dist/doc/latex/overpic/opic-abs.tex | 101 +++++++++++++++++++++++ Master/texmf-dist/doc/latex/overpic/opic-rel.tex | 101 +++++++++++++++++++++++ 5 files changed, 253 insertions(+) create mode 100644 Master/texmf-dist/doc/latex/overpic/README create mode 100644 Master/texmf-dist/doc/latex/overpic/README.de create mode 100644 Master/texmf-dist/doc/latex/overpic/golfer.ps.gz create mode 100644 Master/texmf-dist/doc/latex/overpic/opic-abs.tex create mode 100644 Master/texmf-dist/doc/latex/overpic/opic-rel.tex (limited to 'Master/texmf-dist/doc/latex/overpic') diff --git a/Master/texmf-dist/doc/latex/overpic/README b/Master/texmf-dist/doc/latex/overpic/README new file mode 100644 index 00000000000..e6c5eb3c94f --- /dev/null +++ b/Master/texmf-dist/doc/latex/overpic/README @@ -0,0 +1,28 @@ + +This small LaTeX package defines the overpic environment which is +a combination between a picture environment and an includegraphics +command (defined in graphicx). The resulting picture environment has +the same dimension as the included eps graphic. Now it is easy possible +to put any LaTeX output above the graphic on defined positions. A grid +to aid is also possible. + +This directory contains the following files: + +README - This file. +README.de - The same in german. +overpic.sty - The definition of overpic. Required graphicx.sty and epic.sty. +opic-rel.tex +and +opic-abs.tex - Two demos that shows all the features. You need the eps graphic + file golfer.ps. This file is part of ghostscript´s examples + directory. + +Please send comments and suggestions to niepraschk@ptb.de + +Happy TeXing... + + Rolf Niepraschk, 11/97 + + + + diff --git a/Master/texmf-dist/doc/latex/overpic/README.de b/Master/texmf-dist/doc/latex/overpic/README.de new file mode 100644 index 00000000000..1df5b3e5ad7 --- /dev/null +++ b/Master/texmf-dist/doc/latex/overpic/README.de @@ -0,0 +1,23 @@ + +Dieses kleine LaTeX-Paket definiert die overpic-Umgebung, welche eine +Kombination von picture-Umgebung und includegraphics-Befehl ist. Die +resultierende picture-Umgebung hat dieselbe Groesse wie die eingefuegte Grafik. +Jetzt ist es einfach moeglich beliebige LaTeX-Ausgaben auf das Bild zu +positionieren. Ein Gitter kann zur Hilfe verwendet werden. + +Das Verzeichnis enthaelt: + +README.de - Diese Datei. +README - Das gleiche in englisch. +overpic.sty - Die Definition von overpic. Benoetigt graphicx.sty und epic.sty. +opic-rel.tex +und +opic-abs.tex - Zwei Testdateien, die alle Moeglichkeiten zeigen. Die Grafikdatei + golfer.ps wird benoetigt. Sie ist in ghostscripts examples-Ver- + zeichnis enthalten. + +Kommentare und Vorschlaege bitte an niepraschk@ptb.de schicken. + +Happy TeXing... + + Rolf Niepraschk, 11/97 diff --git a/Master/texmf-dist/doc/latex/overpic/golfer.ps.gz b/Master/texmf-dist/doc/latex/overpic/golfer.ps.gz new file mode 100644 index 00000000000..738eed10427 Binary files /dev/null and b/Master/texmf-dist/doc/latex/overpic/golfer.ps.gz differ diff --git a/Master/texmf-dist/doc/latex/overpic/opic-abs.tex b/Master/texmf-dist/doc/latex/overpic/opic-abs.tex new file mode 100644 index 00000000000..ff0c0fe8088 --- /dev/null +++ b/Master/texmf-dist/doc/latex/overpic/opic-abs.tex @@ -0,0 +1,101 @@ + +% opic-abs.tex + +\documentclass[10pt,a4paper]{article} +%\documentclass[10pt,letterpaper]{article} +\usepackage[abs]{overpic} + +\setlength\parindent{0pt}\setlength\unitlength{1mm} + +\newlength\Li \newlength\Lii +\setlength\Li{55mm} \setlength\Lii{80mm} + +\setlength\topmargin{-1in} +\setlength\headheight{0pt} +\setlength\headsep\headheight +\setlength\textheight\paperheight +\addtolength\textheight{-2\footskip} +\setlength\textwidth{150mm} +\setlength\oddsidemargin\paperwidth +\addtolength\oddsidemargin{-\textwidth} +\setlength\oddsidemargin{.5\oddsidemargin} +\addtolength\oddsidemargin{-1in} +\setlength\evensidemargin\oddsidemargin + +\newcommand\HFILL{\hspace*{\fill}} +\newcommand\VFILL{\vspace*{\fill}} + +\pagestyle{empty} + +\begin{document} + +\VFILL + +\section*{\centering The \texttt{overpic} environment with + absolute positioning\footnote{Version 0.5, Rolf Niepraschk, + 11/97, file: \texttt{overpic.sty}}} + +\HFILL +\begin{minipage}{\Li} + \includegraphics[scale=.25]{golfer.ps} +\end{minipage}\qquad +\begin{minipage}{\Lii} + Insert before: + \begin{verbatim} +\usepackage[abs]{overpic} +... +\setlength\unitlength{1mm} +and/or local option unit=... + \end{verbatim} + The original graphic from \textsc{GhostScript}: + \begin{verbatim} +\includegraphics[scale=.25]{golfer.ps} + \end{verbatim} +\end{minipage} +\HFILL + +\VFILL + +\HFILL +\begin{minipage}{\Li} + \begin{overpic}[scale=.25,grid,tics=5]{golfer.ps} + \end{overpic} +\end{minipage}\qquad +\begin{minipage}{\Lii} + A grid for orientation:% + \begin{verbatim} +\begin{overpic}[scale=.25,grid,tics=5]% + {golfer.ps} +\end{overpic} + \end{verbatim} + (default for \texttt{tics} is 10) +\end{minipage} +\HFILL + +\VFILL + +\HFILL +\begin{minipage}{\Li} + \begin{overpic}[scale=.25,unit=1mm]{golfer.ps} + \put(3,28){\huge \LaTeX} + \put(34,5){\includegraphics[scale=.07]% + {golfer.ps}} + \end{overpic} +\end{minipage}\qquad +\begin{minipage}{\Lii} + Positioning the \LaTeX\ output with \verb#\put# commands: + \begin{verbatim} +\begin{overpic}[scale=.25,unit=1mm]% + {golfer.ps} + \put(3,28){\huge \LaTeX} + \put(34,5){\includegraphics[scale=.07]% + {golfer.ps}} +\end{overpic} + \end{verbatim} + (default for \texttt{unit} is \verb#\unitlength#) +\end{minipage} +\HFILL + +\VFILL + +\end{document} diff --git a/Master/texmf-dist/doc/latex/overpic/opic-rel.tex b/Master/texmf-dist/doc/latex/overpic/opic-rel.tex new file mode 100644 index 00000000000..e8201191397 --- /dev/null +++ b/Master/texmf-dist/doc/latex/overpic/opic-rel.tex @@ -0,0 +1,101 @@ + +% opic-rel.tex + +\documentclass[10pt,a4paper]{article} +%\documentclass[10pt,letterpaper]{article} +\usepackage{overpic} + +\setlength\parindent{0pt} + +\newlength\Li \newlength\Lii +\setlength\Li{55mm} \setlength\Lii{80mm} + +\setlength\topmargin{-1in} +\setlength\headheight{0pt} +\setlength\headsep\headheight +\setlength\textheight\paperheight +\addtolength\textheight{-2\footskip} +\setlength\textwidth{150mm} +\setlength\oddsidemargin\paperwidth +\addtolength\oddsidemargin{-\textwidth} +\setlength\oddsidemargin{.5\oddsidemargin} +\addtolength\oddsidemargin{-1in} +\setlength\evensidemargin\oddsidemargin + +\newcommand\HFILL{\hspace*{\fill}} +\newcommand\VFILL{\vspace*{\fill}} + +\pagestyle{empty} + +\begin{document} + +\VFILL + +\section*{\centering The \texttt{overpic} environment with + relative positioning\footnote{Version 0.5, Rolf Niepraschk, + 11/97, file: \texttt{overpic.sty}}} + +\HFILL +\begin{minipage}{\Li} + \includegraphics[scale=.25]{golfer.ps} +\end{minipage}\qquad +\begin{minipage}{\Lii} + Insert before: + \begin{verbatim} +\usepackage[percent]{overpic} +(default) or +\usepackage[permil]{overpic} + \end{verbatim} + The original graphic from \textsc{GhostScript}: + \begin{verbatim} +\includegraphics[scale=.25]{golfer.ps} + \end{verbatim} +\end{minipage} +\HFILL + +\VFILL + +\HFILL +\begin{minipage}{\Li} + \begin{overpic}[scale=.25,grid,tics=10]{golfer.ps} + \end{overpic} +\end{minipage}\qquad +\begin{minipage}{\Lii} + A grid for orientation:% + \begin{verbatim} +\begin{overpic}[scale=.25,grid,tics=10]% + {golfer.ps} +\end{overpic} + \end{verbatim} + (default for \texttt{tics} is 10 for `\texttt{percent}' and 100 for + `\texttt{permil}') +\end{minipage} +\HFILL + +\VFILL + +\HFILL +\begin{minipage}{\Li} + \begin{overpic}[scale=.25]{golfer.ps} + \put(5,45){\huge \LaTeX} + \put(55,10){\includegraphics[scale=.07]% + {golfer.ps}} + \end{overpic} +\end{minipage}\qquad +\begin{minipage}{\Lii} + Positioning the \LaTeX\ output with \verb#\put# commands: + \begin{verbatim} +\begin{overpic}[scale=.25]{golfer.ps} + \put(5,45){\huge \LaTeX} + \put(55,10){\includegraphics[scale=.07]% + {golfer.ps}} +\end{overpic} + \end{verbatim} + (\verb#\unitlength# is internally set to 1/100 or 1/1000 of the length of + the picture's longer side) +\end{minipage} +\HFILL + +\VFILL + +\end{document} -- cgit v1.2.3