Skip to content

Commit

Permalink
docs: dev doc on ltx @
Browse files Browse the repository at this point in the history
  • Loading branch information
LogCreative committed Sep 20, 2022
1 parent f4216da commit 9e57098
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 13 deletions.
1 change: 0 additions & 1 deletion contrib/poster/sjtubeamerthemeposter.ltx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
% 设置 headline 颜色跟随亮色/暗色
\setbeamercolor{headline}{parent=palette primary}
% 修改 headline,需要在文档起始处覆盖,防止 default 的行为
% FIXME: @ in ltx file?
\AtBeginDocument{
\setbeamertemplate{headline}{
\begin{beamercolorbox}[wd=\paperwidth,sep=0.02\paperwidth]{headline}
Expand Down
Binary file removed poster.pdf
Binary file not shown.
12 changes: 0 additions & 12 deletions poster.tex

This file was deleted.

4 changes: 4 additions & 0 deletions src/doc/sjtubeamerdevguide.tex
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,10 @@ \subsection{Write a Plugin}
\def\foo@bar{bar of foo}
\makeatother
\end{verbatim}
or you could just use \verb"\csname" and \verb"\endcsname" for temporary use:
\begin{verbatim}
\def\csname foo@bar\endcsname{bar of foo}
\end{verbatim}

\themename{} has an internal mechanism of passing the options. For example, if you pass \verb"debug" option to \verb"sjtug" plugin --- \verb"\usesjtutheme[debug]{sjtug}", you could judge the condition in the plugin file like:
\begin{verbatim}
Expand Down

0 comments on commit 9e57098

Please sign in to comment.