%% 
%%  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}
