[Tex/LaTex] foreign package but with non italicized \ie and \eg

typography

I would like to continue using the foreign package, which italicizes (through emph) foreign words such as "i.e." and "e.g." . However, it is quite common to not italicize "i.e.", "e.g.", "et al", "etc." in English (perhaps also "cf."). Is there a way to specify this using the foreign package?

Best Answer

If you want none of the abbreviations provided by foreign to be in italics, just do

\renewcommand{\foreignabbrfont}{}

after \usepackage{foreign}. If only selected abbreviations should not be in italics, you have to change their definitions manually. For instance, if \ie and \eg are to be printed in the same font as the context, add

\makeatletter
\DeclareRobustCommand\ie{%
  \UKUS@comma{i.e}%
}
\DeclareRobustCommand\eg{%
  \UKUS@comma{e.g}%
}
\makeatother

Look in foreign.sty to retrieve the definitions.