Skip to content

Commit

Permalink
add 75th theme, and finish the gold
Browse files Browse the repository at this point in the history
Signed-off-by: Xiaofeng QU <xiaofeng.qu.hk@ieee.org>
  • Loading branch information
Xiaofeng QU committed Apr 1, 2014
1 parent 914182d commit 6d1b727
Show file tree
Hide file tree
Showing 17 changed files with 173 additions and 115 deletions.
33 changes: 20 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Beamer Theme for the Hong Kong Polytechnic University
An Unofficial Beamer Theme for the Hong Kong Polytechnic University
=====================================================

by **Xiaofeng QU**
Expand All @@ -7,8 +7,6 @@ by **Xiaofeng QU**

This a beamer theme created for The Hong Kong Polytechnic University.

It is not finished, and will be improved.

## Dependencies

1. Need Beamer (of course)
Expand Down Expand Up @@ -38,6 +36,7 @@ It is not finished, and will be improved.
polyu,
%comp,
%forty,
%seventyfive,
]
{beamerthemeHongKong}
```
Expand All @@ -52,7 +51,8 @@ It is not finished, and will be improved.
+ "nologo" option enables the solo usage of color theme without PolyU logos on title page and headers.
+ "polyu" option is default option and it enables whether it exist or not.
+ "comp" option is to include the computing logo in the title page and the head banner.
+ "forty" option is to use the 40 anniversary logo in the title page and the head banner.
+ "forty" option is to use the Computing Department 40th anniversary logo in the title page and the head banner.
+ "seventyfive" option is to use the PolyU 75th anniversary logo in the title page and the head banner.


## Template
Expand All @@ -78,15 +78,15 @@ The aim of this modification is to create a nice and tidy PolyU theme using NTNU
1. Update color values according to the [PolyU VI](http://www.polyu.edu.hk/cpa/polyu/index.php?option=com_content&view=article&id=156&Itemid=48).
2. Check PolyU standard PPT template. Though the whole design will maintain, defects and false usage of polyu elements should be fixed.

![](http://i.imgur.com/CaIGS0D.png)
![](http://i.imgur.com/j1Nl1FR.png)

## COMP 40 Anniversary Theme `comp` and `forty`

The new banners and logos

![](http://i.imgur.com/3t7doME.jpg)
![](http://i.imgur.com/NlTejiH.jpg)

![](http://i.imgur.com/A8Dczrk.jpg)
![](http://i.imgur.com/RwKwlNG.jpg)

And new color called `blue`

Expand All @@ -96,23 +96,30 @@ And new color called `blue`

#### `forty` and `blue` ####

![](http://i.imgur.com/mXdpisa.png)
![](http://i.imgur.com/f4fARax.jpg)

#### `comp` and `blue` ####

![](http://i.imgur.com/gs2VH5A.png)
![](http://i.imgur.com/4OGjxSA.jpg)

#### `polyu`, `forty` and `blue` ####

![](http://i.imgur.com/crOlltJ.png)
![](http://i.imgur.com/AqpXt7C.jpg)

#### `polyu`, `comp` and `red` ####

![](http://i.imgur.com/gMEJTNi.png)
![](http://i.imgur.com/aPY8hKY.jpg)

**Actually, there are may different combinations. Just have fun.**

## PolyU 75 Anniversary Theme `seventyfive` and `gold`

![](http://i.imgur.com/0zqAyWG.png)

![](http://i.imgur.com/n9luJJI.jpg)

## TODO

1. Update with PolyU VI.
2. Add a gold setting following [PolyU's 75th Anniversary](http://75.polyu.hk/) color style. found the guidelines link [https://www2.polyu.edu.hk/Script/staff/cpa/Staff/75th_Guidelines/](https://www2.polyu.edu.hk/Script/staff/cpa/Staff/75th_Guidelines/) in this page [http://www.polyu.edu.hk/cpa/75thanniversary/index.php?route=gallery/seventyfivethanniversaryidentity](http://www.polyu.edu.hk/cpa/75thanniversary/index.php?route=gallery/seventyfivethanniversaryidentity). Have to contact [ITS](http://www.polyu.edu.hk/~its/aboutits/aboutits_04.html). If this attempt failed, the logo was designed by Mr Freeman Lau Siu-hong. Try to [contact him](http://www.freemanlau.com/en/index.html).
1. <del>Update with PolyU VI</del>.
2. <del>Add a gold setting following [PolyU's 75th Anniversary](http://75.polyu.hk/) color style. found the guidelines link [https://www2.polyu.edu.hk/Script/staff/cpa/Staff/75th_Guidelines/](https://www2.polyu.edu.hk/Script/staff/cpa/Staff/75th_Guidelines/) in this page [http://www.polyu.edu.hk/cpa/75thanniversary/index.php?route=gallery/seventyfivethanniversaryidentity](http://www.polyu.edu.hk/cpa/75thanniversary/index.php?route=gallery/seventyfivethanniversaryidentity). Have to contact [ITS](http://www.polyu.edu.hk/~its/aboutits/aboutits_04.html). If this attempt failed, the logo was designed by Mr Freeman Lau Siu-hong. Try to [contact him](http://www.freemanlau.com/en/index.html).</del>
3. Fine tuning of the color and other config.
12 changes: 8 additions & 4 deletions example/beamercolorthemepolyublue.sty
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
\ProvidesPackage{beamercolorthemepolyublue}[2014/03/31]
\ProvidesPackage{beamercolorthemepolyublue}[2014/04/01]

% Copyright 2003 by Till Tantau <tantau@users.sourceforge.net>
% and 2005-2007 by Joerg Cassens <jmt@cassens.org>
Expand All @@ -15,9 +15,13 @@
\definecolor{polyusilver}{RGB}{143,143,140}% PMS 877C RGB #8F8F8C
\definecolor{polyuorange}{RGB}{255,102,0}
\definecolor{polyuyellow}{RGB}{255,255,204}
\definecolor{polyublue}{RGB}{0,140,215}
\definecolor{polyuicyblue}{RGB}{83,195,241}
\definecolor{polyugreen}{RGB}{143,195,32}
\definecolor{polyuseventyfivered}{RGB}{153,15,61}% CMYK: 0,90,60,40
\definecolor{polyuseventyfivegrey}{RGB}{102,102,102}% CMYK: 0,0,0,60
\definecolor{polyuseventyfivegold}{RGB}{230,166,89}% Pantone 722C or CMYK: 10,35,65,0
\definecolor{polyuseventyfivegoldsecond}{RGB}{230,166,89}% Pantone 874C
\definecolor{polyublue}{RGB}{0,140,215} % COMP
\definecolor{polyuicyblue}{RGB}{83,195,241} % COMP
\definecolor{polyugreen}{RGB}{143,195,32} % COMP

\setbeamercolor{normal text}{fg=black,bg=white}
\setbeamercolor{alerted text}{fg=polyugreen}
Expand Down
26 changes: 15 additions & 11 deletions example/beamercolorthemepolyugold.sty
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
\ProvidesPackage{beamercolorthemepolyugold}[2014/03/31]
\ProvidesPackage{beamercolorthemepolyugold}[2014/04/01]

% Copyright 2003 by Till Tantau <tantau@users.sourceforge.net>
% and 2005-2007 by Joerg Cassens <jmt@cassens.org>
Expand All @@ -15,34 +15,38 @@
\definecolor{polyusilver}{RGB}{143,143,140}% PMS 877C RGB #8F8F8C
\definecolor{polyuorange}{RGB}{255,102,0}
\definecolor{polyuyellow}{RGB}{255,255,204}
\definecolor{polyublue}{RGB}{0,140,215}
\definecolor{polyuicyblue}{RGB}{83,195,241}
\definecolor{polyugreen}{RGB}{143,195,32}
\definecolor{polyuseventyfivered}{RGB}{153,15,61}% CMYK: 0,90,60,40
\definecolor{polyuseventyfivegrey}{RGB}{102,102,102}% CMYK: 0,0,0,60
\definecolor{polyuseventyfivegold}{RGB}{230,166,89}% Pantone 722C or CMYK: 10,35,65,0
\definecolor{polyuseventyfivegoldsecond}{RGB}{230,166,89}% Pantone 874C
\definecolor{polyublue}{RGB}{0,140,215} % COMP
\definecolor{polyuicyblue}{RGB}{83,195,241} % COMP
\definecolor{polyugreen}{RGB}{143,195,32} % COMP

\setbeamercolor{normal text}{fg=black,bg=white}
\setbeamercolor{alerted text}{fg=polyured}

\setbeamercolor{background canvas}{parent=normal text}
\setbeamercolor{background}{parent=background canvas}

\setbeamercolor{structure}{fg=polyugold,bg=white}
\setbeamercolor{structure}{fg=polyuseventyfivegold,bg=white}

\setbeamercolor{palette primary}{fg=white,bg=polyugold}
\setbeamercolor{palette secondary}{fg=black,bg=polyugold!15}
\setbeamercolor{palette tertiary}{fg=white,bg=polyugold!90}
\setbeamercolor{palette quaternary}{fg=white,bg=polyugold}
\setbeamercolor{palette primary}{fg=white,bg=polyuseventyfivegold}
\setbeamercolor{palette secondary}{fg=black,bg=polyuseventyfivegold!10}
\setbeamercolor{palette tertiary}{fg=white,bg=polyuseventyfivegold!90}
\setbeamercolor{palette quaternary}{fg=white,bg=polyuseventyfivegold}

\setbeamercolor{titlelike}{parent=palette primary}

\setbeamercolor{block title}{fg=white,bg=polyugold}
\setbeamercolor{block title}{fg=polyuseventyfivegrey,bg=polyuseventyfivegold}
\setbeamercolor{block title alerted}{use=alerted text,fg=white,bg=alerted text.fg!75!black}
\setbeamercolor{block title example}{use=example text,fg=white,bg=example text.fg!75!black}

\setbeamercolor{block body}{parent=normal text,use=block title,bg=block title.bg!15!bg}
\setbeamercolor{block body alerted}{parent=normal text,use=block title alerted,bg=block title alerted.bg!15!bg}
\setbeamercolor{block body example}{parent=normal text,use=block title example,bg=block title example.bg!15!bg}

\setbeamercolor{sidebar}{bg=polyugold}
\setbeamercolor{sidebar}{bg=polyuseventyfivegold}

\setbeamercolor{palette sidebar primary}{fg=white}
\setbeamercolor{palette sidebar secondary}{fg=white!75}
Expand Down
12 changes: 8 additions & 4 deletions example/beamercolorthemepolyured.sty
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
\ProvidesPackage{beamercolorthemepolyured}[2014/03/31]
\ProvidesPackage{beamercolorthemepolyured}[2014/04/01]

% Copyright 2003 by Till Tantau <tantau@users.sourceforge.net>
% and 2005-2007 by Joerg Cassens <jmt@cassens.org>
Expand All @@ -15,9 +15,13 @@
\definecolor{polyusilver}{RGB}{143,143,140}% PMS 877C RGB #8F8F8C
\definecolor{polyuorange}{RGB}{255,102,0}
\definecolor{polyuyellow}{RGB}{255,255,204}
\definecolor{polyublue}{RGB}{0,140,215}
\definecolor{polyuicyblue}{RGB}{83,195,241}
\definecolor{polyugreen}{RGB}{143,195,32}
\definecolor{polyuseventyfivered}{RGB}{153,15,61}% CMYK: 0,90,60,40
\definecolor{polyuseventyfivegrey}{RGB}{102,102,102}% CMYK: 0,0,0,60
\definecolor{polyuseventyfivegold}{RGB}{230,166,89}% Pantone 722C or CMYK: 10,35,65,0
\definecolor{polyuseventyfivegoldsecond}{RGB}{230,166,89}% Pantone 874C
\definecolor{polyublue}{RGB}{0,140,215} % COMP
\definecolor{polyuicyblue}{RGB}{83,195,241} % COMP
\definecolor{polyugreen}{RGB}{143,195,32} % COMP

\setbeamercolor{normal text}{fg=black,bg=white}
\setbeamercolor{alerted text}{fg=polyured}
Expand Down
67 changes: 38 additions & 29 deletions example/beamerouterthemepolyu.sty
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
\ProvidesPackage{beamerouterthemepolyu}[2014/03/31]
\ProvidesPackage{beamerouterthemepolyu}[2014/04/01]

% Copyright 2003 by Till Tantau <tantau@users.sourceforge.net>
% and 2005-2007 by Joerg Cassens <jmt@cassens.org>
Expand All @@ -16,32 +16,37 @@

% Logo
\ifbeamer@nologo
\ifbeamer@polyu
\ifbeamer@forty
\pgfdeclareimage[width=26ex,interpolate=true]{HK PolyU}{polyu/polyubanner}
\pgfdeclareimage[width=22ex,interpolate=true]{Computing Department}{polyu/comp40banner}%
\titlegraphic{\pgfuseimage{Computing Department}\hfil\pgfuseimage{HK PolyU}}
\else
\ifbeamer@comp
\ifbeamer@seventyfive
\pgfdeclareimage[width=36ex,interpolate=true]{HK PolyU}{polyu/seventyfivebanner}
\titlegraphic{\pgfuseimage{HK PolyU}}
\else
\ifbeamer@polyu
\ifbeamer@forty
\pgfdeclareimage[width=26ex,interpolate=true]{HK PolyU}{polyu/polyubanner}
\pgfdeclareimage[width=26ex,interpolate=true]{Computing Department}{polyu/compbanner}%
\pgfdeclareimage[width=22ex,interpolate=true]{Computing Department}{polyu/comp40banner}%
\titlegraphic{\pgfuseimage{Computing Department}\hfil\pgfuseimage{HK PolyU}}
\else
\pgfdeclareimage[width=36ex,interpolate=true]{HK PolyU}{polyu/polyubanner}
\titlegraphic{\pgfuseimage{HK PolyU}}
\ifbeamer@comp
\pgfdeclareimage[width=26ex,interpolate=true]{HK PolyU}{polyu/polyubanner}
\pgfdeclareimage[width=26ex,interpolate=true]{Computing Department}{polyu/compbanner}%
\titlegraphic{\pgfuseimage{Computing Department}\hfil\pgfuseimage{HK PolyU}}
\else
\pgfdeclareimage[width=36ex,interpolate=true]{HK PolyU}{polyu/polyubanner}
\titlegraphic{\pgfuseimage{HK PolyU}}
\fi
\fi
\fi
\else
\ifbeamer@forty
\pgfdeclareimage[width=40ex,interpolate=true]{Computing Department}{polyu/comp40banner}%
\titlegraphic{\pgfuseimage{Computing Department}}
\else
\ifbeamer@comp
\pgfdeclareimage[width=36ex,interpolate=true]{Computing Department}{polyu/compbanner}%
\ifbeamer@forty
\pgfdeclareimage[width=40ex,interpolate=true]{Computing Department}{polyu/comp40banner}%
\titlegraphic{\pgfuseimage{Computing Department}}
\else
\pgfdeclareimage[width=36ex,interpolate=true]{HK PolyU}{polyu/polyubanner}
\titlegraphic{\pgfuseimage{HK PolyU}}
\ifbeamer@comp
\pgfdeclareimage[width=36ex,interpolate=true]{Computing Department}{polyu/compbanner}%
\titlegraphic{\pgfuseimage{Computing Department}}
\else
\pgfdeclareimage[width=36ex,interpolate=true]{HK PolyU}{polyu/polyubanner}
\titlegraphic{\pgfuseimage{HK PolyU}}
\fi
\fi
\fi
\fi
Expand Down Expand Up @@ -148,21 +153,25 @@
\leftskip0.3cm%
\rightskip0.3cm plus1fil\leavevmode
\ifbeamer@nologo
\ifbeamer@forty%
\insertframetitle%
\pgfdeclareimage[height=1.7ex,interpolate=true]{comp40logo}{polyu/comp40logo}\hfill\pgfuseimage{comp40logo}\hspace{.5ex}%
\ifbeamer@seventyfive
\pgfdeclareimage[height=1.7ex,interpolate=true]{logo}{polyu/seventyfivelogo}\hfill\pgfuseimage{logo}\hspace{.5ex}%
\else
\ifbeamer@comp%
\insertframetitle%
\pgfdeclareimage[height=1.7ex,interpolate=true]{complogo}{polyu/complogo}\hfill\pgfuseimage{complogo}\hspace{.5ex}%
\else%
\ifbeamer@forty%
\insertframetitle%
\pgfdeclareimage[height=1.7ex,interpolate=true]{polyulogowhite}{polyu/polyulogo}\hfill\pgfuseimage{polyulogowhite}\hspace{.5ex}%
\pgfdeclareimage[height=1.7ex,interpolate=true]{logo}{polyu/comp40logo}\hfill\pgfuseimage{logo}\hspace{.5ex}%
\else
\ifbeamer@comp%
\insertframetitle%
\pgfdeclareimage[height=1.7ex,interpolate=true]{logo}{polyu/complogo}\hfill\pgfuseimage{logo}\hspace{.5ex}%
\else%
\insertframetitle%
\pgfdeclareimage[height=1.7ex,interpolate=true]{logo}{polyu/polyulogo}\hfill\pgfuseimage{logo}\hspace{.5ex}%
\fi
\fi
\fi
\else
\insertframetitle%
\pgfdeclareimage[width=1ex,interpolate=true]{polyulogowhite}{polyu/polyulogo}%
\pgfdeclareimage[width=1ex,interpolate=true]{logo}{polyu/polyulogo}%
\fi
\ifx\insertframesubtitle\@empty%
\strut\par%
Expand Down
6 changes: 5 additions & 1 deletion example/beamerthemeHongKong.sty
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
\ProvidesPackage{beamerthemeHongKong}[2014/03/31]
\ProvidesPackage{beamerthemeHongKong}[2014/04/01]
\def\beamerhongkong@version{3.33}

% Copyright 2003 by Till Tantau <tantau@users.sourceforge.net>
Expand Down Expand Up @@ -26,6 +26,7 @@
\newif\ifbeamer@polyu
\newif\ifbeamer@comp
\newif\ifbeamer@forty
\newif\ifbeamer@seventyfive

\beamer@minimalfalse
\beamer@nonavfalse
Expand All @@ -38,6 +39,7 @@
\beamer@polyufalse
\beamer@compfalse
\beamer@fortyfalse
\beamer@seventyfivefalse

\DeclareOptionBeamer{compress}{\beamer@compresstrue}
\DeclareOptionBeamer{minimal}{\beamer@minimaltrue}
Expand All @@ -51,6 +53,7 @@
\DeclareOptionBeamer{polyu}{\beamer@polyutrue}
\DeclareOptionBeamer{comp}{\beamer@comptrue}
\DeclareOptionBeamer{forty}{\beamer@fortytrue}
\DeclareOptionBeamer{seventyfive}{\beamer@seventyfivetrue}


\ProcessOptionsBeamer
Expand All @@ -63,6 +66,7 @@

\useoutertheme{polyu}


\ifbeamer@red
\usecolortheme{polyured}
\setbeamercolor{normal text}{fg=black,bg=white!95!polyured}
Expand Down
Binary file modified example/example.pdf
Binary file not shown.
9 changes: 5 additions & 4 deletions example/example.tex
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,14 @@
%minimal,
%nonav,
%red,
%gold,
blue,
gold,
%blue,
%numbers,
%nologo,
%polyu,
comp,
forty,
%comp,
%forty,
seventyfive,
]
{beamerthemeHongKong}

Expand Down
Binary file added example/polyu/seventyfivebanner.pdf
Binary file not shown.
Binary file added example/polyu/seventyfivelogo.pdf
Binary file not shown.
12 changes: 8 additions & 4 deletions themes/color/beamercolorthemepolyublue.sty
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
\ProvidesPackage{beamercolorthemepolyublue}[2014/03/31]
\ProvidesPackage{beamercolorthemepolyublue}[2014/04/01]

% Copyright 2003 by Till Tantau <tantau@users.sourceforge.net>
% and 2005-2007 by Joerg Cassens <jmt@cassens.org>
Expand All @@ -15,9 +15,13 @@
\definecolor{polyusilver}{RGB}{143,143,140}% PMS 877C RGB #8F8F8C
\definecolor{polyuorange}{RGB}{255,102,0}
\definecolor{polyuyellow}{RGB}{255,255,204}
\definecolor{polyublue}{RGB}{0,140,215}
\definecolor{polyuicyblue}{RGB}{83,195,241}
\definecolor{polyugreen}{RGB}{143,195,32}
\definecolor{polyuseventyfivered}{RGB}{153,15,61}% CMYK: 0,90,60,40
\definecolor{polyuseventyfivegrey}{RGB}{102,102,102}% CMYK: 0,0,0,60
\definecolor{polyuseventyfivegold}{RGB}{230,166,89}% Pantone 722C or CMYK: 10,35,65,0
\definecolor{polyuseventyfivegoldsecond}{RGB}{230,166,89}% Pantone 874C
\definecolor{polyublue}{RGB}{0,140,215} % COMP
\definecolor{polyuicyblue}{RGB}{83,195,241} % COMP
\definecolor{polyugreen}{RGB}{143,195,32} % COMP

\setbeamercolor{normal text}{fg=black,bg=white}
\setbeamercolor{alerted text}{fg=polyugreen}
Expand Down
Loading

0 comments on commit 6d1b727

Please sign in to comment.