← All templates

Harbin Institute of Technology presentation (hiTouyingBeamer, community)

The hithesis group's modern beamer theme for Harbin Institute of Technology (哈尔滨工业大学), in Chinese with ctexbeamer and XeLaTeX, with three looks chosen by an option: touying (default, 16:9), minimalist (top section navigation) and classic (the older HITBeamer design, 4:3). White and photo title slides, outline, section pages with the main building outline, focus and end slides, HIT blue from the emblem, columns, blocks, theorems, code, tables, pgfplots and GB/T 7714-2015 references with biblatex. template.tex is the full example.

Create an account to use this
Category
Presentation
Document class
ctexbeamer (ctexbeamer.cls) — ships with TeX Live
Workflow
Presentation — no revision rounds
Author
hithesis (hiTouyingBeamer)
Source
hithesis (hiTouyingBeamer)
Licence
ctexbeamer.cls: LaTeX Project Public License (installed with TeX). The sample text is hithesis (hiTouyingBeamer)'s, provided for authors preparing a submission.

These are the publisher’s own files. This project starts from hithesis (hiTouyingBeamer)’s package for this publication — their manuscript, their ctexbeamer.cls, their bibliography style — so what compiles here is what they would have given you.

hithesis (hiTouyingBeamer) serves this exact file to Harbin Institute of Technology and 2 other titles. Check hithesis (hiTouyingBeamer)’s author pages for the current instructions.

Where this differs from the publisher’s download.

  • Note: A community theme by the hithesis group of HIT students; it is not issued by the university. The HIT logo images in vi/ are blank here: put the official logo files under the same names to restore them. The optional minted option needs shell escape and is off by default.

What you get

  • LICENSE · 19 KB
  • beamercmdhit.sty · 21 KB
  • beamerthemehit.sty · 7 KB
  • beamerthemehitclassic.sty · 7 KB
  • beamerthemehitminimalist.sty · 26 KB
  • beamerthemehitouying.sty · 28 KB
  • ref.bib · 383 B
  • template.tex — the file that is compiled · 16 KB
  • vi/hit-vi-logo-horizontal-white.png · 8 KB
  • vi/hit-vi-logo-horizontal.png · 21 KB
  • vi/hit-vi-logo-vertical.png · 29 KB
  • vi/hit-vi-mainbuilding-outline.png · 1938 KB
  • vi/hit-vi-mainbuilding-photo.jpg · 371 KB
  • vi/hit-vi-motto-skyline.png · 73 KB
  • vi/hit-vi-motto.png · 74 KB

These become your files. Editing them afterwards changes your project and nothing else — a project owns its files from the moment it is made.

Link to this template. Send it to a student or co-author: it starts a new paper in this template, through sign-up if they need an account.

https://manulyx.com/start/hit-beamer

Source

LICENSE — binary, 19 KB

beamercmdhit.sty · 21 KB

Loading…

beamerthemehit.sty · 7 KB

Loading…

beamerthemehitclassic.sty · 7 KB

Loading…

beamerthemehitminimalist.sty · 26 KB

Loading…

beamerthemehitouying.sty · 28 KB

Loading…

ref.bib · 383 B

Loading…

template.tex — the file that is compiled · 16 KB
% 更现代的哈尔滨工业大学 Beamer 幻灯片主题 hiTouyingBeamer 示例
% License: LaTeX Project Public License 1.3c;维护状态 maintained,维护者 SchrodingerBlume。
% 编译:latexmk -xelatex template.tex (参考文献需要 biber,latexmk 会自动调用)
% 画幅写 169 或 43;还可以加基础字号,从 8pt 到 20pt 都支持,
% 版式里的间距和字号都是相对值,会跟着一起缩放(简约主题字号固定,不随基础字号变)。
% 本文件同时是现代、经典与简约三套主题的示例:把 \usetheme 那行写成 [classic] 或
% [minimalist] 即可切换,正文不用动。
\documentclass[aspectratio=169]{ctexbeamer} % 或 43
\xeCJKsetup{AutoFallBack=true}
\setCJKfallbackfamilyfont{\CJKrmdefault}{LXGW Neo ZhiSong}
\setCJKfallbackfamilyfont{\CJKsfdefault}{LXGW Neo ZhiSong}
% 主题选项写在方括号里,可以叠加,例如 \usetheme[serif,top,navsymbols]{hit}:
%   minted        用 minted 排版代码;不写则不用(编译要加 -shell-escape)。
%   classic       换用经典主题(旧 HITBeamer 观感)。
%   touying       用现代主题(默认),写不写都一样。
%   minimalist    换用简约主题(带顶部章节导航与浅灰画布)。
%   serif         用衬线字体;经典主题不写就是衬线。
%   sans          用非衬线字体;现代主题不写就是非衬线。
%   top / center  正文顶部对齐 / 垂直居中(默认)。
%   navsymbols / nonavsymbols  显示 / 隐藏右下角翻页按钮(默认隐藏)。
%   nosectionpage 不在每个 \section 处自动插入章节过渡页。
\usetheme{hit}
% 命令层,提供 \TitleSlide 等命令。hit 主题会自动加载它;
% 这里显式写出后,把上面一行换成任意内建主题(如 Madrid)文档仍可直接编译。
\usepackage{beamercmdhit}

% 本模板额外提供的整页命令:
%   \TitleSlide        白色封面,图在右下,文字在左上
%   \BlueTitleSlide    彩色封面,上方校园照片,下方窝工主色彩条
%   \OutlineSlide      目录页
%   \FocusSlide{内容}  整页主色的强调页,用来放一句话
%   \EndSlide{内容}    结束页,校徽在上、致谢文字在下
%
% 可改的配置(都写在 \usetheme 之后):
%   \hitfooter{文字}                        页脚左侧文字,默认继承 \institute
%   \renewcommand{\hitoutlinetitle}{目录}   目录页的标题
%   \renewcommand{\hitvipath}{vi/}          视觉形象资产目录,想把 vi/ 挪走时改这里
%   \renewcommand{\themetitle}{...}         标题;各主题预置了自己的
%   \renewcommand{\themeauthor}{...}        作者;各主题预置了自己的
%   \definecolor{hitprimary}{HTML}{166183}主色,默认取自校徽
%   \setbeamerfont{frametitle}{size=\Large} 单独调某个元素的字号

% 如需使用其他西文字体,参考下面两行注释,例如这里指定的字体是 Libertinus Serif。
% \usepackage{fontspec}
% \setmainfont{Libertinus Serif}

\usepackage{amssymb}
\usetikzlibrary{overlay-beamer-styles}
\usepackage[backend=biber,style=gb7714-2015]{biblatex}
\addbibresource{ref.bib}

\title{Your paper}
\subtitle{V2.2026b}
\author{\themeauthor}
\date{\today}
\institute{哈尔滨工业大学}
% \hitfooter{哈工大}  % 页脚左侧文字,默认继承 \institute

% 启用演讲者视图:放映时第二屏显示 \note 里的备注,正屏只放幻灯片。
% \setbeameroption{show notes on second screen=right}

\begin{document}

\TitleSlide

\BlueTitleSlide

\OutlineSlide

% 章节名很长时可以给个短名:\section[短名]{很长的章节名},
% 目录页、过渡页和顶部导航条都会改用短名,正文标题仍是全名。
\section{LaTeX 与 Beamer}

\subsection{LaTeX}

\begin{frame}{LaTeX}
  LaTeX 是一个久经考验的排版系统,拥有丰富的宏包生态。本演示文稿不详细介绍
  LaTeX 的使用,你可以在 \href{https://www.latex-project.org/}{LaTeX 项目主页}
  中找到更多信息。
\end{frame}

\subsection{Beamer}

\begin{frame}{Beamer}
  Beamer 是 LaTeX 的幻灯片文档类。beamer 一词来自德语,意为投影仪。
  \themecredit
  你可以在\href{https://latex.us/macros/latex/contrib/beamer/doc/beameruserguide.pdf}{The \textsc{Beamer} \textit{class}}
  中详细了解其用法。
  \parencite{beamer2026}
\end{frame}

\section{Beamer 幻灯片动画}

\subsection{简单动画}

\begin{frame}{简单动画}
  使用 \texttt{\textbackslash pause} \pause 暂缓显示内容。

  \pause
  就像这样。

  % 重置 pause 计数器,再用 \onslide<1-> 解除前面 \pause 的遮盖,
  % 让后续内容与前文并行显示。
  \setcounter{beamerpauses}{1}\onslide<1->
  同时,\pause 我们可以用这种写法 \pause 并行显示其他内容。

  \note[item]{使用 \texttt{show notes on second screen=right}
    启用演讲提示,否则将不会显示。}
\end{frame}

\subsection{覆盖层动画}

\begin{frame}{覆盖层动画}
  在子幻灯片中,我们可以:

  \medskip
  使用 \onslide<2->{\texttt{\textbackslash onslide} 指令}(预留空间)

  \medskip
  使用 \only<2->{\texttt{\textbackslash only} 指令}(不预留空间)

  \medskip
  \alt<2->{使用 \texttt{\textbackslash alt} 指令 $\checkmark$}%
          {多次调用 \texttt{\textbackslash only} 指令 $\times$}
  从多个备选项中选择一个。
\end{frame}

\subsection{列表动画}

\begin{frame}{列表动画}
  \begin{itemize}[<+->]
    \item 用 \texttt{[<+->]} 让列表条目逐条出现
    \item 当前帧的每个条目都可以带自己的覆盖指令
    \item 也可以用 \texttt{\textbackslash item<2->} 单独指定
  \end{itemize}
\end{frame}

\subsection{数学公式动画}

\begin{frame}{数学公式动画}
  在数学公式中同样可以使用覆盖指令:
  \begin{align*}
    f(x) &= x^2 + 2x + 1              \\
    \uncover<2->{&= (x + 1)^2}
  \end{align*}

  如您所见,\pause 这是 $f(x)$ 的表达式。

  \pause
  通过因式分解,我们得到了结果。
\end{frame}

\section{与其他宏包集成}

\subsection{TikZ 动画}

\begin{frame}{TikZ 动画}
  在 Beamer 中,TikZ 图形可以直接使用覆盖指令逐步显示:

  \bigskip
  \centering
  \begin{tikzpicture}[
      state/.style={draw=hitprimary,thick,circle,minimum size=3.2em,
                    fill=hitprimary!10},
      lab/.style={font=\ttfamily\small},
      >=stealth,
    ]
    \node[state] (reading) {\ttfamily reading};
    \node[state,visible on=<2->] (eof)    at (4,0) {\ttfamily eof};
    \node[state,visible on=<3->] (closed) at (8,0) {\ttfamily closed};
    \draw[->,visible on=<2->] (reading) -- node[lab,above] {read()}  (eof);
    \draw[->,visible on=<3->] (eof)     -- node[lab,above] {close()} (closed);
    \draw[->,visible on=<3->] (reading) to[bend right=25]
      node[lab,below] {close()} (closed);
  \end{tikzpicture}
\end{frame}

\subsection{其他宏包}

\begin{frame}{其他宏包}
  \framesubtitle{pgfplots, listings, minted, tcolorbox \ldots}
  Beamer 与绝大多数 LaTeX 宏包兼容,
  详见 \href{https://ctan.org/topic/presentation}{CTAN presentation 主题分类}。
\end{frame}

\subsection{块与公式}

\begin{frame}{块与公式}
  \begin{exampleblock}{无编号公式}
    \begin{equation*}
      J(\theta) = \mathbb{E}_{\pi_\theta}[G_t] = \sum_{s\in\mathcal{S}} d^\pi(s)V^\pi(s)
    \end{equation*}
  \end{exampleblock}
  \begin{block}{块环境}
    普通块与示例块各有一套配色;可用的定理环境有
    \texttt{theorem}、\texttt{corollary}、\texttt{definition}、\texttt{example} 等。
  \end{block}
\end{frame}

\subsection{多行公式}

\begin{frame}{多行对齐}
  \begin{exampleblock}{多行对齐}
    \begin{align}
      Q_\mathrm{target} &= r+\gamma Q^\pi(s^\prime, \pi_\theta(s^\prime)+\epsilon)\\
      \epsilon &\sim\mathrm{clip}(\mathcal{N}(0, \sigma), -c, c)\nonumber
    \end{align}
  \end{exampleblock}
\end{frame}

\begin{frame}{编号多行公式}
  \begin{exampleblock}{编号多行公式}
    \small
    \begin{multline}
      A=\lim_{n\rightarrow\infty}\Delta x\left(a^{2}+\left(a^{2}+2a\Delta x+\left(\Delta x\right)^{2}\right)\right.\\
      +\left(a^{2}+2\cdot2a\Delta x+2^{2}\left(\Delta x\right)^{2}\right)
      +\left(a^{2}+2\cdot3a\Delta x+3^{2}\left(\Delta x\right)^{2}\right)\\
      \left.+\left(a^{2}+2\cdot(n-1)a\Delta x+(n-1)^{2}\left(\Delta x\right)^{2}\right)\right)
      =\frac{1}{3}\left(b^{3}-a^{3}\right)
    \end{multline}
  \end{exampleblock}
\end{frame}

\subsection{表格}

\begin{frame}{表格与引用}
  \begin{table}[h]
    \centering
    \caption{编号与含义}
    \begin{tabular}{cl}
      \toprule
      编号 & 含义 \\
      \midrule
      1 & 4.0 \\
      2 & 3.7 \\
      \bottomrule
    \end{tabular}
  \end{table}
  参考文献用 biblatex 的 \texttt{gb7714-2015} 样式排
  \parencite{beamer2026};也可以用 \texttt{\textbackslash upcite}
  做上标引用\upcite{beamer2026}。
\end{frame}

\subsection{命令与环境}

\begin{frame}{命令与环境}
  \begin{exampleblock}{命令}
    \centering\small
    \begin{tabular}{llll}
      \cmd{section} & \cmd{subsection} & \cmd{emph} & \cmd{footnote} \\
      节 & 小节 & 强调 & 脚注 \\\hline
      \cmd{item} & \cmd{caption} & \cmd{label} & \cmd{cite} \\
      列表条目 & 标题 & 标号 & 引用 \\
    \end{tabular}
  \end{exampleblock}
  \begin{exampleblock}{环境}
    \centering\small
    \begin{tabular}{lll}
      \env{table} & \env{figure} & \env{equation} \\
      表格 & 图片 & 公式 \\\hline
      \env{itemize} & \env{enumerate} & \env{description} \\
      无编号列表 & 编号列表 & 描述 \\
    \end{tabular}
  \end{exampleblock}
\end{frame}

\subsection{定理与物理宏}

\begin{frame}{定理与物理宏}
  \begin{definition}[数列极限]
    对任意 $\varepsilon>0$,存在 $N\in\symbb{N}$,使得当 $n>N$ 时,有
    \[
      \abs{a_{n}-a}<\varepsilon.
    \]
    那么我们称数列 $\qty{a_{n}}$ \emph{收敛},记为 $\lim_{n\to\infty}a_{n}=a$。
  \end{definition}
  \begin{block}{注}
    可用的定理环境有 \env{theorem}、\env{corollary}、\env{definition}、
    \env{example} 等;\texttt{physics} 与 \texttt{unicode-math} 的
    \cmd{qty}、\cmd{abs}、\cmd{symbb} 等命令两套主题都可用。
  \end{block}
\end{frame}

\subsection{代码清单}

\begin{frame}[fragile]{代码清单}
  \begin{columns}
    \begin{column}{.5\textwidth}
\begin{lstlisting}[language=TeX]
$V = \frac{4}{3}\pi r^3$

\[
  V = \frac{4}{3}\pi r^3
\]
\end{lstlisting}
    \end{column}
    \begin{column}{.45\textwidth}
      \begin{tikzpicture}
        \draw[-latex] (0, 0) -- (2.2, 0) node[below] {$x$};
        \draw[-latex] (0, 0) -- (0, 2.2) node[left] {$y$};
        \draw[fill=gray!50] (0, 1) -- (1, 2) -- (2, 1) -- (1, 0) -- cycle;
      \end{tikzpicture}
      $V = \frac{4}{3}\pi r^3$
    \end{column}
  \end{columns}
\end{frame}

% minted 代码清单示例:把 \usetheme 那行改成 \usetheme[minted]{hit},
% 编译时加 -shell-escape;打开注释即可试用。
% \begin{frame}[fragile]{minted 代码}
%   \begin{minted}{python}
%     import numpy as np
%     print("Hello World")
%     np.array([x for x in range(5) if x % 2 == 1])
%   \end{minted}
% \end{frame}

\section{其他功能}

\subsection{双栏布局}

\begin{frame}{双栏布局}
  \begin{columns}[t]
    \begin{column}{.48\textwidth}
      我仰望星空,

      它是那样辽阔而深邃;

      那无穷的真理,

      让我苦苦地求索、追随。

      我仰望星空,

      它是那样庄严而圣洁;

      那凛然的正义,

      让我充满热爱、感到敬畏。
    \end{column}
    \begin{column}{.48\textwidth}
      我仰望星空,

      它是那样自由而宁静;

      那博大的胸怀,

      让我的心灵栖息、依偎。

      我仰望星空,

      它是那样壮丽而光辉;

      那永恒的炽热,

      让我心中燃起希望的烈焰、响起春雷。
    \end{column}
  \end{columns}
\end{frame}

\subsection{内容跨页}

\begin{frame}[allowframebreaks]{内容跨页}
  豫章故郡,洪都新府。星分翼轸,地接衡庐。襟三江而带五湖,控蛮荆而引瓯越。物华天宝,龙光射牛斗之墟;人杰地灵,徐孺下陈蕃之榻。雄州雾列,俊采星驰。台隍枕夷夏之交,宾主尽东南之美。都督阎公之雅望,棨戟遥临;宇文新州之懿范,襜帷暂驻。十旬休假,胜友如云;千里逢迎,高朋满座。腾蛟起凤,孟学士之词宗;紫电青霜,王将军之武库。家君作宰,路出名区;童子何知,躬逢胜饯。

  时维九月,序属三秋。潦水尽而寒潭清,烟光凝而暮山紫。俨骖騑于上路,访风景于崇阿。临帝子之长洲,得天人之旧馆。层峦耸翠,上出重霄;飞阁流丹,下临无地。鹤汀凫渚,穷岛屿之萦回;桂殿兰宫,即冈峦之体势。

  披绣闼,俯雕甍,山原旷其盈视,川泽纡其骇瞩。闾阎扑地,钟鸣鼎食之家;舸舰弥津,青雀黄龙之舳。云销雨霁,彩彻区明。落霞与孤鹜齐飞,秋水共长天一色。渔舟唱晚,响穷彭蠡之滨,雁阵惊寒,声断衡阳之浦。

  遥襟甫畅,逸兴遄飞。爽籁发而清风生,纤歌凝而白云遏。睢园绿竹,气凌彭泽之樽;邺水朱华,光照临川之笔。四美具,二难并。穷睇眄于中天,极娱游于暇日。天高地迥,觉宇宙之无穷;兴尽悲来,识盈虚之有数。望长安于日下,目吴会于云间。地势极而南溟深,天柱高而北辰远。关山难越,谁悲失路之人;萍水相逢,尽是他乡之客。怀帝阍而不见,奉宣室以何年?

  嗟乎!时运不齐,命途多舛。冯唐易老,李广难封。屈贾谊于长沙,非无圣主;窜梁鸿于海曲,岂乏明时?所赖君子见机,达人知命。老当益壮,宁移白首之心?穷且益坚,不坠青云之志。酌贪泉而觉爽,处涸辙以犹欢。北海虽赊,扶摇可接;东隅已逝,桑榆非晚。孟尝高洁,空余报国之情;阮籍猖狂,岂效穷途之哭!

  勃,三尺微命,一介书生。无路请缨,等终军之弱冠;有怀投笔,慕宗悫之长风。舍簪笏于百龄,奉晨昏于万里。非谢家之宝树,接孟氏之芳邻。他日趋庭,叨陪鲤对;今兹捧袂,喜托龙门。杨意不逢,抚凌云而自惜;钟期既遇,奏流水以何惭?

  呜呼!胜地不常,盛筵难再;兰亭已矣,梓泽丘墟。临别赠言,幸承恩于伟饯;登高作赋,是所望于群公。敢竭鄙怀,恭疏短引;一言均赋,四韵俱成。请洒潘江,各倾陆海云尔。

  \begin{center}
    滕王高阁临江渚,佩玉鸣鸾罢歌舞。\\
    画栋朝飞南浦云,珠帘暮卷西山雨。\\
    闲云潭影日悠悠,物换星移几度秋。\\
    阁中帝子今何在?槛外长江空自流。
  \end{center}
\end{frame}

% 附录:页码的分母固定为正文总页数,同时隐藏页脚。
\appendix

\begin{frame}{附注}
  \begin{itemize}
    \item 您可以使用:\texttt{git clone
      https://github.com/hithesis/hiTouyingBeamer}
      获取本模板,并以 \texttt{template.tex} 为骨架创建演示文稿。
    \item \textbf{现代主题}(默认)移植自上海交通大学 Touying 主题
      \href{https://github.com/sjtug/touying-sjtu}{touying-simpl-sjtu},
      并借鉴了其 dewdrop 主题,作者 SchrodingerBlume。
    \item \textbf{经典主题}(\texttt{classic} 选项)移植自
      \href{https://github.com/hithesis/HITBeamer}{HITBeamer}
      (作者 syvshc),它基于
      \href{https://github.com/Trinkle23897/THU-Beamer-Theme}{THU-Beamer-Theme}。
    \item \textbf{简约主题}(\texttt{minimalist} 选项)由
      \href{https://github.com/XePWang}{XePWang} 提供。
  \end{itemize}
\end{frame}

\begin{frame}{参考文献}
  \printbibliography[heading=none]
\end{frame}

% 强调页:整页主色,适合放一句话。
% \FocusSlide{将大局逆转吧!}

\EndSlide{感谢使用\par\medskip Thanks for Using!}

\end{document}

vi/hit-vi-logo-horizontal-white.png — binary, 8 KB

vi/hit-vi-logo-horizontal.png — binary, 21 KB

vi/hit-vi-logo-vertical.png — binary, 29 KB

vi/hit-vi-mainbuilding-outline.png — binary, 1938 KB

vi/hit-vi-mainbuilding-photo.jpg — binary, 371 KB

vi/hit-vi-motto-skyline.png — binary, 73 KB

vi/hit-vi-motto.png — binary, 74 KB

The first page, as this template compiles today. Click it to enlarge, and again to shrink. Open the file ↗