2020-2021/tools/examples/shortcuts_settings.tex

262 lines
6.0 KiB
TeX
Raw Normal View History

\documentclass[a4paper,10pt]{article}
\usepackage{myXsim}
2020-08-12 20:26:04 +00:00
\usepackage{qrcode}
\title{TITRE}
\tribe{TRIBU}
\date{DATE}
\begin{document}
\maketitle
\section{Raccourcis}%
\begin{itemize}
\item \verb+\ds+ $\ds \frac{1}{2}$
\item \verb+\N+ $\N$
\item \verb+\Z+ $\Z$
\item \verb+\Q+ $\Q$
\item \verb+\R+ $\R$
\item \verb+\C+ $\C$
\item \verb+\intOO+ $\intOO{\#1}{\#2}$
\item \verb+\intFO+ $\intOO{\#1}{\#2}$
\item \verb+\intOF+ $\intOO{\#1}{\#2}$
\item \verb+\intFF+ $\intOO{\#1}{\#2}$
\item \verb+\vect+ $\vect{\#1}$
\item \verb+\norme+ $\norme{\#1}$
\item \verb+\scal+ $\scal{\#1}{\#2}$
\item \verb+\vectCoord+ $\vectCoord{\#1}{\#2}$
\item \verb+\e+ $\e$
2020-08-15 07:30:32 +00:00
% \item \verb+\i+ $\i$
\item \verb+\coefBino+ $\coefBino{\#1}{\#2}$
\item \verb+\equiv+ $\equiv$
\item \verb+\calc+ $\calc{\#1}$
\end{itemize}
\section{Compétences}
\begin{itemize}
\item \verb+\Cher+ \Cher
\item \verb+\Mod+ \Mod
\item \verb+\Rep+ \Rep
\item \verb+\Rai+ \Rai
\item \verb+\Cal+ \Cal
\item \verb+\Com+ \Com
\item \verb+\Con+ \Con
2020-08-15 07:30:32 +00:00
\item \verb+\RepLevel+ \RepLevel{.}\RepLevel{0}\RepLevel{1}\RepLevel{2}\RepLevel{3}
\item \verb+\SignalBar+ \SignalBar{2}
\item \verb+\Assesment+ \Assesment{3}
\item \verb+\competencesStatement+ \competencesStatement
2020-08-15 07:30:32 +00:00
\end{itemize}
\section{tikzpicture}
2020-08-15 07:30:32 +00:00
\begin{verbatim}
\begin{tikzpicture}[scale=1]
...
\end{tikzpicture}
2020-08-15 07:30:32 +00:00
\end{verbatim}
\begin{itemize}
\item \verb+\cercleTrigo+
\begin{tikzpicture}[scale=1]
\cercleTrigo
\end{tikzpicture}
\item \verb+\cercleTrigoNoOIJ+
\begin{tikzpicture}[scale=1]
\cercleTrigoNoOIJ
\end{tikzpicture}
\item \verb+\repere+
\begin{tikzpicture}[scale=1]
\repere{-2}{2}{-2}{2}
\end{tikzpicture}
\item \verb+\repereNoGrid+
\begin{tikzpicture}[scale=1]
\repereNoGrid{-2}{2}{-2}{2}
\end{tikzpicture}
\item \verb+\boxplot+
\begin{tikzpicture}[scale=1]
\boxplot{2}{0}{1}{2}{3}{4}{5}
\end{tikzpicture}
\item \verb+\boxplotNoNames+
\begin{tikzpicture}[scale=1]
\boxplotNoNames{2}{0}{1}{2}{3}{4}{5}
\end{tikzpicture}
\end{itemize}
\section{Mise en avant}
\begin{itemize}
\item \verb+\afaire+
\afaire{\#1}
\item \verb+\envideo+
\envideo{\#linktaget}{\#linkname}
\item \verb+\enclasse+
\enclasse{\#1}
\item \verb+\arediger+
\arediger{\#1}
\end{itemize}
\section{Algo}
2020-08-15 07:30:32 +00:00
\begin{multicols}{2}
\begin{verbatim}
\begin{algorithm}[H]
\SetAlgoLined
\Entree{n}
\Deb{
$u \leftarrow 3$ \;
\Pour{$i$ de 1 à 3}{
$u \leftarrow u+2$ \;
}
}
\Sortie{u}
\end{algorithm}
2020-08-15 07:30:32 +00:00
\end{verbatim}
2020-08-15 07:30:32 +00:00
\columnbreak
\begin{algorithm}[H]
\SetAlgoLined
\Entree{n}
\Deb{
$u \leftarrow 3$ \;
\Pour{$i$ de 1 à 3}{
$u \leftarrow u+2$ \;
}
}
2020-08-15 07:30:32 +00:00
\Sortie{u}
\end{algorithm}
\end{multicols}
\section{Programmation}
2020-08-15 07:30:32 +00:00
\begin{multicols}{2}
\begin{verbatim}
\begin{lstlisting}[language=Python, basicstyle=\small, frame=]
x = ("Nombre de tirage?")
if x < 200:
print("Le tarif est ", x*0.11)
else:
print("Le tarif est ", x*0.8)
2020-08-15 07:30:32 +00:00
\end{lstlisting}
\end{verbatim}
\columnbreak
\begin{lstlisting}[language=Python, basicstyle=\small, frame=]
x = ("Nombre de tirage?")
if x < 200:
print("Le tarif est ", x*0.11)
else:
print("Le tarif est ", x*0.8)
2020-08-15 07:30:32 +00:00
\end{lstlisting}
\end{multicols}
2020-08-12 20:26:04 +00:00
\section{QRcode}
\verb+\usepackage{qrcode}+
\qrcode{phrase à coder}
2020-08-15 07:30:32 +00:00
\section{Graphique et tableaux}
\subsection{Grahique}
\begin{multicols}{2}
\begin{verbatim}
\begin{tikzpicture}[baseline=(a.north),
xscale=1, yscale=0.5]
\tkzInit[xmin=-5,xmax=5,xstep=1,
ymin=-5,ymax=5,ystep=1]
\tkzGrid
\tkzAxeXY
\tkzFct[domain=-5:5,color=red,very thick]%
{ 0.4*x*x - 3 };
\end{tikzpicture}
\end{verbatim}
\columnbreak
\begin{tikzpicture}[baseline=(a.north),
xscale=1, yscale=0.5]
\tkzInit[xmin=-5,xmax=5,xstep=1,
ymin=-5,ymax=5,ystep=1]
\tkzGrid
\tkzAxeXY
\tkzFct[domain=-5:5,color=red,very thick]%
{ 0.4*x*x - 3 };
\end{tikzpicture}
\end{multicols}
Quand on change la valeur de \verb+xstep+, il faut replacer \verb+x+ par \verb+\x+.
\begin{multicols}{2}
\begin{verbatim}
\begin{tikzpicture}[baseline=(a.north),
xscale=0.5, yscale=0.4]
\tkzInit[xmin=-5,xmax=5,xstep=0.5,
ymin=-5,ymax=5,ystep=1]
\tkzGrid
\tkzAxeXY
\tkzFct[domain=-5:5,color=red,very thick]%
{ 0.4*\x*\x - 3 };
\end{tikzpicture}
\end{verbatim}
\columnbreak
\begin{tikzpicture}[baseline=(a.north),
xscale=0.5, yscale=0.4]
\tkzInit[xmin=-5,xmax=5,xstep=0.5,
ymin=-5,ymax=5,ystep=1]
\tkzGrid
\tkzAxeXY
\tkzFct[domain=-5:5,color=red,very thick]%
{ 0.4*\x*\x - 3 };
\end{tikzpicture}
\end{multicols}
\subsection{Tableau de signes et variations}
\begin{multicols}{2}
\begin{verbatim}
\begin{tikzpicture}[baseline=(a.north)]
\tkzTabInit[lgt=2,espcl=2]
{$ x $/1,$ f(x) $/2}{-1, 2, 3, 5}
\tkzTabLine{, +, z, +, z, -, d, + , }
\end{tikzpicture}
\end{verbatim}
\columnbreak
\begin{tikzpicture}[baseline=(a.north)]
\tkzTabInit[lgt=2,espcl=2]
{$ x $/1,$ f(x) $/2}{-1, 2, 3, 5}
\tkzTabLine{, +, z, +, z, -, d, + , }
\end{tikzpicture}
\end{multicols}
\begin{multicols}{2}
\begin{verbatim}
\begin{tikzpicture}[baseline=(a.north)]
\tkzTabInit[lgt=2,espcl=2]
{$ x $/1, $ f(x) $/2}{-2, 0, 1 }
\tkzTabVar{ +/3, -/1, +/5}
\end{tikzpicture}
\end{verbatim}
\columnbreak
\begin{tikzpicture}[baseline=(a.north)]
\tkzTabInit[lgt=2,espcl=2]
{$ x $/1, $ f(x) $/2}{-2, 0, 1 }
\tkzTabVar{ +/3, -/1, +/5}
\end{tikzpicture}
\end{multicols}
\end{document}