Files
texrra-engine/examples/native-bootstrap/fixed-glue.tex
T

19 lines
732 B
TeX

% Fixed glue enters real horizontal, vertical, mathematical and output lists.
\input math-fonts.tex
\pdfpagewidth=360bp \pdfpageheight=300bp
\pdfhorigin=24bp \pdfvorigin=24bp
\hsize=300bp \vsize=220bp \parindent=0pt
\immediate\openout0=pages.aux
\output={\shipout\vbox{\unvbox255\hbox to\hsize{Left\hfil Footer\hfill Right}}}
\hbox to\hsize{A\hfil B\hfil C}
\hbox to\hsize{A\hss B\hfilneg C\hfill D}
\hbox to10pt{A\hss B}
\hbox spread1sp{A\hskip0pt plus-1fil B\hskip0pt plus3fil C}
\hbox spread6pt{A\hfilneg B\hfilneg C}
\vbox to40pt{\hbox{Top}\vfil\vfilneg\vfill\hbox{Bottom}}
\noindent Native math uses actual normal-unit glue: $x_i\hskip4pt+x^2$.
\hbox to\hsize{$a\hfil b\hfill c$}
\write0{fixed-glue-page=\the\count0}
\par
\end