|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.extex.interpreter.type.AbstractCode
org.extex.unit.tex.typesetter.mark.AbstractMarksCode
org.extex.unit.tex.typesetter.mark.Topmarks
public class Topmarks
This class provides an implementation for the primitive
The primitive \topmarks provides access to the topmost mark of the
given class encountered on the current page – when processing the page
in the output routine.
The primitive is a tokens register. It can be used wherever a tokens value
is expected. The value is empty when no top mark of the class is available
yet.
The primitive \topmark is an abbreviation for \topmarks0.
The class of the top mark is determined when the \marks primitive
is used to insert a mark into the current list. In \topmarks.
The Primitive \topmarks
Syntax
The formal description of this primitive is the following:
〈topmarks〉
→ \topmarks 〈mark name〉
Examples
\topmarks42
\topmarks{abc}
\topmarks\count0
\toks0=\topmark3
| Field Summary | |
|---|---|
protected static long |
serialVersionUID
The constant serialVersionUID contains the id for serialization. |
| Constructor Summary | |
|---|---|
Topmarks(CodeToken token)
Creates a new object. |
|
| Method Summary | |
|---|---|
protected Tokens |
getValue(Context context,
java.lang.String key)
Get the value for this mark. |
| Methods inherited from class org.extex.unit.tex.typesetter.mark.AbstractMarksCode |
|---|
convertTokens, execute, expand, getKey |
| Methods inherited from class org.extex.interpreter.type.AbstractCode |
|---|
getLocalizer, getName, getToken, isIf, isOuter, readResolve, toString, toText, toText |
| 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 Topmarks(CodeToken token)
token - the initial token for the primitive| Method Detail |
|---|
protected Tokens getValue(Context context,
java.lang.String key)
getValue in class AbstractMarksCodecontext - the interpreter contextkey - the key
AbstractMarksCode.getValue(
org.extex.interpreter.context.Context, java.lang.String)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||