Package writer2latex.latex
Class StarMathConverter
- java.lang.Object
-
- writer2latex.latex.StarMathConverter
-
- All Implemented Interfaces:
StarMathConverter
public final class StarMathConverter extends java.lang.Object implements StarMathConverter
-
-
Constructor Summary
Constructors Constructor Description StarMathConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
appendDeclarations(LaTeXDocumentPortion pack, LaTeXDocumentPortion decl)
java.lang.String
convert(java.lang.String sStarMath)
Convert a StarMath formulaConfig
getConfig()
Get the configuration used when converting.java.lang.String
getPreamble()
Create a suitable LaTeX preamble to process the formulas converted so far
-
-
-
Method Detail
-
appendDeclarations
public void appendDeclarations(LaTeXDocumentPortion pack, LaTeXDocumentPortion decl)
-
getConfig
public Config getConfig()
Description copied from interface:StarMathConverter
Get the configuration used when converting.- Specified by:
getConfig
in interfaceStarMathConverter
- Returns:
- the configuration used by this converter
-
getPreamble
public java.lang.String getPreamble()
Description copied from interface:StarMathConverter
Create a suitable LaTeX preamble to process the formulas converted so far- Specified by:
getPreamble
in interfaceStarMathConverter
- Returns:
- a string containg the entire LaTeX preamble
-
convert
public java.lang.String convert(java.lang.String sStarMath)
Description copied from interface:StarMathConverter
Convert a StarMath formula- Specified by:
convert
in interfaceStarMathConverter
- Parameters:
sStarMath
- is a string containing the StarMath formula- Returns:
- a string containing the converted LaTeX formula
-
-