jpicedt.format.input.latex
Class LaTeXBox
java.lang.Object
jpicedt.format.input.util.AbstractRegularExpression
jpicedt.format.input.util.SequenceExpression
jpicedt.format.input.latex.LaTeXBox
public class LaTeXBox
- extends SequenceExpression
Parses LaTeX boxes, i.e. makebox, framebox, frame and dashbox. This is to be used as a child expression of either
LaTeXPutExpression
or
jpicedt.format.input.pstricks.PsRPutExpression
.
Instanciates a PicText element. Argument =
- \\makebox(w,h)[vh]{text or LaTeX command}
- \\framebox(w,h)[vh]{text or LaTeX command}
- \\dashbox{dash}(w,h)[vh]{text or LaTeX command}
The parsing code uses several keys/values pairs stored by in the Pool:
- KEY_PUT_POINT : PicPoint's argument of the \put or \rput command
interpret()
return false if none of these have been found, and cursor position is left
unchanged
- Since:
- jpicedt 1.4
- Version:
- $Id: LaTeXBox.java,v 1.12 2013/10/07 19:16:39 vincentb1 Exp $
- Author:
- Sylvain Reynal
Method Summary |
void |
action(ParserEvent e)
called when this SequenceExpression was successfully parsed -> reinit locals for next time |
LaTeXBox
public LaTeXBox(Pool pl)
action
public void action(ParserEvent e)
- called when this SequenceExpression was successfully parsed -> reinit locals for next time
- Overrides:
action
in class AbstractRegularExpression
Submit a bug : syd@jpicedt.org