summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/bardiag/example/altdiags.tex
blob: c7bb43567ccf8fd7113800d9d5338672b05875f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
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}