|
1660 | 1660 | \bibliographystyle{gbt7714-numerical}
|
1661 | 1661 | % \end{macrocode}
|
1662 | 1662 | %
|
1663 |
| -% \changes{v0.7c}{2019/02/08}{修改宏包手册主要字体。} |
| 1663 | +% \changes{v0.7c}{2019/02/08}{[\pkg{fdudoc}] 修改宏包手册主要字体。} |
| 1664 | +% \changes{v0.9}{2023/02/18}{[\pkg{fdudoc}] 更新宏包手册字体。} |
1664 | 1665 | %
|
1665 | 1666 | % 西文字体。为兼容 macOS,系统字体需使用字体名,而 \TeXLive{}
|
1666 | 1667 | % 中的字体需使用文件名。
|
|
1678 | 1679 | BoldFont = *-Bold,
|
1679 | 1680 | ItalicFont = *-Italic,
|
1680 | 1681 | BoldItalicFont = *-BoldItalic]
|
1681 |
| -\setmonofont{Iosevka Slab}[ |
1682 |
| - UprightFont = * Light, |
1683 |
| - BoldFont = * Semibold, |
1684 |
| - ItalicFont = * Light Oblique, |
1685 |
| - BoldItalicFont = * Semibold Oblique, |
1686 |
| - Scale = MatchLowercase] |
| 1682 | +\setmonofont{lmmonolt10}[ |
| 1683 | + Extension = .otf, |
| 1684 | + UprightFont = *-regular, |
| 1685 | + BoldFont = *-bold, |
| 1686 | + ItalicFont = *-oblique, |
| 1687 | + BoldItalicFont = *-boldoblique] |
1687 | 1688 | \setmathfont{LibertinusMath-Regular.otf}
|
1688 | 1689 | % \end{macrocode}
|
1689 | 1690 | %
|
1690 | 1691 | % 中文字体。
|
1691 | 1692 | % \begin{macrocode}
|
1692 |
| -\setCJKmainfont{Source Han Serif SC}[ |
1693 |
| - ItalicFont = FZKai-Z03, |
1694 |
| - CharacterWidth = Full] |
1695 |
| -\setCJKsansfont{Source Han Sans SC}[ |
1696 |
| - ItalicFont = *, |
1697 |
| - CharacterWidth = Full] |
1698 |
| -\setCJKmonofont{Source Han Sans SC}[ |
1699 |
| - UprightFont = * Normal, |
1700 |
| - BoldFont = * Bold, |
1701 |
| - AutoFakeSlant = 0.1763, % = tan(10 deg) |
1702 |
| - Scale = 0.8903, |
1703 |
| - CharacterWidth = Full] |
| 1693 | +\setCJKmainfont{SourceHanSerifSC}[ |
| 1694 | + Extension = .otf, |
| 1695 | + UprightFont = *-Regular, |
| 1696 | + BoldFont = *-Bold, |
| 1697 | + ItalicFont = FandolKai-Regular, |
| 1698 | + UprightFeatures = { CharacterWidth = Full }, |
| 1699 | + BoldFeatures = { CharacterWidth = Full }] |
| 1700 | +\setCJKsansfont{SourceHanSansSC}[ |
| 1701 | + Extension = .otf, |
| 1702 | + UprightFont = *-Regular, |
| 1703 | + BoldFont = *-Bold, |
| 1704 | + CharacterWidth = Full] |
| 1705 | +\setCJKmonofont{SourceHanSansSC}[ |
| 1706 | + Extension = .otf, |
| 1707 | + UprightFont = *-Normal, |
| 1708 | + BoldFont = *-Bold, |
| 1709 | + AutoFakeSlant = 0.1763, % = tan(10 deg) |
| 1710 | + Scale = 0.9, |
| 1711 | + CharacterWidth = Full] |
1704 | 1712 | % \end{macrocode}
|
1705 | 1713 | %
|
1706 | 1714 | % 版式排版格式。
|
|
1971 | 1979 | % \begin{macro}[int]{style@base}
|
1972 | 1980 | % \begin{macrocode}
|
1973 | 1981 | \lstdefinestyle{style@base}{
|
1974 |
| - basewidth = 0.5 em, |
| 1982 | + basewidth = 0.525 em, |
1975 | 1983 | gobble = 3,
|
1976 | 1984 | lineskip = 2 pt,
|
1977 | 1985 | frame = l,
|
|
2016 | 2024 | % \begin{macro}[int]{style@syntax}
|
2017 | 2025 | % \begin{macrocode}
|
2018 | 2026 | \lstdefinestyle{style@syntax}{
|
2019 |
| - basewidth = 0.5 em, |
2020 |
| - gobble = 6, |
2021 |
| - escapeinside = {(*}{*)}, |
2022 |
| - language = [LaTeX]TeX, |
2023 |
| - alsoletter = {*, -}, |
2024 |
| - basicstyle = \footnotesize\ttfamily\color{MaterialGrey900}, |
2025 |
| - keywordstyle = \bfseries\color{MaterialIndigo}, |
2026 |
| - commentstyle = \itshape\color{MaterialGrey600}, |
2027 |
| - texcsstyle = *\color{MaterialDeepOrange}, |
2028 |
| - emphstyle = [1]\color{MaterialGreen800}, |
2029 |
| - emphstyle = [2]\color{MaterialTeal} |
| 2027 | + basewidth = 0.525 em, |
| 2028 | + gobble = 6, |
| 2029 | + escapeinside = {(*}{*)}, |
| 2030 | + language = [LaTeX]TeX, |
| 2031 | + alsoletter = {*, -}, |
| 2032 | + basicstyle = \footnotesize\ttfamily\color{MaterialGrey900}, |
| 2033 | + keywordstyle = \bfseries\color{MaterialIndigo}, |
| 2034 | + commentstyle = \itshape\color{MaterialGrey600}, |
| 2035 | + texcsstyle = *\color{MaterialDeepOrange}, |
| 2036 | + emphstyle = [1]\color{MaterialGreen800}, |
| 2037 | + emphstyle = [2]\color{MaterialTeal} |
2030 | 2038 | }
|
2031 | 2039 | % \end{macrocode}
|
2032 | 2040 | % \end{macro}
|
|
0 commit comments