<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.5945" name=GENERATOR></HEAD>
<BODY style="MARGIN: 4px 4px 1px; FONT: 10pt Tahoma">
<DIV>I had been thinking of a related problem, may I pose it here?</DIV>
<DIV>&nbsp;</DIV>
<DIV>I wish to shade quarters of characters, top left, top right, bottom left, bottom right, or various combinations thereof.</DIV>
<DIV>&nbsp;</DIV>
<DIV>I'm still pretty new at this, so if anyone can help with that, I'd be grateful.</DIV>
<DIV>&nbsp;</DIV>
<DIV>K</DIV>
<DIV>&nbsp;</DIV>
<DIV>Karljürgen G. Feuerherm, PhD<BR>Department of Archaeology and Classical Studies<BR>Wilfrid Laurier University<BR>75 University Avenue West<BR>Waterloo, Ontario N2L 3C5<BR>Tel. (519) 884-1970 x3193<BR>Fax (519) 883-0991 (ATTN Arch. &amp; Classics)<BR><BR>&gt;&gt;&gt; Ross Moore &lt;ross@ics.mq.edu.au&gt; 10/04/2010 5:53 pm &gt;&gt;&gt;<BR><BR>On 11/04/2010, at 3:56 AM, Mehdi Omidali wrote:<BR><BR>&gt; Hi all,<BR>&gt; Is it possible to construct a box that contains a fraction (say <BR>&gt; half) of a character (horizontal half) of a font.<BR><BR><BR>It isn't clear whether you want the width of the box<BR>to be the original character width, or only the width<BR>of what remains visible after knocking-out half of it.<BR><BR>Here are commands which implement both viewpoints,<BR>with an optional parameter to adjust how much to<BR>"knock out" (i.e., overprint with a white rule).<BR>The examples test various amounts.<BR><BR>\usepackage{color}<BR><BR>\newcommand{\ko}[2][.25]{{#2%<BR>\setbox0=\hbox{#2}\dimen0=#1\wd0<BR>\dimen2=\ifdim \dp0=0pt .1ex\else 1.1\dp0\fi<BR>\kern-\dimen0<BR>{\color{white}\vrule height 1.1\ht0 depth\dimen2 width\dimen0}%<BR>% \kern-\dimen0<BR>}}<BR><BR>\newcommand{\kok}[2][.25]{{#2%<BR>\setbox0=\hbox{#2}\dimen0=#1\wd0<BR>\dimen2=\ifdim \dp0=0pt .1ex\else 1.1\dp0\fi<BR>\kern-\dimen0<BR>{\color{white}\vrule height 1.1\ht0 depth\dimen2 width\dimen0}%<BR>\kern-\dimen0<BR>}}<BR><BR>\begin{document}<BR>\noindent Retain full character widths:\par<BR>\medskip<BR>{\LARGE\noindent<BR>\ko{H}\ko{E}\ko{L}\ko{L}\ko{O} \ko{W}\ko{o}\ko{r}\ko{l}\ko{d}.\par}<BR>{\LARGE\noindent<BR>\ko[.5]{H}\ko[.5]{E}\ko[.5]{L}\ko[.5]{L}\ko[.5]{O} \ko[.3]{W}\ko[.3] <BR>{o}\ko[.3]{r}\ko[.3]{l}\ko[.3]{d}.\par}<BR><BR>\bigskip<BR>\noindent Use only the width remaining after knock-out:\par<BR>\medskip<BR>{\LARGE\noindent<BR>\kok{H}\kok{E}\kok{L}\kok{L}\kok{O} \kok{W}\kok{o}\kok{r}\kok{l}\kok <BR>{d}.\par}<BR>{\LARGE\noindent<BR>\kok[.5]{H}\kok[.5]{E}\kok[.5]{L}\kok[.5]{L}\kok[.5]{O} \kok[.3]{W} <BR>\kok[.3]{o}\kok[.3]{r}\kok[.3]{l}\kok[.3]{d}.\par}<BR><BR></DIV></BODY></HTML>