diff options
author | Karl Berry <karl@freefriends.org> | 2013-03-11 23:31:14 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2013-03-11 23:31:14 +0000 |
commit | 6dbb8dfbb59d7e98e7addb0feae7ff9306c49b0e (patch) | |
tree | c932e8a7b7f6af17c8f9ad2ff67214b61fb17398 /Master/texmf-dist/doc/latex/poetrytex/poetrytex-style.sty | |
parent | 240300000e086212731e8d3698d2503a69179681 (diff) |
poetrytex (10mar13)
git-svn-id: svn://tug.org/texlive/trunk@29347 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/poetrytex/poetrytex-style.sty')
-rw-r--r-- | Master/texmf-dist/doc/latex/poetrytex/poetrytex-style.sty | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/poetrytex/poetrytex-style.sty b/Master/texmf-dist/doc/latex/poetrytex/poetrytex-style.sty new file mode 100644 index 00000000000..5ea7960520c --- /dev/null +++ b/Master/texmf-dist/doc/latex/poetrytex/poetrytex-style.sty @@ -0,0 +1,73 @@ +%% +%% This is file `poetrytex-style.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% poetrytex.dtx (with options: `doc-style') +%% +%% Copyright 2012 Samuel Whited +%% +%% This file may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either +%% version 1.3c of this license or (at your option) any later +%% version. The latest version of this license is in: +%% +%% http://www.latex-project.org/lppl.txt +%% +%% and version 1.3c or later is part of all distributions of +%% LaTeX version 2008/05/04 or later. +%% +\ProvidesPackage{poetrytex-style} + +\usepackage{fancyvrb,hologo,framed,multicol,tipa,url} +\usepackage[pdfborder=0, bookmarks, colorlinks=false, hidelinks]{hyperref} +\usepackage[parfill]{parskip} + +\fvset{gobble=2} + +\newenvironment{Example}{% + \begingroup\setlength{\columnseprule}{.4pt} + \begin{minipage}{\textwidth} + \begin{multicols}{2} +}{ + \end{multicols} + \end{minipage} + \endgroup +} + +\newcommand*{\gitdescribe}{% + \immediate\write18{% + rm gitdescribe.tex 2> /dev/null; (git describe --tags --dirty ||% + echo "v0.0") 2> /dev/null > gitdescribe.tex + }% + \InputIfFileExists{gitdescribe.tex}{}{}\unskip% + \immediate\write18{% + rm gitdescribe.tex 2> /dev/null + }% +} + +\newcommand\XeTeX{\hologo{XeTeX}} +\newcommand\XeLaTeX{\hologo{XeLaTeX}} +\newcommand\LuaTeX{\hologo{LuaTeX}} +\newcommand\LuaLaTeX{\hologo{LuaLaTeX}} + +\newcommand*\name[1]{\textsc{#1}} +\newcommand*\fname[1]{\textsf{#1}} +\newcommand*\pkg[1]{\textsf{#1}} +\newcommand*\code[1]{\texttt{#1}} + +\renewcommand\partname{Part} +%% +%% ___________ +%% Maintainer: Sam Whited +%% Website: https://samwhited.com +%% Contact: sam@samwhited.com +%% Public key: 0xEC2C9934 +%% +%% This work consists of this file poetrytex.dtx +%% and the derived files poetrytex.sty +%% and poetrytex.pdf +%% +%% +%% End of file `poetrytex-style.sty'. |