📄 sped.sty
字号:
\makeatletter%%%%%% Subscript fun% \if@osf% \newcommand{\element}[1]{\emph{\noosf{#1}}}%% \newcommand{\elemrm}[1]{\noosf{#1}}%% \else\newcommand{\element}[1]{\emph{#1}}%\newcommand{\elemrm}[1]{{#1}}%% \fi\newcommand{\rtext}[1]{\text{\upshape{#1}}}\newcommand{\xflowid}[4]{%(#1, #2, #3, #4)%}%\newcommand{\cpp}[1]{\texttt{#1}}\newcommand{\unix}[1]{\texttt{#1}}\newcommand{\tool}[1]{\textit{#1}}\newcommand{\musec}{\mbox{$\mu$s}}\newcommand{\LB}{\char`\{}\newcommand{\RB}{\char`\}}%\newcommand{\abbrev}[1]{\textsc{\lowercase{#1}}}\newcommand{\abbrev}[1]{#1}\newcommand{\IP}{\abbrev{IP}}\newcommand{\TCP}{\abbrev{TCP}}\newcommand{\UDP}{\abbrev{UDP}}\newcommand{\ICMP}{\abbrev{ICMP}}%\newcommand{\TCPIP}{\abbrev{TCP$/$IP}}%\newcommand{\UDPIP}{\abbrev{UDP$/$IP}}\newcommand{\TCPIP}{\abbrev{TCP$\kern-.08em/$IP}}\newcommand{\UDPIP}{\abbrev{UDP$\kern-.08em/$IP}}\newcommand{\DSCP}{\abbrev{DSCP}}\newcommand{\ARP}{\abbrev{ARP}}\newcommand{\FTP}{\abbrev{FTP}}\newcommand{\NAT}{\abbrev{NAT}}\newcommand{\SYN}{\abbrev{SYN}}\newcommand{\FIN}{\abbrev{FIN}}\newcommand{\RST}{\abbrev{RST}}\newcommand{\ACK}{\abbrev{ACK}}\newcommand{\Tcl}{T\kern-\p@ cl}\newcommand{\Mbitps}{Mbit/s}\renewcommand{\v}[1]{{\textit{#1}}}% \caption fixes\ifx\abovecaptionskip\@undefined \newskip\abovecaptionskip \newskip\belowcaptionskip\fi\abovecaptionskip=0.1\baselineskip\belowcaptionskip=0.8\baselineskip\long\def\@makecaption#1#2{% \vskip\abovecaptionskip \sbox\@tempboxa{{\footnotesize{\scshape #1}---#2}}% \ifdim \wd\@tempboxa >\hsize {\begin{footnotesize}{\scshape #1}---#2\par\end{footnotesize}} \else \global \@minipagefalse \hb@xt@\hsize{\hfil\box\@tempboxa\hfil}% \fi \vskip\belowcaptionskip}% URL macro{\catcode`\/\active\catcode`\_\active\catcode`\.\active\gdef\URLslash{\futurelet\next\@@URLslash}%\gdef\@@URLslash{\ifx\next\URLslash\char`\/\else\slash\fi}%\gdef\URLdot{\char`\.\penalty\exhyphenpenalty}%\gdef\URLprepare{\catcode`\/\active\catcode`\_\active\catcode`\.\active \let/\URLslash\let.\URLdot\def~{\char`\~}\def_{\char`\_}}}%\gdef\URL{\bgroup\URLprepare\realURL}%\gdef\realURL#1{\tt #1\egroup}%% smalltt\newenvironment{smalltt}{\begin{small}\begin{alltt}}{\end{alltt}\end{small}}%\newenvironment{smalltt}%{\begin{alltt}}%{\end{alltt}}% New \itemize\def\itemize{% %\list{\lower.4ex\hbox{*}}{% \list{--}{% \leftmargin\parindent% \labelwidth\leftmargin% }%}\let\enditemize\endlist\def\paritemize{% %\list{\lower.4ex\hbox{*}}{% \list{$\bullet$}{% \leftmargin\z@ \labelwidth\z@ \listparindent\parindent \itemindent1.5\parindent \parsep\z@ }%}\let\endparitemize\endlist\newenvironment{lmelementlabel}{\begin{small}\vskip0.4\baselineskip\parindent\z@\itshape\begin{obeylines}}{\end{obeylines}\vskip0.4\baselineskip\end{small}}\let\file\emph\makeatother\endinput
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -