marketing

Marketing materials (presentations, posters, flyers)
Log | Files | Refs

tc-xetex.def (1518B)


      1 %% Copyright (C) 2011-2012 by Martin Scharrer <martin@scharrer-online.de>
      2 %% ----------------------------------------------------------------------
      3 %% This work may be distributed and/or modified under the
      4 %% conditions of the LaTeX Project Public License, either version 1.3
      5 %% of this license or (at your option) any later version.
      6 %% The latest version of this license is in
      7 %%   http://www.latex-project.org/lppl.txt
      8 %% and version 1.3 or later is part of all distributions of LaTeX
      9 %% version 2005/12/01 or later.
     10 %%
     11 %% This work has the LPPL maintenance status `maintained'.
     12 %%
     13 %% The Current Maintainer of this work is Martin Scharrer.
     14 %%
     15 %% This work consists of the files trimclip.dtx, adjustbox.ins
     16 %% and the derived files trimclip.sty,
     17 %% tc-dvips.def, tc-pdftex.def, tc-pgf.def and tc-xetex.def.
     18 %% Further author information are located in the .def files.
     19 %%
     20 \ProvidesFile{tc-xetex.def}[2012/05/13 v1.0 Clipping driver for xetex]
     21 \def\@cliptoboxdim#1{%
     22     \setbox#1=\hbox{%
     23         \Gin@defaultbp\WIDTH{\wd#1}%
     24         \Gin@defaultbp\DEPTH{\dp#1}%
     25         \@tempdima\ht#1%
     26         \advance\@tempdima\dp#1%
     27         \Gin@defaultbp\TOTALHEIGHT{\@tempdima}%
     28         \special{pdf:bcontent }%
     29         \special{%
     30             pdf:literal direct
     31                 0 -\DEPTH\space \WIDTH\space \TOTALHEIGHT\space re
     32         }%
     33         \special{pdf:literal direct W }%
     34         \special{pdf:literal direct n }%
     35             \box#1%
     36         \special{pdf:econtent }%
     37     }%
     38 }
     39 \endinput
     40 %%
     41 %% End of file `tc-xetex.def'.