sesaparcours
    Preparing search index...
    • Adds a LaTeX diplay located at [x,y] syntaxes addLatex(latex, x, y) and addLatex(latex, x, y, color) are allowed too

      Parameters

      • options: {
            absCoord?: boolean;
            backgroundColor?: string;
            border?: string;
            color?: string;
            fontSize?: number;
            hAlign?: string;
            hidden?: boolean;
            latex: string;
            offsetX?: number;
            offsetY?: number;
            opacity?: number;
            opaque?: boolean;
            rep?: string;
            tag?: string;
            vAlign?: string;
            x: number;
            y: string | number | CValDyn;
        }
        • OptionalabsCoord?: boolean

          set to true if x,y should be considered absolute in the svg (in that case rep is ignored), useless if there is no frame (in that case x,y will be considered absolute regardless of this property)

        • OptionalbackgroundColor?: string

          Background color if opaque is true

        • Optionalborder?: string

          The border style (none|simple|3D)

        • Optionalcolor?: string

          Color, black by default

        • OptionalfontSize?: number

          Size of the font used for the display (in pixels)

        • OptionalhAlign?: string

          Horizontal alignment left|center|right

        • Optionalhidden?: boolean

          true to get the created LaTeX display masked

        • latex: string

          The LaTeX code to be displayed

        • OptionaloffsetX?: number

          x-shift of the LaTeX display

        • OptionaloffsetY?: number

          xy-shift oof the LaTeX display

        • Optionalopacity?: number

          opacity (0 to 1), 1 by default

        • Optionalopaque?: boolean

          true if the text or LaTeX displays erases its background. If true the color used to erase the background is the backgroundColor if present, else the background color of the figure

        • Optionalrep?: string

          tag of the frame (system of coordinates), mandatory only if the figure contains several frames

        • Optionaltag?: string

          Tag to be applied on the created LaTeX display (if present)

        • OptionalvAlign?: string

          Vertical alignment top|middle|bottom

        • x: number

          x-coordinate of the location the text is to be displayed at

        • y: string | number | CValDyn

          y-coordinate of the location the text is to be displayed at

      Returns Promise<undefined>

      Promise that will be resolved when the LaTeX is displayed