File: graphicx.plt

package info (click to toggle)
tralics 2.14.4-2
  • links: PTS
  • area: main
  • in suites: bullseye, buster, jessie, jessie-kfreebsd, sid, stretch, wheezy
  • size: 17,152 kB
  • ctags: 8,260
  • sloc: cpp: 49,403; xml: 18,145; sh: 140; makefile: 118
file content (29 lines) | stat: -rw-r--r-- 941 bytes parent folder | download
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
%%%  -*- latex -*-
\ProvidesPackage{graphicx}[2008/11/06 v1.0  Enhanced Graphics in Tralics]


%% $Id: graphicx.plt,v 2.1 2008/11/13 14:13:38 grimm Exp $
%% TRALICS, copyright (C) INRIA/apics (Jose' Grimm) 2008
%% Licensed under the CeCILL free software license 
%% (See the file COPYING in the main directory for details)

\DeclareOption{unknownkeysallowed} {}
\DeclareOption*{\PassOptionsToPackage\CurrentOption{graphics}}
\ProcessOptions
\RequirePackage{graphics}

\@ifundefined{setkeys}{\RequirePackage{keyval}}{}

\define@key{Grot}{origin}[c]{\XMLaddatt{origin}{#1}}
\define@key{Grot}{x}{\setlength\dimen@{#1}{\XMLaddatt{x}{\the\dimen@}}}
\define@key{Grot}{y}{\setlength\dimen@{#1}{\XMLaddatt{y}{\the\dimen@}}}
\define@key{Grot}{units}{\XMLaddatt{units}{#1}}

\let\@orig@rotatebox\rotatebox
\def\rotatebox{\@ifnextchar[\Grot@box@kv\@orig@rotatebox}


\def\Grot@box@kv[#1]#2#3{%
  \@orig@rotatebox{#2}{\setkeys{Grot}{#1}#3}}%

\endinput