📄 html_nb_style.tex
字号:
% *******************************************************************%% File: html_nb.tex%% Project: NeuroBasic%% Survey: LaTeX style for the NeuroBasic dokumentation and% manual to be processed by latex2html. % Derived from nbasic.sty%% Author: Michael Kocheisen% Electronics Laboratory, ETH Zuerich,% Switzerland%% Created: March 22, 1995% Modified: April 24, 1995 (mk)%% *******************************************************************\typeout{NeuroBasic manual style. Released October 11, 1994}% ===== macros for text =====%\newcommand{\MUSIC}{{\small MUSIC}}\newcommand{\MUSIC}{MUSIC}\newcommand{\ASCII}{{\small ASCII}}\newcommand{\SN}{{\small SN}}\newcommand{\UNIX}{{\small UNIX}}\newcommand{\eg}{e.\thinspace{}g.}\newcommand{\ie}{i.\thinspace{}e.}\newcommand{\PC}{{\small PC}}\newcommand{\MSDOS}{{\small MSDOS}}\newcommand{\CPU}{{\small CPU}}% ===== document format DIN A4 =====\setlength{\topmargin}{-2cm}\setlength{\textheight}{25cm}\setlength{\oddsidemargin}{-0.04cm}\setlength{\evensidemargin}{-0.04cm}\setlength{\textwidth}{16cm}% ===== captions of the figures in italic =====\def\fnum@figure{\it \figurename{} \thefigure}% ===== captions of the tables in italic =====\def\fnum@table{\it \tablename{} \thetable}% ===== other things =====\def\contentsname{Table of Contents}\setcounter{secnumdepth}{1}\setcounter{tocdepth}{1}%\hfuzz=1.5pt\frenchspacing% ===== itemization labels =====\def\labelitemi{--}\def\labelitemii{-}\def\labelitemiii{$\ast$}\def\labelitemiv{$\cdot$}% ===== footnotes in title =====\def\@fnsymbol#1{\ifcase#1\or *\or **\or ***\or \mathchar "278\or \mathchar "27B\or \|\or **\or \dagger\dagger \or \ddagger\ddagger \else\@ctrerr\fi\relax}% ===== environments =====\newenvironment{packagelist}{ \begin{list}{$\bullet$}{ \setlength{\itemsep}{\parskip} \setlength{\parsep}{0ex}}}%{\end{list}}\newenvironment{fctitem}[1]%{\begin{list}{}{}\item[{\tt #1}]\ \\}%{\end{list}}\newenvironment{nfunction}[2]%{\index{#1@\texttt{#1()}} \begin{list}{}{% \setlength{\itemsep}{0ex} \setlength{\parsep}{0ex} \setlength{\topsep}{0ex} \setlength{\parskip}{1ex}%}\item[\tt #1(#2)]\ \\}%}\item[{\tt #1(#2)}]\ \\}%{\end{list}}\newenvironment{nbcommand}[1]%{\index{#1@\texttt{#1}} \begin{list}{}{% \setlength{\itemsep}{0ex} \setlength{\parsep}{0ex} \setlength{\topsep}{0ex} \setlength{\parskip}{1ex} \setlength{\leftmargin}{5em} \setlength{\labelwidth}{4em} \setlength{\labelsep}{1em} % \leftmargin - \labelwidth \renewcommand{\makelabel}[1]{\tt#1\hfil}%}\item[\tt#1]}%}\item[{\tt #1}]}%{\end{list}}% ===== macros used for pictures generated by xfig =====%\newcommand{\sevrm}{\fontsize{7}{9pt}\normalfont\rmfamily}%\newcommand{\tenrm}{\fontsize{10}{12pt}\normalfont\rmfamily}%\newcommand{\twlrm}{\fontsize{12}{14pt}\normalfont\rmfamily}%\newcommand{\egtrm}{\fontsize{8}{10pt}\normalfont\rmfamily}% ===== sectioning =====\def\thepart {\Roman{part}}\def\thechapter {\arabic{chapter}}\def\thesection {\thechapter.\arabic{section}}\def\thesubsection {\thesection.\arabic{subsection}}\def\thesubsubsection {\thesubsection.\arabic{subsubsection}}\def\theparagraph {\thesubsubsection.\arabic{paragraph}}\def\thesubparagraph {\theparagraph.\arabic{subparagraph}}\def\@makechapterhead#1{ { \parindent 0pt \raggedright \ifnum \c@secnumdepth >\m@ne \Large\bf \thechapter. \hskip 0.4em% \par \vskip 1ex \fi \Large\bf #1\par \nobreak \vskip 1.5ex } \markboth{\thechapter. #1}{\thechapter. #1} }\def\@makeschapterhead#1{ { \parindent 0pt \raggedright \Large\bf #1\par \nobreak \vskip 1.5ex } \markboth{#1}{#1} }\def\chapter{\cleardoublepage \global\@topnum\z@\@afterindentfalse \secdef\@chapter\@schapter}\def\@chapter[#1]#2{\ifnum \c@secnumdepth >\m@ne \refstepcounter{chapter} \typeout{\@chapapp\space\thechapter: #1} \addcontentsline{toc}{chapter}{\protect \numberline{\thechapter.}#1}\else \addcontentsline{toc}{chapter}{#1}\fi \chaptermark{#1} \addtocontents{lof}{\protect\addvspace{10pt}}\addtocontents{lot}{\protect\addvspace{10pt}} \if@twocolumn\@topnewpage[\@makechapterhead{#2}] \else \@makechapterhead{#2} \@afterheading \fi}\def\@schapter#1{% \ifaddcontents \typeout{\@chapapp: #1} % typeout \chapter* \addcontentsline{toc}{chapter}{#1} % and add it to the% \fi % table of contents \if@twocolumn \@topnewpage[\@makeschapterhead{#1}] \else \@makeschapterhead{#1} \@afterheading\fi}%\newif\ifaddcontents\addcontentsfalse % Create flag and set false.\def\tableofcontents{\@restonecolfalse \if@twocolumn\@restonecoltrue\onecolumn\fi \chapter*{\contentsname} \addcontentstrue % Add \chapter* to \@starttoc{toc} % toc from here on \if@restonecol\twocolumn\fi}\def\section#1{ \@startsection{section}{1}{\z@} {-3.25ex plus -1ex minus -.2ex}{2.3ex plus .2ex} {\large\bf}{#1} \markright{\thesection.\ #1} }\def\subsection{ \@startsection{subsection}{2}{\z@} {-3.25ex plus -1ex minus -.2ex}{1.5ex} {\normalsize\bf} }\def\subsubsection{ \@startsection{subsubsection}{3}{\z@} {-3.25ex plus -1ex minus -.2ex}{1.5ex} {normalsize} }\def\@sect#1#2#3#4#5#6[#7]#8{\ifnum #2>\c@secnumdepth \def\@svsec{}\else \refstepcounter{#1}\edef\@svsec{\csname the#1\endcsname.\hskip 0.4em }\fi \@tempskipa #5\relax \ifdim \@tempskipa>\z@ \begingroup #6\relax \@hangfrom{\hskip #3\relax\@svsec}{\interlinepenalty \@M #8\par}% \endgroup \csname #1mark\endcsname{#7}\addcontentsline {toc}{#1}{\ifnum #2>\c@secnumdepth \else \protect\numberline{\csname the#1\endcsname.}\fi #7}\else \def\@svsechd{#6\hskip #3\@svsec #8\csname #1mark\endcsname {#7}\addcontentsline {toc}{#1}{\ifnum #2>\c@secnumdepth \else \protect\numberline{\csname the#1\endcsname.}\fi #7}}\fi \@xsect{#5}}% ===== index in table of contents =====\renewenvironment{theindex}{ \if@twocolumn \@restonecolfalse \else \@restonecoltrue \fi \columnseprule \z@ \columnsep 35\p@ \twocolumn[\@makeschapterhead{\indexname}] \@mkboth{\indexname}{\indexname} \addcontentsline{toc}{chapter}{\indexname} \parindent\z@ \parskip\z@ plus .3pt\relax \let\item\@idxitem}{\if@restonecol\onecolumn\else\clearpage\fi}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -