20170101 branch
[latex2e.git] / latex2e-20170101 / required / babel / testfiles / tlb3383.lvt
blobceb119b7efa9912b36ea67cde817b1dbb060a2ce
1 \iffalse
2 >Number:         3383
3 >Category:       latex
4 >Synopsis:       something wrong in Babel
5 >Arrival-Date:   Mon Nov 05 05:51:01 CET 2001
6 >Originator:     Nicolae-Alexandru Nicorovici <nicolae@physics.usyd.edu.au>
7 >Description:
8   This file is to prove that user level shorthands do work.
9 \fi
11 \input{test2e}
13 \documentclass[romanian,12pt]{book}
15 \START
16 \FORMAT{LaTeX2e<2000/06/01>}
17 \CLASS[romanian,12pt]{book}
18 \AUTHOR{nicolae@physics.usyd.edu.au}
19 \PACKAGE{babel}
20 \showboxbreadth=50
21 \showboxdepth=50
22 \def\testit#1{%
23   \setbox0=\hbox{#1}\showbox0}
24 \OMIT
25 \usepackage{babel}
27  % Shorthand Definitions
28 \useshorthands{|}
29 \defineshorthand{|a}{\^{a}}
30 \defineshorthand{|i}{\^{\i}}
31 \defineshorthand{|s}{\c{s}}
32 \defineshorthand{|t}{\c{t}}
33 \useshorthands{&}
34 \defineshorthand{&a}{\u{a}}
36 \begin{document}
37 \TIMO
38  % New Commands
39 \newcommand{\si}{|si }
41 \testit{   |a  |i  |s  |t  &a  \si}
42 \end{document}