| 1 |
BXtexlogo Package |
| 2 |
================= |
| 3 |
|
| 4 |
LaTeX: Additional TeX-family logos |
| 5 |
|
| 6 |
The package [hologo] enables you to output many useful logos of popular |
| 7 |
(and not so popular) TeX-family software. However its interface is a bit |
| 8 |
cumbersome because you must type `\hologo{BibTeX}` instead of `\BibTeX`. |
| 9 |
This package enables you to import some of logos provided by hologo as |
| 10 |
simgle commands, such as `\BibTeX`. |
| 11 |
|
| 12 |
Moreover this package provides yet additional logos of TeX-family software |
| 13 |
most of which is popular mainly in Japan. These logos can be imported in |
| 14 |
the same way as those provided by hologo. |
| 15 |
|
| 16 |
[hologo]: https://ctan.org/pkg/hologo |
| 17 |
|
| 18 |
### System requirement |
| 19 |
|
| 20 |
* TeX format: LaTeX. |
| 21 |
* TeX engine: Anything. |
| 22 |
* Dependent packages: |
| 23 |
- hologo |
| 24 |
- cjhebrew (if `\logoAleph` and `\logoLamed` are used) |
| 25 |
|
| 26 |
### Installation |
| 27 |
|
| 28 |
- `*.sty` → $TEXMF/tex/latex/BXtexlogo |
| 29 |
|
| 30 |
### License |
| 31 |
|
| 32 |
This package is distributed under the MIT License. |
| 33 |
|
| 34 |
|
| 35 |
The bxtexlogo Package |
| 36 |
--------------------- |
| 37 |
|
| 38 |
### Package Loading |
| 39 |
|
| 40 |
\usepackage[<option>,...]{bxtexlogo} |
| 41 |
|
| 42 |
All the options are passed to hologo. |
| 43 |
|
| 44 |
### Usage |
| 45 |
|
| 46 |
* `\bxtexlogoimport{<name>,...}`: Defines a command to output the logo |
| 47 |
specified by `<name>`. For example, `\bxtexlogoimport{BibTeX}` defines |
| 48 |
the command `\BibTeX` to output the `BibTeX` logo, if the command is |
| 49 |
undefined. Alternatively, a list element in the argument can have |
| 50 |
the following forms: |
| 51 |
- `+<name>`: Defines forcefully; for example, `+BibTeX` defines the |
| 52 |
command `\BibTeX` even if the command is already defined. |
| 53 |
- `<prefix>-<name>`: Defines with a prefix; for example, `my-BibTeX` |
| 54 |
defines the command `\myBibTeX` for the logo `BibTeX`, if the |
| 55 |
command is undefined. |
| 56 |
- `<prefix>+<name>`: Defines forcefully with a prefix; for example, |
| 57 |
`my+BibTeX` overwrites the command `\myBibTeX`. |
| 58 |
|
| 59 |
The `<name>` part can be either `*` or `**` instead of a valid logo |
| 60 |
name. There `*` means “all the primary logo names” and `**` means |
| 61 |
“all the secondary logo names”. (The logo classification will be |
| 62 |
described later.) For example, `{*,my+**}` imports all the primary |
| 63 |
logos (without prefix, non-forcefully) and then imports forcefully all |
| 64 |
the secondary logos with prefix `my`. |
| 65 |
|
| 66 |
Note that the logo names explicitly given earlier are excluded from |
| 67 |
the bulk import by `*` and `**`. For example, `{BibTeX,my-*}` defines |
| 68 |
`\BibTeX` and `\myXeTeX` but not `\myBibTeX`. |
| 69 |
|
| 70 |
* `\bxtexlogoImport{<name>,...}`: The same as `\bxtexlogoimport`, except |
| 71 |
that the logo names explicitly given are not excluded from the target |
| 72 |
of bulk imports in the future. This command is intended to be used in |
| 73 |
packages and classes. |
| 74 |
|
| 75 |
* `\bxtexlogo{<name>}: Outputs the logo of name `<name>`. This form can |
| 76 |
be always used, whether the logo is imported or not. |
| 77 |
|
| 78 |
### Parameter settings |
| 79 |
|
| 80 |
The `\bxtexlogosetup` command can be used to configure the behavior of |
| 81 |
the package. |
| 82 |
|
| 83 |
\bxtexlogosetup{<key>=<value>,... |
| 84 |
|
| 85 |
* Boolean values are specified as `true` or `false`. |
| 86 |
|
| 87 |
The following setting keys are available: |
| 88 |
|
| 89 |
* `smallcaps=<value>`: Whether or not fake smallcaps is used. |
| 90 |
- `real`: The real smallcaps font face (shape `sc`) is used. |
| 91 |
- `fake`: The fake smallcaps (capital letters in reduced size) |
| 92 |
is used. |
| 93 |
- `auto` (default): The fake smallcaps is used only for the |
| 94 |
following specific font faces: |
| 95 |
CM Sans Serif and LM Sans Serif. |
| 96 |
* `one-font=<value>`: Which font family is used for the letter ‘1’ |
| 97 |
in the 1TeX logo. |
| 98 |
- `normal`: The normal setting, where the dsrom family is used |
| 99 |
most preferentially. This setting lacks bold series. |
| 100 |
- `bboldx`: The bboldx family is always used. This family has |
| 101 |
bold series. |
| 102 |
* `hologo-for-basic=<bool>`: This parameter controls how to render |
| 103 |
the `TeX`, `LaTeX` or `LaTeX2e` part of the logos provided by this |
| 104 |
package (such as `XyMTeX`). If true, the definitions provided by the |
| 105 |
hologo package are used; if false, the current definitions of the |
| 106 |
commands `\TeX`, `\LaTeX` and `\LaTeXe` are used. |
| 107 |
* `ghost=<bool>`: Whether or not a 'ghost' is inserted around logos |
| 108 |
in order to improve rendering in the Japanese typesetting. |
| 109 |
|
| 110 |
### Avaiable logo names |
| 111 |
|
| 112 |
The logo names supported by this package are divided into two classes: |
| 113 |
“primary” (popular software) and “secondary” (all others). |
| 114 |
|
| 115 |
#### Primary logos |
| 116 |
|
| 117 |
You can bulk-import the primary logos with `\bxtexlogoimport{*}`. |
| 118 |
|
| 119 |
(Logos provided by hologo) |
| 120 |
|
| 121 |
* `AmSLaTeX` |
| 122 |
* `AmSTeX` |
| 123 |
* `BibTeX` |
| 124 |
* `ConTeXt` |
| 125 |
* `eTeX` |
| 126 |
* `LaTeX` |
| 127 |
* `LaTeXe` for “LaTeX 2ε” logo |
| 128 |
* `LuaLaTeX` |
| 129 |
* `LuaTeX` |
| 130 |
* `LyX` |
| 131 |
* `METAFONT` |
| 132 |
* `METAPOST` |
| 133 |
* `pdfTeX` |
| 134 |
* `pdfLaTeX` |
| 135 |
* `TeX` |
| 136 |
* `XeLaTeX` |
| 137 |
* `XeTeX` |
| 138 |
|
| 139 |
(Logos provided by this package) |
| 140 |
|
| 141 |
* `epTeX` for “ε-pTeX” logo |
| 142 |
* `eupTeX` for “ε-upTeX” logo |
| 143 |
* `JBibTeX` (old version of pBibTeX) |
| 144 |
* `pBibTeX` |
| 145 |
* `pLaTeXe` for “pLaTeX 2ε” |
| 146 |
* `pLaTeX` |
| 147 |
* `pTeX` |
| 148 |
* `TikZ` |
| 149 |
* `upBibTeX` |
| 150 |
* `upLaTeX` |
| 151 |
* `upLaTeXe` for “upLaTeX 2ε” |
| 152 |
* `upTeX` |
| 153 |
|
| 154 |
#### Secondary logos |
| 155 |
|
| 156 |
You can bulk-import the secondary logos with `\bxtexlogoimport{**}`. |
| 157 |
|
| 158 |
(Logos provided by hologo) |
| 159 |
|
| 160 |
* `HanTheThanh` for “Hàn Thế Thành” |
| 161 |
* `KOMAScript` |
| 162 |
* `LaTeXTeX` for “(La)TeX” |
| 163 |
* `NTS` |
| 164 |
* `PiCTeX` |
| 165 |
* `SageTeX` |
| 166 |
* `SLiTeX` |
| 167 |
* `teTeX` |
| 168 |
* `TTH` |
| 169 |
|
| 170 |
(Logos provided by this package) |
| 171 |
|
| 172 |
* `ApTeX` |
| 173 |
* `CSTUG` |
| 174 |
* `HeVeA` |
| 175 |
* `JBibTeX` |
| 176 |
* `JLaTeX` |
| 177 |
* `JTeX` |
| 178 |
* `KaTeX` |
| 179 |
* `KET` for prefix |
| 180 |
* `KETpic` |
| 181 |
* `LaTeXiT` |
| 182 |
* `LaTeXML` |
| 183 |
* `logoAleph` for “א” |
| 184 |
* `logoLambda` for “Λ” |
| 185 |
* `logoLamed` for “ל” |
| 186 |
* `logoOmega` for “Ω” |
| 187 |
* `OpTeX` |
| 188 |
* `pTeXsT` |
| 189 |
* `XyM` for prefix |
| 190 |
* `XyMTeX` |
| 191 |
* … and more exotic ones, such as `BaSiX` |
| 192 |
(See the sample document for detail.) |
| 193 |
|
| 194 |
#### Addtional logos |
| 195 |
|
| 196 |
Starting from v0.6, *all* hologo logos (not only ones classified as |
| 197 |
“primary” or “secondary”) can be imported through `\bxtexlogoimport` |
| 198 |
command, as long as its name contains only letters. For example, the logo |
| 199 |
`Xe` (the head part of the `XeTeX` logo) that is provided by hologo can |
| 200 |
be imported by invoking `\bxtexlogoimport{Xe}`, and then you can output |
| 201 |
this logo by typing `\Xe`. (You can also do `\bxtexlogoimport{my-Xe}` |
| 202 |
instead, of course.) Note that these “non-classified” logos are never |
| 203 |
included in the target of bulk import. |
| 204 |
|
| 205 |
Note. The command `\bxtexlogo` also supports all hologo logos and thus |
| 206 |
can be used in place of `\hologo`, just if you like it. |
| 207 |
|
| 208 |
Moreover, the bxtexlogo itself provides a few “non-classified” logos, |
| 209 |
such as `e` (the head part of `eTeX` logo). This logo can be used by |
| 210 |
importing (perhaps with a prefix) or by writing `\bxtexlogo{e}`. See the |
| 211 |
sample document for detail. |
| 212 |
|
| 213 |
### Notices |
| 214 |
|
| 215 |
* You are recommended to load the graphicx package; its functionality |
| 216 |
will be utilized to improve the output of logos. |
| 217 |
* You cannot use the logo commands in math mode. |
| 218 |
* You can use the logos provided by this package in PDF strings, but |
| 219 |
not in TeX4ht workflow (contrary to the logos provided by hologo). |
| 220 |
* The functionality of the hologo package is not altered in any way. |
| 221 |
* You cannot apply the management commands of hologo (`\hologoSetup` |
| 222 |
etc.) to the logos provided by this package. |
| 223 |
|
| 224 |
|
| 225 |
The bxtexlogo-primary Package |
| 226 |
----------------------------- |
| 227 |
|
| 228 |
### Package Loading |
| 229 |
|
| 230 |
\usepackage[<option>,...]{bxtexlogo-primary} |
| 231 |
|
| 232 |
### Usage |
| 233 |
|
| 234 |
This is an alternative entrypoint to the bxtexlogo package. It loads |
| 235 |
bxtexlogo and “reserves” the bulk import of all the primary logos |
| 236 |
as the default action. If the author never uses `\bxtexlogoimport`, |
| 237 |
then the package runs `\bxtexlogoimport{*}` in the begin-document hook. |
| 238 |
|
| 239 |
*Note.* In fact, the bxtexlogo package itself has had the same feature, |
| 240 |
despite that the documentation says nothing about it. Starting with |
| 241 |
v0.8, this feature is *deprecated* for future removal and a warning will |
| 242 |
be issued for the use of implicitly imported commands. You should use |
| 243 |
the bxtexlogo-primary package instead if you need the feature. |
| 244 |
|
| 245 |
|
| 246 |
Revision History |
| 247 |
---------------- |
| 248 |
|
| 249 |
* Version 0.8 ‹2026/05/23› |
| 250 |
- More logo: `Prote`. |
| 251 |
- Add `\bxtexlogosetup` for parameter setting. |
| 252 |
- Add parameters: `one-font`, `smallcaps`, `fake-smallcaps-for`, |
| 253 |
`hologo-for-basic`, `ghost`. |
| 254 |
- Better support for dvips and dvisvgm. |
| 255 |
- Support for use in csname strings (as per hologo). |
| 256 |
- Support for “ghost” insertion for Japanese typesetting. |
| 257 |
- Warn the use of implicit imports. |
| 258 |
- Add new package `bxtexlogo-primary`. |
| 259 |
|
| 260 |
* Version 0.7a ‹2026/05/15› |
| 261 |
- Bug fix. |
| 262 |
|
| 263 |
* Version 0.7 ‹2026/04/29› |
| 264 |
- More logos: `HiLaTeX`, `LuaMetaTeX`, `lowe`. |
| 265 |
- Bug fix. |
| 266 |
|
| 267 |
* Version 0.6 ‹2022/05/05› |
| 268 |
- More logos: `HiTeX`, `TeX--XeT`. |
| 269 |
- Add `\bxtexlogo`. |
| 270 |
- Add `\bxtexlogoReflect`. |
| 271 |
|
| 272 |
* Version 0.5 ‹2021/11/11› |
| 273 |
- More logos: `OpTeX`, `CSTUG`. |
| 274 |
- (experimental) Add `\bxtexlogoUseBboldx`. |
| 275 |
|
| 276 |
* Version 0.4 ‹2018/03/11› |
| 277 |
- More logos: `ApTeX`, `DVIPDFMx`. |
| 278 |
- Add `\bxtexlogoItalicOrSlant`. |
| 279 |
|
| 280 |
* Version 0.3 ‹2017/11/11› |
| 281 |
- More logos. |
| 282 |
|
| 283 |
* Version 0.2a ‹2016/11/11› |
| 284 |
- Bug fix. |
| 285 |
|
| 286 |
* Version 0.2 ‹2016/04/01› |
| 287 |
- The first public version. |
| 288 |
|
| 289 |
-------------------- |
| 290 |
Takayuki YATO (aka. "ZR") |
| 291 |
https://github.com/zr-tex8r |