blob: 2aaa9d6eed861516306d365940f8eed98f8a2865 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
%
% lltjp-fontspec.sty
%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{lltjp-fontspec}[2016/10/12 Patch to fontspec for LuaTeX-ja]
\RequirePackage{fontspec,luatexja}
\ExplSyntaxOn
\cs_set:Nn \fontspec_visible_space:
{
\font_glyph_if_exist:NnTF \font {"2423}
{ \ltjalchar"2423\scan_stop: }
{ \fontspec_visible_space_fallback: }
}
\def\verb
{
\relax\ifmmode\hbox\else\leavevmode\fi % same as lltjcore
\bgroup
\verb@eol@error \let\do\@makeother \dospecials
\verbatim@font\@noligs
\@ifstar\__fontspecsverb\@verb
}
%%%%%%%% shapes in \em
\cs_set:Npn \emshape { \gtfamily \itshape }
\cs_set:Npn \eminnershape { \mcfamily \upshape }
\ExplSyntaxOff
\endinput
|