summaryrefslogtreecommitdiff
path: root/info/examples/lgc2/6-7-51.ltx
blob: 9c201d085ab605d625b8946ac83a892550d99516 (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
%% 
%%  The LaTeX Graphics Companion, 2ed (first printing May 2007)
%% 
%%  Example 6-7-51 on page 454.
%% 
%%  Copyright (C) 2007 Michel Goossens, Frank Mittelbach, Denis Roegel, Sebastian Rahtz, Herbert Vo\ss 
%% 
%%  It may be distributed and/or modified under the conditions
%%  of the LaTeX Project Public License, either version 1.3
%%  of this license or (at your option) any later version.
%% 
%%  See http://www.latex-project.org/lppl.txt for details.
%% 

\documentclass{ttctexa}
\pagestyle{empty}
\setcounter{page}{6}
\setlength\textwidth{348.0pt}
\setlength\parindent{0pt}
\usepackage{color,graphicx}% Only for creating an eps with correct bb
\AtBeginDocument{{\color{white}\rule{1.02\linewidth}{1.2cm}}\par\hspace*{.3em}}
\StartShownPreambleCommands
\usepackage{pst-barcode}
\StopShownPreambleCommands
\begin{document}
\resizebox{\linewidth}{!}{%
\begin{tabular}{p{1in}p{1.7in}p{0.9in}p{1.3in}}
  \psbarcode{01335583}{includetext guardwhitespace height=0.5 textsize=8}
            {ean8} &
  \psbarcode{0110197595}{includecheck includetext height=0.5 textsize=8}
            {interleaved2of5} &
  \psbarcode{0123456}{includetext height=0.5 textsize=8}{upce} &
  \psbarcode{231119496801}{includetext height=0.5 textsize=8}{ean13}\\[5pt]
  EAN-8 & Interleaved 2 of 5 & UPC-E & EAN-13
\end{tabular}}

\vspace{2cm}
\resizebox{\linewidth}{!}{%
\begin{tabular}{p{1.4in}p{1.7in}p{2in}}
  \psbarcode{78858101497}{includetext height=0.75 textsize=8}{upca} &
  \psbarcode{0123456789}{includetext height=0.75 textsize=8}{code11} &
  \psbarcode{^104^102Count^0991234^101!}
            {includetext height=0.75 textsize=8}{code128}\\[5pt]
  UPC-A & Code 11 & Code 128
\end{tabular}}

\vspace{2.5cm}
\resizebox{\linewidth}{!}{%
\begin{tabular}{p{2.1in}p{1.8in}p{1.2in}}
  \psbarcode{A0123456789B}{includecheck includetext textsize=8}
                          {rationalizedCodabar} &
  \begin{tabular}{p{1.7in}}
    \psbarcode[transy=1.5cm]{011075}{includetext textsize=8}
                            {postnet}\\[-1.4cm]
    Postnet\\[60pt]
    \psbarcode[transy=1.5cm]{LE28HS9Z}{includetext textsize=8}
                            {royalmail}\\[-1.4cm]
    Royal Mail
  \end{tabular} &
  \psbarcode{1-86074-271}{includetext textsize=8}{isbn}\\
  Rationalized Codabar &  & ISBN
\end{tabular}}
\end{document}