From 95d9bfc84f798b8e5bf56ee19fa3ac42bc4d1649 Mon Sep 17 00:00:00 2001 From: Manuel Pégourié-Gonnard Date: Sat, 5 Apr 2008 17:35:29 +0000 Subject: sdrt v1.0 git-svn-id: svn://tug.org/texlive/trunk@7324 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/sdrt/sdrt.sty | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'Master/texmf-dist/tex/latex/sdrt') diff --git a/Master/texmf-dist/tex/latex/sdrt/sdrt.sty b/Master/texmf-dist/tex/latex/sdrt/sdrt.sty index 419320811e2..f64f6f9303c 100644 --- a/Master/texmf-dist/tex/latex/sdrt/sdrt.sty +++ b/Master/texmf-dist/tex/latex/sdrt/sdrt.sty @@ -16,10 +16,12 @@ %% Enjoy! %% %% %% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{sdrt}[2008/04/02 Package for typesetting Discourse Representation Theory and formal semantics in general] \RequirePackage{ifthen} \RequirePackage{xyling} +\RequirePackage{xytree}%This package is needed, otherwise there's trouble with the trees... but I dont know why! %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %The \lab[]{} command and all its variants% @@ -115,9 +117,9 @@ %\(P)SDRS% %%%%%%%%%% -\newcommand{\SDRS}[3][] -{\ifthenelse{\equal{#1}{}}{\ensuremath - { +\newcommand{\SDRS}[3][none] +{\ifthenelse{\equal{#1}{none}}{\ensuremath + {\hspace{2ex} \begin{array}{|l|} \hline ~ \vspace{-2.5ex}\\ @@ -132,7 +134,7 @@ } } {\ensuremath - {#1: \hspace{-3pt} + {#1: \hspace{-.5ex} \begin{array}{|l|} \hline ~ \vspace{-2.5ex}\\ @@ -148,7 +150,7 @@ } %Presupposed versions -\newcommand{\PSDRS}[3][]{\ifthenelse{\equal{#1}{}}{\ensuremath{\partial\left(\; \SDRS{#2}{#3}\; \right)}}{\ensuremath{#1: \partial\left(\; \SDRS{#2}{#3}\; \right)}}} +\newcommand{\PSDRS}[3][none]{\ifthenelse{\equal{#1}{none}}{\ensuremath{\partial\left(\; \hspace{-2ex}\SDRS{#2}{#3}\; \right)}}{\ensuremath{#1: \partial\left(\; \SDRS{#2}{#3}\; \right)}}} \newcommand{\pres}[1]{\ensuremath{\partial(#1)}} %%%%%%% -- cgit v1.2.3