summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/cstex/opmac-u-en.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/cstex/opmac-u-en.tex')
-rw-r--r--Master/texmf-dist/doc/cstex/opmac-u-en.tex51
1 files changed, 47 insertions, 4 deletions
diff --git a/Master/texmf-dist/doc/cstex/opmac-u-en.tex b/Master/texmf-dist/doc/cstex/opmac-u-en.tex
index 5cc91d877c9..0dd65224551 100644
--- a/Master/texmf-dist/doc/cstex/opmac-u-en.tex
+++ b/Master/texmf-dist/doc/cstex/opmac-u-en.tex
@@ -20,7 +20,7 @@
\tit OPmac -- macros for plain\TeX\fnotemark1
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\centerline{\it Petr Ol\v s\'ak, 2012, 2013, 2014}
+\centerline{\it Petr Ol\v s\'ak, 2012 -- 2016}
\bigskip
\centerline{\url{http://petr.olsak.net/opmac-e.html}}
@@ -182,6 +182,48 @@ This is {\em important} text. % = This is {\it important\/} text.
\bi This is {\em important} text. % = This is\/ {\bf important} text.
\endtt
+\sec Selection of font family
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+OPmac doesn't select default font family. The default is the same as in
+plain \TeX{} (CM fonts) or \CS{}plain (CS fonts). It is possible to "\input"
+so called ``font-files'' for loading a font family, i.\,e.\ typically four
+variants of fonts "\rm", "\bf", "\it" and "\bi". The font-files use
+primitive command "\font" for loading individual fonts.
+
+You need not to remember names of font-files if you are using
+"\fontfam[<FamilyName>]" macro which loads the appropriate font-file. The
+argument "<FamilyName>" is case insensitive and spaces are ignored. So,
+"\fontfam[Times Roman]" is equal to "\fontfam[TimesRoman]" and it is equal
+to "\fontfam[timesroman]". Several aliases are prepared, thus
+"\fontfam[times]" can be used for loading Times Roman family too.
+
+If you write "\fontfam[?]" then all available font families are listed on
+the terminal and in the log file. The listing looks like:
+
+\begtt
+ [LM Fonts] {\rm \bf \it \bi ; mod:\caps ; +AMS} (8z 8t u)
+ [TG Heros] {\rm \bf \it \bi ; mod:\caps \cond ; +TX} (8z 8t)
+ ...
+\endtt
+
+The "<FamilyName>" is followed by the list of basic variant selectors, then
+available variant modifiers are listed. After plus character, the default
+set of math fonts used together with given family is named. The available
+font encodings are written in round brackets. More information about
+"\fontfam" macro can be found in the "fontfam.tex" file.
+
+The modifiers of basic variant selectors ("\caps", "\cond" for example) must
+be used immediately before the variant selector and they can be
+(independently) combined: "\caps\it" or "\cond\caps\bf". The modifiers can
+be followed by "\fam" command instead of normal variant selector. Then
+current variant is kept (but modified) in such case and all consecutive
+basic variant selectors are modified too. More about font modifers are
+mentioned in the "cs-heros.tex" file.
+
+The "\fontfam[Catalog]" prints a font catalogue of all configured font
+families.
+
\sec Parts of the document
%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -1039,9 +1081,9 @@ hook started inside the group before ".bbl" file is read. Example:
\endtt
\noindent
-{\bf Direct reading of ".bib" files} is possible after "\input opmac-bib".
-This package uses the external package "librarian.tex" by Paul Isambert.
-The usage is similar to previous case:
+{\bf Direct reading of ".bib" files} is possible by "\usebib" macro.
+This macro reads macro package "opmac-bib.tex" (on demand) which uses the external
+package "librarian.tex" by Paul Isambert. The usage is similar to previous case:
\begtt
% print only \cited and \nocited entries
@@ -1391,6 +1433,7 @@ the end.
\usebbl/? bbl-base % use pre-generated bbl file, ? in {a,b,c}
\usebib/? (style) bib-base % direct using of .bib file, ? in {s,c}
+\fontfam [FamilyName] % selection of font family
\typosize [font-size/baselineskip] % size setting of typesetting
\typoscale [factor-font/factor-baselineskip] % size scaling
\thefontsize [size] \thefontscale [factor] % current font size