代码拉取完成,页面将自动刷新
同步操作将从 Wu/SCU_Beamer_Slide-demo 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
% This is file `beamercolorthemescu.sty'.
% Copyright (C) 2021-2022 by Linrong Wu.
% Version: 2021/12/30 v1.1a (Original Version: 2021/11/30 v1.0a).
%
% This file may be distributed and/or modified
%
% 1. under the LaTeX Project Public License and/or
% 2. under the GNU Public License.
%
% See the file doc/licenses/LICENSE for more details.
%
% 本文件为 SCU_Beamer_Slide-demo 颜色宏包文件.
% !请勿轻易改动此文档中代码.
%%%% ----------------------------------------------------------------
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesPackage{beamercolorthemescu}[2022/03/10 v1.2a, SCU Beamer Theme(Color Theme)]
%%%% ----------------------------------------------------------------
% ----------------
% Declare of Options & Packages
% Confirmed in v1.2b.
% ----------------
% 声明参数.
\DeclareOptionBeamer{ColorDisplay}{\def\beamer@scu@ColorDisplay{#1}}
% 预执行参数.
\ExecuteOptionsBeamer{ColorDisplay=JXred}
\RequirePackage{xcolor}% xcolor: 设置颜色.
\ProcessOptionsBeamer
% 参数选项名称定义.
% ColorDisplay.
\def\beamer@scu@ColorDisplaytypeJXred {JXred}
\def\beamer@scu@ColorDisplaytypeBSblue{BSblue}
% ----------------
% ----------------
% Declare of Colors
% Confirmed in v1.2b.
% 依据四川大学VIS视觉识别系统(2014), 定义了主题色 scured, scugrey, 与辅助色 scublue, scugreen, scuyellow.
% 上述定义颜色均采用 CMYK 颜色模式.
% 注: 常用的颜色模式有 RGB 与 CMYK, 对应 LaTeX 中 rgb(0-1小数制, x/255), RGB(原始数值), cmyk(0-1小数制, x/100).
% ----------------
% 锦绣红 - scured - CMYK(12,92,95,20).
\definecolor{scured} {cmyk}{0.12,0.92,0.95,0.20}
\colorlet{scured10} {scured!10!white}
\colorlet{scured20} {scured!20!white}
\colorlet{scured30} {scured!30!white}
\colorlet{scured40} {scured!40!white}
\colorlet{scured50} {scured!50!white}
\colorlet{scured60} {scured!60!white}
\colorlet{scured70} {scured!70!white}
\colorlet{scured80} {scured!80!white}
\colorlet{scured90} {scured!90!white}
% 优雅灰 - scugrey - CMYK(47,37,37,20).
\definecolor{scugrey} {cmyk}{0.47,0.37,0.37,0.00}
\colorlet{scugrey10} {scugrey!10!white}
\colorlet{scugrey20} {scugrey!20!white}
\colorlet{scugrey30} {scugrey!30!white}
\colorlet{scugrey40} {scugrey!40!white}
\colorlet{scugrey50} {scugrey!50!white}
\colorlet{scugrey60} {scugrey!60!white}
\colorlet{scugrey70} {scugrey!70!white}
\colorlet{scugrey80} {scugrey!80!white}
\colorlet{scugrey90} {scugrey!90!white}
% 宝石蓝 - scublue - CMYK(100,60,0,15).
\definecolor{scublue} {cmyk}{1.00,0.60,0.00,0.15}
\colorlet{scublue10} {scublue!10!white}
\colorlet{scublue20} {scublue!20!white}
\colorlet{scublue30} {scublue!30!white}
\colorlet{scublue40} {scublue!40!white}
\colorlet{scublue50} {scublue!50!white}
\colorlet{scublue60} {scublue!60!white}
\colorlet{scublue70} {scublue!70!white}
\colorlet{scublue80} {scublue!80!white}
\colorlet{scublue90} {scublue!90!white}
% 荷叶绿 - scugreen - CMYK(100,0,90,15).
\definecolor{scugreen} {cmyk}{1.00,0.00,0.90,0.15}
\colorlet{scugreen10} {scugreen!10!white}
\colorlet{scugreen20} {scugreen!20!white}
\colorlet{scugreen30} {scugreen!30!white}
\colorlet{scugreen40} {scugreen!40!white}
\colorlet{scugreen50} {scugreen!50!white}
\colorlet{scugreen60} {scugreen!60!white}
\colorlet{scugreen70} {scugreen!70!white}
\colorlet{scugreen80} {scugreen!80!white}
\colorlet{scugreen90} {scugreen!90!white}
% 银杏黄 - scuyellow - CMYK(0,40,100,15).
\definecolor{scuyellow}{cmyk}{0.00,0.40,1.00,0.15}
\colorlet{scuyellow10}{scuyellow!10!white}
\colorlet{scuyellow20}{scuyellow!20!white}
\colorlet{scuyellow30}{scuyellow!30!white}
\colorlet{scuyellow40}{scuyellow!40!white}
\colorlet{scuyellow50}{scuyellow!50!white}
\colorlet{scuyellow60}{scuyellow!60!white}
\colorlet{scuyellow70}{scuyellow!70!white}
\colorlet{scuyellow80}{scuyellow!80!white}
\colorlet{scuyellow90}{scuyellow!90!white}
% ----------------
\mode<presentation>
% ----------------
% Beamer Theme Color Mode Layout
% Confirmed in v1.2b.
% PrimaryC:: 主题色; AuxiliaryC:: 辅助色;
% SecondaryAuxiliaryC:: 第二辅助色; IntersperseC:: 点缀色;
% NomalTextC:: 普通文本色; AlertedTextC:: 强调文本色;
% BlockExampleC:: Example区块样式色; BlockDefinitionC:: Definition区块样式色;
% BlockLemmaC:: Lemma区块样式色; BlockConditionC:: Condition区块样式色.
% ----------------
\if\EqualOptionsBeamer{ColorDisplay}{JXred}%
\colorlet{PrimaryC} {scured}
\colorlet{AuxiliaryC} {scugrey50}
\colorlet{SecondaryAuxiliaryC}{scugrey}
\colorlet{IntersperseC} {scured60}
\colorlet{NomalTextC} {black}
\colorlet{AlertedTextC} {scured90}
\colorlet{BlockExampleC} {scugrey!80!black}
\colorlet{BlockDefinitionC} {scublue}
\colorlet{BlockLemmaC} {scugreen}
\colorlet{BlockConditionC} {scuyellow}
\colorlet{HighlightCodeLineC} {scured10}
\else\if\EqualOptionsBeamer{ColorDisplay}{BSblue}%
\colorlet{PrimaryC} {scublue}
\colorlet{AuxiliaryC} {scugrey50}
\colorlet{SecondaryAuxiliaryC}{scugrey}
\colorlet{IntersperseC} {scublue60}
\colorlet{NomalTextC} {black}
\colorlet{AlertedTextC} {scublue90}
\colorlet{BlockExampleC} {scugrey!80!black}
\colorlet{BlockDefinitionC} {scured}
\colorlet{BlockLemmaC} {scugreen}
\colorlet{BlockConditionC} {scuyellow}
\colorlet{HighlightCodeLineC} {scublue10}
\fi\fi
% ----------------
% ----------------
% Beamer Theme Color Layout
% Confirmed in v1.2b.
% ----------------
% 基本颜色设置.
\setbeamercolor{structure}{fg=PrimaryC}
% 调色板颜色设置.
\setbeamercolor{palette primary} {fg=white, bg=PrimaryC}
\setbeamercolor{palette secondary} {fg=black}
\setbeamercolor{palette tertiary} {fg=AlertedTextC}
\setbeamercolor{palette quaternary}{fg=AuxiliaryC, bg=IntersperseC}
% 页眉页脚颜色设置.
\setbeamercolor{section in head/foot} {parent=palette primary}
\setbeamercolor{subsection in head/foot} {parent=structure}
\setbeamercolor{frametitle} {parent=structure}
\setbeamercolor{framesubtitle} {parent=structure}
\setbeamercolor{author in head/foot} {parent=structure}
\setbeamercolor{title in head/foot} {parent=structure}
\setbeamercolor{framenumber in head/foot}{parent=structure}
% 封页颜色设置.
\setbeamercolor{title} {bg=PrimaryC!10!white, fg=PrimaryC}
\setbeamercolor{subtitle} {bg=PrimaryC!10!white, fg=PrimaryC}
%\setbeamercolor{author} {fg=white,bg=}
%\setbeamercolor{date} {fg=white,bg=}
\setbeamercolor{titlepageheader}{bg=white, fg=black}
\setbeamercolor{titlepagefooter}{bg=white, fg=black}
% 区块颜色设置.
\setbeamercolor*{block title} {parent=palette primary}
\setbeamercolor*{block body} {fg=, bg=scured40}
\setbeamercolor*{block title example}{fg=white, bg=scublue}
\setbeamercolor*{block body example} {fg=, bg=scublue40}
\setbeamercolor*{block title alerted}{parent=palette primary}
\setbeamercolor*{block body alerted} {fg=, bg=scured40}
% 列表颜色设置.
\setbeamercolor{item} {parent=structure}
\setbeamercolor{item projected} {parent=structure}
\setbeamercolor{enumerate item} {parent=structure}
\setbeamercolor{enumerate subitem} {parent=structure}
\setbeamercolor{enumerate subsubitem}{parent=structure}
% 文本颜色设置
\setbeamercolor*{normal text} {parent=palette secondary}
\setbeamercolor*{alerted text}{parent=palette tertiary}
% ----------------
%%%% ----------------------------------------------------------------
\endinput
%%%% ----------------------------------------------------------------
% End of file `beamercolorthemescu.sty'.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。