fixed latex example

pull/18/head
Art Wild 2014-12-08 12:51:05 -05:00
parent 075b11ee49
commit b2d9f19368
2 changed files with 7 additions and 12 deletions

View File

@ -1,11 +0,0 @@
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{Jweave}{}
\RequirePackage[utf8]{inputenc}
\RequirePackage{textgreek}
\RequirePackage{graphicx}
\RequirePackage{fancyvrb,textcomp}
\DefineVerbatimEnvironment{juliain}{Verbatim}{fontshape=sl}
\DefineVerbatimEnvironment{juliaout}{Verbatim}{}
\DefineVerbatimEnvironment{juliacode}{Verbatim}{fontshape=sl}

View File

@ -1,6 +1,12 @@
\documentclass[12pt]{article}
\usepackage[utf8]{inputenc}
\usepackage{textgreek}
\usepackage{graphicx}
\usepackage{fancyvrb}
\usepackage{hyperref}
\usepackage{Jweave} % Required to convert custom envs: juliacode & juliaout
\DefineVerbatimEnvironment{juliaout}{Verbatim}{}
\DefineVerbatimEnvironment{juliacode}{Verbatim}{fontshape=sl}
\title{Introduction to Julia Weave}