diff options
author | Karl Berry <karl@freefriends.org> | 2016-05-03 21:31:44 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-05-03 21:31:44 +0000 |
commit | 229d2a84824108e60025d12c971370b90ee01578 (patch) | |
tree | 1f9095e43dc97603b65e80084d63d3b6eef07b87 /Master/texmf-dist/doc/cstex/opmac-u-en.tex | |
parent | 23ec1d8f81a005ed2c9f96fd3037a36a80acb6e2 (diff) |
cstex (3may16)
git-svn-id: svn://tug.org/texlive/trunk@40871 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/cstex/opmac-u-en.tex')
-rw-r--r-- | Master/texmf-dist/doc/cstex/opmac-u-en.tex | 87 |
1 files changed, 44 insertions, 43 deletions
diff --git a/Master/texmf-dist/doc/cstex/opmac-u-en.tex b/Master/texmf-dist/doc/cstex/opmac-u-en.tex index 0dd65224551..257759e38a9 100644 --- a/Master/texmf-dist/doc/cstex/opmac-u-en.tex +++ b/Master/texmf-dist/doc/cstex/opmac-u-en.tex @@ -107,6 +107,49 @@ don't need to use Czech/Slovak specific features\fnote or ``CZ/SK outline-conversion is off'' may occur without \csplain{}.}. +\sec Selection of font family +%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +OPmac doesn't select a special 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: use +"\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) and all consecutive +basic variant selectors are modified too. More about font modifers are +mentioned in the "cs-heros.tex" file and in the article "kpfonts-plain.pdf". + +The "\fontfam[Catalog]" prints a font catalogue of all configured font +families. + + \sec Font sizes %%%%%%%%%%%%%%% @@ -182,48 +225,6 @@ 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 %%%%%%%%%%%%%%%%%%%%%%%%%% @@ -1399,7 +1400,7 @@ the end. \def\tthook{\adef!{\string\endtt}\adef&{\kern.25em}} \begtt \tit Title (terminated by end of line) -\chap Chapter Title (terminated byend of line) +\chap Chapter Title (terminated by end of line) \sec Section Title (terminated by end of line) \secc Subsection Title (terminanted by end of line) |