[pdftex] Strangeness with protcode

David Wooten wooten at uclink.berkeley.edu
Sat Feb 15 17:21:00 CET 2003


Greetings,
I'm hoping there is something obvious that I am missing... The output 
from the following sample has lines which protrude too 
far---significantly. This has not happened with any other files, and I 
cannot seem to figure out where the difference is.  Thanks for any 
advice you can give me!


\documentclass[twocolumn]{book}
\input protcode.tex
\pdfprotrudechars=2
\renewcommand\familydefault{ptm}
\def\setupfont{
         \setprotcode\font
}
\def\setupfam{
         {\setupfont}
         {\itshape\setupfont}
         {\bfseries\setupfont}
         {\itshape\bfseries\setupfont}
}
\AtBeginDocument{
         \setupfam
         \large\setupfam
         \small\setupfam
}
\setlength{\columnsep}{0.4in}
\setlength{\parindent}{-0.1in}
\def\b#1{{\bfseries#1}~}
\def\ib#1{{\itshape#1}}
\small
\begin{document}
\b{Able}
        \ib{1:} (usually followed by `to') having the necessary means or
               skill or know-how or authority to do something; ``able
               to swim'' ``she was able to program her computer''; ``we
               were at last able to buy a car''; ``able to get a grant
               for the project'' \ib{ant:} unable.
        \ib{2:} have the skills and qualifications to do things well; 
``able
           teachers''; ``a capable administrator''; ``children as young
           as 14 can be extremely capable and dependable'' \ib{syn:} 
capable.
        \ib{3:} having inherent physical or mental ability or capacity;
           ``able to learn'' ``human beings are able to walk on two
           feet''; ``Superman is able to leap tall buildings''
        \ib{4:} having a strong healthy body; ''an able seaman''; ``every
           able-bodied young man served in the army''\ib{syn:} 
able-bodied. (wn)
\end{document}


-------------- next part --------------
A non-text attachment was scrubbed...
Name: asamp.pdf
Type: application/pdf
Size: 3879 bytes
Desc: not available
Url : http://tug.org/pipermail/pdftex/attachments/20030215/175e246a/asamp.pdf


More information about the pdftex mailing list