X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=doc%2Ftexhelp.sty;h=54769c31a8faeb7f170ba784b63bcb3c830bd150;hb=f6daf56363aa1ebc1421de9e758f6ef431b685bf;hp=af91bd531d9735f7636b3263e7e5c4c8125ec324;hpb=5cf09a98b2eedb6e4fbfe1cd46a168285173d7da;p=ctsim.git diff --git a/doc/texhelp.sty b/doc/texhelp.sty index af91bd5..54769c3 100644 --- a/doc/texhelp.sty +++ b/doc/texhelp.sty @@ -88,8 +88,6 @@ % Class: puts in index \newcommand{\class}[1]{#1\index{#1}} -%\newcommand{\docparam}[2]{\parskip=0pt {\it #1}\par\parskip=10pt\begin{indented}{1cm}{#2}\end{indented}} - % Void type \newcommand{\void}{{\it void}} @@ -109,10 +107,12 @@ % % Type text with section reference -\newcommand{\helpref}[2]{{\it #1} (p.\ \pageref{#2}) } +\newcommand{\helpref}[2]{{\it #1} (section \ref{#2}) } % Type text with URL in verbatim mode -\newcommand{\urlref}[2]{#1 (\verb$#2$)} +%\newcommand{\urlref}[2]{#1 (\verb$#2$)} +\newcommand{\urlref}[2]{#1 ($#2$)} +%\newcommand{\urlref}[2]{#1 \begin{verbatim}(#2)\end{verbatim}} % Don't typeset section number in LaTeX \newcommand{\helprefn}[2]{{\it #1}} @@ -282,17 +282,3 @@ \newcommand{\background}[1]{} \newcommand{\textcolour}[1]{} \newcommand{\overview}[2]{See \helpref{#1}{#2}.} -\newcommand{\docparam}[2]{{\it #1}\begin{list}{}{\leftmargin=1cm}\item[] -#2% -\end{list}} -\newcommand{\wxheading}[1]{{\bf #1}} -\newcommand{\const}[0]{{\bf const}} -\newcommand{\constfunc}[3]{{\bf #1} {\bf #2}(#3) {\bf const}\index{#2}} -\newcommand{\windowstyle}[1]{{\bf #1}\index{#1}} - -\addtolength{\textwidth}{1in} -\addtolength{\oddsidemargin}{-0.5in} -\addtolength{\topmargin}{-0.5in} -\addtolength{\textheight}{1in} -\sloppy -