I want to define various styles using commands, so that I can globally change them later if necessary.
For example I want all sets to written using \mathcal{...}
.
This worked until I needed to use a greek letter as set description:
\documentclass{article}
\usepackage{amsmath}
\newcommand{\set}[1]{\mathcal{#1}}
\begin{document}
\begin{itemize}
\item $\set{A} = ...$
\item $\set{\Omega} = ...$
\end{itemize}
\end{document}
Is there a way to tell XeLatex to leave greek letters "untouched"?
\Omega
instead of\set{\Omega}
.set
inside. Another problem would be, if I later want all sets to be red. With a command, this is easy to change globally.