summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ee0bf12)
raw | patch | inline | side by side (parent: ee0bf12)
author | Sebastian Harl <sh@tokkee.org> | |
Tue, 31 May 2016 06:02:25 +0000 (08:02 +0200) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Sat, 4 Jun 2016 10:20:46 +0000 (12:20 +0200) |
Makefile | patch | blob | history | |
example.tex | patch | blob | history |
diff --git a/Makefile b/Makefile
index 02753587e7c3825eeeffe44627997ecada3dbacf..12df52e620e3541274a544ef596db176964e6fd1 100644 (file)
--- a/Makefile
+++ b/Makefile
example.pdf: example.tex beamerthemetokkee.sty beamercolorthemetokkee.sty tokkee_logo.* Makefile
# the default titlegraphic requires the presentation to be compiled twice
- pdflatex example.tex
- pdflatex example.tex
+ xelatex example.tex
+ xelatex example.tex
clean:
rm -f *.aux *.log *.nav *.out *.snm *.toc
diff --git a/example.tex b/example.tex
index fef796d4f9b8848bba2bea4d3377c4c285c319d1..5797bcd79ab06ce1d5f63297ee58fb6312c04424 100644 (file)
--- a/example.tex
+++ b/example.tex
\documentclass{beamer}
\usetheme{tokkee}
-\usepackage[utf8]{inputenc}
+\usepackage{fontspec,xunicode,polyglossia}
+
+\usepackage{xeCJK}
+\renewcommand\CJKfamilydefault{\CJKsfdefault}
+\setCJKsansfont{WenQuanYi Zen Hei}
\title[Beamer-Vorlage]{Meine tolle Beamer-Vorlage}
\subtitle{\LaTeX{} beamer für tokkee.net}
\begin{document}
\frame[plain]{\titlepage}
+\begin{frame}{Hallo 世界}
+ Dies ist ein Beispiel für tokkee's Beamer-Vorlage.\\[5mm]
+
+ {\Large Hallo 世界}
+\end{frame}
+
\section{Beispiel}
\begin{frame}{Beispiel}