KTUG 한국 텍 사용자 그룹

Menu

KTUG :: Q&A 마당

trmmarks_outer_only.png

 

\trimmarks에 페이지가 짝수인지 홀수인지 확인하는 부분을 고치는 수밖에 없을 것 같네요.

\makeatletter
\renewcommand*{\trimmarks}{%
  \vbox to \z@{%
    \mem@trimmarks@initial@vskip%
    \vskip\trimtop % top of logical page
    \hb@xt@\z@{%
      \mem@trimmarks@initial@hskip%
      \ifodd\c@page
        \hskip\stockwidth
        \hskip-\trimedge
        \hskip-\paperwidth
        \vbox to \paperheight{%
        \let\protect\relax        % <- v1.4 addition
        \hb@xt@\paperwidth{\trimmarkscolor\tmarktl\hfil}%
        \vfil
        \hb@xt@\paperwidth{\trimmarkscolor\tmarkml\hfil}%
        \vfil
        \hb@xt@\paperwidth{\trimmarkscolor\tmarkbl\hfil}}%
      \else
        \if@twoside
          \hskip\trimedge  % left of logical page
        \else
          \hskip\stockwidth
          \hskip-\trimedge
          \hskip-\paperwidth
        \fi
        \vbox to \paperheight{%
        \let\protect\relax        % <- v1.4 addition
        \hb@xt@\paperwidth{\trimmarkscolor\hfil\tmarktr}%
        \vfil
        \hb@xt@\paperwidth{\trimmarkscolor\hfil\tmarkmr}%
        \vfil
        \hb@xt@\paperwidth{\trimmarkscolor\hfil\tmarkbr}}%
      \fi
      \hss}%
    \vss}}
\makeatother

KTUG 한국 텍 사용자 그룹