| 1 |
ipaex-type1 PACKAGE |
| 2 |
=================== |
| 3 |
|
| 4 |
This package contains the IPAex Fonts converted into Unicode subfonts |
| 5 |
in Type1 format, which is most suitable for use with the CJK package. |
| 6 |
Font conversion was done with ttf2pt1. |
| 7 |
|
| 8 |
### Installation |
| 9 |
|
| 10 |
Place the files in the package as follows: |
| 11 |
|
| 12 |
- `tfm/*.tfm` → $TEXMF/fonts/tfm/public/ipaex-type1/ |
| 13 |
- `type1/*.pfb` → $TEXMF/fonts/type1/public/ipaex-type1/ |
| 14 |
- `enc/*.enc` → $TEXMF/fonts/enc/dvips/ipaex-type1/ |
| 15 |
- `ipaex-type1.map` → $TEXMF/fonts/map/dvips/ipaex-type1/ |
| 16 |
- `*.sty` → $TEXMF/tex/latex/ipaex-type1/ |
| 17 |
- `*.fd`, `*.fdx` → $TEXMF/tex/latex/ipaex-type1/ |
| 18 |
|
| 19 |
After that, invoke updmap as usual. |
| 20 |
|
| 21 |
updmap --enable Map ipaex-type1.map |
| 22 |
|
| 23 |
### Usage in LaTeX |
| 24 |
|
| 25 |
After installation, you can use the following two font families, |
| 26 |
|
| 27 |
* ipxm = IPAexMincho |
| 28 |
* ipxg = IPAexGothic |
| 29 |
|
| 30 |
in the following encodings: |
| 31 |
|
| 32 |
* OT1 / T1 / TS1 / LY1 encodings |
| 33 |
* `UTF8` encoding of the CJK package (internally called C70) |
| 34 |
|
| 35 |
An example of using an alphabetic encoding. |
| 36 |
|
| 37 |
\documentclass{article} |
| 38 |
\renewcommand{\rmdefault}{ipxm} |
| 39 |
\renewcommand{\sfdefault}{ipxg} |
| 40 |
\begin{document} |
| 41 |
\textsf{Test}\quad Hello, {\TeX} world! |
| 42 |
\end{document} |
| 43 |
|
| 44 |
An example of using the CJK package. |
| 45 |
|
| 46 |
% encoded in UTF-8 |
| 47 |
\documentclass{article} |
| 48 |
\usepackage{CJK} |
| 49 |
\begin{document} |
| 50 |
\begin{CJK*}{UTF8}{ipxm} |
| 51 |
これは簡単なテスト文書です。 |
| 52 |
\end{CJK*} |
| 53 |
\end{document} |
| 54 |
|
| 55 |
In addition, the ipaex-type1 bundle of version 0.4 or later provides a |
| 56 |
package (also called “ipaex-type1”) which enables users to use the |
| 57 |
fonts more easily. |
| 58 |
|
| 59 |
### License |
| 60 |
|
| 61 |
This package is distributed under the “IPA Font License |
| 62 |
Agreement v1.0” (see the file named LICENSE for detail). |
| 63 |
|
| 64 |
Copyright 2003-2015 Information-technology Promotion Agency, Japan (IPA) |
| 65 |
Copyright 2013-2018 Takayuki YATO (aka. "ZR") |
| 66 |
|
| 67 |
|
| 68 |
ipaex-type1 Package |
| 69 |
------------------- |
| 70 |
|
| 71 |
### Loading |
| 72 |
|
| 73 |
There are no package options available. |
| 74 |
|
| 75 |
\usepackage{ipaex-type1} |
| 76 |
|
| 77 |
### Usage |
| 78 |
|
| 79 |
The description assumes that the CJK package is employed. |
| 80 |
|
| 81 |
* `\ipxmfamily`/`\ipxgfamily`: Changes both the CJK and non-CJK |
| 82 |
families to `ipxm`/`ipxg`. |
| 83 |
* `\textipxm{<text>}`/`\textipxg{<text>}`: The text-command version of |
| 84 |
the above. |
| 85 |
* `\CJKipxmfamily`/`\CJKipxgfamily`: Changes only the CJK family to |
| 86 |
`ipxm`/`ipxg`. (It is the same as `\CJKfamily{ipxm}` etc.) |
| 87 |
* `\textCJKipxm{<text>}`/`\textCJKipxg{<text>}`: The text-command |
| 88 |
version of the above. |
| 89 |
* `\ipxmsymbol{<Unicode-point>}`/`\ipxgsymbol{<Unicode-point>}`: |
| 90 |
Prints a CJK character with the given Unicode point using CJK family |
| 91 |
`ipxm`/`ipxg`. For example, `\ipxmsymbol{"2603}` has the same effect |
| 92 |
as `{\CJKfamily{ipxm}\Unicode{"26}{"03}}`. |
| 93 |
|
| 94 |
When the CJK package is not loaded, or the commands are invoked outside |
| 95 |
`CJK(*)` environments, the effect on CJK families are generally omitted. |
| 96 |
Namely, `\ipxmfamily` will change the (sole, non-CJK) family to `ipxm`, |
| 97 |
and `\CJKipxgfamily` will do nothing. There are however some exceptions |
| 98 |
to the general rule, which are described in the following subsections. |
| 99 |
|
| 100 |
### `\textCJKipxm`/`\textCJKipxg` commands |
| 101 |
|
| 102 |
When the CJK package is loaded and `\textCJKipxm` is invoked outside |
| 103 |
`CJK` environments, then the argument text will be automatically placed |
| 104 |
in a temporary `CJK*` environment. The example: |
| 105 |
|
| 106 |
Japan (\textCJKipxm{日本}) |
| 107 |
|
| 108 |
has the same effect as: |
| 109 |
|
| 110 |
Japan (\begin{CJK*}{UTF8}{ipxm}日本\end{CJK*}) |
| 111 |
|
| 112 |
### `\ipxmsymbol`/`\ipxgsymbol` commands |
| 113 |
|
| 114 |
These two commands can be used outside `CJK` environments and even |
| 115 |
without the CJK package. In that case, the CJK characters are treated |
| 116 |
like symbol characters. For example, if you need only to write a single |
| 117 |
Japanese word “日本” in your document, then you can dispense with the |
| 118 |
CJK package and write as follows: |
| 119 |
|
| 120 |
Japan (\ipxmsymbol{"65E5}\ipxmsymbol{"672C}) |
| 121 |
|
| 122 |
Revision History |
| 123 |
---------------- |
| 124 |
|
| 125 |
* Version 0.5 ‹2018/05/05› |
| 126 |
- Support for LY1 encoding. |
| 127 |
* Version 0.4b ‹2018/04/20› |
| 128 |
- The font map is made to employ enc files. |
| 129 |
- Bug fix of ipaex-type1.sty. |
| 130 |
* Version 0.4a ‹2016/10/20› |
| 131 |
- Bug fix. |
| 132 |
* Version 0.4 ‹2016/10/01› |
| 133 |
- Converted from the version 003.01 of the IPAex Fonts. |
| 134 |
- Supported non-BMP characters. |
| 135 |
- Provided a LaTeX package. |
| 136 |
* Version 0.3b ‹2013/10/11› |
| 137 |
- Document correction. |
| 138 |
* Version 0.3a ‹2013/05/18› |
| 139 |
- (experimental) Set offset in vertical writing. |
| 140 |
* Version 0.3 ‹2013/05/08› |
| 141 |
- (experimental) Supported vertical writing. |
| 142 |
* Version 0.2a ‹2013/04/22› |
| 143 |
- Fixed spacing in some TFMs in OT1/T1/TS1 encodings. |
| 144 |
* Version 0.2 ‹2013/04/21› |
| 145 |
- First public version. |
| 146 |
|
| 147 |
-------------------- |
| 148 |
Takayuki YATO (aka. "ZR") |
| 149 |
https://github.com/zr-tex8r |