summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/bardiag/example/altdiags.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-01-09 00:44:40 +0000
committerKarl Berry <karl@freefriends.org>2006-01-09 00:44:40 +0000
commitb4fc5f639874db951177ec539299d20908adb654 (patch)
tree52f08823ca58fffe3db6a9b075635038c567626c /Master/texmf-dist/doc/latex/bardiag/example/altdiags.tex
parentdec3d98ebe442d7ea93efbaa8dd2e2be8149a467 (diff)
doc 4
git-svn-id: svn://tug.org/texlive/trunk@80 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/bardiag/example/altdiags.tex')
-rw-r--r--Master/texmf-dist/doc/latex/bardiag/example/altdiags.tex97
1 files changed, 97 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/bardiag/example/altdiags.tex b/Master/texmf-dist/doc/latex/bardiag/example/altdiags.tex
new file mode 100644
index 00000000000..c7bb43567cc
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/bardiag/example/altdiags.tex
@@ -0,0 +1,97 @@
+\documentclass[12pt]{article}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\usepackage[a4paper,nohead]{geometry}
+
+\usepackage{pst-coil} % for one of the "alternative" shapes
+\usepackage{bardiag}
+%\usepackage{showkeys}
+
+\usepackage{graphicx} % From LaTeX distribution
+
+\newpsobject{showgrid}{psgrid}{subgriddiv=1,griddots=10,gridlabels=6pt}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\begin{document}
+
+
+\begin{figure}[!htbp]
+ \begin{minipage}[t]{\textwidth}
+ \parbox[b]{\textwidth}{%
+ \centering
+ \centerline{%
+ \renewcommand{\ActiveBarPrimitive}{\barArrowRect}
+ \renewcommand{\frameTD}{0}
+ \renewcommand{\arrowheight}{5\dbar}
+ \renewcommand{\placenumber}{\bottom}
+ %
+ \input{src/1a.tex}
+ }
+ }
+ \end{minipage}
+\caption{\label{fig:9}Bar Diagram with alternative items: barArrowRect}
+\end{figure}
+
+\begin{figure}[!htbp]
+ \begin{minipage}[t]{\textwidth}
+ \parbox[b]{\textwidth}{%
+ \centering
+ \centerline{%
+ \renewcommand{\ActiveBarPrimitive}{\barGradRect}
+ \renewcommand{\frameTD}{0}
+ %
+ \input{src/1a.tex}
+ }
+ }
+ \end{minipage}
+\caption{\label{fig:10}Bar Diagram with alternative items: barGradRect}
+\end{figure}
+
+\begin{figure}[!htbp]
+ \begin{minipage}[t]{\textwidth}
+ \parbox[b]{\textwidth}{%
+ \centering
+ \centerline{%
+ \renewcommand{\ActiveBarPrimitive}{\barGradMidRect}
+ \renewcommand{\frameTD}{0}
+ %
+ \input{src/1a.tex}
+ }
+ }
+ \end{minipage}
+\caption{\label{fig:11}Bar Diagram with alternative items: barGradMidRect}
+\end{figure}
+
+\begin{figure}[!htbp]
+ \begin{minipage}[t]{\textwidth}
+ \parbox[b]{\textwidth}{%
+ \centering
+ \centerline{%
+ \renewcommand{\ActiveBarPrimitive}{\barGradCylinder}
+ \renewcommand{\tdx}{0.5} % depth of 3d
+ \renewcommand{\tdy}{30}
+ %
+ \renewcommand{\frameTD}{0}
+ %
+ \input{src/1a.tex}
+ }
+ }
+ \end{minipage}
+ \caption{\label{fig:12}Bar Diagram with alternative items: barGradMidRect}
+\end{figure}
+
+\begin{figure}[!htbp]
+ \begin{minipage}[t]{\textwidth}
+ \parbox[b]{\textwidth}{%
+ \centering
+ \centerline{%
+ \renewcommand{\ActiveBarPrimitive}{\barCoil}
+ \renewcommand{\frameTD}{0}
+ \renewcommand{\placenumber}{\overtop}
+ %
+ \input{src/1a.tex}
+ }
+ }
+ \end{minipage}
+ \caption{\label{fig:13}Bar Diagram with alternative items: barCoil}
+\end{figure}
+
+\end{document}