Class LaTeXBox

  • All Implemented Interfaces:
    ExpressionConstants, PicObjectConstants

    public class LaTeXBox
    extends SequenceExpression
    implements PicObjectConstants, ExpressionConstants
    Parses LaTeX boxes, i.e. makebox, framebox, frame and dashbox. This is to be used as a child expression of either LaTeXPutExpression or {@link #jpicedt.format.input.pstricks.PsRPutExpression 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.3.2.1 2007/09/02 11:56:01 reynal Exp $
    Author:
    Sylvain Reynal
    • Constructor Detail

      • LaTeXBox

        public LaTeXBox​(Pool pl)