From e1eb06571d7726b4d29e73375ece82bce42ebe4f Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 5 Aug 2020 21:15:07 +0000 Subject: frpseudocode (5aug20) git-svn-id: svn://tug.org/texlive/trunk@56051 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/frpseudocode/README.md | 28 +++++++++++++++++++++ .../latex/frpseudocode/frpseudocode-example.pdf | Bin 0 -> 62553 bytes .../latex/frpseudocode/frpseudocode-example.tex | 22 ++++++++++++++++ 3 files changed, 50 insertions(+) create mode 100644 Master/texmf-dist/doc/latex/frpseudocode/README.md create mode 100644 Master/texmf-dist/doc/latex/frpseudocode/frpseudocode-example.pdf create mode 100644 Master/texmf-dist/doc/latex/frpseudocode/frpseudocode-example.tex (limited to 'Master/texmf-dist/doc/latex/frpseudocode') diff --git a/Master/texmf-dist/doc/latex/frpseudocode/README.md b/Master/texmf-dist/doc/latex/frpseudocode/README.md new file mode 100644 index 00000000000..1285a0df1ac --- /dev/null +++ b/Master/texmf-dist/doc/latex/frpseudocode/README.md @@ -0,0 +1,28 @@ +# French Translation for algorithmics pseudocode + +Small package to help with french translation for pseudocode. + +## Context + +This package is intended for use alongside Szász János' [algorithmicx](https://www.ctan.org/pkg/algorithmicx "algorithm writing package") package. + +The aim of this package is to provide a french translation of terms and words used in algorithms to make it integrate seamlessly in a french written document. + +## Use + +To use this package, simply import it as usual then use the same commands you would use with algorithmicx. + +The packahe will then translate at compilation time the terms of the algorithm to french language. + +An example of use is included in file `frpseudocode-example.tex`, along a PDF output of that file. + + +## Warning + +This is a WIP, there might be some unknown issues. You can report these issues by email at : + + + +## License + +Made under The LaTeX Project Public License 1.3c diff --git a/Master/texmf-dist/doc/latex/frpseudocode/frpseudocode-example.pdf b/Master/texmf-dist/doc/latex/frpseudocode/frpseudocode-example.pdf new file mode 100644 index 00000000000..be66949dae1 Binary files /dev/null and b/Master/texmf-dist/doc/latex/frpseudocode/frpseudocode-example.pdf differ diff --git a/Master/texmf-dist/doc/latex/frpseudocode/frpseudocode-example.tex b/Master/texmf-dist/doc/latex/frpseudocode/frpseudocode-example.tex new file mode 100644 index 00000000000..de0de6846e5 --- /dev/null +++ b/Master/texmf-dist/doc/latex/frpseudocode/frpseudocode-example.tex @@ -0,0 +1,22 @@ +\documentclass[a4paper]{article} +\usepackage{algorithm} +\usepackage{algpseudocode} +\usepackage{frpseudocode} +\begin{document} +\begin{algorithm} +\caption{Algorithme d'Euclide} +\begin{algorithmic}[1] +\Procedure{Euclide}{$a,b$} +\Comment{PGCD de a et b} +\State $r\gets a\bmod b$ +\While{$r\not=0$}\Comment{Si r = 0, on a la réponse} +\State $a\gets b$ +\State $b\gets r$ +\State $r\gets a\bmod b$ +\EndWhile +\State \Return $b$\Comment{Le PGCD est b} +\EndProcedure +\end{algorithmic} +\end{algorithm} + +\end{document} \ No newline at end of file -- cgit v1.2.3