summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/generic/xlop/manual.sty
diff options
context:
space:
mode:
authorManuel Pégourié-Gonnard <mpg@elzevir.fr>2008-09-11 19:22:09 +0000
committerManuel Pégourié-Gonnard <mpg@elzevir.fr>2008-09-11 19:22:09 +0000
commitc8da6304f2038c75e61e08c5345c1a2abaef802e (patch)
tree21f5c078d2cf00909a41a05fd88f30a7845e9adc /Master/texmf-dist/source/generic/xlop/manual.sty
parent4b8d19ed7a69c2b86e10d0a9f0b57fdf89373ea1 (diff)
new generic package xlop
git-svn-id: svn://tug.org/texlive/trunk@10556 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/generic/xlop/manual.sty')
-rw-r--r--Master/texmf-dist/source/generic/xlop/manual.sty41
1 files changed, 41 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/generic/xlop/manual.sty b/Master/texmf-dist/source/generic/xlop/manual.sty
new file mode 100644
index 00000000000..a186256b849
--- /dev/null
+++ b/Master/texmf-dist/source/generic/xlop/manual.sty
@@ -0,0 +1,41 @@
+\usepackage[T1]{fontenc}
+\usepackage[latin1]{inputenc}
+\usepackage{lmodern}
+\usepackage{makeidx}
+\usepackage{longtable}
+\usepackage{multicol}
+\usepackage{pst-node}
+\usepackage{fvrb-ex}
+\usepackage{geometry}
+\usepackage{xlop}
+
+\fvset{xrightmargin=5cm,frame=single,fontsize=\small}
+\geometry{a4paper,left=4cm,right=4cm,top=3cm,bottom=3cm,nohead}
+
+\let\SBSori\SideBySideExample
+\def\SideBySideExample{\par\bigbreak\SBSori}
+\let\endSBSori\endSideBySideExample
+\def\endSideBySideExample{%
+ \endSBSori
+ \par\bigskip\noindent}
+
+\newenvironment{syntaxBNF}{%
+ \catcode`\_=12
+ \def\*##1*{$\langle$##1$\rangle$}%
+ \def\alt{\unskip~$|$~\ignorespaces}%
+ \def\sameline{\multicolumn{1}{c}{} & \null\quad}%
+ \ttfamily
+ \begin{center}\begin{tabular}{r@{\quad:=\quad}l}}
+{\end{tabular}\end{center}}
+
+\setlongtables
+\newcommand\package[1]{\textsf{#1}}
+\newcommand\file[1]{\texttt{#1}}
+
+\newcommand\macro[1]{\texttt{$\backslash$#1}\index{#1@\texttt{\boi {#1}}}}
+\newcommand\parameter[1]{\texttt{#1}\index{#1@\texttt{#1}}%
+ \index{parametre@paramètre!\texttt{#1}}}
+
+\newcommand\bull{\vrule width3pt height4pt depth-1pt}
+
+\makeindex