## collaboration with latex2e

Dear SWP and LaTeX experts---

some of the more tex-nically experienced folks on our team are using latex itself (on OSX and linux machines), others are using SWP (on Windows machines).

now, we would like to typeset a latex version of our collaborative document with some style files and features that are not available in SWP.  Trying to talk to the non-texnical folks about installing style files (doublespace, mathastext) and other fonts (ptmx) is hopeless.

so, what we want to do is stick to the very basics of standard latex markup in the document itself, but have a style file that changes the typesetting.  for example,

\ifscientificworkplace

\newcommand{\needspace}[1]{}

\else

\usepackage{doublespace}

\fi

Is this possible?  Can someone give me an example, please?  help appreciated.

Sincerely,

/iaw

### SW does not see the contents

SW does not see the contents of package files, so it is certainly possible to add a package that takes care of differences between typesetting when using the TrueTeX system included with SW or some other TeX/LaTeX implemenation.

I'm not sure exactly what would be needed, however.  Looking at doublespace is probably a bad example.  The doublespace package is obsolete and has been replaced by the setspace package.

### doublespace.sty was a typo

doublespace.sty was a typo on my part.  I meant needspace.sty .

I think that SWP gives an error if it cannot see a style file that is not available to itself, and I need to avoid this error, too.  it freaks out the SWP users.  so, I need

\ifscientificworkplace
\newcommand{\needspace}[1]{}
\else
\usepackage{needspace}
\fi

How would I do this?

regards,

/iaw4

### You should be able to do

You should be able to do something like:

```\IfFileExists{needspace.sty}%
{\usepackage{needspace}}%
{\newcommand{\needspace}[1]{}}```