summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/bxnewfont
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-04-02 21:57:03 +0000
committerKarl Berry <karl@freefriends.org>2016-04-02 21:57:03 +0000
commite7c53ffe91c790d8bba061aae7fe59e7475fa4f6 (patch)
treef3a6d4524f2ddac87ce3ad5950dd0a8a27928f50 /Master/texmf-dist/doc/latex/bxnewfont
parentdddb3ce03f2d2bde094879b3ed56d17d0c7b871d (diff)
bxnewfont (2apr16)
git-svn-id: svn://tug.org/texlive/trunk@40214 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/bxnewfont')
-rw-r--r--Master/texmf-dist/doc/latex/bxnewfont/LICENSE27
-rw-r--r--Master/texmf-dist/doc/latex/bxnewfont/README.md78
2 files changed, 105 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/bxnewfont/LICENSE b/Master/texmf-dist/doc/latex/bxnewfont/LICENSE
new file mode 100644
index 00000000000..49f803e083e
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/bxnewfont/LICENSE
@@ -0,0 +1,27 @@
+$BK\%=%U%H%&%'%"$O(B MIT $B%i%$%;%s%9$N2<$GG[I[$5$l$^$9!#(B
+$BCx:n8"$O:n<T$G$"$k!VH,EP(B $B?rG7!JJLL>(B ZR$B!K!W$KB0$7$^$9!#(B
+$B$^$?K\%=%U%H%&%'%"$OL5J]>Z$G$9!#(B
+
+This software is distributed under the MIT License.
+
+The MIT License
+
+Copyright (c) 2016 Takayuki YATO (aka. "ZR")
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
diff --git a/Master/texmf-dist/doc/latex/bxnewfont/README.md b/Master/texmf-dist/doc/latex/bxnewfont/README.md
new file mode 100644
index 00000000000..6ac295babd5
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/bxnewfont/README.md
@@ -0,0 +1,78 @@
+BXnewfont Package
+=================
+
+LaTeX: Enhanced `\newfont` command
+
+This package provides a new command `\newfontx`. It is similar to
+the old (and deprecated) command `\newfont` in function, but is more
+compatible with NFSS. In particular, one can safely change font size
+after invoking a font command defined by `\newfontx`. The new command
+will be useful to users who know much of the old '\newfont` command
+but are unfamiliar with the detail of NFSS.
+
+### System requirement
+
+ * TeX format: LaTeX.
+ * TeX engine: Anything.
+ * Dependent packages: None.
+
+### Installation
+
+ - `*.sty` → $TEXMF/tex/latex/BXnewfont
+
+### License
+
+This package is distributed under the MIT License.
+
+The bxnewfont Package
+---------------------
+
+### Package Loading
+
+ \usepackage[<option>]{bxdvidriver}
+
+Available options:
+
+ * `newfont`: Makes `\newfont` an alias of `newfontx`.
+
+### Usage
+
+ * `\newfontx\CMD[<encoding>]{<tfm-name><at-clause>}`: Defines `\CMD`
+ to be a “font command” (pseudo-fontdef token). Here the format
+ of the mandatory argument is exactly same as that of `\newfont`
+ (`<at-clause>` can be empty). The optional argument specifies the
+ NFSS encoding name (such as `T1`) of the TFM to be used, and
+ defaults to the current font encoding. (If you don’t know what
+ it means, then you probably need not care about this argument.)
+
+ When the defined `\CMD` command is invoked, the current font will
+ changes to what is specified by the argument, just as the original
+ `\newfont`. But unlike `\newfont`, it does not break consistency
+ of LaTeX NFSS. Specifically, NFSS is set at the following state:
+
+ - The family is what was auto-generated for `\CMD`.
+ - The series is `m` and the shape is `n`.
+ - The encoding and size are what was specified by the arguments
+ of `\newfontx`.
+
+ It means that further use of “LaTeX’s font commands” will
+ probably result in what you will expect. In particular, font size
+ can be safely changed. The use of `\itshape` has no effect ---
+ of course, because LaTeX does not know the TFM name of the italic
+ counterpart --- and no unfavorable effect either.
+
+ * `\newfontx*\CMD[<encoding>]{<tfm-name>}`: Same as the `\newfontx`,
+ except that “font commands” defined by `\newfontx*` does not
+ fix font size (note the absence of `<at-clause>`). Namely, invoking
+ `\CMD` does not change the current font size. This variant surely
+ diverges from the original `\newfont`, but will be more useful.
+
+Revision History
+----------------
+
+ * Version 0.2 ‹2016/03/27›
+ - The first public version.
+
+--------------------
+Takayuki YATO (aka. "ZR")
+http://zrbabbler.sp.land.to/