On Mon, 07 Feb 2005 16:41:30 +0100, Hans Hagen <[EMAIL PROTECTED]> wrote:

There are also a few accents that I have to make on the fly with (amateurish) macros, including the shorter bar over lower case <i> and some others. lm should provide all of this by default.

do you have a list of them:

<name> <example of how to make them with a macro>

ok, everything is in the attached file aqc-trans.sty (also 2 b found in your private sanaah tree \texmf-var\tex\generic\sanaah). Most important:

1.

\def\h#1{{\oalign{\relax#1\crcr\hidewidth\SHIFT{34}%
    \vbox to.2ex{\hbox{\char'25}\vss}\hidewidth}}}

% this one fails when using m-bib so I have some workarounds in the attached file

2.

\def\IBAR%
{\leavevmode\vbox{\offinterlineskip\lineskip0.295ex%
%\ialign{##\cr\USHIFT{120}\hbox to .27777em{\leaders\hrule height .067354ex\hfill}\SHIFT{1}\cr\i\cr}}}
%\ialign{##\cr\USHIFT{120}\hfill\hbox to .21243em{\leaders\hrule height .067354ex\hfill}\hfill\SHIFT{1}\cr\i\cr}}}
\ialign{##\cr\USHIFT{120}\hfill\hbox to .21243em{\leaders\hrule height .07ex\hfill}\hfill\SHIFT{1}\cr\i\cr}}}

\definecharacter imacron          {\IBAR} % ConTeXt-dependent!

3.

\def\cupd{\leavevmode\USHIFT{14}\rotate[rotation=180,location=high]{\txx c}\SHIFT{14}} % ConTeXt dependent!
\def\cupds{\leavevmode\USHIFT{21}\rotate[rotation=180,location=high]{\switchtobodyfont[small]\txx c}\SHIFT{14}} % ConTeXt dependent!

\def\HAMZAH{\leavevmode\raise.9ex\hbox{\cupd}{}}
\def\HAMZAHS{\leavevmode\raise.9ex\hbox{\cupds}{}}
\def\AYN {\leavevmode\raise.9ex\hbox{\txx \USHIFT{1} c\SHIFT{0}}{}}
%\def\AYN {\leavevmode\raise.9ex\hbox{\switchtobodyfont[small]\txx \USHIFT{1} c\SHIFT{1}}{}}
\def\AYNS {\leavevmode\raise.9ex\hbox{\switchtobodyfont[small]\txx \USHIFT{1} c\SHIFT{1}}{}}

\def\'{\HAMZAH}
\def\`{\AYN}
========================

There may be a couple of more important ones, I need to check...

Best
Idris

--
Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

Attachment: ac-trans.sty
Description: Binary data

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to