lib
Class LaTeXOutput

java.lang.Object
  extended by lib.LaTeXOutput
All Implemented Interfaces:
ILaTeXOutput

public class LaTeXOutput
extends java.lang.Object
implements ILaTeXOutput


Constructor Summary
LaTeXOutput(java.lang.String pathname, java.lang.String filename)
           
 
Method Summary
 void beginEnvironment(java.lang.String e)
          begin{environment} end{environment}
 void closeFileWriter()
          Sluit de filewriter netjes af
 void documentClass(java.lang.String d)
          documentclass[options]{class}
 void documentClass(java.lang.String options, java.lang.String d)
           
 void endEnvironment(java.lang.String e)
           
 void newCommand(java.lang.String name, int num, java.lang.String definition)
           
 void newCommand(java.lang.String name, java.lang.String definition)
          newcommand{name}[num]{definition}
 void pdfTeX()
          Maakt .pdf van .tex
 void section(java.lang.String s)
          sections[options]{name}
 void section(java.lang.String options, java.lang.String s)
           
 void showTeX()
          Opent de pdf
 void subsection(java.lang.String s)
           
 void subsection(java.lang.String options, java.lang.String s)
           
 void tabular(java.lang.String spec)
          begin{tabular}[pos]{table spec}
 void tabular(java.lang.String pos, java.lang.String spec)
           
 void topMatter(java.lang.String t, java.lang.String a, java.lang.String d)
          Default Top Matter Structure
 void usePackage(java.lang.String p)
          usepackage[options]{package}
 void usePackage(java.lang.String options, java.lang.String p)
           
 void writeToTeX(java.lang.String s)
          Schrijf een String naar het texbestand
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LaTeXOutput

public LaTeXOutput(java.lang.String pathname,
                   java.lang.String filename)
            throws java.io.IOException
Throws:
java.io.IOException
Method Detail

writeToTeX

public void writeToTeX(java.lang.String s)
                throws java.io.IOException
Schrijf een String naar het texbestand

Specified by:
writeToTeX in interface ILaTeXOutput
Throws:
java.io.IOException

topMatter

public void topMatter(java.lang.String t,
                      java.lang.String a,
                      java.lang.String d)
               throws java.io.IOException
Description copied from interface: ILaTeXOutput
Default Top Matter Structure

Specified by:
topMatter in interface ILaTeXOutput
Throws:
java.io.IOException

documentClass

public void documentClass(java.lang.String d)
                   throws java.io.IOException
Description copied from interface: ILaTeXOutput
documentclass[options]{class}

Specified by:
documentClass in interface ILaTeXOutput
Throws:
java.io.IOException

documentClass

public void documentClass(java.lang.String options,
                          java.lang.String d)
                   throws java.io.IOException
Specified by:
documentClass in interface ILaTeXOutput
Throws:
java.io.IOException

usePackage

public void usePackage(java.lang.String p)
                throws java.io.IOException
Description copied from interface: ILaTeXOutput
usepackage[options]{package}

Specified by:
usePackage in interface ILaTeXOutput
Throws:
java.io.IOException

usePackage

public void usePackage(java.lang.String options,
                       java.lang.String p)
                throws java.io.IOException
Specified by:
usePackage in interface ILaTeXOutput
Throws:
java.io.IOException

beginEnvironment

public void beginEnvironment(java.lang.String e)
                      throws java.io.IOException
Description copied from interface: ILaTeXOutput
begin{environment} end{environment}

Specified by:
beginEnvironment in interface ILaTeXOutput
Throws:
java.io.IOException

endEnvironment

public void endEnvironment(java.lang.String e)
                    throws java.io.IOException
Specified by:
endEnvironment in interface ILaTeXOutput
Throws:
java.io.IOException

section

public void section(java.lang.String s)
             throws java.io.IOException
Description copied from interface: ILaTeXOutput
sections[options]{name}

Specified by:
section in interface ILaTeXOutput
Throws:
java.io.IOException

section

public void section(java.lang.String options,
                    java.lang.String s)
             throws java.io.IOException
Specified by:
section in interface ILaTeXOutput
Throws:
java.io.IOException

subsection

public void subsection(java.lang.String s)
                throws java.io.IOException
Specified by:
subsection in interface ILaTeXOutput
Throws:
java.io.IOException

subsection

public void subsection(java.lang.String options,
                       java.lang.String s)
                throws java.io.IOException
Specified by:
subsection in interface ILaTeXOutput
Throws:
java.io.IOException

tabular

public void tabular(java.lang.String spec)
             throws java.io.IOException
Description copied from interface: ILaTeXOutput
begin{tabular}[pos]{table spec}

Specified by:
tabular in interface ILaTeXOutput
Throws:
java.io.IOException

tabular

public void tabular(java.lang.String pos,
                    java.lang.String spec)
             throws java.io.IOException
Specified by:
tabular in interface ILaTeXOutput
Throws:
java.io.IOException

newCommand

public void newCommand(java.lang.String name,
                       java.lang.String definition)
                throws java.io.IOException
Description copied from interface: ILaTeXOutput
newcommand{name}[num]{definition}

Specified by:
newCommand in interface ILaTeXOutput
Throws:
java.io.IOException

newCommand

public void newCommand(java.lang.String name,
                       int num,
                       java.lang.String definition)
                throws java.io.IOException
Specified by:
newCommand in interface ILaTeXOutput
Throws:
java.io.IOException

pdfTeX

public void pdfTeX()
Maakt .pdf van .tex

Specified by:
pdfTeX in interface ILaTeXOutput

showTeX

public void showTeX()
Opent de pdf

Specified by:
showTeX in interface ILaTeXOutput

closeFileWriter

public void closeFileWriter()
                     throws java.io.IOException
Sluit de filewriter netjes af

Throws:
java.io.IOException