summaryrefslogtreecommitdiff
path: root/info/examples/ltt/textarr.tex
diff options
context:
space:
mode:
Diffstat (limited to 'info/examples/ltt/textarr.tex')
-rw-r--r--info/examples/ltt/textarr.tex18
1 files changed, 18 insertions, 0 deletions
diff --git a/info/examples/ltt/textarr.tex b/info/examples/ltt/textarr.tex
new file mode 100644
index 0000000000..e655b9d2dd
--- /dev/null
+++ b/info/examples/ltt/textarr.tex
@@ -0,0 +1,18 @@
+\documentclass[a4paper,12pt]{report}
+\makeatletter
+\newcommand{\textarrow}[2][1]
+ { \settowidth{\@tempdima}{#2}
+ \stackrel{#2}
+ {\makebox[#1\@tempdima][l]{\rightarrowfill}}
+ }
+\makeatother
+
+\begin{document}
+
+
+\begin{eqnarray*}
+ y = f(x) & \textarrow[1.5]{Transformation} & Y = F(X)\\
+ y = f(x) & \textarrow{\ensuremath{x\mapsto X}} & Y = F(X)
+\end{eqnarray*}
+
+\end{document}