From 7c6dcae5d7fc9d8352dc649132f4d61ea338b7c9 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 12 Mar 2018 21:51:47 +0000 Subject: morisawa (11mar18) git-svn-id: svn://tug.org/texlive/trunk@46936 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/fonts/morisawa/LICENSE | 25 ++ Master/texmf-dist/doc/fonts/morisawa/Makefile | 97 +++++++ Master/texmf-dist/doc/fonts/morisawa/README.md | 33 +++ Master/texmf-dist/doc/fonts/morisawa/morisawa.pdf | Bin 0 -> 93126 bytes .../fonts/map/dvips/morisawa/morisawa5.map | 13 + .../tfm/public/morisawa/FutoGoB101-Bold-H.tfm | Bin 0 -> 1196 bytes .../tfm/public/morisawa/FutoGoB101-Bold-J.tfm | Bin 0 -> 468 bytes .../tfm/public/morisawa/FutoGoB101-Bold-V.tfm | Bin 0 -> 856 bytes .../tfm/public/morisawa/FutoMinA101-Bold-H.tfm | Bin 0 -> 1196 bytes .../tfm/public/morisawa/FutoMinA101-Bold-J.tfm | Bin 0 -> 468 bytes .../tfm/public/morisawa/FutoMinA101-Bold-V.tfm | Bin 0 -> 856 bytes .../tfm/public/morisawa/GothicBBB-Medium-H.tfm | Bin 0 -> 1196 bytes .../tfm/public/morisawa/GothicBBB-Medium-J.tfm | Bin 0 -> 468 bytes .../tfm/public/morisawa/GothicBBB-Medium-V.tfm | Bin 0 -> 856 bytes .../fonts/tfm/public/morisawa/Jun101-Light-H.tfm | Bin 0 -> 1196 bytes .../fonts/tfm/public/morisawa/Jun101-Light-J.tfm | Bin 0 -> 468 bytes .../fonts/tfm/public/morisawa/Jun101-Light-V.tfm | Bin 0 -> 856 bytes .../fonts/tfm/public/morisawa/Ryumin-Light-H.tfm | Bin 0 -> 1196 bytes .../fonts/tfm/public/morisawa/Ryumin-Light-J.tfm | Bin 0 -> 468 bytes .../fonts/tfm/public/morisawa/Ryumin-Light-V.tfm | Bin 0 -> 856 bytes .../fonts/tfm/public/morisawa/futogo-b-v.tfm | Bin 0 -> 108 bytes .../fonts/tfm/public/morisawa/futogo-b.tfm | Bin 0 -> 108 bytes .../fonts/tfm/public/morisawa/futomin-b-v.tfm | Bin 0 -> 108 bytes .../fonts/tfm/public/morisawa/futomin-b.tfm | Bin 0 -> 108 bytes .../fonts/tfm/public/morisawa/gtbbb-m-v.tfm | Bin 0 -> 108 bytes .../fonts/tfm/public/morisawa/gtbbb-m.tfm | Bin 0 -> 108 bytes .../fonts/tfm/public/morisawa/jun101-l-v.tfm | Bin 0 -> 108 bytes .../fonts/tfm/public/morisawa/jun101-l.tfm | Bin 0 -> 108 bytes .../fonts/tfm/public/morisawa/ryumin-l-v.tfm | Bin 0 -> 108 bytes .../fonts/tfm/public/morisawa/ryumin-l.tfm | Bin 0 -> 108 bytes .../fonts/vf/public/morisawa/FutoGoB101-Bold-H.vf | Bin 0 -> 141640 bytes .../fonts/vf/public/morisawa/FutoGoB101-Bold-J.vf | Bin 0 -> 141468 bytes .../fonts/vf/public/morisawa/FutoGoB101-Bold-V.vf | Bin 0 -> 141588 bytes .../fonts/vf/public/morisawa/FutoMinA101-Bold-H.vf | Bin 0 -> 141644 bytes .../fonts/vf/public/morisawa/FutoMinA101-Bold-J.vf | Bin 0 -> 141472 bytes .../fonts/vf/public/morisawa/FutoMinA101-Bold-V.vf | Bin 0 -> 141588 bytes .../fonts/vf/public/morisawa/GothicBBB-Medium-H.vf | Bin 0 -> 141640 bytes .../fonts/vf/public/morisawa/GothicBBB-Medium-J.vf | Bin 0 -> 141468 bytes .../fonts/vf/public/morisawa/GothicBBB-Medium-V.vf | Bin 0 -> 141588 bytes .../fonts/vf/public/morisawa/Jun101-Light-H.vf | Bin 0 -> 141640 bytes .../fonts/vf/public/morisawa/Jun101-Light-J.vf | Bin 0 -> 141468 bytes .../fonts/vf/public/morisawa/Jun101-Light-V.vf | Bin 0 -> 141588 bytes .../fonts/vf/public/morisawa/Ryumin-Light-H.vf | Bin 0 -> 141640 bytes .../fonts/vf/public/morisawa/Ryumin-Light-J.vf | Bin 0 -> 141468 bytes .../fonts/vf/public/morisawa/Ryumin-Light-V.vf | Bin 0 -> 141588 bytes .../texmf-dist/source/fonts/morisawa/morisawa.dtx | 312 +++++++++++++++++++++ .../texmf-dist/source/fonts/morisawa/morisawa.ins | 4 + Master/texmf-dist/tex/latex/morisawa/morisawa.sty | 109 +++++++ 48 files changed, 593 insertions(+) create mode 100644 Master/texmf-dist/doc/fonts/morisawa/LICENSE create mode 100644 Master/texmf-dist/doc/fonts/morisawa/Makefile create mode 100644 Master/texmf-dist/doc/fonts/morisawa/README.md create mode 100644 Master/texmf-dist/doc/fonts/morisawa/morisawa.pdf create mode 100644 Master/texmf-dist/fonts/map/dvips/morisawa/morisawa5.map create mode 100644 Master/texmf-dist/fonts/tfm/public/morisawa/FutoGoB101-Bold-H.tfm create mode 100644 Master/texmf-dist/fonts/tfm/public/morisawa/FutoGoB101-Bold-J.tfm create mode 100644 Master/texmf-dist/fonts/tfm/public/morisawa/FutoGoB101-Bold-V.tfm create mode 100644 Master/texmf-dist/fonts/tfm/public/morisawa/FutoMinA101-Bold-H.tfm create mode 100644 Master/texmf-dist/fonts/tfm/public/morisawa/FutoMinA101-Bold-J.tfm create mode 100644 Master/texmf-dist/fonts/tfm/public/morisawa/FutoMinA101-Bold-V.tfm create mode 100644 Master/texmf-dist/fonts/tfm/public/morisawa/GothicBBB-Medium-H.tfm create mode 100644 Master/texmf-dist/fonts/tfm/public/morisawa/GothicBBB-Medium-J.tfm create mode 100644 Master/texmf-dist/fonts/tfm/public/morisawa/GothicBBB-Medium-V.tfm create mode 100644 Master/texmf-dist/fonts/tfm/public/morisawa/Jun101-Light-H.tfm create mode 100644 Master/texmf-dist/fonts/tfm/public/morisawa/Jun101-Light-J.tfm create mode 100644 Master/texmf-dist/fonts/tfm/public/morisawa/Jun101-Light-V.tfm create mode 100644 Master/texmf-dist/fonts/tfm/public/morisawa/Ryumin-Light-H.tfm create mode 100644 Master/texmf-dist/fonts/tfm/public/morisawa/Ryumin-Light-J.tfm create mode 100644 Master/texmf-dist/fonts/tfm/public/morisawa/Ryumin-Light-V.tfm create mode 100644 Master/texmf-dist/fonts/tfm/public/morisawa/futogo-b-v.tfm create mode 100644 Master/texmf-dist/fonts/tfm/public/morisawa/futogo-b.tfm create mode 100644 Master/texmf-dist/fonts/tfm/public/morisawa/futomin-b-v.tfm create mode 100644 Master/texmf-dist/fonts/tfm/public/morisawa/futomin-b.tfm create mode 100644 Master/texmf-dist/fonts/tfm/public/morisawa/gtbbb-m-v.tfm create mode 100644 Master/texmf-dist/fonts/tfm/public/morisawa/gtbbb-m.tfm create mode 100644 Master/texmf-dist/fonts/tfm/public/morisawa/jun101-l-v.tfm create mode 100644 Master/texmf-dist/fonts/tfm/public/morisawa/jun101-l.tfm create mode 100644 Master/texmf-dist/fonts/tfm/public/morisawa/ryumin-l-v.tfm create mode 100644 Master/texmf-dist/fonts/tfm/public/morisawa/ryumin-l.tfm create mode 100644 Master/texmf-dist/fonts/vf/public/morisawa/FutoGoB101-Bold-H.vf create mode 100644 Master/texmf-dist/fonts/vf/public/morisawa/FutoGoB101-Bold-J.vf create mode 100644 Master/texmf-dist/fonts/vf/public/morisawa/FutoGoB101-Bold-V.vf create mode 100644 Master/texmf-dist/fonts/vf/public/morisawa/FutoMinA101-Bold-H.vf create mode 100644 Master/texmf-dist/fonts/vf/public/morisawa/FutoMinA101-Bold-J.vf create mode 100644 Master/texmf-dist/fonts/vf/public/morisawa/FutoMinA101-Bold-V.vf create mode 100644 Master/texmf-dist/fonts/vf/public/morisawa/GothicBBB-Medium-H.vf create mode 100644 Master/texmf-dist/fonts/vf/public/morisawa/GothicBBB-Medium-J.vf create mode 100644 Master/texmf-dist/fonts/vf/public/morisawa/GothicBBB-Medium-V.vf create mode 100644 Master/texmf-dist/fonts/vf/public/morisawa/Jun101-Light-H.vf create mode 100644 Master/texmf-dist/fonts/vf/public/morisawa/Jun101-Light-J.vf create mode 100644 Master/texmf-dist/fonts/vf/public/morisawa/Jun101-Light-V.vf create mode 100644 Master/texmf-dist/fonts/vf/public/morisawa/Ryumin-Light-H.vf create mode 100644 Master/texmf-dist/fonts/vf/public/morisawa/Ryumin-Light-J.vf create mode 100644 Master/texmf-dist/fonts/vf/public/morisawa/Ryumin-Light-V.vf create mode 100644 Master/texmf-dist/source/fonts/morisawa/morisawa.dtx create mode 100644 Master/texmf-dist/source/fonts/morisawa/morisawa.ins create mode 100644 Master/texmf-dist/tex/latex/morisawa/morisawa.sty (limited to 'Master/texmf-dist') diff --git a/Master/texmf-dist/doc/fonts/morisawa/LICENSE b/Master/texmf-dist/doc/fonts/morisawa/LICENSE new file mode 100644 index 00000000000..a43f33b573c --- /dev/null +++ b/Master/texmf-dist/doc/fonts/morisawa/LICENSE @@ -0,0 +1,25 @@ +Copyright 1995-1999 ASCII MEDIA WORKS +Copyright 1999-2016 Haruhiko Okumura +Copyright 2016-2018 Japanese TeX Development Community +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/Master/texmf-dist/doc/fonts/morisawa/Makefile b/Master/texmf-dist/doc/fonts/morisawa/Makefile new file mode 100644 index 00000000000..a87758da60a --- /dev/null +++ b/Master/texmf-dist/doc/fonts/morisawa/Makefile @@ -0,0 +1,97 @@ +STRIPTARGET = morisawa.sty +DOCTARGET = morisawa +PDFTARGET = $(addsuffix .pdf,$(DOCTARGET)) +DVITARGET = $(addsuffix .dvi,$(DOCTARGET)) +KANJI = -kanji=utf8 +FONTMAP = -f ipaex.map -f ptex-ipaex.map +TEXMF = $(shell kpsewhich -var-value=TEXMFHOME) + +default: $(STRIPTARGET) $(DVITARGET) +strip: $(STRIPTARGET) +all: $(STRIPTARGET) $(PDFTARGET) + +# `make fonts' will fail due to lack of kpathsea of sources, +# but shown here for information purpose. +# if you want to make these, put sources in the current dir. +fonts: + for fnt in Ryumin-Light FutoMinA101-Bold ; do \ + cp min10.tfm $$fnt-H.tfm ; \ + cp tmin10.tfm $$fnt-V.tfm ; \ + cp jis.tfm $$fnt-J.tfm ; \ + done + for fnt in GothicBBB-Medium FutoGoB101-Bold Jun101-Light ; do \ + cp goth10.tfm $$fnt-H.tfm ; \ + cp tgoth10.tfm $$fnt-V.tfm ; \ + cp jisg.tfm $$fnt-J.tfm ; \ + done + for VAR in J H ; do \ + makejvf Ryumin-Light-$$VAR ryumin-l ; \ + makejvf FutoMinA101-Bold-$$VAR futomin-b ; \ + makejvf GothicBBB-Medium-$$VAR gtbbb-m ; \ + makejvf FutoGoB101-Bold-$$VAR futogo-b ; \ + makejvf Jun101-Light-$$VAR jun101-l ; \ + done + for VAR in V ; do \ + makejvf Ryumin-Light-$$VAR ryumin-l-v ; \ + makejvf FutoMinA101-Bold-$$VAR futomin-b-v ; \ + makejvf GothicBBB-Medium-$$VAR gtbbb-m-v ; \ + makejvf FutoGoB101-Bold-$$VAR futogo-b-v ; \ + makejvf Jun101-Light-$$VAR jun101-l-v ; \ + done + rm -f min10.tfm tmin10.tfm jis.tfm + rm -f goth10.tfm tgoth10.tfm jisg.tfm + mv *.tfm tfm/ + mv *.vf vf/ + +# for generating files, we use pdflatex incidentally. +# current packages contain ASCII characters only, safe enough +morisawa.sty: morisawa.dtx + rm -f morisawa + pdflatex morisawa.ins + rm morisawa.log + +.SUFFIXES: .dtx .dvi .pdf +.dtx.dvi: + platex $(KANJI) $< + platex $(KANJI) $< + rm -f *.aux *.log *.toc +.dvi.pdf: + dvipdfmx $(FONTMAP) $< + +.PHONY: install clean cleanstrip cleanall cleandoc +install: + mkdir -p ${TEXMF}/doc/platex/morisawa + cp ./LICENSE ${TEXMF}/doc/platex/morisawa/ + cp ./README.md ${TEXMF}/doc/platex/morisawa/ + cp ./*.pdf ${TEXMF}/doc/platex/morisawa/ + mkdir -p ${TEXMF}/fonts/map/dvipdfmx/morisawa/ + cp ./map/* ${TEXMF}/fonts/map/dvipdfmx/morisawa/ + mkdir -p ${TEXMF}/fonts/tfm/public/morisawa + cp ./tfm/futo* ${TEXMF}/fonts/tfm/public/morisawa/ + cp ./tfm/gtb* ${TEXMF}/fonts/tfm/public/morisawa/ + cp ./tfm/jun* ${TEXMF}/fonts/tfm/public/morisawa/ + cp ./tfm/ryumin* ${TEXMF}/fonts/tfm/public/morisawa/ + mkdir -p ${TEXMF}/fonts/tfm/public/morisawa + cp ./tfm/Futo* ${TEXMF}/fonts/tfm/public/morisawa/ + cp ./tfm/Gothic* ${TEXMF}/fonts/tfm/public/morisawa/ + cp ./tfm/Jun* ${TEXMF}/fonts/tfm/public/morisawa/ + cp ./tfm/Ryumin* ${TEXMF}/fonts/tfm/public/morisawa/ + mkdir -p ${TEXMF}/fonts/vf/public/morisawa + cp ./vf/Futo* ${TEXMF}/fonts/vf/public/morisawa/ + cp ./vf/Gothic* ${TEXMF}/fonts/vf/public/morisawa/ + cp ./vf/Jun* ${TEXMF}/fonts/vf/public/morisawa/ + cp ./vf/Ryumin* ${TEXMF}/fonts/vf/public/morisawa/ + mkdir -p ${TEXMF}/source/platex/morisawa + cp ./Makefile ${TEXMF}/source/platex/morisawa/ + cp ./*.dtx ${TEXMF}/source/platex/morisawa/ + cp ./*.ins ${TEXMF}/source/platex/morisawa/ + mkdir -p ${TEXMF}/tex/platex/morisawa + cp ./*.sty ${TEXMF}/tex/platex/morisawa/ +clean: + rm -f $(STRIPTARGET) $(DVITARGET) +cleanstrip: + rm -f $(STRIPTARGET) +cleanall: + rm -f $(STRIPTARGET) $(DVITARGET) $(PDFTARGET) +cleandoc: + rm -f $(DVITARGET) $(PDFTARGET) diff --git a/Master/texmf-dist/doc/fonts/morisawa/README.md b/Master/texmf-dist/doc/fonts/morisawa/README.md new file mode 100644 index 00000000000..923d311e5e2 --- /dev/null +++ b/Master/texmf-dist/doc/fonts/morisawa/README.md @@ -0,0 +1,33 @@ +# morisawa + +This package enables selection of 5 standard Japanese fonts +for pLaTeX + dvips. +The package was originally written by Haruhiko Okumura as part of +[jsclasses](https://github.com/texjporg/jsclasses) bundle, +and the TFM/VF files were previously distributed as part of +[ptex-fonts](https://github.com/texjporg/ptex-fonts) package. +Now all these files are distributed as a separate package, +maintained by Japanese TeX Development Community. + +"Morisawa" is the name of Japanese font vendor, +but here we use only generic font names; +it means that there is no need for actual Morisawa fonts. + +## Installation + +- map/* -> `$TEXMF/fonts/map/dvipdfmx/morisawa/` +- tfm/* -> `$TEXMF/fonts/tfm/public/morisawa/` +- vf/* -> `$TEXMF/fonts/vf/public/morisawa/` +- *.sty -> `$TEXMF/tex/platex/morisawa/` + +## Repository + +The bundle is maintained on GitHub: +https://github.com/texjporg/morisawa + +## Release Date + +2018-03-11 + +Haruhiko Okumura, +Japanese TeX Development Community diff --git a/Master/texmf-dist/doc/fonts/morisawa/morisawa.pdf b/Master/texmf-dist/doc/fonts/morisawa/morisawa.pdf new file mode 100644 index 00000000000..2ae8c7c021e Binary files /dev/null and b/Master/texmf-dist/doc/fonts/morisawa/morisawa.pdf differ diff --git a/Master/texmf-dist/fonts/map/dvips/morisawa/morisawa5.map b/Master/texmf-dist/fonts/map/dvips/morisawa/morisawa5.map new file mode 100644 index 00000000000..707c71fabf4 --- /dev/null +++ b/Master/texmf-dist/fonts/map/dvips/morisawa/morisawa5.map @@ -0,0 +1,13 @@ +%% +%% Morisawa +%% +ryumin-l H Ryumin-Light +ryumin-l-v V Ryumin-Light +gtbbb-m H GothicBBB-Medium +gtbbb-m-v V GothicBBB-Medium +futomin-b H FutoMinA101-Bold +futomin-b-v V FutoMinA101-Bold +futogo-b H FutoGoB101-Bold +futogo-b-v V FutoGoB101-Bold +jun101-l H Jun101-Light +jun101-l-v V Jun101-Light diff --git a/Master/texmf-dist/fonts/tfm/public/morisawa/FutoGoB101-Bold-H.tfm b/Master/texmf-dist/fonts/tfm/public/morisawa/FutoGoB101-Bold-H.tfm new file mode 100644 index 00000000000..92b72a3fa22 Binary files /dev/null and b/Master/texmf-dist/fonts/tfm/public/morisawa/FutoGoB101-Bold-H.tfm differ diff --git a/Master/texmf-dist/fonts/tfm/public/morisawa/FutoGoB101-Bold-J.tfm b/Master/texmf-dist/fonts/tfm/public/morisawa/FutoGoB101-Bold-J.tfm new file mode 100644 index 00000000000..701106d78e4 Binary files /dev/null and b/Master/texmf-dist/fonts/tfm/public/morisawa/FutoGoB101-Bold-J.tfm differ diff --git a/Master/texmf-dist/fonts/tfm/public/morisawa/FutoGoB101-Bold-V.tfm b/Master/texmf-dist/fonts/tfm/public/morisawa/FutoGoB101-Bold-V.tfm new file mode 100644 index 00000000000..7f9e9f91de6 Binary files /dev/null and b/Master/texmf-dist/fonts/tfm/public/morisawa/FutoGoB101-Bold-V.tfm differ diff --git a/Master/texmf-dist/fonts/tfm/public/morisawa/FutoMinA101-Bold-H.tfm b/Master/texmf-dist/fonts/tfm/public/morisawa/FutoMinA101-Bold-H.tfm new file mode 100644 index 00000000000..1bf04b7ac32 Binary files /dev/null and b/Master/texmf-dist/fonts/tfm/public/morisawa/FutoMinA101-Bold-H.tfm differ diff --git a/Master/texmf-dist/fonts/tfm/public/morisawa/FutoMinA101-Bold-J.tfm b/Master/texmf-dist/fonts/tfm/public/morisawa/FutoMinA101-Bold-J.tfm new file mode 100644 index 00000000000..701106d78e4 Binary files /dev/null and b/Master/texmf-dist/fonts/tfm/public/morisawa/FutoMinA101-Bold-J.tfm differ diff --git a/Master/texmf-dist/fonts/tfm/public/morisawa/FutoMinA101-Bold-V.tfm b/Master/texmf-dist/fonts/tfm/public/morisawa/FutoMinA101-Bold-V.tfm new file mode 100644 index 00000000000..a54690f5656 Binary files /dev/null and b/Master/texmf-dist/fonts/tfm/public/morisawa/FutoMinA101-Bold-V.tfm differ diff --git a/Master/texmf-dist/fonts/tfm/public/morisawa/GothicBBB-Medium-H.tfm b/Master/texmf-dist/fonts/tfm/public/morisawa/GothicBBB-Medium-H.tfm new file mode 100644 index 00000000000..92b72a3fa22 Binary files /dev/null and b/Master/texmf-dist/fonts/tfm/public/morisawa/GothicBBB-Medium-H.tfm differ diff --git a/Master/texmf-dist/fonts/tfm/public/morisawa/GothicBBB-Medium-J.tfm b/Master/texmf-dist/fonts/tfm/public/morisawa/GothicBBB-Medium-J.tfm new file mode 100644 index 00000000000..701106d78e4 Binary files /dev/null and b/Master/texmf-dist/fonts/tfm/public/morisawa/GothicBBB-Medium-J.tfm differ diff --git a/Master/texmf-dist/fonts/tfm/public/morisawa/GothicBBB-Medium-V.tfm b/Master/texmf-dist/fonts/tfm/public/morisawa/GothicBBB-Medium-V.tfm new file mode 100644 index 00000000000..7f9e9f91de6 Binary files /dev/null and b/Master/texmf-dist/fonts/tfm/public/morisawa/GothicBBB-Medium-V.tfm differ diff --git a/Master/texmf-dist/fonts/tfm/public/morisawa/Jun101-Light-H.tfm b/Master/texmf-dist/fonts/tfm/public/morisawa/Jun101-Light-H.tfm new file mode 100644 index 00000000000..92b72a3fa22 Binary files /dev/null and b/Master/texmf-dist/fonts/tfm/public/morisawa/Jun101-Light-H.tfm differ diff --git a/Master/texmf-dist/fonts/tfm/public/morisawa/Jun101-Light-J.tfm b/Master/texmf-dist/fonts/tfm/public/morisawa/Jun101-Light-J.tfm new file mode 100644 index 00000000000..701106d78e4 Binary files /dev/null and b/Master/texmf-dist/fonts/tfm/public/morisawa/Jun101-Light-J.tfm differ diff --git a/Master/texmf-dist/fonts/tfm/public/morisawa/Jun101-Light-V.tfm b/Master/texmf-dist/fonts/tfm/public/morisawa/Jun101-Light-V.tfm new file mode 100644 index 00000000000..7f9e9f91de6 Binary files /dev/null and b/Master/texmf-dist/fonts/tfm/public/morisawa/Jun101-Light-V.tfm differ diff --git a/Master/texmf-dist/fonts/tfm/public/morisawa/Ryumin-Light-H.tfm b/Master/texmf-dist/fonts/tfm/public/morisawa/Ryumin-Light-H.tfm new file mode 100644 index 00000000000..1bf04b7ac32 Binary files /dev/null and b/Master/texmf-dist/fonts/tfm/public/morisawa/Ryumin-Light-H.tfm differ diff --git a/Master/texmf-dist/fonts/tfm/public/morisawa/Ryumin-Light-J.tfm b/Master/texmf-dist/fonts/tfm/public/morisawa/Ryumin-Light-J.tfm new file mode 100644 index 00000000000..701106d78e4 Binary files /dev/null and b/Master/texmf-dist/fonts/tfm/public/morisawa/Ryumin-Light-J.tfm differ diff --git a/Master/texmf-dist/fonts/tfm/public/morisawa/Ryumin-Light-V.tfm b/Master/texmf-dist/fonts/tfm/public/morisawa/Ryumin-Light-V.tfm new file mode 100644 index 00000000000..a54690f5656 Binary files /dev/null and b/Master/texmf-dist/fonts/tfm/public/morisawa/Ryumin-Light-V.tfm differ diff --git a/Master/texmf-dist/fonts/tfm/public/morisawa/futogo-b-v.tfm b/Master/texmf-dist/fonts/tfm/public/morisawa/futogo-b-v.tfm new file mode 100644 index 00000000000..dddd9776408 Binary files /dev/null and b/Master/texmf-dist/fonts/tfm/public/morisawa/futogo-b-v.tfm differ diff --git a/Master/texmf-dist/fonts/tfm/public/morisawa/futogo-b.tfm b/Master/texmf-dist/fonts/tfm/public/morisawa/futogo-b.tfm new file mode 100644 index 00000000000..8dbf787b3ec Binary files /dev/null and b/Master/texmf-dist/fonts/tfm/public/morisawa/futogo-b.tfm differ diff --git a/Master/texmf-dist/fonts/tfm/public/morisawa/futomin-b-v.tfm b/Master/texmf-dist/fonts/tfm/public/morisawa/futomin-b-v.tfm new file mode 100644 index 00000000000..dddd9776408 Binary files /dev/null and b/Master/texmf-dist/fonts/tfm/public/morisawa/futomin-b-v.tfm differ diff --git a/Master/texmf-dist/fonts/tfm/public/morisawa/futomin-b.tfm b/Master/texmf-dist/fonts/tfm/public/morisawa/futomin-b.tfm new file mode 100644 index 00000000000..8dbf787b3ec Binary files /dev/null and b/Master/texmf-dist/fonts/tfm/public/morisawa/futomin-b.tfm differ diff --git a/Master/texmf-dist/fonts/tfm/public/morisawa/gtbbb-m-v.tfm b/Master/texmf-dist/fonts/tfm/public/morisawa/gtbbb-m-v.tfm new file mode 100644 index 00000000000..dddd9776408 Binary files /dev/null and b/Master/texmf-dist/fonts/tfm/public/morisawa/gtbbb-m-v.tfm differ diff --git a/Master/texmf-dist/fonts/tfm/public/morisawa/gtbbb-m.tfm b/Master/texmf-dist/fonts/tfm/public/morisawa/gtbbb-m.tfm new file mode 100644 index 00000000000..8dbf787b3ec Binary files /dev/null and b/Master/texmf-dist/fonts/tfm/public/morisawa/gtbbb-m.tfm differ diff --git a/Master/texmf-dist/fonts/tfm/public/morisawa/jun101-l-v.tfm b/Master/texmf-dist/fonts/tfm/public/morisawa/jun101-l-v.tfm new file mode 100644 index 00000000000..dddd9776408 Binary files /dev/null and b/Master/texmf-dist/fonts/tfm/public/morisawa/jun101-l-v.tfm differ diff --git a/Master/texmf-dist/fonts/tfm/public/morisawa/jun101-l.tfm b/Master/texmf-dist/fonts/tfm/public/morisawa/jun101-l.tfm new file mode 100644 index 00000000000..8dbf787b3ec Binary files /dev/null and b/Master/texmf-dist/fonts/tfm/public/morisawa/jun101-l.tfm differ diff --git a/Master/texmf-dist/fonts/tfm/public/morisawa/ryumin-l-v.tfm b/Master/texmf-dist/fonts/tfm/public/morisawa/ryumin-l-v.tfm new file mode 100644 index 00000000000..dddd9776408 Binary files /dev/null and b/Master/texmf-dist/fonts/tfm/public/morisawa/ryumin-l-v.tfm differ diff --git a/Master/texmf-dist/fonts/tfm/public/morisawa/ryumin-l.tfm b/Master/texmf-dist/fonts/tfm/public/morisawa/ryumin-l.tfm new file mode 100644 index 00000000000..8dbf787b3ec Binary files /dev/null and b/Master/texmf-dist/fonts/tfm/public/morisawa/ryumin-l.tfm differ diff --git a/Master/texmf-dist/fonts/vf/public/morisawa/FutoGoB101-Bold-H.vf b/Master/texmf-dist/fonts/vf/public/morisawa/FutoGoB101-Bold-H.vf new file mode 100644 index 00000000000..cd05161977f Binary files /dev/null and b/Master/texmf-dist/fonts/vf/public/morisawa/FutoGoB101-Bold-H.vf differ diff --git a/Master/texmf-dist/fonts/vf/public/morisawa/FutoGoB101-Bold-J.vf b/Master/texmf-dist/fonts/vf/public/morisawa/FutoGoB101-Bold-J.vf new file mode 100644 index 00000000000..5ad35b16e77 Binary files /dev/null and b/Master/texmf-dist/fonts/vf/public/morisawa/FutoGoB101-Bold-J.vf differ diff --git a/Master/texmf-dist/fonts/vf/public/morisawa/FutoGoB101-Bold-V.vf b/Master/texmf-dist/fonts/vf/public/morisawa/FutoGoB101-Bold-V.vf new file mode 100644 index 00000000000..ca49ad62b55 Binary files /dev/null and b/Master/texmf-dist/fonts/vf/public/morisawa/FutoGoB101-Bold-V.vf differ diff --git a/Master/texmf-dist/fonts/vf/public/morisawa/FutoMinA101-Bold-H.vf b/Master/texmf-dist/fonts/vf/public/morisawa/FutoMinA101-Bold-H.vf new file mode 100644 index 00000000000..2c7073d2943 Binary files /dev/null and b/Master/texmf-dist/fonts/vf/public/morisawa/FutoMinA101-Bold-H.vf differ diff --git a/Master/texmf-dist/fonts/vf/public/morisawa/FutoMinA101-Bold-J.vf b/Master/texmf-dist/fonts/vf/public/morisawa/FutoMinA101-Bold-J.vf new file mode 100644 index 00000000000..2689155f371 Binary files /dev/null and b/Master/texmf-dist/fonts/vf/public/morisawa/FutoMinA101-Bold-J.vf differ diff --git a/Master/texmf-dist/fonts/vf/public/morisawa/FutoMinA101-Bold-V.vf b/Master/texmf-dist/fonts/vf/public/morisawa/FutoMinA101-Bold-V.vf new file mode 100644 index 00000000000..3473bdc22c8 Binary files /dev/null and b/Master/texmf-dist/fonts/vf/public/morisawa/FutoMinA101-Bold-V.vf differ diff --git a/Master/texmf-dist/fonts/vf/public/morisawa/GothicBBB-Medium-H.vf b/Master/texmf-dist/fonts/vf/public/morisawa/GothicBBB-Medium-H.vf new file mode 100644 index 00000000000..3d684e0fa31 Binary files /dev/null and b/Master/texmf-dist/fonts/vf/public/morisawa/GothicBBB-Medium-H.vf differ diff --git a/Master/texmf-dist/fonts/vf/public/morisawa/GothicBBB-Medium-J.vf b/Master/texmf-dist/fonts/vf/public/morisawa/GothicBBB-Medium-J.vf new file mode 100644 index 00000000000..bc82dffaab9 Binary files /dev/null and b/Master/texmf-dist/fonts/vf/public/morisawa/GothicBBB-Medium-J.vf differ diff --git a/Master/texmf-dist/fonts/vf/public/morisawa/GothicBBB-Medium-V.vf b/Master/texmf-dist/fonts/vf/public/morisawa/GothicBBB-Medium-V.vf new file mode 100644 index 00000000000..8f71c0dcd27 Binary files /dev/null and b/Master/texmf-dist/fonts/vf/public/morisawa/GothicBBB-Medium-V.vf differ diff --git a/Master/texmf-dist/fonts/vf/public/morisawa/Jun101-Light-H.vf b/Master/texmf-dist/fonts/vf/public/morisawa/Jun101-Light-H.vf new file mode 100644 index 00000000000..5968c36d006 Binary files /dev/null and b/Master/texmf-dist/fonts/vf/public/morisawa/Jun101-Light-H.vf differ diff --git a/Master/texmf-dist/fonts/vf/public/morisawa/Jun101-Light-J.vf b/Master/texmf-dist/fonts/vf/public/morisawa/Jun101-Light-J.vf new file mode 100644 index 00000000000..d0f787a6255 Binary files /dev/null and b/Master/texmf-dist/fonts/vf/public/morisawa/Jun101-Light-J.vf differ diff --git a/Master/texmf-dist/fonts/vf/public/morisawa/Jun101-Light-V.vf b/Master/texmf-dist/fonts/vf/public/morisawa/Jun101-Light-V.vf new file mode 100644 index 00000000000..1322b81285a Binary files /dev/null and b/Master/texmf-dist/fonts/vf/public/morisawa/Jun101-Light-V.vf differ diff --git a/Master/texmf-dist/fonts/vf/public/morisawa/Ryumin-Light-H.vf b/Master/texmf-dist/fonts/vf/public/morisawa/Ryumin-Light-H.vf new file mode 100644 index 00000000000..2ea789e5aa3 Binary files /dev/null and b/Master/texmf-dist/fonts/vf/public/morisawa/Ryumin-Light-H.vf differ diff --git a/Master/texmf-dist/fonts/vf/public/morisawa/Ryumin-Light-J.vf b/Master/texmf-dist/fonts/vf/public/morisawa/Ryumin-Light-J.vf new file mode 100644 index 00000000000..57a9e14c0e7 Binary files /dev/null and b/Master/texmf-dist/fonts/vf/public/morisawa/Ryumin-Light-J.vf differ diff --git a/Master/texmf-dist/fonts/vf/public/morisawa/Ryumin-Light-V.vf b/Master/texmf-dist/fonts/vf/public/morisawa/Ryumin-Light-V.vf new file mode 100644 index 00000000000..d5ac7580613 Binary files /dev/null and b/Master/texmf-dist/fonts/vf/public/morisawa/Ryumin-Light-V.vf differ diff --git a/Master/texmf-dist/source/fonts/morisawa/morisawa.dtx b/Master/texmf-dist/source/fonts/morisawa/morisawa.dtx new file mode 100644 index 00000000000..458d0736ceb --- /dev/null +++ b/Master/texmf-dist/source/fonts/morisawa/morisawa.dtx @@ -0,0 +1,312 @@ +% ^^A -*- japanese-latex -*- +% +% \ifx\epTeXinputencoding\undefined\else +% \epTeXinputencoding utf8 % ^^A added (2017-10-04) +% \fi +% +% \iffalse +% +%<*driver> +\ifx\epTeXinputencoding\undefined\else + \epTeXinputencoding utf8 +\fi +% +% +% モリサワ基本5書体を使うためのパッケージ +% 奥村晴彦 +% +%\NeedsTeXFormat{pLaTeX2e} +%\ProvidesPackage{morisawa}[2018/03/06 okumura, texjporg] +%<*driver> +\documentclass{jsarticle} +\usepackage{doc} +\xspcode"5C=1 %% \ +\xspcode"22=1 %% " +\usepackage[fake]{morisawa} +\addtolength{\textwidth}{-1in} +\addtolength{\evensidemargin}{1in} +\addtolength{\oddsidemargin}{1in} +\addtolength{\marginparwidth}{1in} +\setlength\marginparsep{5pt} +\setlength\marginparpush{0pt} +% \OnlyDescription +\CodelineNumbered +\DisableCrossrefs +\setcounter{StandardModuleDepth}{1} +\GetFileInfo{morisawa.sty} +\begin{document} + \DocInput{morisawa.dtx} +\end{document} +% +% +% \fi +% +% \title{モリサワ基本5書体パッケージ} +% \author{奥村晴彦} +% \date{\filedate} +% \maketitle +% +% \MakeShortVerb{\|} +% +% \section{はじめに} +% +% これはモリサワ基本5書体を使うためのパッケージです。 +% ご自由に修正してお使いください。 +% +% [2002-12-19] いろいろなものに収録していただく際にライセンスを明確にする +% 必要が生じてきました。アスキーのものが最近はmodified BSDライセンスになっ +% ていますので,私のものもそれに準じてmodified BSDとすることにします。 +% +% モリサワ基本5書体とは +% \begin{itemize} +% \item リュウミンL(Ryumin-Light) +% \item 中ゴシックBBB(GothicBBB-Medium) +% \item 太ミン(FutoMinA101-Bold) +% \item 太ゴ(FutoGoB101-Bold) +% \item じゅん(Jun101-Light) +% \end{itemize} +% のことです。 +% +% これらを使うには,アスキーが配布している |morisawa.tar.gz| +% が必要です。また,dvips(k)のmapファイルに次のように書いておきます。 +% +%\begin{verbatim} +% rml Ryumin-Light-H +% rmlv Ryumin-Light-V +% gbm GothicBBB-Medium-H +% gbmv GothicBBB-Medium-V +% ryumin-l Ryumin-Light-H +% ryumin-l-v Ryumin-Light-V +% gtbbb-m GothicBBB-Medium-H +% gtbbb-m-v GothicBBB-Medium-V +% futomin-b FutoMinA101-Bold-H +% futomin-b-v FutoMinA101-Bold-V +% futogo-b FutoGoB101-Bold-H +% futogo-b-v FutoGoB101-Bold-V +% jun101-l Jun101-Light-H +% jun101-l-v Jun101-Light-V +%\end{verbatim} +% +% もともとPSプリンタに実装されている場合以外は, +% モリサワ5書体を買い揃えてもしかたがありませんが, +% これらの名前は標準的なので, +% 実際の出力時には他のフォントで置き換える場合でも, +% これらの名前を仮に使っておくと便利です。 +% +% たとえば『[改訂版]\LaTeXe 美文書作成入門』(2000年) +% ではヒラギノに置き換えるために dvips(k)のmapファイルに +% 次のように書いておきました。 +% +%\begin{verbatim} +% rml Ryumin-Light-H +% rmlv Ryumin-Light-V +% gbm GothicBBB-Medium-H +% gbmv GothicBBB-Medium-V +% ryumin-l HiraginoMin-W3-H +% ryumin-l-v HiraginoMin-W3-V +% gtbbb-m HiraginoKaku-W5-H +% gtbbb-m-v HiraginoKaku-W5-V +% futomin-b HiraginoMin-W3-H +% futomin-b-v HiraginoMin-W3-H +% futogo-b HiraginoKaku-W5-H +% futogo-b-v HiraginoKaku-W5-V +% jun101-l HiraginoKaku-W2-H +% jun101-l-v HiraginoKaku-W2-V +%\end{verbatim} +% +% \section{簡単な使い方} +% +% |{\kanjifamily{rml}\selectfont リュウミン}| → {\kanjifamily{rml}\selectfont リュウミン} +% +% |{\kanjifamily{gbm}\selectfont 中ゴシック}| → {\kanjifamily{gbm}\selectfont 中ゴシック} +% +% |{\kanjifamily{fma}\selectfont 太ミン}| → {\kanjifamily{fma}\selectfont 太ミン} +% +% |{\kanjifamily{gbm}\fontseries{bx}\selectfont 太ゴ}| → {\kanjifamily{gbm}\fontseries{bx}\selectfont 太ゴ} +% +% |{\kanjifamily{jun}\selectfont じゅん}| → {\kanjifamily{jun}\selectfont じゅん} +% +% |\textgt{\bfseries 太ゴ}| と書くと\textgt{\bfseries 太ゴ}になります。 +% +% |\textbf{\gtfamily 太ゴ}| と書いても\textbf{\gtfamily 太ゴ}になります。 +% +% |\textmg{じゅん}| または |{\mgfamily じゅん}| と書くと\textmg{じゅん}になります。 +% +% |\texttt{じゅん}| や |{\ttfamily じゅん}| でも\texttt{じゅん}になります。 +% +% 本文を{\kanjifamily{fma}\selectfont 太ミン}にするには |\renewcommand{\mcdefault}{fma}| とします。 +% +% \StopEventually{} +% +% \section{オプションの定義} +% +% \begin{macrocode} +%<*morisawa> +\newif\if@fake \@fakefalse +\DeclareOption{fake}{\@faketrue} +\ProcessOptions\relax +% \end{macrocode} +% +% \section{各フォントの定義} +% +% \texttt{fd} ファイルを使用するのはやめました。 +% +% 明朝体です。ボールドを太ミンにするには +%\begin{verbatim} +% \DeclareFontShape{JY1}{rml}{bx}{n}{<-> s * [0.961] FutoMinA101-Bold-J}{} +%\end{verbatim} +% とすればいいのですが,ここでは互換性のため明朝のボールドを中ゴシックにします。 +% +% \begin{macrocode} +\DeclareKanjiFamily{JY1}{rml}{} +\DeclareKanjiFamily{JT1}{rml}{} +\if@fake + \DeclareFontShape{JY1}{rml}{m}{n}{<-> s * [0.961] jis}{} + \DeclareFontShape{JY1}{rml}{bx}{n}{<-> s * [0.961] jisg}{} + \DeclareFontShape{JT1}{rml}{m}{n}{<-> s * [0.961] tmin10}{} + \DeclareFontShape{JT1}{rml}{bx}{n}{<-> s * [0.961] tgoth10}{} +\else + \DeclareFontShape{JY1}{rml}{m}{n}{<-> s * [0.961] Ryumin-Light-J}{} + \DeclareFontShape{JY1}{rml}{bx}{n}{<-> s * [0.961] GothicBBB-Medium-J}{} + \DeclareFontShape{JT1}{rml}{m}{n}{<-> s * [0.961] Ryumin-Light-V}{} + \DeclareFontShape{JT1}{rml}{bx}{n}{<-> s * [0.961] GothicBBB-Medium-V}{} +\fi +% \end{macrocode} +% +% 太明朝体です。 +% +% \begin{macrocode} +\DeclareKanjiFamily{JY1}{fma}{} +\DeclareKanjiFamily{JT1}{fma}{} +\if@fake + \DeclareFontShape{JY1}{fma}{m}{n}{<-> s * [0.961] jis}{} + \DeclareFontShape{JY1}{fma}{bx}{n}{<-> s * [0.961] jisg}{} + \DeclareFontShape{JT1}{fma}{m}{n}{<-> s * [0.961] tmin10}{} + \DeclareFontShape{JT1}{fma}{bx}{n}{<-> s * [0.961] tgoth10}{} +\else + \DeclareFontShape{JY1}{fma}{m}{n}{<-> s * [0.961] FutoMinA101-Bold-J}{} + \DeclareFontShape{JY1}{fma}{bx}{n}{<-> s * [0.961] GothicBBB-Medium-J}{} + \DeclareFontShape{JT1}{fma}{m}{n}{<-> s * [0.961] FutoMinA101-Bold-V}{} + \DeclareFontShape{JT1}{fma}{bx}{n}{<-> s * [0.961] FutoGoB101-Bold-V}{} +\fi +% \end{macrocode} +% +% ゴシック体です。ボールド体にすると太ゴになります。 +% +% \begin{macrocode} +\DeclareKanjiFamily{JY1}{gbm}{} +\DeclareKanjiFamily{JT1}{gbm}{} +\if@fake + \DeclareFontShape{JY1}{gbm}{m}{n}{<-> s * [0.961] jisg}{} + \DeclareFontShape{JY1}{gbm}{bx}{n}{<-> s * [0.961] jisg}{} + \DeclareFontShape{JT1}{gbm}{m}{n}{<-> s * [0.961] tgoth10}{} + \DeclareFontShape{JT1}{gbm}{bx}{n}{<-> s * [0.961] tgoth10}{} +\else + \DeclareFontShape{JY1}{gbm}{m}{n}{<-> s * [0.961] GothicBBB-Medium-J}{} + \DeclareFontShape{JY1}{gbm}{bx}{n}{<-> s * [0.961] FutoGoB101-Bold-J}{} + \DeclareFontShape{JT1}{gbm}{m}{n}{<-> s * [0.961] GothicBBB-Medium-V}{} + \DeclareFontShape{JT1}{gbm}{bx}{n}{<-> s * [0.961] FutoGoB101-Bold-V}{} +\fi +% \end{macrocode} +% +% 丸ゴシックの「じゅん101」です。 +% +% \begin{macrocode} +\DeclareKanjiFamily{JY1}{jun}{} +\DeclareKanjiFamily{JT1}{jun}{} +\if@fake + \DeclareFontShape{JY1}{jun}{m}{n}{<-> s * [0.961] jisg}{} + \DeclareFontShape{JY1}{jun}{bx}{n}{<->ssub*jun/m/n}{} + \DeclareFontShape{JT1}{jun}{m}{n}{<-> s * [0.961] tgoth10}{} + \DeclareFontShape{JT1}{jun}{bx}{n}{<->ssub*jun/m/n}{} +\else + \DeclareFontShape{JY1}{jun}{m}{n}{<-> s * [0.961] Jun101-Light-J}{} + \DeclareFontShape{JY1}{jun}{bx}{n}{<->ssub*jun/m/n}{} + \DeclareFontShape{JT1}{jun}{m}{n}{<-> s * [0.961] Jun101-Light-V}{} + \DeclareFontShape{JT1}{jun}{bx}{n}{<->ssub*jun/m/n}{} +\fi +% \end{macrocode} +% +% \section{フォント関連コマンド} +% +% 標準の明朝を \texttt{rml},標準のゴシックを \texttt{gbm} とします。 +% 欧文にサンセリフ体を選ぶと和文はゴシック体になるようにします。 +% +% \begin{macrocode} +\renewcommand{\mcdefault}{rml} +\renewcommand{\gtdefault}{gbm} +% \DeclareRobustCommand\gtfamily{% +% \not@math@alphabet\gtfamily\textgt +% \romanfamily\sfdefault +% \kanjifamily\gtdefault +% \selectfont} +\DeclareRobustCommand\sffamily{% + \not@math@alphabet\sffamily\mathsf + \romanfamily\sfdefault + \kanjifamily\gtdefault + \selectfont} +% \end{macrocode} +% +% \begin{macro}{\mgfamily} +% \begin{macro}{\mgdefault} +% \begin{macro}{\textmg} +% +% 丸ゴシック関連のコマンド |\mgfamily|,|\mgdefault|,|\textmg| +% を新設します。標準の丸ゴシックを \texttt{jun} とします。 +% +% 欧文にタイプライタ体を選ぶと和文は丸ゴシック体になるようにしていましたが, +% 中ゴシック体のほうがいいというご意見で,元に戻しました。 +% いや,それは単にmapファイルの問題だ,というのでまた丸ゴシック体に戻りました。|^^;| +% +% [2018-03-06] |\textmg| をrobustにしました。 +% \begin{macrocode} +\newcommand{\mgdefault}{jun} +\DeclareRobustCommand\mgfamily{% + \not@math@alphabet\mgfamily\textmg +% \romanfamily\ttdefault + \kanjifamily\mgdefault + \selectfont} +\DeclareRobustCommand\ttfamily{% + \not@math@alphabet\ttfamily\mathtt + \romanfamily\ttdefault + \kanjifamily\mgdefault +% \kanjifamily\gtdefault + \selectfont} +% \DeclareTextFontCommand{\textmg}{\mgfamily} +% \def\textmg#1{\relax\ifmmode\hbox\fi{\mgfamily #1}} +\DeclareRobustCommand\textmg[1]{% + \relax\ifmmode \expandafter\nfss@text \fi{\mgfamily #1}} +% \end{macrocode} +% +% \end{macro} +% \end{macro} +% \end{macro} +% +% 基準となる長さを再設定をします。 +% これをしておかないと,標準ドキュメントクラスと組み合わせると +% 段落の字下げが揃わなくなります。 +% +% [2018-02-28] 基準とする文字を「全角空白」(EUCコード\texttt{0xA1A1})から +% 「漢」(JISコード\texttt{0x3441})へ変更しました。 +% \begin{macrocode} +\normalfont\normalsize +\setbox0\hbox{\char\jis"3441}% +\setlength\Cht{\ht0} +\setlength\Cdp{\dp0} +\setlength\Cwd{\wd0} +\setlength\Cvs{\baselineskip} +\setlength\Chs{\wd0} +\setlength\parindent{1\Cwd} +% \end{macrocode} +% +% 以上です。 +% +% \begin{macrocode} +% +\endinput +% \end{macrocode} +% +% ^^A \endinput の後に \CharacterTable を書いておけば,子ファイルには +% ^^A 出力されません。チェックは *.dtx を処理したときにしてくれます。 +% +% \Finale diff --git a/Master/texmf-dist/source/fonts/morisawa/morisawa.ins b/Master/texmf-dist/source/fonts/morisawa/morisawa.ins new file mode 100644 index 00000000000..c0984d0e36c --- /dev/null +++ b/Master/texmf-dist/source/fonts/morisawa/morisawa.ins @@ -0,0 +1,4 @@ +\def\batchfile{morisawa.ins} +\input docstrip.tex +\keepsilent +\generateFile{morisawa.sty}{f}{\from{morisawa.dtx}{morisawa}} diff --git a/Master/texmf-dist/tex/latex/morisawa/morisawa.sty b/Master/texmf-dist/tex/latex/morisawa/morisawa.sty new file mode 100644 index 00000000000..ada3159bf6c --- /dev/null +++ b/Master/texmf-dist/tex/latex/morisawa/morisawa.sty @@ -0,0 +1,109 @@ +%% +%% This is file `morisawa.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% morisawa.dtx (with options: `morisawa') +%% +%% IMPORTANT NOTICE: +%% +%% For the copyright see the source file. +%% +%% Any modified versions of this file must be renamed +%% with new filenames distinct from morisawa.sty. +%% +%% For distribution of the original source see the terms +%% for copying and modification in the file morisawa.dtx. +%% +%% This generated file may be distributed as long as the +%% original source files, as listed above, are part of the +%% same distribution. (The sources need not necessarily be +%% in the same archive or directory.) +\NeedsTeXFormat{pLaTeX2e} +\ProvidesPackage{morisawa}[2018/03/06 okumura, texjporg] +\newif\if@fake \@fakefalse +\DeclareOption{fake}{\@faketrue} +\ProcessOptions\relax +\DeclareKanjiFamily{JY1}{rml}{} +\DeclareKanjiFamily{JT1}{rml}{} +\if@fake + \DeclareFontShape{JY1}{rml}{m}{n}{<-> s * [0.961] jis}{} + \DeclareFontShape{JY1}{rml}{bx}{n}{<-> s * [0.961] jisg}{} + \DeclareFontShape{JT1}{rml}{m}{n}{<-> s * [0.961] tmin10}{} + \DeclareFontShape{JT1}{rml}{bx}{n}{<-> s * [0.961] tgoth10}{} +\else + \DeclareFontShape{JY1}{rml}{m}{n}{<-> s * [0.961] Ryumin-Light-J}{} + \DeclareFontShape{JY1}{rml}{bx}{n}{<-> s * [0.961] GothicBBB-Medium-J}{} + \DeclareFontShape{JT1}{rml}{m}{n}{<-> s * [0.961] Ryumin-Light-V}{} + \DeclareFontShape{JT1}{rml}{bx}{n}{<-> s * [0.961] GothicBBB-Medium-V}{} +\fi +\DeclareKanjiFamily{JY1}{fma}{} +\DeclareKanjiFamily{JT1}{fma}{} +\if@fake + \DeclareFontShape{JY1}{fma}{m}{n}{<-> s * [0.961] jis}{} + \DeclareFontShape{JY1}{fma}{bx}{n}{<-> s * [0.961] jisg}{} + \DeclareFontShape{JT1}{fma}{m}{n}{<-> s * [0.961] tmin10}{} + \DeclareFontShape{JT1}{fma}{bx}{n}{<-> s * [0.961] tgoth10}{} +\else + \DeclareFontShape{JY1}{fma}{m}{n}{<-> s * [0.961] FutoMinA101-Bold-J}{} + \DeclareFontShape{JY1}{fma}{bx}{n}{<-> s * [0.961] GothicBBB-Medium-J}{} + \DeclareFontShape{JT1}{fma}{m}{n}{<-> s * [0.961] FutoMinA101-Bold-V}{} + \DeclareFontShape{JT1}{fma}{bx}{n}{<-> s * [0.961] FutoGoB101-Bold-V}{} +\fi +\DeclareKanjiFamily{JY1}{gbm}{} +\DeclareKanjiFamily{JT1}{gbm}{} +\if@fake + \DeclareFontShape{JY1}{gbm}{m}{n}{<-> s * [0.961] jisg}{} + \DeclareFontShape{JY1}{gbm}{bx}{n}{<-> s * [0.961] jisg}{} + \DeclareFontShape{JT1}{gbm}{m}{n}{<-> s * [0.961] tgoth10}{} + \DeclareFontShape{JT1}{gbm}{bx}{n}{<-> s * [0.961] tgoth10}{} +\else + \DeclareFontShape{JY1}{gbm}{m}{n}{<-> s * [0.961] GothicBBB-Medium-J}{} + \DeclareFontShape{JY1}{gbm}{bx}{n}{<-> s * [0.961] FutoGoB101-Bold-J}{} + \DeclareFontShape{JT1}{gbm}{m}{n}{<-> s * [0.961] GothicBBB-Medium-V}{} + \DeclareFontShape{JT1}{gbm}{bx}{n}{<-> s * [0.961] FutoGoB101-Bold-V}{} +\fi +\DeclareKanjiFamily{JY1}{jun}{} +\DeclareKanjiFamily{JT1}{jun}{} +\if@fake + \DeclareFontShape{JY1}{jun}{m}{n}{<-> s * [0.961] jisg}{} + \DeclareFontShape{JY1}{jun}{bx}{n}{<->ssub*jun/m/n}{} + \DeclareFontShape{JT1}{jun}{m}{n}{<-> s * [0.961] tgoth10}{} + \DeclareFontShape{JT1}{jun}{bx}{n}{<->ssub*jun/m/n}{} +\else + \DeclareFontShape{JY1}{jun}{m}{n}{<-> s * [0.961] Jun101-Light-J}{} + \DeclareFontShape{JY1}{jun}{bx}{n}{<->ssub*jun/m/n}{} + \DeclareFontShape{JT1}{jun}{m}{n}{<-> s * [0.961] Jun101-Light-V}{} + \DeclareFontShape{JT1}{jun}{bx}{n}{<->ssub*jun/m/n}{} +\fi +\renewcommand{\mcdefault}{rml} +\renewcommand{\gtdefault}{gbm} +\DeclareRobustCommand\sffamily{% + \not@math@alphabet\sffamily\mathsf + \romanfamily\sfdefault + \kanjifamily\gtdefault + \selectfont} +\newcommand{\mgdefault}{jun} +\DeclareRobustCommand\mgfamily{% + \not@math@alphabet\mgfamily\textmg + \kanjifamily\mgdefault + \selectfont} +\DeclareRobustCommand\ttfamily{% + \not@math@alphabet\ttfamily\mathtt + \romanfamily\ttdefault + \kanjifamily\mgdefault + \selectfont} +\DeclareRobustCommand\textmg[1]{% + \relax\ifmmode \expandafter\nfss@text \fi{\mgfamily #1}} +\normalfont\normalsize +\setbox0\hbox{\char\jis"3441}% +\setlength\Cht{\ht0} +\setlength\Cdp{\dp0} +\setlength\Cwd{\wd0} +\setlength\Cvs{\baselineskip} +\setlength\Chs{\wd0} +\setlength\parindent{1\Cwd} +\endinput +%% +%% End of file `morisawa.sty'. -- cgit v1.2.3