Note that defining the font size manually like this is not the normal way to do it and only for advanced users. You should use a package or class for changing the font size globally. If you simply want a larger font use \large
, \Large
, \LARGE
, \huge
, or \Huge
. With LaTeX it is not common to specify the font size of a piece of text in points.
You can set the default (global) font size by using the 10pt
, 11pt
or 12pt
class options. For more font sizes see the following threads:
Making default font size 16pt
How to specify font size less than 10pt (or more than 12pt)?
\insert
is a TeX primitive not a plain TeX command.
If you go
\insert\boxregister{
.... vertical mode material ...
}
then two things happen, the vertical mode material is saved away and an insert node is placed in the current list.
If the current list is a horizontal list in a paragraph the node "migrates" to the surrounding vertical list.
Any insert nodes that end up being inside a box are essentially lost.
Insert nodes that end up on the main vertical list affect the page breaker in several ways.
depending on \count\boxregister
and \skip\footins
the output routine leaves space for the inserts when chopping off the page.
Inside the output routine \box\boxregister
contains the contents of the insertion boxes u to a maximum of \dimen\boxregister
. Any additional inserts are held over on to the next page (and the last insert on the page may be split if it doesn't fit (and is splittable)
so in your example the output routine will be handed \box\paragraphednote
which will be a vbox with a sequence of hboxes. the output routine is responsible for adding (or not) those boxes to the page before it is shipped out, it could unbox the contents or process them in any way or it could decide not to make any inserts on the page being shipped out and re-insert them into the material returned to the main vertical list.
You probably need to add an actual runnable example showing any problem. The code you link to is rather long to take in by eye but as far as I can see the intention is that teh boxing is only temporary and the \removehboxes
macro is invoked to unbox and re-package the notes.
You say that \hbox
prevents line breaking but that does not appear to be the intention of the code.
Best Answer
There's no font selection scheme in Plain TeX. There are some packages that provide an infrastructure:
If you need to match fonts used in LaTeX, use LaTeX.
One should also keep in mind that scaling the Computer Modern fonts is not a good practice.
Here are two samples; the first has "A test" printed with
The second sample is of "A test" printed with
\tiny
from LaTeX (class article at 10pt size):It's clear that the third option in the first sample corresponds to
\tiny
.