\documentclass{article}
\usepackage{fontspec}
\setmainfont{Latin Modern Roman}

\begin{document}

\title{Hello from \XeTeX}
\author{Example Author}
\date{\today}
\maketitle

\section{Introduction}
This document demonstrates \XeTeX's Unicode support.

\subsection{Multilingual Text}
\begin{itemize}
  \item English: Hello, World!
  \item Greek: \textrm{Γεια σου, Κόσμε!}
  \item Russian: \textrm{Привет, мир!}
  \item Japanese: \textrm{こんにちは、世界！}
\end{itemize}

\section{Mathematics}
\XeTeX\ supports full \LaTeX\ mathematics:
\[
  E = mc^2, \quad
  \int_0^\infty e^{-x^2}\,dx = \frac{\sqrt{\pi}}{2}
\]

The quadratic formula:
\[
  x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}
\]

\section{Conclusion}
\XeTeX\ combines the power of \TeX\ with modern Unicode and OpenType font support.

\end{document}
