eiterorm wrote:Thanks!
To me, it looks like both your first solutions are using the math environment, but letters inside a math environment look quite misplaced in the middle of other text in a text environment.
Math mode is necessary, since these are math codes designed for use as variables in math. Frequently, however, variables are mentioned in the middle of a paragraph, and using inline math mode $...$, I haven't noticed them looking at all odd there, but it may depend on the particular use in question, and what font packages you have loaded.
However, why should I not use the inputenc package in XeLaTeX? This package gives me the ability to write é, è, ë, etc., which I need. Is there perhaps an alternative I could use?
XeLaTeX is designed for use with UNICODE (UTF8) source, and defaults to it, so no package is needed (well, except xunicode). Feel free to use é, è, ë, etc., without a package. I doubt you'd need ae or aeguill either if your font has guillemets anyway.
Actually if you try to use inputenc with XeLaTeX, you get this warning:
*** you should *not* be loading the inputenc package
*** XeTeX expects the source to be in UTF8 encoding
*** some features of other encodings may conflict, resulting in poor output.
...which is how I know about it.
The only trick is that unless you're using a newer alpha release, TeXnicCenter won't allow you to use UNICODE characters outside of a fairly narrow range -- so either use a different editor, or stick with \char codes.
And by the way: Do you know a where I can find a list of roman-style unicode fonts?
There's a nice list of
UNICODE-rich fonts on Alan Wood's UNICODE website.
Unifont.org is a good site, especially if you're looking for free fonts.
The
mathspec package provides a pretty quick way however of specifying different fonts for Greek letters as opposed to Roman letters with XeLaTeX, which opens things up quite a bit.