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 voidappendDeclarations(LaTeXDocumentPortion pack, LaTeXDocumentPortion decl)java.lang.Stringconvert(java.lang.String sStarMath)Convert a StarMath formulaConfiggetConfig()Get the configuration used when converting.java.lang.StringgetPreamble()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:StarMathConverterGet the configuration used when converting.- Specified by:
getConfigin interfaceStarMathConverter- Returns:
- the configuration used by this converter
-
getPreamble
public java.lang.String getPreamble()
Description copied from interface:StarMathConverterCreate a suitable LaTeX preamble to process the formulas converted so far- Specified by:
getPreamblein interfaceStarMathConverter- Returns:
- a string containg the entire LaTeX preamble
-
convert
public java.lang.String convert(java.lang.String sStarMath)
Description copied from interface:StarMathConverterConvert a StarMath formula- Specified by:
convertin interfaceStarMathConverter- Parameters:
sStarMath- is a string containing the StarMath formula- Returns:
- a string containing the converted LaTeX formula
-
-