From 60c1b9387cd98b3ba875bddb13c86e9e090cb1f1 Mon Sep 17 00:00:00 2001
From: Patrick Simianer <p@simianer.de>
Date: Sun, 10 Aug 2014 12:21:13 +0100
Subject: init

---
 templates/latex/word-alignment-ibm.tex | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 templates/latex/word-alignment-ibm.tex

(limited to 'templates/latex/word-alignment-ibm.tex')

diff --git a/templates/latex/word-alignment-ibm.tex b/templates/latex/word-alignment-ibm.tex
new file mode 100644
index 0000000..dac5d6a
--- /dev/null
+++ b/templates/latex/word-alignment-ibm.tex
@@ -0,0 +1,24 @@
+\documentclass{article}
+\usepackage{pst-node}
+\def\W#1#2{\rnode{#1}{#2}\hfill}
+\begin{document}
+
+\W{a}{The} \W{b}{proposal} \W{c}{will} \W{d}{not} \W{e}{now} \W{f}{be} \W{g}{implemented}
+
+\vspace{4cm}
+\W{A}{Les} \W{B}{propositions} \W{C}{nes} \W{D}{seront} \W{E}{pas} \W{F}{mises} \W{G}{en}
+ \W{H}{application} \W{I}{maintenant}
+\psset{nodesep=5pt}
+\ncline{a}{A}\ncline{b}{B}
+\ncline{c}{D}
+\ncdiag[border=4pt,angleA=-90,angleB=90,arm=5mm]{d}{C}
+\ncput[npos=1.5]{\rnode{dC}{}}
+\ncdiag[nodesepA=0pt,armB=5mm,angleA=-55,angleB=90]{dC}{E}
+\ncdiag[angleA=-90,angleB=90,arm=5mm]{e}{I}
+\ncdiag[border=4pt,angleA=-90,angleB=90,arm=5mm]{g}{F}
+\ncput[npos=1.8]{\rnode{gF}{}}
+\ncdiag[nodesepA=0pt,armB=5mm,angleA=-75,angleB=90]{gF}{G}
+\ncdiag[nodesepA=0pt,armB=5mm,angleA=-20,angleB=90]{gF}{H}
+\ncdiagg[angleA=-90,angleB=90,nodesepB=7mm]{f}{f}
+
+\end{document}
-- 
cgit v1.2.3

