Weisi Dai avatar Weisi Dai committed e574c93

updated stylehg summary

Comments (0)

Files changed (4)

beamerthemeXJTU.sty

 % multiple1902 <multiple1902@gmail.com>
 % beamerthemeXJTU.sty
 % Copyright 2011, multiple1902(Weisi Dai)
+% https://bitbucket.org/multiple1902/beamerthemexjtu
 %
 % This work may be distributed and/or modified under the
 % conditions of the LaTeX Project Public License, either version 1.3
 \pgfdeclareimage[width=1.0\paperwidth,height=0.1308\paperwidth]{XJTU-header}{inc/XJTU-header}
 
 \setbeamertemplate{blocks}[rounded][shadow=true]
+\setbeamertemplate{navigation symbols}{}
+
 \setbeamercovered{transparent}
 
 \beamer@headheight=0.13\paperwidth
 
 \definecolor{XJTUdarkred}{HTML}{86080b}
-%\definecolor{XJTUdarkred}{HTML}{96070b}
 \definecolor{XJTUgray}{HTML}{686868}
 \definecolor{XJTUlightgray}{HTML}{EEEEEE}
 \definecolor{XJTUblue}{HTML}{236EAF}
 \definecolor{XJTUyellow}{HTML}{FFEA00}
 
-\definecolor{XJTUblocktitlebg}{HTML}{874108}
-\definecolor{XJTUexampleblocktitlebg}{HTML}{6c0642}
-\definecolor{XJTUalertblocktitlebg}{HTML}{0c6e07}
+\definecolor{XJTUblocktitlebg}{HTML}{084884}
+\definecolor{XJTUexampleblocktitlebg}{HTML}{842e08}
+\definecolor{XJTUalertblocktitlebg}{HTML}{e40d13}
 
 \setbeamerfont*{title}{series=\bfseries,size=\Huge}
 \setbeamercolor*{title}{fg=XJTUyellow,bg=XJTUdarkred}
 
 \usecolortheme[named=XJTUdarkred]{structure}
 
-\setbeamerfont{section in head/foot}{size=\tiny,series=\normalfont}
+\setbeamerfont{section in head/foot}{size=\tiny,series=\bfseries,family=\sf}
+%\setbeamertemplate{section in head/foot}[default][20]%{%
+
+\setbeamercolor{section in head/foot}{fg=XJTUyellow}
 \setbeamerfont{frametitle}{size=\Large}
 
 \setbeamertemplate{blocks}[rounded][shadow=true]
   \linethickness{0pt}
 
   \framelatex{
-  \begin{beamercolorbox}[wd=\paperwidth,ht=0.3\beamer@headheight]{Title bar}
+  \begin{beamercolorbox}[wd=\paperwidth,ht=0.33\beamer@headheight]{Title bar}
     \usebeamerfont{section in head/foot}%
     \insertsectionnavigationhorizontal{0pt}{\hskip0.22cm}{}%
   \end{beamercolorbox}}
 
   \framelatex{
-  \begin{beamercolorbox}[wd=\paperwidth,ht=0.7\beamer@headheight]{Title bar}
+  \begin{beamercolorbox}[wd=\paperwidth,ht=0.67\beamer@headheight]{Title bar}
   \end{beamercolorbox}}
 }
 
Add a comment to this file

inc/XJTU-header.orig.png

Old
Old image
New
New image
Add a comment to this file

inc/XJTU-header.png

Old
Old image
New
New image
 % multiple1902 <multiple1902@gmail.com>
 % beamerthemeXJTU.sty
 % Copyright 2011, multiple1902(Weisi Dai)
+% https://bitbucket.org/multiple1902/beamerthemexjtu
 %
 % This work may be distributed and/or modified under the
 % conditions of the LaTeX Project Public License, either version 1.3
 }
 
 \usepackage{fontspec,xltxtra,xunicode}
-\usepackage[slantfont,boldfont]{xeCJK}
-%\punctstyle{plain}
-\setCJKmainfont[BoldFont=王漢宗特明體一標準]{文鼎PL細上海宋} % 设置缺省中文字体
+%\usepackage[slantfont,boldfont]{xeCJK}
+\usepackage[slantfont]{xeCJK}
+%\setCJKmainfont[BoldFont=王漢宗特明體一標準]{文鼎PL細上海宋} % 设置缺省中文字体
+\setCJKmainfont{王漢宗特圓體繁} % 设置缺省中文字体
 
 \mode<presentation>
 {
   \usetheme{XJTU}
   \useinnertheme{rounded}
-  \usefonttheme{serif}
+  %\usefonttheme{serif}
 }
 
 
 %  \tableofcontents % [pausesections]
 %\end{frame}
 
-\begin{frame}{測試block環境}
+\section{section 1 第一部分}
+
+\subsection{第一小部分}
+
+\begin{frame}{測試block環境}{副標題}
     \begin{block}{BLOCK}
         A quick brown fox jumps over the lazy dog.
     \end{block} \pause
     \end{alertblock} 
 \end{frame}
 
+\section{section 2 第二部分}
+
 \begin{frame}{校訓}
 
     \begin{block}{西安交通大學校訓}
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.