Coder Social home page Coder Social logo

pxjodel's Introduction

PXjodel Package

LaTeX: To help change metrics of the fonts of japanese-otf package

This package changes the setup of the japanese-otf package, so that the TFMs for direct input are all replaced by new ones with prefixed names; for exmaple, nmlminr-h will be replaced by foo--nmlminr-h, where foo is the prefix specified by the user.

This function will assist the users who want to use japamese-otf package together with tailored TFMs of Japanese fonts.

Note: The name “jodel” stands for “Japanese Otf DELuxe” (and “deluxe” is a package option of japanese-otf) and is not at all related to yodel singing (although some sense of word-play is intended).

Note: The “jodel” part of the package name stands for “japanese-otf deluxe”. Here “deluxe” is the name of japanese-otf’s option for employing multi-weight Japanese font families. This option is probably the most likely reason for using japanese-otf. So this package is really about japanese-otf’s “deluxe” option, hence the name. It is not related to yodel singing, although some sense of word-play is intended.

System requirement

  • TeX format: LaTeX.
  • TeX engine: pTeX / upTeX (including its derivatives).
  • DVI drivers: Anything that supports JFMs and VFs.
  • Dependent packages:
    • japanese-otf
    • ifptex
    • xkeyval

Installation

  • *.sty → $TEXMF/tex/platex/pxjodel/
  • tfm/*.tfm → $TEXMF/fonts/tfm/public/pxjodel/
  • vf/*.vf → $TEXMF/fonts/vf/public/pxjodel/

License

This package is distributed under the MIT License.

The pxjodel Package ― main

Note: The manual [pxjodel.pdf] (in Japanese) describes how to utilize this package to customize the metrics of the fonts of japanese-otf package.

Package Loading

\usepackage[<option>,...]{pxjodel}

Available options are:

  • prefix=<string>: Specifies the prefix for new TFM names, actually the prefix <string>-- will be prepended to names; prefix=foo will replace nmlminr-h with foo--nmlminr-h.
  • All other options are passed to japanese-otf. Note that if you use this mechanism, you must not load japanese-otf before this package.

When this package is loaded, japanese-otf will be automatically loaded unless it is already loaded. Once the package is loaded, the NFSS settings for the fonts of japanese-otf will be redeclared.

Usage

For present, this package has no public commands. All the settings are done through the package option.

Revision History

  • Version 0.3 〈2020/05/04〉
    • Add VFs of 'jodhminrn' family.
  • Version 0.2a 〈2019/02/12〉
    • Remove unnecessaty files.
  • Version 0.2 〈2019/02/02〉
    • The first public version.

Takayuki YATO (aka. "ZR")
https://github.com/zr-tex8r

pxjodel's People

Contributors

zr-tex8r avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

pxjodel's Issues

pLaTeX で JIS2004 字形にならない?

次のコマンドを実行し VF を生成し、

jfmutil jodel jlreq jlreq
jfmutil jodel jlreq-v jlreq

以下の文書を platex でタイプセットすると、

\documentclass[dvipdfmx]{jlreq}
\usepackage[prefix=jlreq,scale=1,deluxe,jis2004]{pxjodel}
\begin{document}
逢芦飴溢茨鰯淫迂厩噂餌襖迦牙廻恢晦蟹葛鞄釜翰翫徽
祇汲灸笈卿饗僅喰櫛屑粂祁隙倦捲牽鍵諺巷梗膏鵠甑叉
榊薩鯖錆鮫餐杓灼酋楯薯藷哨鞘杖蝕訊逗摺撰煎煽穿箭
詮噌遡揃遜腿蛸辿樽歎註瀦捗槌鎚辻挺鄭擢溺兎堵屠賭
瀞遁謎灘楢禰牌這秤駁箸叛挽誹樋稗逼謬豹廟瀕斧蔽瞥
蔑篇娩鞭庖蓬鱒迄儲餅籾爺鑓愈猷漣煉簾榔 冤叟咬嘲%
囀徘扁棘橙狡甕甦疼祟竈筵篝腱艘芒虔蜃蠅訝靄靱騙鴉
\end{document}

JIS2004 字形にならず JIS90 字形になります。
同様の事を uplatex で行った場合は JIS2004 字形になります。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.