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: maxplus sectioning page shift #100

Merged
merged 4 commits into from
May 10, 2022
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 beamercolorthemesjtubeamer.sty

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

2 changes: 1 addition & 1 deletion beamerfontthemesjtubeamer.sty

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

2 changes: 1 addition & 1 deletion beamerinnerthemesjtubeamer.sty

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

2 changes: 1 addition & 1 deletion beamerouterthemesjtubeamer.sty

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

2 changes: 1 addition & 1 deletion beamerthemesjtubeamer.sty

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

9 changes: 6 additions & 3 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.

2 changes: 1 addition & 1 deletion src/doc/sjtubeamer.tex
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ \chapter{代码}

\begin{commentlist}
\item \texttt{codeblock} 提供了带行号的代码抄录环境$^*$,第一个可选参数可以用于设置语言与其他抄录选项,第二个必选参数可以设置代码块的标题。
\item 需要清理抄录代码在源文件中的缩进,顶格输入。如果想要高亮某一行$^*$,请设置 \verb"escapechar=|" 可选参数后,在该行开头顶格输入 \verb"|\highlightline|"。
\item 需要清理抄录代码在源文件中的缩进,顶格输入。如果想要高亮某一行$^*$,设置 \verb"escapechar=|" 可选参数后,在该行开头顶格输入 \verb"|\highlightline|"。
\item 你也可以直接使用 \texttt{\textbackslash{}codeblockinput}[选项]\{标题\}\{文件\} 用于抄录外部文件$^*$,但请通过 \verb"firstline" 和 \verb"lastline" 选项控制代码行数。
\item 直接使用 \texttt{listings} 宏包提供的 \texttt{lstlisting} 环境与 \texttt{lstinputlisting} 命令依然可行,\themename\ 已经对其进行了一些预先的优化。
\item[\faExclamationTriangle] 使用代码块的页其 \texttt{frame} 环境必须添加 \texttt{fragile} 参数。
Expand Down
2 changes: 1 addition & 1 deletion src/source/beamercolorthemesjtubeamer.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
% \iffalse
%<*package>
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{beamercolorthemesjtubeamer}[2022/05/10 v2.7.2 sjtubeamer color theme]
\ProvidesPackage{beamercolorthemesjtubeamer}[2022/05/10 v2.7.3 sjtubeamer color theme]
%</package>
% \fi
% \CheckSum{0}
Expand Down
2 changes: 1 addition & 1 deletion src/source/beamerfontthemesjtubeamer.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
% \iffalse
%<*package>
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{beamerfontthemesjtubeamer}[2022/05/10 v2.7.2 sjtubeamer font theme]
\ProvidesPackage{beamerfontthemesjtubeamer}[2022/05/10 v2.7.3 sjtubeamer font theme]
%</package>
% \fi
% \CheckSum{0}
Expand Down
2 changes: 1 addition & 1 deletion src/source/beamerinnerthemesjtubeamer.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
% \iffalse
%<*package>
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{beamerinnerthemesjtubeamer}[2022/05/10 v2.7.2 sjtubeamer inner theme]
\ProvidesPackage{beamerinnerthemesjtubeamer}[2022/05/10 v2.7.3 sjtubeamer inner theme]
%</package>
% \fi
% \CheckSum{0}
Expand Down
2 changes: 1 addition & 1 deletion src/source/beamerouterthemesjtubeamer.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
% \iffalse
%<*package>
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{beamerouterthemesjtubeamer}[2022/05/10 v2.7.2 sjtubeamer outer theme]
\ProvidesPackage{beamerouterthemesjtubeamer}[2022/05/10 v2.7.3 sjtubeamer outer theme]
%</package>
% \fi
% \CheckSum{0}
Expand Down
2 changes: 1 addition & 1 deletion src/source/beamerthemesjtubeamer.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
% ------------------------------------------------------------------- \fi
% \iffalse
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{beamerthemesjtubeamer}[2022/05/10 v2.7.2 sjtubeamer parent theme]
\ProvidesPackage{beamerthemesjtubeamer}[2022/05/10 v2.7.3 sjtubeamer parent theme]
% \fi
%
% \subsection{Parent Theme}
Expand Down
12 changes: 9 additions & 3 deletions src/source/sjtucover.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
% \iffalse
%<*package>
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{sjtucover}[2022/05/10 v2.7.2 cover library for sjtubeamer]
\ProvidesPackage{sjtucover}[2022/05/10 v2.7.3 cover library for sjtubeamer]
%</package>
% \fi
% \CheckSum{0}
Expand Down Expand Up @@ -635,8 +635,8 @@
\usebeamercolor{#1 title}
\begin{tikzpicture}[overlay]
\fill [bg] (-0.2*\the\paperwidth,-1*\the\paperheight)
rectangle (1*\the\paperwidth, 0.3*\the\paperheight);
\node [right, fg] at (-0.2*\the\paperwidth, -0.6*\the\paperheight)
rectangle (1*\the\paperwidth, 0.4*\the\paperheight);
\node [right, fg] at (-0.2*\the\paperwidth, -0.5*\the\paperheight)
{\resizebox{1.25\paperwidth}{!}{\sjtugate}};
\end{tikzpicture}
\vfil
Expand Down Expand Up @@ -666,6 +666,12 @@
}
\fi
\endgroup
% \end{macrocode}
% Add additional vertical skip for the section page, to align with the subsection page on bottom gate picture.
% \begin{macrocode}
\if\EqualOption{cover}{sectype}{section}
\vskip8.5ex
\fi
\vfill
}
% \end{macrocode}
Expand Down
2 changes: 1 addition & 1 deletion src/source/sjtuvi.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
% \iffalse
%<*package>
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{sjtuvi}[2022/05/10 v2.7.2 Visual Identity System library for sjtubeamer]
\ProvidesPackage{sjtuvi}[2022/05/10 v2.7.3 Visual Identity System library for sjtubeamer]
%</package>
% \fi
% \CheckSum{0}
Expand Down