summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-common/oblivoir-misc.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-common/oblivoir-misc.sty')
-rw-r--r--Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-common/oblivoir-misc.sty17
1 files changed, 15 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-common/oblivoir-misc.sty b/Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-common/oblivoir-misc.sty
index ed31c8fe3be..9712b947b74 100644
--- a/Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-common/oblivoir-misc.sty
+++ b/Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-common/oblivoir-misc.sty
@@ -1,12 +1,13 @@
%% file oblivoir-misc.sty
%% part of oblivoir class
%%
-%% (c) 2022 Kangsoo Kim
+%% (c) 2022-2023 Kangsoo Kim
%%
%% 2022-03-01, 03-06
%% 2022-04-07, bugfix
+%% 2023-02-14, tikzpagenodes-conflict fixed
%%
-\ProvidesPackage{oblivoir-misc}[2022/04/07 version0.3]
+\ProvidesPackage{oblivoir-misc}[2023/02/14 version0.4]
\RequirePackage{etoolbox}
@@ -38,6 +39,17 @@
}{}
}
+
+%%% showtrims and tikzpagenode
+%%% http://www.ktug.org/xe/index.php?mid=KTUG_open_board&document_srl=229299
+\AtEndPreamble{
+ \ifshowtrims
+ \@ifpackageloaded{tikzpagenodes}{%
+ \def\current@textarea@top{(\paperheight-\textheight-\lowermargin-\trimtop)}}{}
+ \fi
+}
+
+
%%% \texthl
%%% from oblivoir-patch2.sty, 2021
%%% \texthl command
@@ -120,4 +132,5 @@
}
\ExplSyntaxOff
+
\endinput