TeX in C
Explore TeX with modern c compiler.
PART 12: Displaying boxes

宏定义

#define nodelistdisplay(x)   (append_char('.'), shownodelist(x), flush_char())
 [p64#180] str_room need not be checked; see showbox 更多...
 

函数

void shortdisplay (Pointer p)
 [#174] prints highlights of list p. 更多...
 
void printfontandchar (Pointer p)
 [#176] prints char node data. 更多...
 
void printmark (Integer p)
 [#176] prints token list data in braces. 更多...
 
void printruledimen (Scaled d)
 [#176] prints dimension in rule node. 更多...
 
void printglue (Scaled d, Integer order, StrNumber s)
 [#177] prints a glue component. 更多...
 
void printspec (Integer p, StrNumber s)
 [#178] prints a glue specification. 更多...
 
void shownodelist (Integer p)
 [#182] prints a node list symbolically. 更多...
 
void showbox (HalfWord p)
 [#198] 更多...
 

变量

Integer font_in_short_display
 [#173] an internal font number. 更多...
 
Integer depth_threshold
 [#181] maximum nesting depth in box displays. 更多...
 
Integer breadth_max
 [#181] maximum number of items shown at the same list level. 更多...
 

详细描述

宏定义说明

◆ nodelistdisplay

#define nodelistdisplay (   x)    (append_char('.'), shownodelist(x), flush_char())

[p64#180] str_room need not be checked; see showbox

函数说明

◆ printfontandchar()

void printfontandchar ( Pointer  p)

[#176] prints char node data.

[#267] Print the font identifier for font(p)

◆ printglue()

void printglue ( Scaled  d,
Integer  order,
StrNumber  s 
)

[#177] prints a glue component.

◆ printmark()

void printmark ( Integer  p)

[#176] prints token list data in braces.

◆ printruledimen()

void printruledimen ( Scaled  d)

[#176] prints dimension in rule node.

◆ printspec()

void printspec ( Integer  p,
StrNumber  s 
)

[#178] prints a glue specification.

◆ shortdisplay()

void shortdisplay ( Pointer  p)

[#174] prints highlights of list p.

TODO: why ?

[#267] Print the font identifier for font(p)

[#175] Print a short indication of the contents of node.

◆ showbox()

void showbox ( HalfWord  p)

[#198]

[#236]

◆ shownodelist()

void shownodelist ( Integer  p)

[#182] prints a node list symbolically.

[#183] Display node p.

[#184] Display box p.

[#185] Display special fields of the unset node p.

[#186] Display the value of glue_set(p).

[#187] Display rule p.

[#188] Display insertion p.

[#1356] Display the whatsit node p.

[#189] Display glue p.

[#190] Display leaders p.

[#191] Display kern p.

[#193] Display math node p.

[#193] Display ligature p.

[#194] Display penalty p.

[#195] Display discretionary p.

[#196] Display mark p.

[#197] Display adjustment p.

[#690] Cases of show node list that arise in mlists only:

[#695] Display choice node p.

[#696] Display normal noad p.

[#696] Display normal noad p.

[#697] Display fraction noad p.

变量说明

◆ breadth_max

Integer breadth_max

[#181] maximum number of items shown at the same list level.

◆ depth_threshold

Integer depth_threshold

[#181] maximum nesting depth in box displays.

◆ font_in_short_display

Integer font_in_short_display

[#173] an internal font number.