X-Git-Url: https://git.tokkee.org/?p=tokkeebeamer.git;a=blobdiff_plain;f=example.tex;h=b346ac2c01e1a69fdf559241244f217ce06497e4;hp=a457b8a8018ba685bbca5c735f8aa6e8a62da96d;hb=a62d3fa3564dbd2a96f957e73fb9d154e50d44f5;hpb=16ba6255d29d3bde9f23aacb68cf7cacfd01b15e diff --git a/example.tex b/example.tex index a457b8a..b346ac2 100644 --- a/example.tex +++ b/example.tex @@ -1,18 +1,63 @@ +% +% Copyright (C) 2013-2016 Sebastian 'tokkee' Harl +% All rights reserved. +% +% Redistribution and use in source and binary forms, with or without +% modification, are permitted provided that the following conditions +% are met: +% 1. Redistributions of source code must retain the above copyright +% notice, this list of conditions and the following disclaimer. +% 2. Redistributions in binary form must reproduce the above copyright +% notice, this list of conditions and the following disclaimer in the +% documentation and/or other materials provided with the distribution. +% +% THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +% ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED +% TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +% PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR +% CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +% EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +% PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +% OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +% WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +% OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +% ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +% \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} \date{\today} \institute{tokkee.net} \author{Sebastian Harl\\ $<$sh@tokkee.org$>$} -\copyrightinfo{\copyright{} 2013 Sebastian 'tokkee' Harl, All rights reserved.} +\copyrightinfo{\copyright{} 2013 Sebastian `tokkee' Harl, All rights reserved.} + +\AtBeginSection[] +{ + \begin{frame} + \begin{center} + \Large + \titlebox{\secname} + \end{center} + \end{frame} +} \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} @@ -26,7 +71,7 @@ \end{itemize} \end{frame} -\begin{frame}{Noch ein {\ttfamily frame}} +\begin{frame}{Noch ein {\ttfamily frame}}{... mit Subtitel} Mehr Text: Franz jagt im komplett verwahrlosten Taxi quer durch Bayern. Stanleys