|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.dante.extex.interpreter.type.AbstractCode
de.dante.extex.interpreter.primitives.typesetter.box.AbstractBoxPrimitive
de.dante.extex.interpreter.primitives.typesetter.displace.Moveright
This class provides an implementation for the primitive
The primitive \moderight takes a box and a length and moves it
rightwards by the amount specified by the length.
If the length is negative then the move is done leftwards.
The primitive \moveright is the counterpart to
The color from the typographic context is taken as foregroud color for the
rule. The default color is black.
\moveright
.
The Primitive \moveright
\moveleft
.
Syntax
The formal description of this primitive is the following:
〈moveright〉
→ \moveright 〈dimen〉 〈box〉
Examples
\moveright 2em \hbox{abc}
\moveright -1pt \hbox to 120pt {abc}
\moveright 2mm \hbox spread 12pt {abc}
Field Summary | |
protected static long |
serialVersionUID
The constant serialVersionUID contains the id for serialization. |
Constructor Summary | |
Moveright(java.lang.String name)
Creates a new object. |
Method Summary | |
Box |
getBox(Context context,
TokenSource source,
Typesetter typesetter)
Getter for the content as Box. |
Methods inherited from class de.dante.extex.interpreter.primitives.typesetter.box.AbstractBoxPrimitive |
execute |
Methods inherited from class de.dante.extex.interpreter.type.AbstractCode |
enableLocalization, getLocalizer, getName, isIf, isOuter, printable, printableControlSequence, readResolve, setName, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected static final long serialVersionUID
Constructor Detail |
public Moveright(java.lang.String name)
name
- the name for debuggingMethod Detail |
public Box getBox(Context context, TokenSource source, Typesetter typesetter) throws InterpreterException
Boxable
context
- the interpreter contextsource
- the source for new tokenstypesetter
- the typesetter to use
InterpreterException
- in case of an errorBoxable.getBox(
de.dante.extex.interpreter.context.Context,
de.dante.extex.interpreter.TokenSource,
de.dante.extex.typesetter.Typesetter)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |