Sysquake for LaTeX - Functions

Functions described in this section are specific to Sysquake for LaTeX. Some of them are documented because they appear in .lme files generated when .tex files which include file sysquake.sty are typeset, but they should not be called directly.

sqlxendfragment

End fragment of code.

Syntax

sqlxendfragment(fragid)

Description

sqlxendfragment(fragid) ends a fragment of code beginning with beginlmefragment. Argument fragid (a string) must match the first argument of the previous beginlmefragment.

sqlxendfragment is used by the Sysquake package; it should not be called from .tex files.

See also

beginlmefragment

sqlxvalue

Format value for an equation.

Syntax

sqlxvalue(v)
str = sqlxvalue(v)

Description

sqlxvalue(v) inserts value v in the LaTeX output, enclosed in \ensuremath so that it can be used in math mode as well as in text mode.

With an output argument, sqlxvalue(v) returns its result in a string.

sqlxstartfragment

Start a new fragment of code.

Syntax

sqlxstartfragment(fragid, width, height)

Description

sqlxstartfragment(fragid,width,height) starts a new fragment of code which corresponds to command \sqexpr or environment sysquake in LaTeX. Argument fragid is a string made only of letters which is used as fragment identifier; it is typically the fragment index as a lowercase roman number starting at 1. Arguments width and height are the dimensions of the figure reserved in LaTeX, or negative if the result is text without graphics.

sqlxstartfragment is used by the Sysquake package; it should not be called from .tex files.

See also

sqlxendfragment, beginfigure


Copyright 2007, Calerga.
All rights reserved.