Files
secondo/Tools/pd/pd_header_bw_listing

63 lines
1.3 KiB
Plaintext
Raw Normal View History

2026-01-23 17:03:45 +08:00
\documentclass[11pt,a4paper]{article}
\catcode`<60>=\active
\catcode`<60>=\active
\catcode`<60>=\active
\catcode`<60>=\active
\catcode`<60>=\active
\catcode`<60>=\active
\catcode`<60>=\active
\def<65>{\"{a}}
\def<65>{\"{A}}
\def<65>{\"{o}}
\def<65>{\"{O}}
\def<65>{\"{u}}
\def<65>{\"{U}}
\def<65>{\ss}
\usepackage{epsfig, xspace,listings, alltt}
\lstloadlanguages{C++}
\parindent0em
\parskip0.8ex plus0.4ex minus 0.4ex
\setcounter{secnumdepth}{4}
\setcounter{tocdepth}{3}
\fussy
\oddsidemargin0mm
\evensidemargin0mm
\textwidth16cm
\newenvironment{pdprogram}{}{}
\newenvironment{pdverbatim}{\begin{alltt}\hspace{0.9cm}\rule[1.0eX]{2in}{0.1pt}\nopagebreak\small}
{\hspace{0.9cm}\rule[2.0eX]{2in}{0.1pt}\nopagebreak\end{alltt}}
\newcommand{\textred}[1]{#1}
\newcommand{\textcomment}[1]{\textit{#1}}
\lstdefinelanguage{mybash} {
morekeywords={export, source, mkdir, cd}, sensitive=false, morecomment=[l]{\#}, morestring=[b]" }
\newcommand{\lstsetSH}{\lstset{language=C++,basicstyle=\ttfamily\footnotesize,stringstyle=\textred,
showstringspaces=false,
commentstyle=\textcomment,
keywordstyle=\textbf,
extendedchars=true}}
\hfuzz=0.5cm
\hbadness=3000
\begin{document}
\lstset{language=C++,basicstyle=\ttfamily\footnotesize,stringstyle=\textred,
showstringspaces=false,
commentstyle=\textcomment,
keywordstyle=\bf,
extendedchars=true}