From 3f126e90ac9efa15e72c8b415a2f25d3b19c509a Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 15 Jun 2008 17:56:37 +0000 Subject: painful pgfplots update (14jun08) git-svn-id: svn://tug.org/texlive/trunk@8751 c570f23f-e606-0410-a88d-b1316a301751 --- .../doc/latex/pgfplots/pgfplots.preamble.tex | 114 +++++++++++++++++++++ 1 file changed, 114 insertions(+) create mode 100644 Master/texmf-dist/doc/latex/pgfplots/pgfplots.preamble.tex (limited to 'Master/texmf-dist/doc/latex/pgfplots/pgfplots.preamble.tex') diff --git a/Master/texmf-dist/doc/latex/pgfplots/pgfplots.preamble.tex b/Master/texmf-dist/doc/latex/pgfplots/pgfplots.preamble.tex new file mode 100644 index 00000000000..087d13237be --- /dev/null +++ b/Master/texmf-dist/doc/latex/pgfplots/pgfplots.preamble.tex @@ -0,0 +1,114 @@ +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% +% Package pgfplots.sty documentation. +% +% Copyright 2007/2008 by Christian Feuersaenger. +% +% This program is free software: you can redistribute it and/or modify +% it under the terms of the GNU General Public License as published by +% the Free Software Foundation, either version 3 of the License, or +% (at your option) any later version. +% +% This program is distributed in the hope that it will be useful, +% but WITHOUT ANY WARRANTY; without even the implied warranty of +% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +% GNU General Public License for more details. +% +% You should have received a copy of the GNU General Public License +% along with this program. If not, see . +% +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\documentclass[a4paper]{ltxdoc} + +\usepackage{ifpdf} +\ifpdf + \usepackage[pdftex]{hyperref} +\else + \usepackage[dvipdfm]{hyperref} +\fi +\hypersetup{pdfborder={0 0 0}} + +\newcommand{\R}{\mathbb{R}} +\newcommand{\N}{\mathbb{N}} +\newcommand{\Z}{\mathbb{Z}} + +\usepackage{calc} +\usepackage[formats]{listings} +\usepackage{courier} +%-------------------------------------------------- +% \usepackage{array} +%-------------------------------------------------- +\lstset{% + basicstyle=\ttfamily, + language=[LaTeX]tex, % Seems as if \lstset{language=tex} must be invoked BEFORE loading tikz!? + tabsize=4, + breaklines=true, + breakindent=0pt +} + +\ifpdf + \pdfinfo { + /Author (Christian Feuersaenger) + } + +\else + \def\pgfsysdriver{pgfsys-dvipdfm.def} +\fi +%\def\pgfsysdriver{pgfsys-pdftex.def} +\usepackage{pgfplots} + +\usepackage[a4paper,left=2.25cm,right=2.25cm,top=2.5cm,bottom=2.5cm,nohead]{geometry} +\usepackage{amsmath,amssymb} +\usepackage{xxcolor} +\usepackage{pifont} +\usepackage{makeidx} +\usepackage[latin1]{inputenc} +\usepackage{amsmath} +\input{pgfplots-macros} + +\pgfqkeys{/codeexample}{% + every codeexample/.style={ + width=8cm, + /pgfplots/every axis/.append style={legend style={fill=graphicbackground}} + }, + tabsize=4, +} +\pgfplotsset{every axis/.append style={width=7cm}} + +\usetikzlibrary{backgrounds,patterns} +% Global styles: +\tikzset{ + shape example/.style={ + color=black!30, + draw, + fill=yellow!30, + line width=.5cm, + inner xsep=2.5cm, + inner ysep=0.5cm} +} + +\newcommand{\FIXME}[1]{\textcolor{red}{(FIXME: #1)}} + +% fuer endvironment 'sidewaysfigure' bspw +% \usepackage{rotating} + +\newcommand\Tikz{Ti\textit kZ} +\newcommand\PGF{\textsc{pgf}} +\newcommand\PGFPlots{\textsc{pgfplots}} +\def\PGFPlotstable{\textsc{PgfplotsTable}} + + +\makeindex + +% Fix overful hboxes automatically: +\tolerance=2000 +\emergencystretch=10pt + +\tikzset{prefix=gnuplot/pgfplots_} % prefix for 'plot function' + +\author{% + Christian Feuers\"anger\footnote{\url{http://wissrech.ins.uni-bonn.de/people/feuersaenger}}\\% + Institut f\"ur Numerische Simulation\\ + Universit\"at Bonn, Germany} + -- cgit v1.2.3