/usr/share/polymake/resources/template.tex is in polymake-common 3.2r2-3.
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 | % polymake LaTeX template for sketch output
% Copyright (c) 1997-2018
% Ewgenij Gawrilow, Michael Joswig (Technische Universitaet Berlin, Germany)
% http://www.polymake.org
\documentclass[12pt]{article}
\usepackage[x11names,rgb]{xcolor}
\usepackage{tikz}
\usepackage{ifthen}
\usepackage{amsmath}
\usetikzlibrary{snakes}
\usetikzlibrary{arrows}
\usetikzlibrary{shapes}
\usetikzlibrary{backgrounds}
\pagestyle{empty}
\usepackage[papersize={640pt, 480pt}, margin=0pt, marginratio=1:1]{geometry}
\newsavebox{\sketchoutput}
\savebox{\sketchoutput}{
%%SKETCH_OUTPUT%%
}
\newlength{\scaledwidth}
\settowidth{\scaledwidth}{\resizebox{!}{400pt}{\usebox{\sketchoutput}}}
\begin{document}
\rlap{\smash{\raisebox{-2.5\baselineskip}{\includegraphics[height=3\baselineskip]{pmlogo.png}} }}%
\vspace*{37.5pt}
\centering
\ifthenelse{\lengthtest{\scaledwidth < 500pt}}{
\resizebox{!}{400pt}{\usebox{\sketchoutput}}
}{
\resizebox{500pt}{!}{\usebox{\sketchoutput}}
}
\end{document}
|