From 95bb6802908cac4ec42d2c5a37cb42598b2980a4 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 18 Mar 2007 23:49:00 +0000 Subject: fontch update (9mar07) git-svn-id: svn://tug.org/texlive/trunk@4058 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/plain/fontch/README | 235 +++++++++++++++++++++++++- Master/texmf-dist/doc/plain/fontch/README.txt | 225 ------------------------ Master/texmf-dist/tex/plain/fontch/fontch.tex | 27 ++- Master/texmf-dist/tpm/fontch.tpm | 9 +- 4 files changed, 262 insertions(+), 234 deletions(-) mode change 120000 => 100644 Master/texmf-dist/doc/plain/fontch/README delete mode 100644 Master/texmf-dist/doc/plain/fontch/README.txt (limited to 'Master/texmf-dist') diff --git a/Master/texmf-dist/doc/plain/fontch/README b/Master/texmf-dist/doc/plain/fontch/README deleted file mode 120000 index c3ca07460ab..00000000000 --- a/Master/texmf-dist/doc/plain/fontch/README +++ /dev/null @@ -1 +0,0 @@ -README.txt \ No newline at end of file diff --git a/Master/texmf-dist/doc/plain/fontch/README b/Master/texmf-dist/doc/plain/fontch/README new file mode 100644 index 00000000000..fbc939fe413 --- /dev/null +++ b/Master/texmf-dist/doc/plain/fontch/README @@ -0,0 +1,234 @@ +README File of the package fontch.tex V1.2 2007/03/08 + + fontch.tex: Macros for changing fonts and sizes in plain TeX + + Rodrigo Medina (IVIC) rmedina@ivic.ve + + Suggested locations: .../texmf/tex/plain/fontch/fontch.tex + .../texmf/doc/tex/fontch/README.txt + Licence: LPPL + +Purpose +------- + This package allows, in plain TeX, to change with a single +command the size of all fonts that are used for text input and math input. +Main text fonts of sizes 8, 10, 12, 14, 20 and 24 points are available. + The package also permits to load the Latin Modern fonts with T1 encoding +and the corresponding companion symbol fonts TS1. + +Installation +------------ + You have only to put the file fontch.tex in any sensible place +in the texmf tree, like + + .../texmf/tex/plain/fontch/fontch.tex. + + It is also commendable to put this README file in a proper place such as + + .../texmf/doc/tex/fontch/README.txt + + In order to use the T1 option you need to have installed the Latin Modern +fonts. + +Usage +----- + + For using fonts.tex with OT1 fonts (Computer Modern) put at the +beginning of the document: + + \input fontch.tex + + For activating T1 fonts (Latin Modern) put at the beginning: + + \let\LMTone\relax + \input fontch.tex + + If you want also activating support for the TS1 companion symbol font +put at the beginning of the document: + + \let\LMTSone\relax + \let\LMTone\relax + \input fontch.tex + + If you want TS1 but you don't need T1 you may also activate TS1 alone: + + \let\LMTSone\relax + \input fontch.tex + + NOTE: If you are using the T1 option it is mandatory to set some size +type before start writing, even if you start using \tenpoint, which is the +default size. This is needed in order to force the re-definitions of the +accents. + + If you are using the T1 option it is commendable the use of encoding file +il1-t1.tcx (or il2-t1.tcx depending on the language). You have to put as the +first line of your TeX document + %& --translate-file=il1-t1.tcx + +and then you can write your document with ISOlatin1 encoding. + +General Commands +------------------ +The package fontch defines the following commands valid for any option. + +Commands for changing font size: + \eightpoint -- Change to small type + \tenpoint -- Change to normal type + \twelvepoint -- Change to large type + \fourteenpoint -- Change to very large type + \twentypoint -- Change to huge type + \twentyfourpoint -- Change to immense type + +Commands for changing family, already in plain TeX (except for \sf) + \rm -- Roman + \it -- Italic + \bf -- Boldface + \tt -- Teletype + \sf -- Sans Serif (new) + \sc -- Small Caps + \cal -- Calligraphic + \mit -- Math Italic + \oldstyle -- Old style digits + +Command for changing line spacing + \doublespace -- Double Space for ten & twelve points + +Commands of the LMT1 option +--------------------------- + +Redefined Plain TeX Commands: + \i , \j , \ae , \AE, \oe , \OE , \o , \O , + \ss , \SS , \aa , \AA , \l , \L , + \Gamma , \Delta , \Theta , \Lambda , \Xi , \Pi , + \Sigma , \Upsilon , \Phi , \Psi , \Omega + +New T1 Commands for non-latin1 characters + + \lh -- l' + \Lh -- L' + \dh -- d' + \th -- t' + \dbar -- d slash + \Edh + \edh + \ij + \IJ + \nj + \NJ + \thorn + \Thorn + \smallzero + \lguille -- left guillemot (does not appear in il1-t1.tcx) + \rguille -- right guillemot (does not appear in il1-t1.tcx) + \vispace -- visible space + +Redefined plain TeX accents + \` , \' , \^ , \~ , \" , \H , \v , \u , \= , \. , \b , \c + +Redefined plain TeX math-accents + \acute,\grave,\ddot,\tilde,\bar,\breve,\check,\hat,\dot + +New T1 accents + \r -- ring accent + \k -- ogonek + +New T1 math-accent + \ring + +Commands of the LMTS1 option +---------------------------- + +TS1 symbols + \tcchar{#1} -- Character of TS1 table + +Redefined plain TeX commands + \t{#1} -- tie-after-accent + \P -- pilcrow + \S -- section + \dag -- dagger + \ddag -- double dagger + \copyright + +Most TS1 symbols (in increasing charcode order) +Some are text versions of symbols of the math mode. + + \arrowl -- left arrow + \arrowr -- right arrow + \blank + \dollar + \caster -- centered asterisk + \sequals -- short equals + \anglel + \angler + \mho + \bigcircle + \Ohm + \bbracketl -- left double square bracket + \bbracketr -- right double square bracket + \arrowu -- up arrow + \arrowd -- down arrow + \textstar -- star + \born + \died + \leaf + \married + \music + \doublevert -- Double vertical bar + \perthousand + \bull -- bullet (is in manmac) + \centigrade + \olddollar + \oldcent + \florin + \Colon + \won + \naira + \guarani + \peso + \lira + \recipe + \interrobang -- Question+Exclamation + \gnaborretni -- Question+Exclamation upside-down + \dong + \TM + \pertenth -- per ten thousand + \npilcrow -- narrow pilcrow + \baht + \numero + \abzueglich + \aestimated -- Big e + \openbull + \SM + \qbrackl -- left quill bracket + \qbrackr -- right quill bracket + \cent + \sterling + \currency + \yen + \brokenvert -- broken vertical bar + \feminine + \copyleft + \lognot -- logical not + \circledP + \registered + \degree + \plusminus + \twoup + \threeup + \micro + \centereddot + \reference + \oneup + \masculine + \root + \onequarter + \onehalf + \threequarters + \euro + \texttimes + \textdiv + +Bugs +---- + Comments and bug reports are welcome at rmedina@ivic.ve + diff --git a/Master/texmf-dist/doc/plain/fontch/README.txt b/Master/texmf-dist/doc/plain/fontch/README.txt deleted file mode 100644 index 4d893ea9f33..00000000000 --- a/Master/texmf-dist/doc/plain/fontch/README.txt +++ /dev/null @@ -1,225 +0,0 @@ -README File of the package fontch.tex V1.1 2006/02/16 - - fontch.tex: Macros for changing fonts and sizes in plain TeX - - Rodrigo Medina (IVIC) rmedina@ivic.ve - - Suggested locations: .../texmf/tex/plain/fontch/fontch.tex - .../texmf/doc/tex/fontch/README.txt - Licence: LPPL - -Purpose -------- - This package allows, in plain TeX, to change with a single -command the size of all fonts that are used for text input and math input. -Main text fonts of sizes 8, 10, 12, 14, 20 and 24 points are available. - The package also permits to load the Latin Modern fonts with T1 encoding -and the corresponding companion symbol fonts TS1. - -Installation ------------- - You have only to put the file fontch.tex in any sensible place -in the texmf tree, like - - .../texmf/tex/plain/fontch/fontch.tex. - - It is also commendable to put this README file in a proper place such as - - .../texmf/doc/tex/fontch/README.txt - - In order to use the T1 option you need to have installed the Latin Modern -fonts. - -Usage ------ - - For using fonts.tex with OT1 fonts (Computer Modern) put at the -beginning of the document: - - \input fontch.tex - - For activating T1 fonts (Latin Modern) put at the beginning: - - \let\LMTone\relax - \input fontch.tex - - If you want also activating support for the TS1 companion symbol font -put at the beginning of the document: - - \let\LMTSone\relax - \let\LMTone\relax - \input fontch.tex - - If you want TS1 but you don't need T1 you may also activate TS1 alone: - - \let\LMTSone\relax - \input fontch.tex - - If you are using the T1 option it is commendable the use of encoding file -il1-t1.tcx (or il2-t1.tcx depending on the language). You have to put as the -first line of your TeX document - %& --translate-file=il1-t1.tcx - -and then you can write your document with ISOlatin1 encoding. - -General Commands ------------------- -The package fontch defines the following commands valid for any option. - -Commands for changing font size: - \eightpoint -- Change to small type - \tenpoint -- Change to normal type - \twelvepoint -- Change to large type - \fourteenpoint -- Change to very large type - \twentypoint -- Change to huge type - \twentyfourpoint -- Change to immense type - -Commands for changing family, already in plain TeX (except for \sf) - \rm -- Roman - \it -- Italic - \bf -- Boldface - \tt -- Teletype - \sf -- Sans Serif (new) - \sc -- Small Caps - \cal -- Calligraphic - \mit -- Math Italic - \oldstyle -- Old style digits - -Command for changing line spacing - \doublespace -- Double Space for ten & twelve points - -Commands of the LMT1 option ---------------------------- - -Redefined Plain TeX Commands: - \i , \j , \ae , \AE, \oe , \OE , \o , \O , - \ss , \SS , \aa , \AA , \l , \L , - \Gamma , \Delta , \Theta , \Lambda , \Xi , \Pi , - \Sigma , \Upsilon , \Phi , \Psi , \Omega - -New T1 Commands for non-latin1 characters - - \lh -- l' - \Lh -- L' - \dh -- d' - \th -- t' - \dbar -- d slash - \Edh - \edh - \ij - \IJ - \nj - \NJ - \thorn - \Thorn - \smallzero - \lguille -- left guillemot (does not appear in il1-t1.tcx) - \rguille -- right guillemot (does not appear in il1-t1.tcx) - \vispace -- visible space - -Redefined plain TeX accents - - \` , \' , \^ , \~ , \" , \H , \v , \u , \= , \. , \b , \c - -New T1 accents - \r -- ring accent - \k -- ogonek - - -Commands of the LMTS1 option ----------------------------- - -TS1 symbols - \tcchar{#1} -- Character of TS1 table - -Redefined plain TeX commands - \t{#1} -- tie-after-accent - \P -- pilcrow - \S -- section - \dag -- dagger - \ddag -- double dagger - \copyright - -Most TS1 symbols (in increasing charcode order) -Some are text versions of symbols of the math mode. - - \arrowl -- left arrow - \arrowr -- right arrow - \blank - \dollar - \caster -- centered asterisk - \sequals -- short equals - \anglel - \angler - \mho - \bigcircle - \Ohm - \bbracketl -- left double square bracket - \bbracketr -- right double square bracket - \arrowu -- up arrow - \arrowd -- down arrow - \textstar -- star - \born - \died - \leaf - \married - \music - \doublevert -- Double vertical bar - \perthousand - \bull -- bullet (is in manmac) - \centigrade - \olddollar - \oldcent - \florin - \Colon - \won - \naira - \guarani - \peso - \lira - \recipe - \interrobang -- Question+Exclamation - \gnaborretni -- Question+Exclamation upside-down - \dong - \TM - \pertenth -- per ten thousand - \npilcrow -- narrow pilcrow - \baht - \numero - \abzueglich - \aestimated -- Big e - \openbull - \SM - \qbrackl -- left quill bracket - \qbrackr -- right quill bracket - \cent - \sterling - \currency - \yen - \brokenvert -- broken vertical bar - \feminine - \copyleft - \lognot -- logical not - \circledP - \registered - \degree - \plusminus - \twoup - \threeup - \micro - \centereddot - \reference - \oneup - \masculine - \root - \onequarter - \onehalf - \threequarters - \euro - \texttimes - \textdiv - -Bugs ----- - Comments and bug reports are welcome at rmedina@ivic.ve - diff --git a/Master/texmf-dist/tex/plain/fontch/fontch.tex b/Master/texmf-dist/tex/plain/fontch/fontch.tex index 84cee410cf1..0e6a95e61b7 100644 --- a/Master/texmf-dist/tex/plain/fontch/fontch.tex +++ b/Master/texmf-dist/tex/plain/fontch/fontch.tex @@ -1,5 +1,5 @@ %% fontch.tex Macros for easily changing fonts and sizes in plain TeX %% -%% V1.1 2006/02/16 +%% V1.2 2007/03/08 %% Rodrigo Medina (IVIC) rmedina@ivic.ve %% Suggested location: .../texmf/tex/plain/fontch/ %% Licence: LPPL @@ -14,6 +14,10 @@ %% put before the fontch.tex call: %% \let\LMTSone\relax %% +%% NOTE: When using T1 fonts it is mandatory to set the type size, +%% even when one is writing in \tenpoint which is the default size; +%% this is needed in order to activate the re-definitions of the accents. +%% %% The use of files il1-t1.tcx or il2-t1.tcx is recommended %% %% General Commands @@ -66,6 +70,11 @@ % \r -- ring accent % \k -- ogonek %% +%% Redefined plain TeX math-accents +% \acute,\grave,\ddot,\tilde,\bar,\breve,\check,\hat,\dot +%% New T1 math-accent +% \ring +%% %%%%% Commands of the LMTS1 option %% %% Text companion symbols TS1 %% % \tcchar{#1} -- Character of TS1 table @@ -155,7 +164,7 @@ % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \wlog{File: fontch.tex - [v1.1 (2006/02/16) font package for plain TeX]} + [v1.2 (2007/03/08) font package for plain TeX]} % %% Math fonts, valid for both options %% five points fonts (defined in plain.tex) %% @@ -346,6 +355,20 @@ \def\k#1{\setbox0=\hbox{#1}\ifdim\ht0=1ex \accent"C #1% \else{\ooalign{\unhbox0\crcr\hidewidth\char"C\hidewidth}}\fi} \def\textdiv{{\tcchar{"F6}}} +% +%% Redefinition of math-accents %% +\def\acute{\mathaccent"7001 } +\def\grave{\mathaccent"7000 } +\def\ddot{\mathaccent"7004 } +\def\tilde{\mathaccent"7003 } +\def\bar{\mathaccent"7009 } +\def\breve{\mathaccent"7008 } +\def\check{\mathaccent"7007 } +\def\hat{\mathaccent"7002 } +\def\dot{\mathaccent"700A } +%New ring math-accent +\def\ring{\mathaccent"7006 } +% %% Activate non-ascii letters %% % upper case \catcode`\^^80=11 \uccode`\^^80=`\^^80 \lccode`\^^80=`\^^a0 diff --git a/Master/texmf-dist/tpm/fontch.tpm b/Master/texmf-dist/tpm/fontch.tpm index b7236fd8088..3ff6b3bf686 100644 --- a/Master/texmf-dist/tpm/fontch.tpm +++ b/Master/texmf-dist/tpm/fontch.tpm @@ -3,7 +3,7 @@ fontch Package - 2006/08/29 23:31:29 + 2007/03/08 22:07:00 karl The fontch package. @@ -12,14 +12,11 @@ 41105 - + texmf-dist/tex/plain/fontch/fontch.tex texmf-dist/tpm/fontch.tpm - -texmf-dist/doc/plain/fontch/README -texmf-dist/doc/plain/fontch/README.txt - + texmf-dist/doc/plain/fontch/README Package/fontch -- cgit v1.2.3