This file is indexed.

/usr/share/perl5/LaTeXML/Package/rotate.sty.ltxml is in latexml 0.8.2-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# -*- mode: Perl -*-
# /=====================================================================\ #
# |  rotate                                                             | #
# | Implementation for LaTeXML                                          | #
# |=====================================================================| #
# | Part of LaTeXML:                                                    | #
# |  Public domain software, produced as part of work done by the       | #
# |  United States Government & not subject to copyright in the US.     | #
# |---------------------------------------------------------------------| #
# | Bruce Miller <bruce.miller@nist.gov>                        #_#     | #
# | http://dlmf.nist.gov/LaTeXML/                              (o o)    | #
# \=========================================================ooo==U==ooo=/ #
package LaTeXML::Package::Pool;
use strict;
use warnings;
use LaTeXML::Package;

#======================================================================
RequirePackage('graphicx');

# l=left, r=right, u=upsidedown, f=flip
# \rotate[l]{stuff}
DefConstructor('\rotate Optional:l Digested',
  "<ltx:inline-block angle='#angle' width='#width' height='#height' depth='#depth'"
    . " innerwidth='#innerwidth' innerheight='#innerheight' innerdepth='#innerdepth'"
    . " xscale='#xscale' yscale='#yscale'"
    . " xtranslate='#xtranslate' ytranslate='#ytranslate'>"
    . "#2"
    . "</ltx:inline-block>",
  properties => sub {
    my ($stomach, $rot, $box) = @_;
    $rot = ToString($rot) || 'l';
    if ($rot eq 'l') {
      rotatedProperties($box, -90); }
    elsif ($rot eq 'r') {
      rotatedProperties($box, 90); }
    else {
      my $xscale = 1;
      my $yscale = 1;
      if   ($rot eq 'u') { $yscale = -1; }
      else               { $xscale = -1; }
      my ($w, $h, $d) = $box->getSize;
      return () unless $w;
      (width => $w,    #$w->multiply($xscale),
        height => $h->multiply($yscale),
        depth  => $d->multiply($yscale),
        xscale => $xscale,
        yscale => $yscale,
        #        xtranslate => $w->multiply((1 - $xscale) / 2),
        ytranslate => $h->add($d)->multiply(($yscale - 1) / 2)); } },

  mode => 'text');
#======================================================================
1;