summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/tabulars-e/06-00-33.ltx
blob: 93662e5842601ecc65d75c11152bb734f05952cd (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
%% 
%%  A DANTE-Edition example
%% 
%%  Example 06-00-33 on page 197.
%% 
%%  Copyright (C) 2010 Herbert Voss
%% 
%%  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.
%% 
%% 
%% ==== 
% Show page(s) 1
%% 
\documentclass[]{article}
\pagestyle{empty}
\setlength\textwidth{415.41023pt}
\setlength\parindent{0pt}

\usepackage{ragged2e,array,graphicx}

\begin{document}
\renewcommand\arraystretch{1.3}
\begin{tabular}{@{}cc@{}}\small
\begin{tabular}{@{}c l l >{\RaggedRight}m{3.0cm}@{}}\hline
\emph{pin} & \emph{color} & \emph{at encoder} & \emph{description}\\\hline
1   & ---    & ---        & $\langle empty \rangle$         \\
2   & yellow & 8 (gray)   & Encoder channel B               \\
3   & white  & 7 (violet) & Encoder channel $\overline{B}$  \\
4   & blue   & 6 (blue)   & Encoder channel A               \\
5   & green  & 5 (green)  & Encoder channel $\overline{A}$  \\
6   & ---    & ---        & $\langle empty \rangle$         \\
7   & red    & 2 (red)    & Encoder power supply (+5V)      \\
8   & black  & 3 (orange) & GND                             \\ \hline
\end{tabular}
  & % right column for the image
\raisebox{-0.5\height}{\includegraphics[width=3cm]{images/din8}}
\end{tabular}
\end{document}