Unterstützung #195 » 0001-LaTeX-soulutf8-Paket-anstatt-ulem-nutzen.patch
SL/Template/LaTeX.pm | ||
---|---|---|
54 | 54 |
'</i>' => "}", |
55 | 55 |
'<em>' => "\\textit{", |
56 | 56 |
'</em>' => "}", |
57 |
'<u>' => "\\underline{",
|
|
57 |
'<u>' => "\\ul{",
|
|
58 | 58 |
'</u>' => "}", |
59 | 59 |
'<s>' => "\\sout{", |
60 | 60 |
'</s>' => "}", |
... | ... | |
405 | 405 |
: defined($last_usepackage_line) ? $last_usepackage_line |
406 | 406 |
: scalar @{ $lines } - 1; |
407 | 407 | |
408 |
foreach my $package (qw(textcomp ulem)) {
|
|
408 |
foreach my $package (qw(textcomp soulutf8)) {
|
|
409 | 409 |
next if $used_packages{$package}; |
410 | 410 |
splice @{ $lines }, $insertion_point, 0, "\\usepackage{${package}}\n"; |
411 | 411 |
$insertion_point++; |
SL/Template/Plugin/KiviLatex.pm | ||
---|---|---|
77 | 77 |
my ($self) = @_; |
78 | 78 | |
79 | 79 |
return <<EOLATEX; |
80 |
\\usepackage{ulem}
|
|
80 |
\\usepackage{soulutf8}
|
|
81 | 81 |
EOLATEX |
82 | 82 |
} |
83 | 83 | |
84 |
- |