summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/tkz-base/latex/TKZdoc-base-texte.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/tkz-base/latex/TKZdoc-base-texte.tex')
-rw-r--r--Master/texmf-dist/doc/latex/tkz-base/latex/TKZdoc-base-texte.tex96
1 files changed, 44 insertions, 52 deletions
diff --git a/Master/texmf-dist/doc/latex/tkz-base/latex/TKZdoc-base-texte.tex b/Master/texmf-dist/doc/latex/tkz-base/latex/TKZdoc-base-texte.tex
index 8b7fb13c484..eb53581ab96 100644
--- a/Master/texmf-dist/doc/latex/tkz-base/latex/TKZdoc-base-texte.tex
+++ b/Master/texmf-dist/doc/latex/tkz-base/latex/TKZdoc-base-texte.tex
@@ -1,25 +1,24 @@
-\section{Textes et Légendes}
+\section{Texts and Legends}
-\subsection{Placer un titre}
-On peut bien sûr utiliser \TIKZ, mais la macro que je propose permet de placer le texte en utilisant les unités choisies pour le dessin.
+\subsection{Placing a title}
+Of course you can use \TIKZ, but the macro I propose to allow you to place the text using the units chosen for the drawing.
-\emph{les options sont toujours celles de \TIKZ, en particulier les suivantes~:}
-\begin{NewMacroBox}{tkzText}{\oarg{local options}\parg{point}\var{text}}
-Le point peut soit être donné par ses coordonnées, soit par son nom.
+The options are always those of \TIKZ, in particular the following ones:
+\begin{NewMacroBox}{tkzText}{\oarg{local options}\parg{dot}\var{text}}%
+The point can either be given by its coordinates or by its name.
\hypertarget{text}{}
-
-\begin{tabular}{lll}
+\begin{tabular}{lll}%
\toprule
-options & défaut & définition\\
+options & default & definition\\
\midrule
-\TOline{color }{|black|}{couleur courante}
-\TOline{text }{|black|}{couleur du texte}
-\TOline{fill }{|white|}{couleur du fond}
-\TOline{opacity }{|1| }{opacité}
+\TOline{color }{|black|}{current colour}
+\TOline{text }{|black|}{text colour}
+\TOline{fill }{|white|}{background colour}
+\TOline{opacity }{|1| }{opacity}
\end{tabular}
\end{NewMacroBox}
-\subsubsection{Un titre}
+\subsubsection{A title}
\begin{tkzexample}[latex=8cm]
\begin{tikzpicture}
@@ -50,8 +49,8 @@ options & défaut & définition\\
\end{tikzpicture}
\end{tkzexample}
-\subsubsection{Texte avec un point}
-Il est possible de donner la référence d'un point à la place de ses coordonnées.
+\subsubsection{Text with a period}
+It is possible to give the reference of a point instead of its coordinates.
\begin{tkzexample}[latex=8cm]
\begin{tikzpicture}
@@ -63,70 +62,63 @@ Il est possible de donner la référence d'un point à la place de ses coordonnÃ
line width = 1pt,
color = black,
fill = purple!20](A)
- {Mon texte}
+ {My text}
\end{tikzpicture}
\end{tkzexample}
-\subsubsection{Format du texte}
- L'option \tkzname{text width} est intéressante, voir le pgfmanual pour plus d'informations.
+\subsubsection{Text format}
+ The option \tkzname{text width} is interesting, see the pgfmanual for more information.
\begin{tkzexample}[latex=8cm,small]
\begin{tikzpicture}
- \tkzInit[ymax=5,xmax=6]
- \tkzAxeXY
- \tkzText[draw,opacity=.6,
- inner sep=.6 cm,
- line width = 1pt,
- color = black,
- fill = purple!20,
- text width=3cm](3,3)
- {Mon texte\\ Référence}
+ \tkzInit[ymax=5,xmax=6]
+ \tkzAxeXY
+ \tkzText[draw,opacity=.6,
+ inner sep=.6 cm,
+ line width = 1pt,
+ color = black,
+ fill = purple!20,
+ text width=3cm](3,3)
+ {My text\\\ Reference}
\end{tikzpicture}
\end{tkzexample}
-\subsection{Placer des légendes}
-Il y a deux façons d'utiliser cette macro. Soit on place des légendes pour des courbes. Alors, il faut représenter des lignes avec leur style propre, soit il s'agit de différencier des symboles (mark).
-
-\begin{NewMacroBox}{tkzLegend}{\oarg{local options}\var{mark/couleur/size/text}}\hypertarget{legend}{}
-Les arguments diffèrent en fonction du booléen \tkzname{line}.
+\subsection{Placing legends}
+There are two ways to use this macro. Either you can place legends for curves. Then you can represent lines with their own style, or you can differentiate symbols (mark).
+\hypertarget{legend}{}
+\begin{NewMacroBox}{tkzLegend}{\oarg{local options}\var{mark/color/size/text}}%
+The arguments differ according to the boolean \tkzname{line}.
\medskip
-\begin{tabular}{lll}
+\begin{tabular}{lll}%
\toprule
-options & défaut & définition\\
+options & default & definition\\
\midrule
-\TOline{line}{false}{booléen :ligne ou symbole}
+\TOline{line}{false}{Boolean :line or symbol}
\end{tabular}
Avec |line=true|
\begin{tabular}{lll}
\toprule
-arguments & défaut & exemple\\
+arguments & default & example\\
\midrule
-\TAline{style/line width/couleur/texte}{pas de défaut}{dashed/1pt/red/Recette}
+\TAline{style/line width/color/texte}{no default}{dashed/1pt/red/Recipe}
\end{tabular}
\medskip
-Avec |line=false|
+With |line=false|
\begin{tabular}{lll}
\toprule
-arguments & défaut & exemple\\
+arguments & default & example\\
\midrule
-\TAline{mark/mark size/couleur/texte}{pas de défaut}{heart/1ex/red!30/Recette produit A}
+\TAline{mark/mark size/color/texte}{no default}{heart/1ex/red!30/Product Recipe A}
\end{tabular}
-
-\medskip
-{On peut modifier la longueur de la ligne dans \tkzname{tkz-base.cfg}}
-\begin{tkzltxexample}[]
- \def\tkz@legend@line@len{.5cm}
-\end{tkzltxexample}
\end{NewMacroBox}
-\subsubsection{Légendes avec des symboles}
-
+\subsubsection{Legends with symbols}
\begin{tkzexample}[vbox]
- \begin{tikzpicture}
+\begin{tikzpicture}
\tkzInit[xmax=12,ymin=1000,ymax=11000,ystep=2000]
\tkzGrid[color=orange!30]
\tkzDrawX[below right,label=Mois]
@@ -144,8 +136,8 @@ arguments & défaut & exemple\\
\tkzDrawSetOfPoints[prefix=P,mark=square*,mark size=4pt,
mark options={color=blue,fill=blue!40}]
\tkzLegend[draw,rounded corners,fill=orange!20,text=brown,
- line width=2pt](5,10000){heart/1ex/red!30/Recette produit A,%
- square*/0.75ex/blue!40/Recette produit B}
+ line width=2pt](5,10000){heart/1ex/red!30/Product Recipe A,%
+ square*/0.75ex/blue!40/Product Recipe B}
\end{tikzpicture}
\end{tkzexample}