Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: if titlegraphic empty #156

Merged
merged 9 commits into from
Nov 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ int main(){

目前模版最新的稳定版是 v3.0.0。您可以在 [发布页](https://github.com/sjtug/SJTUBeamer/releases) 查看修改日志和更多资料。通常来说,SJTUBeamer 的一个稳定版本包括如下内容:

* `sjtubeamerquickguide.pdf`:SJTUBeamer 快速入门,另见对应 [源代码](https://github.com/sjtug/SJTUBeamer/blob/main/src/doc/sjtubeamerquickstart.tex)。
* `sjtubeamerquickstart.pdf`:SJTUBeamer 快速入门,另见对应 [源代码](https://github.com/sjtug/SJTUBeamer/blob/main/src/doc/sjtubeamerquickstart.tex)。
* `sjtubeamer.pdf`: **强烈推荐在使用前阅读一遍 👍👍👍** SJTUBeamer 用户文档。
* `sjtubeamerdevguide.pdf`: SJTUBeamer 开发指南。
* `sjtulib-talk-max-red.pdf`: 示例文档《如何使用 LaTeX 排版论文》的 `max,red` 主题版本。
Expand Down
4 changes: 2 additions & 2 deletions beamercolorthemesjtubeamer.sty

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions beamerfontthemesjtubeamer.sty

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions beamerinnerthemesjtubeamer.sty

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions beamerouterthemesjtubeamer.sty

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions beamerthemesjtubeamer.sty

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions contents/thesis.tex
Original file line number Diff line number Diff line change
Expand Up @@ -74,15 +74,15 @@ \subsection{\SJTUThesis 上海交通大学学位论文模板}
\begin{frame}[fragile]{模板选项}
\begin{description}
\item[type] 指定论文类型(本科/硕士/博士/课程)
\begin{lstlisting}[basicstyle=\ttfamily]
\begin{lstlisting}[basicstyle=\ttfamily]
\documentclass[type=bachelor]{sjtuthesis}
\end{lstlisting}
\item[review] 开启盲审模式
\begin{lstlisting}[basicstyle=\ttfamily]
\begin{lstlisting}[basicstyle=\ttfamily]
\documentclass[type=master,review]{sjtuthesis}
\end{lstlisting}
\item[fontset] 指定字体(推荐使用 \verb|windows|)
\begin{lstlisting}[basicstyle=\ttfamily]
\begin{lstlisting}[basicstyle=\ttfamily]
\documentclass[type=doctor,fontset=windows]{sjtuthesis}
\end{lstlisting}
\end{description}
Expand Down
2 changes: 1 addition & 1 deletion contrib/sjtug/sjtug.tex
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

\begin{description}
\item[\texttt{debug}] 参数可以在使用 Lua\LaTeX{} 编译时调用 \texttt{lua-visual-debug}
宏包显示区块边界。
宏包显示区块边界。
\end{description}
\end{frame}
\makebottom
Expand Down
13 changes: 6 additions & 7 deletions sjtucover.sty

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion sjtuvi.sty

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

44 changes: 22 additions & 22 deletions src/doc/sjtubeamer.tex
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
%% ------------------------------------------------------------------------
%% Copyright (C) 2021,2022 SJTUG
%% Copyright (C) 2021-2023 SJTUG
%%
%% Licensed under the Apache License, Version 2.0 (the "License");
%% you may not use this file except in compliance with the License.
Expand All @@ -14,7 +14,7 @@
%% limitations under the License.
%% ------------------------------------------------------------------------

\ProvidesFile{sjtubeamer.tex}[2022/11/25 v3.0.0 User Manual for sjtubeamer (Chinese)]
\ProvidesFile{sjtubeamer.tex}[2023/11/25 v3.0.1 User Manual for sjtubeamer (Chinese)]
\documentclass[
UTF8,
heading=true,
Expand Down Expand Up @@ -264,11 +264,11 @@ \section{测试模板}

\begin{enumerate}
\item[\faApple{} \faLinux] *nix 系统采用
\hologo{XeLaTeX} 编译以获得中文支持。
\hologo{XeLaTeX} 编译以获得中文支持。
\item[\faWindows] Windows 系统采用
\hologo{pdfLaTeX} 编译以获得更快的编译速度。
\hologo{pdfLaTeX} 编译以获得更快的编译速度。
\item[\faWrench] 也可以直接使用 \textsf{latexmk
(latexmkrc)} 编译示例的主文档。
(latexmkrc)} 编译示例的主文档。
\end{enumerate}

下面的代码可以用于测试 \themename{} 是否可以正常使用。
Expand Down Expand Up @@ -487,24 +487,24 @@ \section{浏览器阅读器}

\begin{enumerate}
\item[\faChrome] Chrome 浏览器以及 *nix
内置的阅读器支持“演示”功能。
\begin{figure}[h]
\centering
\begin{tcolorbox}[enhanced,
title={$\vdots$}, attach boxed
title to top
right, boxed title style={
circular arc, top=0mm,
bottom=2mm,
left=3.25mm, right=3.25mm
},
sharp corners, tile, width=6cm]
演示
\end{tcolorbox}
\end{figure}
内置的阅读器支持“演示”功能。
\begin{figure}[h]
\centering
\begin{tcolorbox}[enhanced,
title={$\vdots$}, attach boxed
title to top
right, boxed title style={
circular arc, top=0mm,
bottom=2mm,
left=3.25mm, right=3.25mm
},
sharp corners, tile, width=6cm]
演示
\end{tcolorbox}
\end{figure}
\item[\faInternetExplorer] Edge
浏览器需要调整为“适应宽度”\fbox{\faArrowsAltH},并使用
\fbox{\sffamily PageDown} 翻页。尽量不要使用该播放方法。
浏览器需要调整为“适应宽度”\fbox{\faArrowsAltH},并使用
\fbox{\sffamily PageDown} 翻页。尽量不要使用该播放方法。
\end{enumerate}

\section{Pympress}
Expand Down
24 changes: 12 additions & 12 deletions src/doc/sjtubeamerdevguide.tex
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
%% ------------------------------------------------------------------------
%% Copyright (C) 2021,2022 SJTUG
%% Copyright (C) 2021-2023 SJTUG
%%
%% Licensed under the Apache License, Version 2.0 (the "License");
%% you may not use this file except in compliance with the License.
Expand All @@ -14,7 +14,7 @@
%% limitations under the License.
%% ------------------------------------------------------------------------

\ProvidesFile{sjtubeamerdevguide.tex}[2022/11/25 v3.0.0 Development Guide for sjtubeamer (English)]
\ProvidesFile{sjtubeamerdevguide.tex}[2023/11/25 v3.0.1 Development Guide for sjtubeamer (English)]
\documentclass{ltxdoc}
\usepackage[scheme=plain]{ctex}
\usepackage[style=ieee]{biblatex}
Expand Down Expand Up @@ -215,12 +215,12 @@ \subsection{Build Overview}
\themename\ has three different types of checking:
\begin{description}
\item[Regression test] To test the decoupling properties of the modules.
\texttt{l3build check}
\texttt{l3build check}
\item[Unit test] To test each function separately by compiling documentation.
\texttt{l3build doc}
\texttt{l3build doc}
\item[CI] To make an overall check by compiling a real-world presentation. It is
often completed in GitHub Actions when you are pulling a request. \texttt{make
build-dev}
often completed in GitHub Actions when you are pulling a request. \texttt{make
build-dev}
\end{description}

We use \verb"l3build" (Section \ref{sec:l3build}) mainly for coding internal
Expand Down Expand Up @@ -1263,13 +1263,13 @@ \subsection{Old \TeX\ Distribution}
\makeatother
\end{verbatim}

\begin{tabular}{c|ccccccccc}
\TeX\ Live & 2022 & 2021 & 2020 & 2019 & 2018 & 2017 & 2016
& 2015 & 2014
\begin{tabular}{c|cccccccccc}
\TeX\ Live & 2023 & 2022 & 2021 & 2020 & 2019 & 2018 & 2017
& 2016 & 2015 & 2014
\\
\hline
Test & $\surd$ & $\surd$ & $\surd$ & $\surd$ & $\circ$ & $\circ$ &
$\circ$ & $\circ$ &
Test & $\surd$ & $\surd$ & $\surd$ & $\surd$ & $\surd$ & $\circ$ &
$\circ$ & $\circ$ & $\circ$ &
\\
\end{tabular}

Expand Down Expand Up @@ -1327,7 +1327,7 @@ \section{Implementation}
\begin{quotation}
\scriptsize

Copyright (C) 2021,2022 SJTUG
Copyright (C) 2021-2023 SJTUG

Licensed under the Apache License, Version 2.0 (the "License"); you may not use
this file except in compliance with the License. You may obtain a copy of the
Expand Down
4 changes: 2 additions & 2 deletions src/doc/sjtubeamerquickstart.tex
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
% !TeX encoding = UTF-8

%% ------------------------------------------------------------------------
%% Copyright (C) 2021,2022 SJTUG
%% Copyright (C) 2021-2023 SJTUG
%%
%% SJTUBeamer 快速入门
%%
Expand All @@ -14,7 +14,7 @@
%% -----------------------------------------------------------------------

% 本行为文件元数据,可省略。
\ProvidesFile{sjtubeamerquickstart.tex}[2022/11/25 v3.0.0 Quick Start for sjtubeamer (Chinese)]
\ProvidesFile{sjtubeamerquickstart.tex}[2023/11/25 v3.0.1 Quick Start for sjtubeamer (Chinese)]

% 加载 ctexbeamer 文档类【第一部分】
% 如果编写英文内容,建议直接使用 beamer 文档类。
Expand Down
4 changes: 2 additions & 2 deletions src/source/beamercolorthemesjtubeamer.dtx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
% \iffalse meta-comment --------------------------------------------------
% Copyright (C) 2021,2022 SJTUG
% Copyright (C) 2021-2023 SJTUG
%
% Licensed under the Apache License, Version 2.0 (the "License");
% you may not use this file except in compliance with the License.
Expand All @@ -16,7 +16,7 @@
% \iffalse
%<*package>
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{beamercolorthemesjtubeamer}[2022/11/25 v3.0.0 sjtubeamer color theme]
\ProvidesPackage{beamercolorthemesjtubeamer}[2023/11/25 v3.0.1 sjtubeamer color theme]
%</package>
% \fi
% \CheckSum{0}
Expand Down
4 changes: 2 additions & 2 deletions src/source/beamerfontthemesjtubeamer.dtx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
% \iffalse meta-comment --------------------------------------------------
% Copyright (C) 2021,2022 SJTUG
% Copyright (C) 2021-2023 SJTUG
%
% Licensed under the Apache License, Version 2.0 (the "License");
% you may not use this file except in compliance with the License.
Expand All @@ -16,7 +16,7 @@
% \iffalse
%<*package>
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{beamerfontthemesjtubeamer}[2022/11/25 v3.0.0 sjtubeamer font theme]
\ProvidesPackage{beamerfontthemesjtubeamer}[2023/11/25 v3.0.1 sjtubeamer font theme]
%</package>
% \fi
% \CheckSum{0}
Expand Down
Loading
Loading