Created
March 1, 2012 05:28
-
-
Save SamWhited/1947524 to your computer and use it in GitHub Desktop.
PoeTeX: an /ɪɡˈzɑːmpəl/ poem by Sam Whited
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% !TEX TS-program = xelatex | |
% !TEX encoding = UTF-8 | |
\documentclass[a4paper,11pt]{article} | |
% Use [PoetryTeX](http://samwhited.github.com/poetrytex/). | |
\usepackage{fontspec,poetrytex} | |
% Use a different font for IPA. | |
\newfontfamily\ipa{Charis SIL} | |
% Change the indentation length. | |
\setlength{\ptgap}{1.7em} | |
\begin{document} | |
\thispagestyle{empty} | |
\begin{poem}{PoE\TeX}{An {\ipa /ɪɡˈzɑːmpəl/} poem} | |
There once was a poem called PoE\TeX\\* | |
That's name sounded somewhat {\ipa /pəˈθɛtɛk/}.\\* | |
\ptind It was really quite sad,\\* | |
\ptind to see pronunciation so bad,\\* | |
And to read such a terrible {\ipa /ˈlɪme(ə)rɛk/}! | |
\end{poem} | |
\end{document} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% !TEX TS-program = pdflatex | |
% !TEX encoding = UTF-8 | |
\documentclass[a4paper,11pt]{article} | |
% Use [PoetryTeX](http://samwhited.github.com/poetrytex/). | |
\usepackage{tipa,poetrytex} | |
% Change the indentation length. | |
\setlength{\ptgap}{1.7em} | |
\begin{document} | |
\thispagestyle{empty} | |
\begin{poem}{PoE\TeX}{An {\tipaencoding /Ig"zA:mp@l/} poem} | |
There once was a poem called PoE\TeX\\* | |
That's name sounded somewhat {\tipaencoding /p@"TEtEk/}.\\* | |
\ptind It was really quite sad,\\* | |
\ptind to see pronunciation so bad,\\* | |
And to read such a terrible {\tipaencoding /"lIme(@)rEk/}! | |
\end{poem} | |
\end{document} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment