diff options
author | Karl Berry <karl@freefriends.org> | 2020-07-29 21:33:43 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-07-29 21:33:43 +0000 |
commit | ba9765989cdf7729cd58417d41092eeb6f152eaa (patch) | |
tree | 5f8f7272cbd251b8d4caac788a8565c216944a15 /Master/texmf-dist/doc/latex/clefval/example-utf8.tex | |
parent | bcc14926db4eaff495f6ba1336bdf674c54bbdb1 (diff) |
clefval (29jul20)
git-svn-id: svn://tug.org/texlive/trunk@55985 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/clefval/example-utf8.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/clefval/example-utf8.tex | 101 |
1 files changed, 101 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/clefval/example-utf8.tex b/Master/texmf-dist/doc/latex/clefval/example-utf8.tex new file mode 100644 index 00000000000..7e39691afc4 --- /dev/null +++ b/Master/texmf-dist/doc/latex/clefval/example-utf8.tex @@ -0,0 +1,101 @@ +% Time-stamp: <2020-07-29 12:47:56 administrateur> +% Création : 2020-07-28T12:21:18+0200 +%% ========================================================================= +%% Part of the `clefval' package. +%% Ce fichier fait partie de l'extension « clefval » +%% +%% 2020-07-27; v0.1 +%% +%% Copyright (C) 2004, 2020 by Yvon Henel Le TeXnicien de surface +%% <le.texnicien.de.surface@yvon-henel.fr> +%% +%% This file may be distributed and/or modified under the conditions of +%% the LaTeX Project Public License, either version 1.3c of this license +%% or (at your option) any later version. The latest version of this +%% license is in: +%% +%% http://www.latex-project.org/lppl.txt +%% ======================================================================== +\documentclass{article} +\usepackage{clefval} +\usepackage{iftex} +\usepackage[french,main=english]{babel} + +\ifpdftex +\else +\usepackage{fontspec} +\setmainfont{DejaVu Serif} +\setsansfont{DejaVu Sans} +\setmonofont{DejaVu Sans Mono} +\fi + +\TheKey{j}{Joe} +\TheKey{éçà@§}{bizarre} +\TheKey{Разбрах}{in bulgarian: Благодаря за помощта} + +\begin{document} +\bgroup +\setlength{\parindent}{0pt} +\noindent\hrulefill +\vspace{0.5\baselineskip} + +\textbf{English} + +Cast a glance to the source to see some examples of \textbf{clefval} +usage. + +This file can be processed with \texttt{pdflatex}, \texttt{lualatex} +or \texttt{xelatex}. + +\vspace{0.5\baselineskip} +\noindent\hrulefill +\vspace{0.5\baselineskip} + +\begin{otherlanguage}{french} + \textbf{Français} + + Jetez un œil sur le source pour voir quelques exemples d'utilisation + de \textbf{clefval}. + + On peut compiler ce document avec \texttt{pdflatex}, \texttt{lualatex} + ou \texttt{xelatex}. +\end{otherlanguage} + +\vspace{0.5\baselineskip} +\noindent\hrulefill +\egroup + +\vspace{\baselineskip} + +\(\ast\)\TheKey{}{void key}% +% without the `%' character there's a spurious blank +% sans le caractère « % » un espace superflu apparait +\TheKey{Chip and Dale}{two anthropomorphic \emph{chipmunk} brothers}\(\ast\) + +\TheValue{j} + +\TheValue{k} + +\TheValue{éçà@§} + +\ifpdftex \else \TheValue{Разбрах} \fi +% pdflatex doesn't know what to do with that key ;) +% pdflatex ne sait pas quoi faire de cette clé ;) + +\TheValue{} + +\TheValue{Chip and Dale} + +\TheKey{$2+3=5$}{interresting equality \(2+3=5\)} +\TheValue{$2+3=5$} +% we can use $...$ but not \(...\) as a key +% on peut utiliser $...$ mais pas \(...\) comme clé + +\end{document} + +%%% Local Variables: +%%% coding: utf-8 +%%% TeX-engine: default +%%% mode: latex +%%% TeX-master: t +%%% End: |