Source

sws2tex / .sws2tex_example

Full commit
preamble = """
%
% Use the variable default_preamble from sws2tex file as a skeleton
% and add your customizations like this file below.
%
\documentclass[a4paper]{article}
\usepackage{xcolor,amsmath,graphicx,hyperref}
\usepackage{attachfile}
\usepackage{colortbl}
\usepackage[margin=1in]{geometry}
\usepackage[utf8]{inputenc}
\usepackage{amssymb}
\usepackage{fancyvrb}
\def\sagegraphics#1#2{\includegraphics{sage_worksheet/cells/#1/#2}}

\parindent=0pt

\everymath{\displaystyle}
\setlength{\minrowclearance}{1ex}

\usepackage{eso-pic}
\definecolor{mygreen}{RGB}{10,80,40}

\AddToShipoutPicture{\hbox to \paperwidth{\color{mygreen}\vrule
width 0.5em height\paperheight
\raise 2pt\hbox to \paperwidth{\hss
\hbox to 0 pt{\tiny\hss\color{mygreen}\textrm {Your Name}: Sage worksheet \hss}
\hss \hbox to 0 pt{\hss \tiny Sage worksheet
converted by \href{http://bitbucket.org/whuss/sws2tex/}{\texttt{sws2tex}}\qquad}}}}
"""
lang = "czech"
author = "Your Name"
word_wrap = 1