diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/vntex/varioref-vi.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/vntex/varioref-vi.sty | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/vntex/varioref-vi.sty b/Master/texmf-dist/tex/latex/vntex/varioref-vi.sty new file mode 100644 index 00000000000..414c360918a --- /dev/null +++ b/Master/texmf-dist/tex/latex/vntex/varioref-vi.sty @@ -0,0 +1,35 @@ +\ProvidesPackage{varioref-vi}[2005/04/09 v1.2 Vietnamese support for +varioref] + +% This work may be distributed and/or modified under the conditions of +% the GNU LESSER GENERAL PUBLIC LICENSE, either Version 2.1 of this +% license or (at your option) any later version. The latest version +% of this license is in +% http://www.gnu.org/licenses/lgpl.txt + +% This package is maintained by KyAnh <kyanh@o2.pl> + +\def\@varioref@vi{\def\reftextfaceafter{% + \h{\ohorn} trang \reftextvario{\dj\'\ocircumflex{}i + di\d{\ecircumflex}n}{k\'\ecircumflex{} ti\'\ecircumflex{}p}}% + \def\reftextfacebefore{% + \h{\ohorn} trang \reftextvario{\dj{}\'\ocircumflex{}i + di\d{\ecircumflex}n}{k\'\ecircumflex{} tr\uhorn\'\ohorn{}c}}% + \def\reftextafter{\h{\ohorn} trang + \reftextvario{li\`\ecircumflex{}n sau}{sau}}% + \def\reftextbefore{\h{\ohorn} trang + \reftextvario{li\`\ecircumflex{}n + tr\uhorn\'\ohorn{}c}{tr\uhorn\'\ohorn{}c}}% + \def\reftextcurrent{\h{\ohorn} trang + \reftextvario{n\`ay}{hi\d{\ecircumflex}n t\d{a}i}}% + \def\reftextfaraway##1{\h{\ohorn} trang~\pageref{##1}}% + \def\reftextpagerange##1##2{\h\ohorn c\'ac trang + \pageref{##1}--\pageref{##2}}% + \def\reftextlabelrange##1##2{\ref{##1} \dj\'\ecircumflex{}n \ref{##2}}% +} + +\@ifundefined{extrasvietnam} + {\AtBeginDocument{\@varioref@vi}} + {\addto\extrasvietnam{\@varioref@vi}} + +%%EOF |