You can use a modified version of Importing a single symbol from a different font
\usepackage[T3,T1]{fontenc}
\makeatletter
\newcommand\ipamathsymbol[2][\mathord]{%
#1{\@ipamathsymbol{#2}}}
\def\@ipamathsymbol#1{\mathchoice
{\@ipam@thsymbol{#1}\tf@size}
{\@ipam@thsymbol{#1}\tf@size}
{\@ipam@thsymbol{#1}\sf@size}
{\@ipam@thsymbol{#1}\ssf@size}}
\def\@ipam@thsymbol#1#2{%
\mbox{\fontsize{#2}{#2}\usefont{T3}{cmr}{m}{sl}\symbol{#1}}}
\makeatother
\renewcommand{\gamma}{\ipamathsymbol{71}}
Loading the T3 encoding is necessary, since the tipa fonts are available only in that encoding. Change T1
in OT1
if the latter is your default encoding. I've left the entire infrastructure rather than defining a one shot command, so one can play with other symbols as well; \ipamathsymbol
has an optional argument (the math kind of the symbol, default \mathord
) and the mandatory argument is the slot number of the chosen glyph.
My impression is that most people currently still use the pdftex engine - I know I do. For the kind of usage you describe, the main advantage of the luatex and xetex engines consists in easier access to the OpenType or TrueType fonts installed on your system. If you are happy with the fonts that are easily available under pdflatex, there is no urgent need to switch.
The main application of the microtype package is to improve the visual impression of alignment of the right margin of a block of text, by actually deviating from strict alignment, for example by pushing hyphens a little further out into the margin. It also can slightly stretch and compress the characters in a line of text, which helps to reduce the number of hyphenated words and improve appearance and readability. I understand that with luatex you can use both true type fonts and microtype, so it is probably the best option going forward. (Edit: See also Holle's answer below for further advantages of luatex that may apply to your applications.)
Regarding pstricks, it is a truly impressive graphics package and cannot be used directly with pdflatex and luatex, since it is built on top of postscript. However, you could always compile a pstricks graphics with pslatex, convert the compiled postscript document to pdf, and include that in a document compiled with pdflatex. In addition, most people today seem to be using TikZ, which is another extremely powerful graphics package that can be used directly with all tex engines.
One important point to understand is that there isn't any different syntax to learn between pdftex, xetex and luatex - save for a few specific commands for loading the fonts, the document-level latex code is the same. So, you needn't worry about this choice too much - its easy to change horses halfway through the race.
You can further minimize any trouble associated with changing your setup by collecting most of your settings in one place. For this purpose, I have made myself a little standardsetup
package, which includes trivial lines such as
\RequirePackage{
amsmath,
amssymb,
array,
booktabs,
calc,
color,
...,
myabbreviations, % package containing abbreviations I often need
...
}
\RequirePackage[T1]{fontenc}
\RequirePackage[altbullet]{lucidabr} % load the lucida fonts (commercial)
The myabbreviations
package contains simple macros such as
\newcommand{\Pot}{K\textsuperscript{+}\xspace} % potassium ion
\newcommand{\Sod}{Na\textsuperscript{+}\xspace} % sodium ion
\newcommand{\Cal}{Ca\textsuperscript{2+}\xspace} % calcium ion
In my documents, I can then most of the time just say
\documentclass[letterpaper,10pt]{article}
\usepackage{standardsetup}
\begin{document}
...
Should I ever decide to switch for example to another preferred font family, which I would want to access through xetex and the fontspec
package, I could make that change just once in the standardsetup
package, and it would then propagate to all documents that use the package.
Whether or not Latex3 ever becomes the standard remains to be seen. In any case, I don't think it intends to break backward compatibility in a sweeping manner; most user-level commands such as sectioning, labels and references, and character formatting commands will likely continue to work the same way. Some of the Latex3 developers frequent this site and may have more to say about this topic.
Best Answer
This seems to be fixed in the development version of XeTeX (looks like it was the same underlying issue as \setbox containing maths interferes with surrounding math mode in XeTeX):