Skip to content

Commit

Permalink
docs: fix halign space of secondinstlogo (#178)
Browse files Browse the repository at this point in the history
  • Loading branch information
LogCreative authored Jan 19, 2025
1 parent 579b4c1 commit 5ee4dc9
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 16 deletions.
23 changes: 11 additions & 12 deletions src/doc/sjtubeamer.tex
Original file line number Diff line number Diff line change
Expand Up @@ -830,35 +830,34 @@ \section{二级机构组合}
raster every box/.style={
center title,
valign=center,
halign=center,
halign=flush center, % center 会导致额外的单词间距
fonttitle=\ttfamily,
colback=white}]

\tcbitem[
title={
\cmd{secondaryinstlogo
[$\langle\textit{en}\rangle$]
\{$\langle\textit{zh}\rangle$\}
\cmd{secondaryinstlogo%
[$\langle\textit{en}\rangle$]%
\{$\langle\textit{zh}\rangle$\}%
\{$\langle\textit{logo}\rangle$\}}}]
\resizebox{!}{1cm}{\secondaryinstlogo
[School of Electronic, Information and
Electrical Engineering]
{电子信息与电气工程学院}{\zhlogo{}}}
[School of Mathematical Sciences]
{数学科学学院}{\zhlogo{}}}

\tcbitem[
title={
\cmd{secondaryinstlogo
\{$\langle\textit{en}\rangle$\}
\cmd{secondaryinstlogo%
\{$\langle\textit{en}\rangle$\}%
\{$\langle\textit{logo}\rangle$\}}}]
\resizebox{!}{1cm}{\secondaryinstlogo{School of
Electronic, \\ Information and Electrical
Engineering}{\enlogo{}}}

\tcbitem[
title={
\cmd{secondaryinstlogo
\{\cmd{resizebox}\{!\}\{0.95cm\}
\{$\langle\textit{logo2}\rangle$\}\}
\cmd{secondaryinstlogo%
\{\cmd{resizebox}\{!\}\{0.95cm\}%
\{$\langle\textit{logo2}\rangle$\}\}%
\{$\langle\textit{logo}\rangle$\}}}]
\resizebox{!}{1cm}{\secondaryinstlogo{
\resizebox{!}{0.95cm}
Expand Down
2 changes: 1 addition & 1 deletion src/support/tutorial/step17+_.tex
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
\usepackage{gbt7714}
\begin{document}
\begin{frame}
SJTUBeamer 是基于上海交通大学视觉形象系统\cite{viman}制作的 \LaTeX{} 幻灯片模板。
SJTUBeamer 是基于上海交通大学视觉形象系统 \cite{viman} 制作的 \LaTeX{} 幻灯片模板。
\end{frame}
\begin{frame}[allowframebreaks]
\frametitle{参考文献}
Expand Down
5 changes: 2 additions & 3 deletions src/support/tutorial/step23.tex
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@
\title{SJTUBeamer}
\subtitle{使用教程}
\author{}
\institute[School of Electronic,
\\Information and Electrical Engineering]
{电子信息与电气工程学院}
\institute[School of Mathematical Sciences]
{数学科学学院}
\date{\today}
\titlegraphic{
\includegraphics{head.png}
Expand Down

0 comments on commit 5ee4dc9

Please sign in to comment.