Skip to content

Commit

Permalink
Sync with SJTUTeX
Browse files Browse the repository at this point in the history
* Update to version 2.0
  • Loading branch information
AlexaraWu committed Mar 29, 2023
1 parent badfdd2 commit 0e8da8d
Show file tree
Hide file tree
Showing 61 changed files with 3,407 additions and 2,564 deletions.
63 changes: 0 additions & 63 deletions texmf/tex/latex/sjtutex/config/sjtu-lang-article-en.cfg

This file was deleted.

80 changes: 0 additions & 80 deletions texmf/tex/latex/sjtutex/config/sjtu-lang-article-zh.cfg

This file was deleted.

85 changes: 0 additions & 85 deletions texmf/tex/latex/sjtutex/config/sjtu-lang-report-zh.cfg

This file was deleted.

91 changes: 0 additions & 91 deletions texmf/tex/latex/sjtutex/config/sjtu-lang-thesis-zh.cfg

This file was deleted.

69 changes: 69 additions & 0 deletions texmf/tex/latex/sjtutex/fd/sjtu-cjk-font-adobe-ja.def
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
%%
%% This is file `sjtu-cjk-font-adobe-ja.def',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% sjtutex.dtx (with options: `font,cjk,adobe,ja')
%%
%% Copyright (C) SJTUG
%% 2018--2023 Alexara Wu <[email protected]>
%% 2022--2023 Log Creative <[email protected]>
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either
%% version 1.3c of this license or (at your option) any later
%% version. The latest version of this license is in:
%%
%% http://www.latex-project.org/lppl.txt
%%
%% and version 1.3 or later is part of all distributions of
%% LaTeX version 2005/12/01 or later.
%%
%% This work has the LPPL maintenance status `maintained'.
%%
%% The Current Maintainers of this work are Alexara Wu and Log Creative.
%%
\GetIdInfo $Id: sjtutex.dtx 2.0 2023-03-29 23:00:00Z Alexara Wu <[email protected]> $
{Adobe CJK fonts definition for Japanese (SJTUTeX)}
\ProvidesExplFile{sjtu-cjk-font-adobe-ja.def}
{\ExplFileDate}{\ExplFileVersion}{\ExplFileDescription}
\__sjtu_fontset_case:nn
{ \__sjtu_fontset_error:nn { cjk } { adobe } }
{
\setCJKmainfont { Kozuka~Mincho~Pr6N }
[
UprightFont = *~L ,
BoldFont = *~B
]
\setCJKsansfont { Kozuka~Gothic~Pr6N }
[
UprightFont = *~M ,
BoldFont = *~B
]
\setCJKmonofont { Kozuka~Gothic~Pr6N }
\setCJKfamilyfont { jamin } { Kozuka~Mincho~Pr6N }
[
UprightFont = *~L ,
BoldFont = *~B
]
\setCJKfamilyfont { jagoth } { Kozuka~Gothic~Pr6N }
[
UprightFont = *~M ,
BoldFont = *~B
]
\setCJKfamilyfont { zhsong } { AdobeSongStd-Light }
[ AutoFakeBold = 3 , ItalicFont = AdobeKaitiStd-Regular ]
\setCJKfamilyfont { zhhei } { AdobeHeitiStd-Regular } [ AutoFakeBold = 3 ]
\setCJKfamilyfont { zhfs } { AdobeFangsongStd-Regular }
\setCJKfamilyfont { zhkai } { AdobeKaitiStd-Regular }
}
\NewDocumentCommand \songti { } { \CJKfamily { zhsong } }
\NewDocumentCommand \heiti { } { \CJKfamily { zhhei } }
\NewDocumentCommand \fangsong { } { \CJKfamily { zhfs } }
\NewDocumentCommand \kaishu { } { \CJKfamily { zhkai } }
\NewDocumentCommand \mincho { } { \CJKfamily { jamin } }
\NewDocumentCommand \gothic { } { \CJKfamily { jagoth } }
\endinput
%%
%% End of file `sjtu-cjk-font-adobe-ja.def'.
Loading

0 comments on commit 0e8da8d

Please sign in to comment.