%%
%% This is file `wu-beamer.code.tex',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% westlakethesis.dtx  (with options: `beamer')
%% -----------------------------------------------------------------------
%%   Copyright (C) 2026 by Mingyu Xia <myhsia@outlook.com>               *
%% -----------------------------------------------------------------------
%%   This work may be distributed and/or modified under the conditions   *
%%   of the LaTeX Project Public License (LPPL), either version 1.3c of  *
%%   this license or (at your option) any later version.                 *
%%   The latest version of this license is in                            *
%%                                                                       *
%%       http://www.latex-project.org/lppl.txt                           *
%%                                                                       *
%%   and version 1.3c or later is part of all distributions of LaTeX     *
%%   version 2008 or later.                                              *
%%                                                                       *
%%   This work has the LPPL maintenance status `maintained'.             *
%%                                                                       *
%%   The Current Maintainer of this work is Mingyu Xia.                  *
%% -----------------------------------------------------------------------
\GetIdInfo $Id: westlakethesis.dtx v0.0.2 2026-06-18 myhsia<myhsia@outlook.com>$
  {Westlake University Beamer Template (WESTLAKE)}
\ProvidesExplFile {wu-beamer.code.tex}
  {\ExplFileDate} {\ExplFileVersion} {\ExplFileDescription}
\keys_define:nn { beamer / set }
  {
    title     .tl_set:N   = \l__wu_set_title_tl,
    author    .tl_set:N   = \l__wu_set_author_tl,
    date      .tl_set:N   = \l__wu_set_date_tl,
    bibsource .str_set:N  = \l__wu_set_bib_str,
    subject   .tl_set:N   = \l__wu_set_subject_tl,
  }
\cs_new_protected:Npn \__wu_westlakeset_aux:
  {
    \clist_map_inline:nn { title, author, subject }
      { \__wu_parse_slash_ab:c { l__wu_set_##1_tl } }
    \title  [ \l__wu_set_title_tl_b  ] { \l__wu_set_title_tl_a  }
    \author [ \l__wu_set_author_tl_b ] { \l__wu_set_author_tl_a }
    \date   { \l__wu_set_date_tl    }
    \str_if_empty:NF \l__wu_set_bib_str
      { \bool_gset_true:N \l__wu_load_bib_bool }
  }
\hypersetup
  {
    hidelinks,
  }
\RequirePackage [ mono = false ] { libertine }
\RequirePackage { anyfontsize }
\usetheme [ logobg = westlake-logo.pdf,    lbadge = westlake-badge-cn.pdf,
            mainbg = westlake-paint-a.png, basebg = westlake-paint-b.png  ]
          { westlake }
\file_input_stop:
%% -----------------------------------------------------------------------
%%   This work consists of the files westlakethesis.dtx,                 *
%%                                   westlakethesis.ins,                 *
%%                 the derived files westlakethesis.cls,                 *
%%                                   wu-depend.code.tex,                 *
%%                                   wu-kernel.code.tex,                 *
%%                                   wu-params.code.tex,                 *
%%                                   wu-thesis.code.tex,                 *
%%                                   wu-beamer.code.tex,                 *
%%                                   wu-poster.code.tex,                 *
%%                                   wu-usrdoc.code.tex,                 *
%%                                   westlake-logo.pdf,                  *
%%                                   westlake-badge-en.pdf,              *
%%                                   westlake-badge-cn.pdf,              *
%%                                   westlake-paint-a.png,               *
%%                                   westlake-paint-b.png,               *
%%           the documentation files westlakethesis.pdf,                 *
%%                               and README.md.                          *
%% -----------------------------------------------------------------------
%%
%% End of file `wu-beamer.code.tex'.
