iQhJxC

% Dans le préambule
% -----------------
\usepackage{tikz}
\usetikzlibrary{positioning}
% -----------------

\renewcommand{\arraystretch}{2}

\tikzstyle{every picture}+=[remember picture]
\begin{tabular}{|l|c|c|r}     \cline{1-3}
Volume&1&3& \tikz\node(A){}; \\ \cline{1-3}
Poids &2&6& \tikz\node(B){}; \\ \cline{1-3}
\end{tabular}

\begin{tikzpicture}[overlay]
  \coordinate[right=3mm of A] (AA);
  \coordinate[right=3mm of B] (BB);
  \draw[->] (A)--(AA)--node[right] {$\times 2$}(BB) --(B);
\end{tikzpicture}
Read More

328Ln3

\newlength{\colG}\newlength{\colD}
\newcommand{\compo}[3][0.5]{
\setlength{\colG}{#1\linewidth} \setlength{\colD}{\linewidth}
\addtolength{\colD}{-\colG} \addtolength{\colD}{-10pt}
\addtolength{\colG}{-10pt}%
\par\noindent%
\begin{minipage}[c]{\colG}#2\end{minipage}\hfill%
\begin{minipage}[c]{\colD}#3\end{minipage}\par}
Read More

ks2l23

\documentclass[a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[francais,bloc,completemulti]{automultiplechoice}
\begin{document}

\exemplaire{3}{
  \noindent{\bf QCM  \hfill \champnom {
  \fbox{\rule{0em}{2em}Nom et prénom : \makebox[8cm]{\dotfill}}}
  } \vspace{1em}

  \textit{
  Les questions faisant apparaître le symbole \multiSymbole{} peuvent
  présenter zéro, une ou plusieurs bonnes réponses.
  Les autres ont une unique bonne réponse.
  } \vspace{1em}

  \begin{question}{calcul} Quel est le triple de la moitié de six ?
    \begin{reponses}
      \bonne{9}
      \mauvaise{6}
      \mauvaise{1}
    \end{reponses}
  \end{question}

  \begin{questionmult}{divisible} 14 est divisible par :
    \begin{reponses}
      \bonne{7}
      \mauvaise{4}
      \bonne{2}
    \end{reponses}
  \end{questionmult}
}
\end{document}
Read More

h2hS31

% Dans le préambule
% -----------------
\usepackage[french]{babel}
\usepackage{xsim}
% -----------------

\begin{exercise}[subtitle=Compléter]
  Les \blank[width=2cm]{sanglots}
  longs des violons de l'automne
  bercent mon \blank{c{\oe}ur}
  d'une langueur monotone.
\end{exercise}
Read More

fVvFe6

% Dans le préambule
% -----------------
\usepackage{xsim}
\usepackage{tasks,amssymb}
\DeclareExerciseType{exo}{
	exercise-env = exo ,
	solution-env = solexo ,
	exercise-name = Exercice ,
	solution-name = Solution ,
	exercise-template = runin ,
	solution-template = runin }
\DeclareExerciseType{probleme}{
	exercise-env = pblm ,
	solution-env = solpblm ,
	exercise-name = Problème ,
	solution-name = Solution ,
	exercise-template = runin ,
	solution-template = runin }
\xsimsetup{pblm/the-counter = \Alph{pblm}}
% -----------------

\begin{exo}
  Les \blank[width=2cm]{sanglots}
  longs des violons de l'automne.
\end{exo}
\begin{solexo}
  Les \blank[width=2cm]{sanglots}
  longs des violons de l'automne.
\end{solexo}

\begin{pblm}
  Factoriser $B=7x+14$
\end{pblm}
\begin{solpblm}
  $B=7(x+2)
\end{solpblm}

\begin{exo}
  Le Chlore est un halogène
  \begin{tasks}[style=multiplechoice](2)
  \task Vrai \task Faux
  \end{tasks}
\end{exo}
\begin{solexo}
  \begin{tasks}[style=multiplechoice](2)
  \task[$\blacksquare$] Vrai \task Faux
  \end{tasks}
\end{solexo}
Read More

MMlz23

\newpage
\printsolutionstype{exo}
\printsolutionstype{pblm}

Read More

KM1A12

% Dans le préambule
% -----------------
\usepackage[french]{babel}
\usepackage{xsim}
% -----------------

\begin{exercise}[points=3]
  Mon premier exercice
\end{exercise}

\begin{exercise}[subtitle=Sous-titre]
  Mon deuxième exercice
  \begin{enumerate}
    \item Question
    \item \begin{enumerate}
            \item Question
            \item Question
          \end{enumerate}
  \end{enumerate}
\end{exercise}
Read More

JJSje8

% Dans le préambule
% -----------------
\usepackage{xsim}
% -----------------

\begin{exercise}
  Mon premier exercice
\end{exercise}
\begin{solution}
  Solution un
\end{solution}

\begin{exercise}
  Mon second exercice
\end{exercise}
\begin{solution}[print=true]
  Solution deux
\end{solution}
Read More

92NQ91

% Dans le préambule
% -----------------
\usepackage[french]{babel}
\usepackage{xsim}
% -----------------

\DeclareExerciseTranslations{total}
  {French = Total}
\gradingtable
Read More

544Rcu

% Dans le préambule
% -----------------
\usepackage{xsim}
\DeclareExerciseType{exo}{
	exercise-env = exo ,
	solution-env = solexo ,
	exercise-name = Exercice ,
	solution-name = Solution ,
	exercise-template = runin ,
	solution-template = runin }
\DeclareExerciseType{pblm}{
	exercise-env = pblm ,
	solution-env = solpblm ,
	exercise-name = Problème ,
	solution-name = Solution ,
	exercise-template = runin ,
	solution-template = runin } 
% -----------------

\begin{exo}[points=6]
  Démontrer que ...
\end{exo}
\begin{exo}[points=4]
  Montrer que ...
\end{exo}
\begin{pblm}[points=10]
  Prouver que ...
\end{pblm}
\begin{exo}[subtitle=Bonus, points=0, bonus-points=2]
   Calculer ...
\end{exo}
Read More

23b1Ff

% Dans le préambule
% -----------------
\usepackage{xsim}
% -----------------

\begin{exercise}[subtitle=Cours,
                     points=2.5]
  Énoncer le th. de Thalès

  \blank[width=3\linewidth,
         linespread=1.5]{}
\end{exercise}
Read More

02iia1

% Dans le préambule
% -----------------
\usepackage{xsim}
\DeclareExerciseType{exo}{
	exercise-env = exo ,
	solution-env = solexo ,
	exercise-name = Exercice ,
	solution-name = Solution ,
	exercise-template = runin ,
	solution-template = runin }
\DeclareExerciseType{pblm}{
	exercise-env = pblm ,
	solution-env = solpblm ,
	exercise-name = Problème ,
	solution-name = Solution ,
	exercise-template = runin ,
	solution-template = runin }
\xsimsetup{pblm/the-counter = \Alph{pblm}}
% -----------------

\begin{exo}[points=6]
  Démontrer que ...
\end{exo}
\begin{exo}[points=4]
  Montrer que ...
\end{exo}
\begin{pblm}[points=10]
  Prouver que ...
\end{pblm}
\begin{exo}[subtitle=Bonus,
            points=0, bonus-points=2]
   Calculer ...
\end{exo}
Read More

ybRhr0

% Dans le préambule
% -----------------
\usepackage{amsmath}
% -----------------

\[
\ln \left( \frac{1+x}{1-x}
    \right)
 =2 \left( x+\frac{x^3}3+\frac{x^5}5+\dots
    \right.
\]
Read More

yapVap

% Dans le préambule
% -----------------
\usepackage{tikz}
% -----------------

\begin{tikzpicture}
\draw(0,0) circle(2);
\draw(0,0) circle(2.5);

% segments en coordonnees polaires :
\foreach \k in {0,...,360}
  \draw(10*\k:2)--(15*\k:2.5);
\end{tikzpicture}
Read More

yYi1ka

% Dans le préambule
% -----------------
\usepackage{scratch}
% -----------------

\begin{scratch}[num blocks]
\blocksound{ajouter \ovalnum{4} au volume}
\blockcontrol{attendre \ovalnum{1} seconde}
\blockpen{stylo en position d'écriture}
\end{scratch}
Read More

yTi2hR

% Dans le préambule
% -----------------
\usepackage{tikz}
% -----------------

\begin{tikzpicture}
\draw (0,0) rectangle (1,2);
\foreach \y in {0,0.2,...,2} {
  \draw (0,\y)--(1,\y);
}
\foreach \x in {1.8,2.1,...,3.7} {
  \foreach \y in {0.5,0.8,...,1.8} {
    \draw (\x,\y) node{$\bullet$};
  }
}
\end{tikzpicture}
Read More

yF7tW6

% Dans le préambule
% -----------------
\usepackage{tkz-euclide}
\usetkzobj{all}
% -----------------

\begin{tikzpicture}
% Les points M, P et Q et le triangle
\tkzDefPoint(0,0){M} \tkzDefPoint(1.5,3){P}
\tkzDefPoint(4,0){Q} \tkzDrawPolygon(M,P,Q)
% Deux bissectrices
\tkzDrawBisector(M,P,Q) \tkzGetPoint{P'}
\tkzDrawBisector(Q,M,P) \tkzGetPoint{M'}
% L'intersection I des bissectrices
\tkzInterLL(M,M')(P,P') \tkzGetPoint{I}
% Le cercle inscrit
\tkzDefPointBy[projection=onto M--P](I)
                        \tkzGetPoint{I'}
\tkzDrawCircle(I,I')
% Marquage des points et étiquettes
\tkzDrawPoints(M,P,Q,P',M',I,I')
\tkzLabelPoints(M,Q,I,I',P')
\tkzLabelPoints[right](P,M')
\end{tikzpicture}
Read More

yE9A7S

% Dans le préambule
% -----------------
\usepackage{tikz}
% -----------------

% Dans le préambule
% -----------------
\usetikzlibrary{patterns}
% -----------------

\begin{tikzpicture}[xscale=0.98,yscale=2.5]

\fill[pattern=north east lines]
plot [domain=-1:1] (\x, {(2^(-\x*\x))} )
-- (1,0) -- (-1,0) -- cycle;

\draw[->,>=latex] (-2.2,0) -- (2,0);
\draw[->,>=latex] (0,-0.2) -- (0,1.2);
\foreach \x in {-2,-1,1}
 \draw(\x,0.3mm)--(\x,-0.3mm) node[below]{$\x$};

\draw (1mm,1)--(-1mm,1) node[above left]{$1$};
\draw[domain=-2.2:2] plot (\x, {(2^(-\x*\x))} );
\end{tikzpicture}
Read More

yC20iM

% Dans le préambule
% -----------------
\usepackage{multirow}
% -----------------

\begin{tabular}{|c|c|c|}    \hline
\multirow{2}{*}{A} & B & C \\ \cline{2-3}
                 & 2 & 3 \\ \hline
               x & y & z \\ \hline
\end{tabular}
Read More

xj0rEd

% Dans le préambule
% -----------------
\usepackage{tabulary,calc}
% -----------------

\begin{tabulary}{4cm}{|c|C|J|} \hline
1 & AA & Un texte long long long\dots\\\hline
\end{tabulary}

\begin{tabulary}{\linewidth}{|c|C|J|} \hline
1 & AA & Un texte long long long\dots\\\hline
\end{tabulary}
Read More

xXu32A

% ########### TODO #################
\noindent\hspace{0.64cm}\begin{minipage}[c]{0.95\textwidth}
\begin{lstlisting}[numbers=left,language=TeX, frame=lines,basicstyle=\footnotesize\ttfamily]
% Dans le préambule
% -----------------
\usepackage{tabvar}
% -----------------

\[\begin{tabvar}{|C|CCRULCC|}
\hline
x  & 1 &      & 2 &               & 3 &          & 4 \\ \hline
f' &   &  +   &   & \hspace*{1cm} &   &     0    &   \\ \hline
\niveau{1}{2}f(x)
   & 5 &\croit& 6 &               & 7 &\constante& 7 \\ \hline
\end{tabvar}\]
\end{lstlisting}
\end{minipage}
Read More

xW09wt

% Dans le préambule
% -----------------
\usepackage{pstricks-add}
% -----------------

\begin{psmatrix}
$G$         & $\mathrm{im}(f)$ \\
$G/\ker(f)$ &                  \\
\end{psmatrix}

\psset{arrows=->,shortput=nab,nodesep=2mm}
\ncline{1,1}{1,2} \naput{$f$}
\ncline{1,1}{2,1} \nbput{$\varphi$}
\ncline[linestyle=dashed]{2,1}{1,2} \nbput{$h$}
Read More

xPFyIK

% Dans le préambule
% -----------------
\usepackage{mhchem}
% -----------------

\ce{CH4 ->[+2O2]
  CO2 + $\underset{\text{Eau}}{\ce{2H2O}}$
}
Read More

xNIEDH

% Dans le préambule
% -----------------
\usepackage{tkz-tab}
% -----------------

\begin{tikzpicture}
\tkzTabInit{x/1,f'(x)/2}
           {  0  ,  1  ,  3 }
\tkzTabVar { +/5 , -/4 , +/6 }
\end{tikzpicture}
Read More

xD8p87

% Dans le préambule
% -----------------
\usepackage{tikz,tkz-base}
% -----------------

\begin{tikzpicture}
  \tkzInit[xmin=-1,xmax=3]
  \tkzAxeX;
\end{tikzpicture}
Read More

wyXeId

% Dans le préambule
% -----------------
\usepackage{pstricks-add}
% -----------------

\begin{pspicture}(0,0)(5,2)
\psline(0,0)(4,1) % Référence
\pcline[offset= 8mm](0,0)(4,1) % +8mm
\pcline[offset=-4mm](0,0)(4,1) % -4mm
\end{pspicture}
Read More

wpqNj1

% Dans le préambule
% -----------------
\usepackage{tikz}
% -----------------

\begin{tikzpicture}
\draw (0,0)--(1,0)--(0.5,2)--cycle;
\draw[fill=red]
        (2,0)--(1,1)--(2,2)--(3,1)--cycle;
\draw[pattern=north east lines]
               (3,0)--(4,2)--(5,1)--cycle;
\end{tikzpicture}
Read More

wfTJIg

% Dans le préambule
% -----------------
\usepackage{pstricks-add}
% -----------------

\begin{pspicture}(0,0)(4,2)

\rput{20}(1,-0.5){
  \pspolygon[fillstyle=crosshatch]
  (1,0)(3,0)(3,1)(1,1)
  \rput*(2,0.5){Spa}
}
\end{pspicture}
Read More

we2Y1r

% Dans le préambule
% -----------------
\usepackage{amsmath}
% -----------------

Une fraction,
petite : $\frac{2}{3}$
ou grande : $\dfrac{2}{3}$

\[
\frac{1}{2+\frac{3}{4+5}}
\qquad
\frac{1}{2+\dfrac{3}{4+5}}
\]
Read More

wQetmG

% Dans le préambule
% -----------------
\usepackage{concmath}
% -----------------

La police concrete créée par D.~Knuth
pour Concrete Mathematics.
Read More

wDgXXX

% Dans le préambule
% -----------------
\usepackage{tikz}
% -----------------

\tikzset{
  LabelStyle/.style = { rectangle, rounded corners, draw, fill=white},
  VertexStyle/.append style = { inner sep=5pt},
  EdgeStyle/.append style = {->, bend left} }
\begin{tikzpicture}
  \SetGraphUnit{5}
  \Vertex{B}
  \WE(B){A}
  \Edge[label = 1](A)(B)
  \Edge[label = 4](B)(A)
  \Loop[dist = 4cm, dir = NO, label = 5](A.west)
  \Loop[dist = 4cm, dir = SO, label = 6](B.east)
\end{tikzpicture}
Read More

w5NjKC

\newtheorem{thm}{Théorème}[section]
\newtheorem{coro}{Corollaire}[thm]
\renewcommand{\thecoro}{
  \arabic{section}.\arabic{thm}.\Alph{coro}}

\section{Élements}
\begin{thm}  Texte. \end{thm}
\begin{coro} Texte. \end{coro}
\begin{coro} Texte. \end{coro}
\begin{thm}  Texte. \end{thm}
\begin{coro} Texte. \end{coro}
Read More

w3eDxd

% Dans le préambule
% -----------------
\usepackage{pst-labo}
% -----------------

\psset{unit=0.4cm}
\pstTubeEssais
\pstTubeEssais[glassType=ballon]
\pstTubeEssais[glassType=erlen]
\pstTubeEssais[glassType=becher]
\pstTubeEssais[glassType=flacon]
\pstTubeEssais[glassType=fioleJauge]
Read More

tnHr7B

% Dans le préambule
% -----------------
\usepackage{paralist}
\usepackage{amssymb}
% -----------------

\begin{itemize}[$\Box$]
  \item  Choix 1
  \item  Choix 2
  \item[\checkmark] Choix 3
\end{itemize}
Read More

tYyi4n

\compo[0.4] {
    Colonne de gauche: 40\%;
    Colonne de droite: 60\%
 } {\imageTux}
\compo[0.8] {
    Colonne de gauche: 80\%;
    Colonne de droite: 20\%
 } {\imageTux}
Read More

tB43EE

\documentclass{article}
\usepackage{index}
\makeidx
\begin{document}

Niels Bohr\index{Bohr} (1885-1962) est un
physicien danois\index{Danemark}.

\newpage

Bohr\index{Bohr} a obtenu le
prix Nobel\index{Prix Nobel}\index{Nobel}
de physique en 1922.

\printindex
\end{document}
Read More

t8GeAb

% Dans le préambule
% -----------------
\usepackage{pstricks-add}
% -----------------

\begin{pspicture}(0,0)(5,3)

\psdots(1,3)  % cartésiennes
\psdots(2;40) % polaires

\psdots[linecolor=red](3,3)
\psdots[dotstyle=o](3,2)
\psdots[dotstyle=square](3,1)
\psdots[dotsize=3mm](4,3)
\psdots[dotstyle=+, dotsize=3mm](4,2)
\psdots[dotstyle=x, dotsize=0.5cm](4,1)

\end{pspicture}
Read More

spR0xW

% Dans le préambule
% -----------------
\usepackage{pstricks-add}
% -----------------

\begin{pspicture}(-1,-1)(2,1.5)
\psaxes(0,0)(-1,-1)(2,1.5)[x,-90][y,0]
\end{pspicture}
Read More

sY537m

% Dans le préambule
% -----------------
\usepackage{amsmath}
% -----------------

\[ A = \begin{bmatrix}
 1 & 2 \\
 3 & 4 \\
 \end{bmatrix}
\]
Read More

sRWsnn

% Dans le préambule
% -----------------
\usepackage{fontspec}
% -----------------

% Dans le préambule
% -----------------
\setmainfont{Times New Roman}
% -----------------

La police Times New Roman : un classique
indémodable depuis 1931.
Read More

sMdK7G

% ########### TODO #################
\vspace{0.2cm}\noindent\begin{minipage}[c]{0.12\textwidth}
\footnotesize Page 120\\
Page 132
\end{minipage}\begin{minipage}[c]{0.25\textwidth}
\begin{code}
\index{Astrophysique|(}
\index{Astrophysique|)}
Read More

sEee4K

Espace \hspace{2cm} de 2\,cm.\\
Espace \rule{2cm}{0.2pt} de 2\,cm.\\
Espace \makebox[2cm]{\dotfill} de 2\,cm.

\vspace{1cm}

Et nous voici 1\,cm plus bas.
Read More

sEQJf8

% Dans le préambule
% -----------------
\usepackage{amsmath}
% -----------------

 \[ f(x,y) \xrightarrow {x\to0}f(0,y) \]
 \[ y\xrightarrow[\text{par déf.}]{y\to0} 0 \]
Read More

sBGpBi

% Dans le préambule
% -----------------
\usepackage{multicol}
% -----------------

\setlength{\columnseprule}{1pt}
\setlength{\columnsep}{0.5cm}
\begin{multicols}{2}
  Une phrase d'intro.
  \columnbreak

  Du texte très intéressant qui doit
  être mis dans des colonnes.
\end{multicols}
Read More

ry0qwh

\begin{tabular}{lcr}
 Cell 1-1 & Cell 1-2 & Cell 1-3 \\
    C 2-1 &    C 2-2 &    C 2-3 \\
      3-1 &      3-2 &      3-3 \\
\end{tabular}
Read More

rslkJJ

\begin{minipage}{2cm}
  bla bla bla bla bla bla bla
\end{minipage}
texte
\begin{minipage}{2cm}
  blu blu blu blu blu bli blu
\end{minipage}
Read More

rn3qJ1

% Dans le préambule
% -----------------
\usepackage{tikz}
% -----------------

\begin{tikzpicture}[scale=1]
\clip (0,0) ellipse (2 and 1);
\draw (0,0) ellipse (2 and 1);
\draw (-2,-2) grid[step=0.1] (2,2);
\end{tikzpicture}
Read More

rjX1wc

\compo {
    Colonne de gauche: 50\%;
    Colonne de droite: 50\%
 } {\imageTux}
Read More

rgdbHB

% Dans le préambule
% -----------------
\usepackage{multicol}
% -----------------

\begin{multicols}{2}
  Du texte très intéressant qui doit
  être mis sur deux colonnes.
\end{multicols}
Read More

rb1CSd

% Dans le préambule
% -----------------
\usepackage{tikz,tkz-base}
% -----------------

\begin{tikzpicture}[scale=0.5,>=latex]
\tkzInit[xmin=-2,xmax=2,ymin=-2,ymax=2]
\tkzDrawXY

\clip (-2,-2) rectangle (2,2);

% La courbe
\draw[domain= -2:-0.2] plot (\x, {1/\x} );
\draw[domain=0.2:2   ] plot (\x, {1/\x} );
\end{tikzpicture}
Read More

rDGdba

% Dans le préambule
% -----------------
\setmainfont[BoldFont=OpenSans-Bold.ttf,
% -----------------

% Dans le préambule
% -----------------
ItalicFont=OpenSans-Italic.ttf,
% -----------------

% Dans le préambule
% -----------------
BoldItalicFont=OpenSans-BoldItalic.ttf
% -----------------

% Dans le préambule
% -----------------
]{OpenSans-Regular.ttf}
% -----------------

La police Open Sans avec du \textbf{gras},
de l'\textit{italique} et même
du \textbf{\textit{gras italique}}.
Read More

qqJN70

\newtheorem{thm}{Théorème}
\newtheorem{coro}{Corollaire}

\begin{thm}       texte. \end{thm}
\begin{coro}[Xyz] texte. \end{coro}
\begin{thm}       texte. \end{thm}
Read More

qps97q

% Dans le préambule
% -----------------
\usepackage{amsmath}
% -----------------

\underline{Important} :
$\overline{A} =\overline{\overline{A}}$

\[ \underbrace{ a+b+\ldots+z }_{26} \]
Read More

qj6JpX

Quelques mots pour
montrer\label{MaReference}
le fonctionnement du système.

On a vu page \pageref{MaReference} qu'on
peut placer une référence.
Read More

qhcgbb

% Dans le préambule
% -----------------
\usepackage{tikz}
% -----------------

\begin{tikzpicture}[scale=0.66]
  \draw(0,0)--(0,{2+sqrt(2)})
            --({2+sqrt(2)},0)--cycle;
  \draw (1,1) circle(1);
\end{tikzpicture}
Read More

qDGY5e

% Dans le préambule
% -----------------
\usepackage{scratch}
% -----------------

Un \begin{scratch}
\blockmove{bloc de mouvement}
\end{scratch}
seul.
Read More

qAf2pW

Le manchot Tux (fig. \ref{tux})
est la mascotte du noyau Linux.

\begin{figure}[h]
  \begin{center}
    \includegraphics{tux.png}
    \caption{Tux le manchot} \label{tux}
  \end{center}
\end{figure}

Son auteur est Larry~Ewing.
Read More

ppbPhE

% Dans le préambule
% -----------------
\usepackage{tikz}
% -----------------

\begin{tikzpicture}
\draw (1,3)  node{$\bullet$}; % cartésiennes
\draw (40:2) node{$\bullet$}; % polaires

\draw (3,3) node {$\red\bullet$};
\draw (3,2) node {$\circ$};
\draw (3,1) node {$\Box$};
\draw (4,3) node[scale=2]{$\bullet$};
\draw (4,2) node[scale=2]{$+$};
\draw (4,1) node[scale=3]{$\times$};
\end{tikzpicture}
Read More

pcgN0b

% Dans le préambule
% -----------------
\usepackage{tikz}
% -----------------

\begin{tikzpicture}
\draw (2,0)--++(70:2);
\draw (2,0)--++ (135:2);
\draw (2,0)++(70:1) arc (70:135:1);
\end{tikzpicture}
Read More

pbfnNx

\begin{tabular}{|c|c|c|} \hline
A & B & C \\ \hline
1 & 2 & 3 \\ \hline
x & y & z \\ \hline
\end{tabular}
Read More

pTraxA

% Dans le préambule
% -----------------
\usepackage{tikz,tkz-base}
% -----------------

\begin{tikzpicture}
\clip (-3.2,-1.2) rectangle (1.6,2.2);
\draw[step=.25cm,lightgray,very thin]
   (-3,-1) grid (1,2);
\tkzInit[xmin=-3,xmax=1,
         ymin=-1,ymax=1.5]
\tkzAxeXY[label={}]
\draw plot[mark=*,mark size=0.6mm,smooth]
     coordinates {(-3,0) (-2,1.5) (0,0) (1,1)};
\end{tikzpicture}
Read More

pQkARh

\newcommand{\QCM}[4]{#1\par
\begin{tabular}{@{} p{0.3\linewidth} p{0.3\linewidth} p{0.3\linewidth}}
\fbox{A} #2 & \fbox{B} #3 & \fbox{C} #4
\end{tabular}
}

\QCM{Si $x=-2-2$, alors}
    {$x=0$}{$x=-4$}{$x=4$}
Read More

p48XnR

% Dans le préambule
% -----------------
\usepackage{pstricks-add}
% -----------------

\begin{pspicture}(0,0)(3,2)
\pnode(1,1){A} \pnode(3,1){B}
\psdots(A) \uput[90](A){$A$}
\psdots(B) \uput[0](B){$B$}
\end{pspicture}
Read More

nxqkFI

% Dans le préambule
% -----------------
\usepackage{tikz}
% -----------------

\begin{tikzpicture}[xscale=0.2]
  \draw[->,>=latex] (-7,0) -- (11,0);
  \draw[->,>=latex] (0,-0.5) -- (0,0.5);
\foreach \x/\label in
   {-2/-2\pi, -1/-\pi, 1/\pi, 2/2\pi, 3/3\pi} {
  \draw[thick] (\x*3.14,2mm) -- (\x*3.14,-2mm)
                       node[below] {$\label$}; };
\foreach \x in {-12,...,18} {
  \draw (\x*3.14/6,1mm) -- (\x*3.14/6,-1mm);
};
\end{tikzpicture}
Read More

nqmQhr

% Dans le préambule
% -----------------
\usepackage{pstricks-add}
% -----------------

\begin{pspicture}(0,-1)(2,1)
\cnode(0,0){3pt}{A}  \uput[180](A){$A$}
\cnode(3,-1){3pt}{F} \uput[-45](F){$F$}
\cnode*(1,1){3pt}{B}  \cnode*(2,0){3pt}{C}
\cnode*(1,-1){3pt}{D} \cnode*(3,1){3pt}{E}

\psset{ArrowInside=->,arrowscale=2}
\ncline{A}{B} \ncline{A}{D} \ncline{B}{C}
\ncline{C}{D} \ncline{C}{E} \ncline{D}{B}
\ncline{E}{B} \ncline{E}{F} \ncline{F}{C}
\end{pspicture}
Read More

ngJjI9

\section{Chimie} \label{chimie}
On parle de molécules.

\section{Biologie}
Après la Chimie
(cf. \ref{chimie} page \pageref{chimie})
Read More

nT38Yj

% Dans le préambule
% -----------------
\usepackage{pstricks-add}
% -----------------

Les contours montrent bien [...]

\psframebox{
\begin{pspicture}(0,0)(4,1.5)
  \pscircle(1,1){0.5}
\end{pspicture} }

Nouveau paragraphe.
Read More

nPeKPt

% Dans le préambule
% -----------------
\usepackage{pstricks-add}
% -----------------

\begin{pspicture}(0,0)(4,2)
\pnode(2,3){A} \pnode(0,0){B}
\pnode(2,0){H} \pnode(3,0){C}
\pspolygon(A)(B)(C)
\psline[linestyle=dashed](A)(H)
\uput[90]{N}(A){$A$} \uput[180]{N}(B){$B$}
\uput[-45]{N}(H){$H$} \uput[0]{N}(C){$C$}
\rput(H){ \psframe(0,0)(0.2;45) }
\pcline[offset=-3mm]{<->}(B)(H) \ncput*{4}
\psset{linestyle=none}
\pcline(B)(A) \naput{$4\sqrt2$}
\pcline(A)(C) \naput{$2\sqrt5$}
\pcline(B)(H) \ncput[nrot=:U]{\small //}
\pcline(H)(A) \ncput[nrot=:U]{\small /}
\end{pspicture}
Read More

nDfKnQ

% Dans le préambule
% -----------------
\usepackage{tikz}
% -----------------

\begin{tikzpicture}[bend angle=20]
  \tikzstyle{db}=[circle, draw, inner sep=0pt,
                  minimum width=6pt]
  \node[db](A) at(0,0)  {}; \node[db](B) at(1,1) {};
  \node[db](C) at(0,1.5){}; \node[db](D) at(-1,1){};
  \draw (A) to[bend right] (B) to[bend right] (A);
  \draw (A) to[bend right] (D) to[bend right] (A);
  \draw (A) -- (C);
  \draw (B) to[bend right=60] (C);
  \draw (D) to[bend left=60] (C);
\end{tikzpicture}
Read More

n04dgS

% Dans le préambule
% -----------------
\usepackage{tikz}
% -----------------

\begin{tikzpicture}
\draw[->] (-1,0)--(3.5,0);
\foreach \x in {-1,...,3} {
  \draw[thick] (\x,2mm)--(\x,-2mm)
    node[below]{$\x$};    };
\foreach \x in {-1,-0.75,...,3} {
  \draw (\x,1mm)--(\x,-1mm);    };
\foreach \y in {0,0.1,...,1} {
  \draw (-1mm,\y)--(1mm,\y); };
\end{tikzpicture}
Read More

msTxKh

\framebox[4cm]{texte centré}

\framebox[4cm][l]{à gauche (Left)}

\framebox[4cm][r]{à droite (Right)}
Read More

mpZ3k9

% Dans le préambule
% -----------------
\usepackage{pas-tableur}
% -----------------

\begin{tikzpicture}
 \tableur*[5]{A/1cm,B/1cm,C/1cm}
 \multiSelec{B-2}{C-4}
\end{tikzpicture}
Read More

mjdJhd

% Dans le préambule
% -----------------
\documentclass[fleqn]{article}
% -----------------

Une formule en ligne :
$\int_a^b f(t) dt$ est nulle.

La même hors ligne :
\[ \int_a^b f(t) dt =0 \]
Read More

mC2BJQ

% Dans le préambule
% -----------------
\usepackage{pst-optic}
% -----------------

\psset{unit=0.5}
\begin{pspicture*}(4,0)(15,6)
  \lens[lensType=DVG,focus=-2]
\end{pspicture*}
Read More

ks9eN2

% Dans le préambule
% -----------------
\usepackage{ifthen}
% -----------------

\newcommand{\bareme}[1]{
  \ifthenelse
    {\equal{#1}{bonus}}
    {\bfseries BONUS}{\point{#1}}
}
\bareme{1}, \bareme{2.5}, \bareme{bonus}
Read More

kdB1d3

% Dans le préambule
% -----------------
\usepackage{tikz}
% -----------------

\begin{tikzpicture}
  \draw (0,0)--(1,1)--(0,1)--(1,0);

\begin{scope}[xshift=2cm]
  \draw (0,0)--(1,1)--(0,1)--(1,0);
\end{scope}

\begin{scope}[xshift=2cm,yshift=1cm,rotate=20]
  \draw (0,0)--(1,1)--(0,1)--(1,0);
\end{scope}
\end{tikzpicture}
Read More

kX81be

% Dans le préambule
% -----------------
\usepackage{amsmath}
% -----------------

 \begin{align*}
 \int_0^\pi\sin^2(t) dt
 &=\int_0^\pi \frac{1-\cos(2t)dt}{2} \\
 &=\left[
     \frac{1}{2} (t-\sin(t)\cos(t))
   \right]_0^\pi \\
 &=\frac{\pi}{2}
 \end{align*}
Read More

kSeiP2

% Dans le préambule
% -----------------
\usepackage{pst-labo}
% -----------------

\psset{unit=0.4cm,glassType=becher}
\pstTubeEssais[solide=\pstTournureCuivre]
\pstTubeEssais[solide=\pstClouFer]
\pstTubeEssais[solide={\pstClouFer[20]}]
\pstTubeEssais[solide=\pstGrenailleZinc]
Read More

kLsi87

0/2 \hfill 1/2 \hfill 2/2\\
0/3 \hfill 1/3 \hfill 2/3\hfill 3/3

A\dotfill B

\hrulefill~X~\hrulefill
Read More

k9xYNW

% Dans le préambule
% -----------------
\usepackage{tikz}
% -----------------

\begin{tikzpicture}
\foreach \x/ \mois/ \eff in
        {1/Jan/20, 2/Fév/19, 3/Mar/36,
         4/Avr/29, 5/Mai/11, 6/Jui/27 }{
\draw(\x,0) node[below] {\mois};
\draw[fill=red](\x-0.3,0) rectangle
                            (\x+0.3,\eff);
}
\end{tikzpicture}
Read More

jsFY4a

% Dans le préambule
% -----------------
\usepackage{amsfonts}
% -----------------

\[
  \lim_{x\to 0} f(x) = f(0) \in \mathbb{Z}
\]
Read More

jihKbp

% Dans le préambule
% -----------------
\usepackage{pstricks-add}
% -----------------

\begin{pspicture}(-1,0)(3,3)
\psaxes[axesstyle=frame,
  ylogBase=10, subticks=10,logLines=y,
  Ox=-1,xsubticks=0,xticksize=0 3](-1,0)(3,3)
\end{pspicture}
Read More

jXDSX6

% Dans le préambule
% -----------------
\usepackage{pst-tree}
% -----------------

\pstree[nodesep=5pt,treesep=0.4]{\Tc*{2mm}}{
  \Tdia{A}
  \Tcircle{B}
  \Ttri{C}
  \TR{\psframebox{D}}
  \TR{\psframebox[shadow=true,framearc=0.3,
        fillstyle=solid,fillcolor=gray]{E}}
}
Read More

jG5XYk

% Dans le préambule
% -----------------
\usepackage{graphicx}
% -----------------

\includegraphics[scale=0.25]{tux.png}
\includegraphics[height=1.5cm]{tux.png}
\includegraphics[width=1cm,angle=45]{tux.png}
Read More

jFx8JR

% Dans le préambule
% -----------------
\usepackage{pstricks-add}
% -----------------

\begin{pspicture}(0,0)(6,2)
\pspolygon(1,0)(2,2)(3,2)(4,0)

\pcline(2,2)(3,2)
\naput{L1}

\pcline(1,0)(4,0)
\nbput{L2}

\pcline[offset=5mm,arrows=<->](1,0)(2,2)
\ncput*{$H_1$}

\pcline[offset=4mm,arrows=|-|](3,2)(4,0)
\naput*[nrot=:U]{$x$}

\end{pspicture}
Read More

j7SXhA

% \documentclass[a4paper]{article}
% \usepackage{fancyhdr,fancybox}
% \usepackage{lipsum}
% \pagestyle{fancy}
% \renewcommand\headrulewidth {0pt}
% \setlength\headheight {1cm}
% \newlength{\mylen}
% \setlength{\mylen}{\textwidth}
% \addtolength{\mylen}{-1em}
% \fancyhead[C]{
% \ovalbox{\makebox[\mylen]{
% Devoir
% \hfill Chapitre 8\hfill 12/12/12}}}

% \renewcommand\footrulewidth {1pt}
% \fancyfoot[C]{ Lycée des Oiseaux}

% \begin{document}
% \lipsum
% \end{document}
% \end{code}\end{minipage}\hfill\fbox{\begin{minipage}{0.45\linewidth}
  % {\tiny \quad}

  % \vspace{-0.5em}

% \begin{center}
  % \ovalbox{\makebox[0.9\linewidth]{\footnotesize
  % Devoir
  % \hfill Chapitre 8\hfill 12/12/12}}
% \end{center}

% \vspace{3em}
% \qquad \scriptsize bla bla


% \vspace{9em}

% \rule{\linewidth}{0.2pt}

% \vspace{-1em}

% \begin{center}Lycée des oiseaux\end{center}

% \end{minipage}
% }
\section{Écrire une réaction chimique}

Pour les noms des molécules et les réactions chimiques, on peut utiliser le package
\pki{mhchem} dont la commande \ci{ce} permet d'écrire naturellement les éléments.
\wih{Molécule}
\wih{Atome}
\index{Equation chimique@Équation chimique}
\wih{Réaction chimique}


% Dans le préambule
% -----------------
\usepackage{mhchem}
% -----------------

\ce{CH4 + 2O2 -> CO2 + 2H2O}
Read More

immw3c

% Dans le préambule
% -----------------
\documentclass[20pt]{beamer}
\beamertemplatetransparentcovered
% -----------------


\begin{frame}
    % Un Haïku
    Dans la vieille mare, \\ \pause
    une grenouille saute, \\ \pause
    le bruit de l'eau.
\end{frame}
Read More

ig33jj

% Dans le préambule
% -----------------
\usepackage[french]{babel}
% -----------------

\index{Nobel|see{Prix Nobel}}
Read More

iaNr71

% Dans le préambule
% -----------------
\usepackage{tikz}
% -----------------

\begin{tikzpicture}
\draw[dashed] (0,0)--(1,2);
\draw[->] (1,0)--(2,2)--(3,1);
\draw[line width=2pt, |->] (3,0)--(4,2);
\draw[{[-]},blue]  (4,0)--(3,2);
\end{tikzpicture}
Read More

iXhnT6

% Dans le préambule
% -----------------
\usepackage{amsmath}
% -----------------

% Dans le préambule
% -----------------
\DeclareMathOperator{\bary}{Barycentre}
% -----------------

% Dans le préambule
% -----------------
\renewcommand{\arccos}{\operatorname{Acos}}
% -----------------


 $\bary((A,1);(B,\arccos(3)))$ \\
 mieux que \\
 $Barycentre((A,1);(B,\arcsin(3)))$
Read More

iUu921

\documentclass[10pt,a4paper]{book}
\usepackage{fancyhdr}
\pagestyle{fancy}

\renewcommand{\sectionmark}[1]{
 \markright{\thesection. #1}}
\renewcommand{\chaptermark}[1]{
  \markboth{\chaptername
  \thechapter. \MakeUppercase{#1}}{}}

\fancyhead{}
\fancyhead[LE]{\textsl{\rightmark}}
\fancyhead[RO]{\textbf{\leftmark}}
\fancyfoot{}

\fancyfoot[RE,LO]{Titre du livre}
\fancyfoot[LE,RO]{\thepage}
\renewcommand {\footrulewidth}{0.4pt}

\fancypagestyle{plain} {
\fancyhead{}  % vide l'en-tete
\fancyfoot{}  % vide le pied de page
\renewcommand {\headrulewidth}{0pt}
\renewcommand {\footrulewidth}{0pt}
}
\usepackage[french]{babel}
\begin{document}
\chapter{Chimie}
\section{Ions}

bla bla\newpage
bla bla\newpage
bla bla
\end{document}
\end{code}\end{minipage}\hspace{4.2em}
\begin{minipage}{0.45\linewidth}
Read More

iQhsqb

% Dans le préambule
% -----------------
\usepackage{pstricks-add}
% -----------------

\begin{pspicture}(-2,-1)(3.5,1.5)
\psset{xunit=0.5}
\psaxes[trigLabels=true,dx=3.1416]
                             (0,0)(-4,-1)(7,1.5)
\psplot[algebraic,linewidth=2pt ]{-4}{7}{cos(x)}
\psplot[algebraic,linecolor=gray]{-4}{7}{sin(x)}
\end{pspicture}
Read More

iFmwYc

Une formule en ligne :
$\int_a^b f(t) dt$ est nulle.

La même hors ligne :
\[ \int_a^b f(t) dt =0 \]
Read More

iFE8wd

% Dans le préambule
% -----------------
\usepackage{mathptmx}
% -----------------

La police Times New Roman : un classique
indémodable depuis 1931.
Read More

i21k1k

% ########### TODO #################
\noindent\hspace{0.0cm}\begin{minipage}[c]{0.95\textwidth}
\begin{code}
\fancypagestyle{plain}
{
\fancyhead{}  % vide l'en-tete
\fancyfoot{}  % vide le pied de page
\renewcommand {\headrulewidth}{0pt} % supprime la ligne d'en-tete
\renewcommand {\footrulewidth}{0pt} % supprime la ligne de pied de page
}
\end{code}
\end{minipage}
Read More

hdnbhE

% Dans le préambule
% -----------------
\usepackage{amsmath}
% -----------------

 \[ A=(a_{ij})_{\substack{i\in I \\ j\in J}} \]

 \[ X \overset{\text{def}}{=}Y \quad
    f(x)\underset{x=1}{=}0     \]
Read More

hJyyTh

% Dans le préambule
% -----------------
\usepackage{pstricks-add}
% -----------------

\begin{pspicture}(0,0)(4,2)
\psellipse(2,1.5)(1.5,0.25)
\psellipticarc[linestyle=dotted]
(2,0.5)(1.5,0.25){0}{180}
\psellipticarc(2,0.5)(1.5,0.25){180}{0}
\psline(0.5,0.5)(0.5,1.5)
\psline(3.5,0.5)(3.5,1.5)
\end{pspicture}
Read More

hDJex4

% Dans le préambule
% -----------------
\usepackage{pst-circ}
% -----------------

\begin{pspicture}(0,0)(4.5,2.5)
  \pnodes(0,0){M}(0,2){N}(4,2){P}(4,0){Q}
  \switch(P)(Q){}
  \capacitor(M)(Q){$C$}
  \vac(M)(N){$E$}
  \coil(N)(P){$L$}
\end{pspicture}
Read More

gssbfm

\section*{Préambule}
\section{Électricité}
\subsection{Tension}
\subsection{Intensité}
Read More

gbJmeB

% Dans le préambule
% -----------------
\usepackage{tikz}
% -----------------

\begin{tikzpicture}[bend angle=25, scale=2]
\tikzstyle{vide}=[inner sep=0pt, minimum width=0pt]

\foreach \a [count = \noeud] in {0,51.429,...,360}
  \node[vide] (\noeud) at (\a:1) {};

\foreach \orig in {1,...,7}
  \foreach \dest in {1,...,7}
    \draw (\orig) to[bend right] (\dest);

\end{tikzpicture}
Read More

ga3eSC

% Dans le préambule
% -----------------
\usepackage{chemfig}
% -----------------

\chemfig{
  C(-[:120]H)
   (-[:-120]H)
   (=\lewis{17,O})
}
Read More

gX60jq

\begin{description}
  \item[Un] : premièrement.
  \item[Deux] : deuxièmemement.
\end{description}
Read More

gMKfmP

% Dans le préambule
% -----------------
\usepackage{tkz-tab}
% -----------------

\begin{tikzpicture}
\tkzTabInit[lgt=1,espcl=1.2,deltacl=0.3]
            {$x$ / 0.6, $P(x)$ / 1}
           {-5,   0,   1,   2,   5}
\tkzTabLine{ z,-, t,+, d,h, d,-,  }
\end{tikzpicture}
Read More

fkI9r1

% Dans le préambule
% -----------------
\documentclass[10pt,a4paper]{book}
\usepackage[french]{babel}
% -----------------

\begin{document}
\chapter{Chimie}
\section{Ions}

bla bla \newpage
bla bla \newpage
bla bla
\end{document}
Read More

fS773H

% Dans le préambule
% -----------------
\usepackage{pythontex}
% -----------------

\begin{pycode}
from sympy import *
var("x, y")
e = ((x - y)**2)
print("$ %s=%s $" %(e, expand(e)))
print("$ %s=%s $" %(latex(e), latex(expand(e))))
\end{pycode}
Read More

fLLm9a

% Dans le préambule
% -----------------
\usepackage{pythontex}
% -----------------

\begin{pycode}
from math import *
\end{pycode}
La racine carrée de 2 est environ
égale à \py{sqrt(2)}
Read More

fJuE2A

\documentclass[a4paper,12pt]{article} %-- Début préambule
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[french]{babel}
\usepackage{adforn}                   %   Ornements : \adfflatleaf...
\usepackage{multicol}                 %   Colonnes
                                      %-- Fin préambule
\begin{document}

\begin{center}
  \textbf{\LARGE \adfflatleafleft~1995~\adfflatleafright}
  \bigskip

  \textbf{\Large Liste de fournitures}
\end{center}

\begin{multicols}{2}                  % Début 2 colonnes
  \textsc{\large Pour le bureau}
  \begin{itemize}
    \item Pot à crayons,
    \item Agrafeuse et agrafes
  \end{itemize}

\columnbreak                          % Force le changement de colonne

  \textsc{\large Pour l'ordinateur}
  \begin{itemize}
    \item Boîte à disquettes
    \item Boule de souris de rechange
  \end{itemize}
\end{multicols}                       % Fin 2 colonnes

\end{document}
Read More

fAh119

% Dans le préambule
% -----------------
\usepackage{amsfonts}
% -----------------

\newcommand{\Q}{\ensuremath{\mathbb Q}}
Pour $x$ non nul dans l'ensemble \Q,
on a $\frac{1}{x} \in \Q$
Read More

f23Dr1

% ########### TODO #################
\noindent\hspace{0.64cm}\begin{minipage}[c]{0.95\textwidth}
\begin{lstlisting}[numbers=left,language=TeX, frame=lines,basicstyle=\footnotesize\ttfamily]
\documentclass[A4paper,12pt]{book}
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
\includeonly{chapitre02,chapitre03}
\begin{document}
\include{chapitre01}  % charge chapitre01.tex
\include{chapitre02}  % charge chapitre02.tex
\include{chapitre03}  % charge chapitre03.tex
\end{document}
\end{lstlisting}
\end{minipage}
Read More

ewkQ6B

\newcommand{\problm}[2]{
  \textbf{Problème #1} \hfill (#2)\par
}

\problm{de physique}{5 pts} blabla...

\problm{de chimie}{4 pts} blabla...
Read More

eNhHsi

% Dans le préambule
% -----------------
\usepackage{tikz}
% -----------------

\begin{tikzpicture}
\draw (-1,0) grid[step=0.25] (3,2);
\foreach \x in {-1,0,1,2,3} {
  \draw (\x,0) node[below]{$\x$}; };
\foreach \y in {0,1,2} {
  \draw (-1,\y) node[left]{$\y$}; };
\end{tikzpicture}
Read More

eKAENJ

% Dans le préambule
% -----------------
\usepackage{pst-circ}
% -----------------

\begin{pspicture}(0,0)(3,2)
  \pnodes(0,1){M}(3,1){N}
  \resistor(M)(N){$R$}
\end{pspicture}
Read More

eGsEHa

% Dans le préambule
% -----------------
\usepackage{siunitx}
% -----------------

\ang{12.3}
\ang{1;2;3}
\ang{;;9}
Read More

e3DDKi

\setlength{\fboxrule}{0.01pt}
\setlength{\fboxsep}{0pt}
Texte \fbox{\phantom{à trou}} simple
\[    \sqrt{\boxed{\frac{1}{200}}}
\quad \sqrt{\boxed{}}
\quad \sqrt{\boxed{\phantom{\frac{1}{200}}}}
\quad \sqrt{\boxed{\vphantom{\frac{1}{200}}}}
\quad \sqrt{\boxed{\hphantom{\frac{1}{200}}}}
\]
Read More

dhfktP

% Dans le préambule
% -----------------
\usepackage{amsmath}
% -----------------

$1\equiv 5 \mod{4}$;  \\
$2\equiv 7 \pmod{5}$; \\
$3\equiv 9 \pod{6}$
Read More

dgwWJT

% Dans le préambule
% -----------------
\usepackage{pstricks-add}
% -----------------

\begin{pspicture}(0,0)(4,2)

\rput(0,0.8){Espace}  \rput{10}(0,0.5){Détente}

\pspolygon[fillstyle=crosshatch]
(1,0)(3,0)(3,1)(1,1)
\rput*(2,0.5){Spa}

\end{pspicture}
Read More

dfqA81

% Dans le préambule
% -----------------
\usepackage{tkz-tab}
% -----------------

\begin{tikzpicture}
\tkzTabInit[lgt=1,espcl=1.2]
   {$x$/0.8, $P$/0.5, $Q$/0.5, $PQ$/1}
           {-5 ,     1 ,     2 ,    5}
\tkzTabLine{   , - ,   , - , z , + , }
\tkzTabLine{   , - , d , + ,   , + , }
\tkzTabLine{   , + , d , - , z , + , }
\end{tikzpicture}
Read More

dek1PZ

% Dans le préambule
% -----------------
\usepackage{amsmath}
% -----------------

\begin{align*}
\int_0^1\sqrt{1-x^2}dx
   &=\int_0^\frac{\pi}{2}
         \sqrt{1-\sin^2t}\cos t dt\\
   &=\int_0^\frac{\pi}{2}
         \frac{1+\cos 2t}{2}dt\\
   &=\frac{\pi}{4}
\end{align*}
Read More

deU32a

% Dans le préambule
% -----------------
\usepackage{pst-labo}
% -----------------

\psset{unit=0.4cm}
\pstTubeEssais[niveauLiquide1=100,
               niveauLiquide2=50]
\pstTubeEssais[niveauLiquide1=100,
               niveauLiquide2=66,niveauLiquide3=33]
Read More

dbJ8bH

% Dans le préambule
% -----------------
\usepackage{frcursive}
% -----------------

\begin{cursive}
Une belle écriture
manuscrite comme à l'école.
\end{cursive}
Read More

dIPmz3

% ########### TODO #################
\noindent\hspace{0.0cm}\begin{minipage}[c]{0.95\textwidth}
\begin{codell}
% Dans le préambule
% -----------------
\usepackage{tkz-tab}
% -----------------

\begin{tikzpicture}
  \tkzTabInit[lgt=1.4,espcl=2.2]{$x$/1,$f'(x)$/1,$f$/1}
             { $-\infty$   , $-1$   , $0$                   , $+\infty$}
  \tkzTabLine{   ,-        , , -    , d, -                  , 0}
  \tkzTabVar {+/$+\infty$  , R/     ,-D+/$-\infty$/$+\infty$,-/0}

  % ajoute 0 pour l'element n°2 sur la flèche 1->3
  \tkzTabIma[draw]{1}{3}{2}{$0$}
\end{tikzpicture}
\end{codell}
\end{minipage}
Read More

dH604c

\documentclass[a4paper,10pt]{article}
\begin{document}
Dans cet exemple, on voit qu'un
paragraphe commence par un retrait
par             rapport à la marge.

Observons le mot anticonstitutionnellement.
\end{document}
Read More

dEJc0a

\begin{thm}\label{th-X}  texte. \end{thm}

Le théorème \ref{th-X} est important.
Read More

d3489D

% Dans le préambule
% -----------------
\usepackage{pstricks-add}
% -----------------

\begin{pspicture}(0,0)(4,2)
\psset{dotsize=6pt}
\psdots(1,0)(2,1)(1,2)(0,1) % cartesiennes
\psline(1,0)(2,1)(1,2)(0,1)(1,0)(1,2)
\psline(0,1)(2,1)

\rput(3,0.75){  % On translate
\psdots(0,0)(1;-30)(1;90)(1;-150) % polaires
\psline(0,0)(1;-30)(1;-150)(1;90)(0,0)(1;-150)
\psline(1;90)(1;-30) }
\end{pspicture}
Read More

cimyBC

% Dans le préambule
% -----------------
\usepackage{pstricks-add,pst-eucl}
% -----------------

\begin{pspicture}(-2,-1)(5,3)
% \psset{PointSymbol=none, yunit=0.5cm}
\psset{yunit=0.5cm}
% Les points B, C et D
\pstGeonode[PosAngle=45](4,-0.5){B}
\pstGeonode[PosAngle=90](3,1){C}
\pstGeonode[PosAngle=-45](2,0){D}
% Premiere homothetie
\pstHomO[HomCoef=2,PosAngle=90]{B}{C}[O]
\pstHomO[HomCoef=2,PosAngle=-45]{B}{D}[A]
% Seconde homothetie
\pstHomO[HomCoef=2,PosAngle=135]{A}{O}[E]
\pstHomO[HomCoef=2,PosAngle=45]{B}{O}[F]
% Segments
\pstLineAB[nodesep=-1]{B}{F}
\pstLineAB[nodesep=-1]{A}{E}
\pstLineAB[nodesep=-1]{E}{F}
\pstLineAB[nodesepA=-2,nodesepB=-0.6]{A}{B}
\pstLineAB[nodesepA=-0.2,nodesepB=-1]{D}{C}
\end{pspicture}
Read More

ciWyaP

% Dans le préambule
% -----------------
\usepackage{pstricks-add}
% -----------------

\psset{unit=0.5}
\begin{pspicture}(-1,-1)(5,4)
\cnodeput(0,0){a}{A}   \cnodeput(1,3){b}{B}
\cnodeput(3,0){c}{C}   \cnodeput(4,3){d}{D}
\ncline{a}{b} \ncline{a}{c}
\ncline{a}{d} \ncline{b}{c}
\end{pspicture}
Read More

cHhNxy

\newenvironment{extraitbis}[1]
{Comme dit \textsc{#1} : \og}
{\fg{}}

\begin{extraitbis}{Lavoisier}
  Rien ne se perd.
\end{extraitbis}
Read More

c3bNQA

\begin{enumerate}
  \item Premier point.
  \item Deuxième point.
\end{enumerate}
Read More

by83K2

% Dans le préambule
% -----------------
\usepackage{multicol}
% -----------------

\setlength{\columnseprule}{1pt}
\setlength{\columnsep}{0.5cm}
\begin{multicols}{2}
  Du texte très intéressant qui doit
  être mis sur deux colonnes.
\end{multicols}
Read More

btXhRE

% Dans le préambule
% -----------------
\usepackage{tikz}
% -----------------

\begin{tikzpicture}[xscale=0.4,domain=-4:7]
\draw[->] (-4,0) -- (7,0) node[right] {$x$};
\draw[->] (0,-1) -- (0,1.5) node[above] {$y$};
\foreach \x/\xtext in {-1/-\pi,1/\pi,2/2\pi} {
  \draw (3.14*\x,1mm) --
        (3.14*\x,-1mm) node[below]{$\xtext$}; }
\foreach \y in {-1,1}
  \draw (1mm,\y)--(-1mm,\y) node[left]{$\y$};
\draw plot (\x, {sin(\x r)} );
\draw[line width=2pt,smooth]
      plot (\x, {cos(\x r)} );
\end{tikzpicture}
Read More

bmsR9x

% Dans le préambule
% -----------------
\usepackage{chemfig}
% -----------------

\chemfig{ \lewis{0.,X}}
\chemfig{ \lewis{1.,X}}
\chemfig{ \lewis{2,X}}
\chemfig{ \lewis{3:,X}}
\chemfig{ \lewis{4:,X}}
\chemfig{ \lewis{024,X}}
Read More

bSH51G

% Dans le préambule
% -----------------
\usepackage{pstricks-add}
% -----------------

\begin{pspicture}(-1,-1)(6,1)
\begin{psmatrix}[mnode=circle,colsep=3]
A & B
\end{psmatrix}
\psset{arrows=->}
\ncarc[arcangle=20]{1,1}{1,2}  \naput{$1-x$}
\ncarc[arcangle=20]{1,2}{1,1}  \naput{$1-y$}
\nccircle[angleA=90]{1,1}{.5}
                      \nbput[npos=0.25]{$x$}
\nccircle[angleA=-90]{1,2}{.5}
                      \nbput[npos=0.75]{$y$}
\end{pspicture}
Read More

bMAJRk

% Dans le préambule
% -----------------
\usepackage{pst-circ}
% -----------------

\begin{pspicture}(0,0)(6,2)
  \pnodes(0,1){M}(3,1){N}(6,1){P}
  \capacitor(M)(N){$C$}
  \coil(N)(P){$L$}
\end{pspicture}
Read More

atnRPX

$            \lim_{x\to 0} f(x) =
\displaystyle\lim_{x\to 0} f(x) = f(0) $
Read More

aa81ny

% Dans le préambule
% -----------------
\usepackage{pstricks-add,pst-eucl}
% -----------------

\begin{pspicture}(-1,-1)(5,3)
\psset{PointSymbol=none}
% Les points A, B et C
\pstTriangle(0,0){A}(3.5,0){B}(1,2){C}
% Les points E, D et F
\pstHomO[HomCoef=0.7,PosAngle=90]{B}{C}[E]
\pstProjection{A}{B}{E}[D]
\pstProjection{B}{C}{D}[F]
% Segments
\pspolygon(A)(B)(C)
\psline(E)(D)(F) \psline(C)(D)
% Marquages
\pstRightAngle[RightAngleSize=0.2]{E}{D}{A}
\pstRightAngle[RightAngleSize=0.2]{E}{F}{D}
\pstSegmentMark[SegmentSymbol=pstslashh]{C}{A}
\pstSegmentMark[SegmentSymbol=pstslashh]{C}{D}
\end{pspicture}
Read More

aIiHIx

\newenvironment{extrait}{\og }{\fg{}}

\begin{extrait}
  Rien ne se perd.
\end{extrait}
Read More

Zj7eP2

% ########### TODO #################
\noindent\hspace{0.64cm}\begin{minipage}[c]{0.95\textwidth}
\begin{lstlisting}[numbers=left,language=TeX, frame=lines,basicstyle=\footnotesize\ttfamily]
\documentclass{book}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[french]{babel}

\usepackage{makeidx}
\usepackage{imakeidx} % Pour avoir [intoc]
\makeindex[intoc]     % intoc ajoute l'index au sommaire

\begin{document}
\frontmatter %------------------------
\tableofcontents
\chapter{Préambule}
\chapter{Introduction}

\mainmatter %-------------------------
\part{Première partie}
\chapter{Premier chapitre}
\section{Section 1}
\section{Section 2}

\part{Seconde partie}
\chapter{Second chapitre}
\section{Section 1}
\section{Section 2}

\appendix %--------------------------
\chapter{Notes}
\chapter{Références}

\backmatter %------------------------
\chapter{Postface}
\printindex

\end{document}
\end{lstlisting}
\end{minipage}
Read More

ZghL2w

% ########### TODO #################
\noindent\hspace{0.64cm}\begin{minipage}[c]{0.95\textwidth}
\begin{lstlisting}[numbers=left,language=TeX, frame=lines,basicstyle=\footnotesize\ttfamily]
\documentclass[a4paper,11pt]{article}
\usepackage[left=2cm,right=3cm,top=3.2cm,bottom=2.9cm]{geometry}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{graphicx}                    % Pour insert° images
\usepackage{amsmath, amssymb, amsfonts}  % Pour les maths
\usepackage[french]{babel}               % Typo Française
\setlength{\parindent}{0mm}              % Pas de retrait de paragraphe
\newcommand{\R}{\mathbb{R}}              % L'ens. des réels

\usepackage{fancyhdr} \pagestyle{fancy}  % En-tete de page
 \fancyhead[L]{Épreuve de Bac Blanc}     %
 \setlength{\headheight}{14pt}           % épaiss. ligne en-tete

\begin{document}

%% ======================================================
\textbf{\textsc{Exercice 1} \hfill 6 points}

On note, pour tout réel $x$
\[f_{1}(x) = \dfrac{1}{1 + \text{e}^{- x}} \]
La représentation graphique $\mathcal{C}_{1}$ de la fonction $f_{1}$
dans le repère $(O,\vec\imath,\vec\jmath\,)$ est donnée ci-dessous.

\begin{center}                                      % Début centrage
  \includegraphics[scale=0.6]{graphe3}              % Insertion image
\end{center}                                        % Fin centrage

\begin{enumerate}
\item Démontrer que, pour tout réel
      $x, f_{1}(x) = \dfrac{\text{e}^{x}}{1 +  \text{e}^{x}}$.
\item On appelle $f'_{1}$ la fonction dérivée de $f_{1}$ sur $\R$.
      Calculer, pour tout réel $x,\: f'_{1}(x)$.\\
      En déduire les variations de la fonction $f_{1}$ sur $\R$.
\end{enumerate}

\bigskip

%% ======================================================
\textbf{Exercice 2  \hfill 5 points}

Reproduire et compléter le tableau suivant en indiquant les restes
de la division euclidienne de $7^n$ par $10$.

\begin{center}                                     % Début centrage
\begin{tabular}{|c|c|c|c|c|c|c|c|c|}               % Définition tableau
\hline
$n$: &  1 &2&3&4&5&6&7&8\\
\hline
reste&7&9& $\cdots$& $\cdots$& $\cdots$& $\cdots$& $\cdots$& $\cdots$\\
\hline
\end{tabular}
\end{center}                                        % Fin centrage

\end{document}
\end{lstlisting}
\end{minipage}
Read More

Z992Ns

% Dans le préambule
% -----------------
\usepackage{tikz,tkz-base}
% -----------------

\begin{tikzpicture}
  \tkzInit[xmin=-0.5,xmax=1,xstep=0.5,
           ymin=-0.5,ymax=1]
  \tkzAxeXY[label={},orig=false,swap]
\end{tikzpicture}
Read More

YzA211

\[    \sqrt{\frac{1}{200}}
\quad \sqrt{}
\quad \sqrt{\phantom {\frac{1}{200}}}
\quad \sqrt{\vphantom{\frac{1}{200}}}
\quad \sqrt{\hphantom{\frac{1}{200}}}
\]
Read More

Yytr21

\documentclass[a4paper,10pt]{article}
\begin{document}
Un mot
Un autre mot
Encore un mot

C'est
\textbf{vraiment}
surprenant
\end{document}
Read More

YWM4QQ

% Dans le préambule
% -----------------
\usepackage{pst-tree}
% -----------------

\psset{nodesep=5pt,treesep=1,
       levelsep=1.5cm,arrows=->}
\pstree{\Toval{Bernoulli}}{
  \pstree{\TR{A1} \nbput{$1-p$}}
             {\TR{A2}  \nbput{$1-q$}
              \TR{B2}  \naput{$q$}   }
  \pstree{\TR{B1} \naput{$p$} }
             {\TR{A3}  \nbput{$1-r$}
              \TR{B3}  \naput{$r$}   }
}
Read More

Y7j4w6

% Dans le préambule
% -----------------
\usepackage{fancyhdr,lastpage}
\pagestyle{fancy}
\renewcommand\headrulewidth{1pt}
\fancyhead[L]{Initiation à \LaTeX}
\fancyhead[R]{\today}
\fancyfoot[C]{Page \thepage{}
                 sur \pageref{LastPage}}
% -----------------


Lorem ipsum dolor sit amet,
consectetuer adipiscing elit.
Ut purus elit, vestibulum
[...]

Nam dui ligula, fringilla a,
euismod sodales, sollicitudin
vel, wisi.
[...]
[...]
Read More

XnjHbM

% Dans le préambule
% -----------------
\usepackage{tkz-tab}
% -----------------

\begin{tikzpicture}
\tkzTabInit{x / 1 , f(x) / 1}
           {a1,  a2,  a3}
\tkzTabLine{1,2 ,3,4 ,5 }
\end{tikzpicture}
Read More

XnKgbS

% Dans le préambule
% -----------------
\usepackage{tabularx}
% -----------------

\begin{tabularx}{4cm}{|c|X|X|}
\hline
1 & AA & Un texte long\dots \\ \hline
\end{tabularx}

\begin{tabularx}{\linewidth}{|c|X|X|}
\hline
1 & AA & Un texte long\dots \\ \hline
\end{tabularx}
Read More

XiMM21

% ########### TODO #################
\noindent\hspace{0.0cm}\begin{minipage}[c]{0.95\textwidth}
\begin{code}
\fancyhead[LE,RO]{\textsl{\rightmark}}
\fancyhead[LO,RE]{\textsl{\leftmark}}
\fancyfoot[C]{\thepage}
\renewcommand{\headrulewidth}{0.4pt}
\renewcommand{\footrulewidth}{0pt}
\end{code}
\end{minipage}
Read More

XTKgrj

\documentclass[a4paper,10pt]{article}
\usepackage[french]{babel}
Read More

XAcyGj

% Dans le préambule
% -----------------
\usepackage{tikz}
% -----------------

Les contours montrent bien [...]

\begin{tikzpicture}[show background rectangle]
  \draw(1,1) circle(0.5);
\end{tikzpicture}

Nouveau paragraphe.
Read More

X59r92

% Dans le préambule
% -----------------
\usepackage{lcg,calc}
\usepackage{amsmath}
% -----------------

\newcommand{\randfrac}{
\reinitrand[first=1,last=10,counter=num] \rand
\reinitrand[first=2,last=20,counter=deno]\rand
\reinitrand[first=2,last=5, counter=coef]\rand
\setcounter{num}{\value{coef}*\value{num}}
\setcounter{deno}{\value{coef}*\value{deno}}
$\dfrac{\thenum}{\thedeno}$
}
Simplifier la fraction : \randfrac
\medskip

Simplifier la fraction : \randfrac
\medskip

Simplifier la fraction : \randfrac
\medskip

Simplifier la fraction : \randfrac
Read More

X4BQr7

% Dans le préambule
% -----------------
\usepackage{pstricks-add,pst-func}
% -----------------

% Definition de f en RPN
\newcommand{\f}[1]{#1 2 exp neg EXP}

\begin{pspicture}(-1,-0.5)(2,1.4)
\psaxes{->}(0,0)(-1,-0.5)(2,1.4)
\psplot{-1}{1.7}{\f{x}}
\psset{linestyle=dotted,showpoints=true,dotstyle=o}
\psline(!0.5 0)(!0.5 \f{0.5})(!0 \f{0.5})
\end{pspicture}

On a $f(0.5)\simeq$ \psPrintValue[decimals=3]{\f{0.5}}
Read More

WsgEMK

% Dans le préambule
% -----------------
\usepackage{tikz}
% -----------------

\begin{tikzpicture}
\draw (3,0) arc (0:90:3);
\draw[thick] (30:3)--++(2,0)--++(0,1)
                   --++(-2,0)--cycle;
\end{tikzpicture}
Read More

Wmf6B3

% Dans le préambule
% -----------------
\usepackage{siunitx}
\sisetup{locale = FR}
% -----------------

\SI{120}{\nano\meter} ou \SI{0.2}{\kilo\meter}

$N_A=\SI{6,02e23}{\per\mol}$

\SI{2.3}{\meter\joule\tothe{2}\per\second\tothe{3}}
Read More

Wiy1Wx

% Dans le préambule
% -----------------
\usepackage{multirow}
\usepackage{graphics}
\usepackage{amssymb}
% -----------------

\newcommand{\prop}[1]
  {\multirow{2}{*}{\rotatebox[origin=c]{-90}
   {\LARGE$\curvearrowright$} #1}}
\renewcommand{\arraystretch}{2}

\begin{tabular}{|l|c|c|r}            \cline{1-3}
Volume & 1 & 3 & \prop{$\times 2$}\\ \cline{1-3}
Poids  & 2 & 6 &                  \\ \cline{1-3}
\end{tabular}
Read More

WfayMy

% Dans le préambule
% -----------------
\usepackage{chemfig}
% -----------------

\chemfig{
  C(-[:90]H)
   (-[:-135]H)
   (<[:-80]H)
   (>:[:-30]H)
}
Read More

WM8wKJ

% Dans le préambule
% -----------------
\usepackage{tasks}
% -----------------

Les halogènes
\begin{tasks}(4)
  \task F
  \task Cl
  \task Br
  \task I
\end{tasks}
Read More

WKbssB

% Dans le préambule
% -----------------
\usepackage{pstricks-add}
% -----------------

\psset{unit=1.5cm,plotpoints=200}
\begin{pspicture*}(-1.6,-1.3)(1.6,1.3)

\psaxes(0,0)(-1.6,-1.3)(1.6,1.3)

\parametricplot[algebraic]{0}{6.28}{sin(5*t) | sin(6*t)}

\end{pspicture*}
Read More

WHkpdd

\begin{tikzpicture}
\coordinate (A) at (0:1)  ;
\coordinate (B) at (72:1) ; \coordinate (C) at (144:1);
\coordinate (E) at (-72:1); \coordinate (D) at (-144:1);

\draw(A)--(B)--(C)--(D)--(E)--cycle;
\draw[dashed](A)--(C)--(E)--(B)--(D)--cycle;
\end{tikzpicture}
Read More

WCc13y

% Dans le préambule
% -----------------
\usepackage{tkz-tab}
% -----------------

\begin{tikzpicture}
\tkzTabInit[lgt=1,espcl=2]
                      {$x$/1,$f$/2}
          {  0 ,    1  ,  3  ,  4 }
\tkzTabVar{+/6 , -DH/5 , +/7 , +/7}
\end{tikzpicture}
Read More

W1Rgmq

Un \textbf{texte} très {\tiny bizarre}
et \texttt{\large pas joli}.
Read More

Use99a

% Dans le préambule
% -----------------
\usepackage{minted}
% -----------------

La fonction
\mintinline{python}{randint(a,b)}
renvoie un entier compris entre a et b.
Read More

Trs671

% Dans le préambule
% -----------------
\usepackage{pythontex}
% -----------------

\begin{sympycode}
from sympy import *
var("x")
f = (sin(x)-x)/x**3
dl = f.series(x, 0, 4)
\end{sympycode}

Le DL de $\sympy{f}$ à l'ordre 4 est $\sympy{dl}$
Read More

TYRyDj

% Dans le préambule
% -----------------
\usepackage{xcolor}
% -----------------

\textcolor{red}{Je suis rouge}
ou {\red je suis rouge.}
Read More

T9S9Fs

% Dans le préambule
% -----------------
\usepackage{pstricks-add}
% -----------------

\renewcommand{\arraystretch}{2}

\begin{tabular}{|l|c|c|r}            \cline{1-3}
Volume&1&3&\rnode{A}{\vphantom{A}}\\ \cline{1-3}
Poids &2&6&\rnode{B}{\vphantom{B}}\\ \cline{1-3}
\end{tabular}

\ncangle[linearc=0.3,
         arm=7mm,arrowsize=2mm]{->}{A}{B}
\naput[labelsep=-1.5em]{
\psovalbox[fillstyle=solid, fillcolor=white]
          {$\times 2$}}
Read More

Stdf50

% Dans le préambule
% -----------------
\usepackage{pstricks-add}
% -----------------

\begin{pspicture}(-1,0)(2,2)
\psgrid(-1,0)(3,2)
\end{pspicture}
Read More

SsTWMW

\begin{tabular}{|r|c|l|}
 \hline
 Wolfgang & Mozart  & Salzbourg  \\
 \hline
 Claude   & Debussy & Paris      \\
 \hline
\end{tabular}
Read More

Sez112

% Dans le préambule
% -----------------
\usepackage{lcg,ifthen}
% -----------------

\reinitrand[first=10,last=100]
\multido{\n=1+1}{12}{
  \rand\therand
  \ifthenelse{\n<12}{,}{.}
}
Read More

Seez2L

% Dans le préambule
% -----------------
\usepackage{ticollege}
% -----------------

\TiC[principal=cos]
\TiC[style=number,principal=5,
    colour key=white, colour text=black]
\TiC[style=arrows]

Pour éteindre :
\TiC[principal=2nde,
  colour text=black, colour key=TIJaune]
\TiC[principal=on,
  second=off, color second=black]
Read More

SbSHwq

% Dans le préambule
% -----------------
\usepackage{chancery}
% -----------------

La police Zapf Chancery porte le nom
de son créateur : Hermann~Zapf.
Read More

SXcn2T

% Dans le préambule
% -----------------
\usepackage{chemfig}
% -----------------

\chemfig{
  H_3C-C(-[:-30]OH)
        (=[:30]O)
}
Read More

ST4xBt

% Dans le préambule
% -----------------
\usepackage{fancybox}
% -----------------

\newcommand{\touche}[1]{\Ovalbox{\textsf{#1}}}

Pressez \touche{2nd} puis \touche{EXE}
Read More

SJk927

% Dans le préambule
% -----------------
\usepackage{titlesec}
\renewcommand{\thechapter}{\Alph{chapter}}
\titleformat{\chapter}[frame]
{\bfseries}
{\MakeUppercase{\chaptertitlename}\thechapter}
{1em}
{\Huge\centering}[\newpage]

\titleformat{\section}[display]
{\sffamily\LARGE}
{\titlerule[2pt]\thesection}
{0em}
{\bfseries}[\titlerule]

\renewcommand{\thesubsection}
  {\thesection--\roman{subsection}}
\titleformat{\subsection}[hang]
{\bfseries\itshape}
{\fbox{\thesubsection}}
{1em}
{}
% -----------------


\chapter{Titre du chapitre}
\section{Titre de la section}
\subsection{Titre de la sous-section}
Read More

S9HAbH

D.~Knuth \qquad Créateur de \TeX.

\bigskip

Leslie~Lamport \quad Auteur de \LaTeX.
Read More

S8NqxD

% Dans le préambule
% -----------------
\usepackage{tkz-euclide}
% -----------------

\begin{tikzpicture}[xscale=1,yscale=0.5]
% Les points A, B et C
\tkzDefPoint(4,-0.5){B} \tkzDefPoint(3,1){C} \tkzDefPoint(2,0){D}
% Première homothétie
\tkzDefPointBy[homothety = center C
               ratio -1](B) \tkzGetPoint{O}
\tkzDefPointBy[homothety = center D
               ratio -1](B) \tkzGetPoint{A}
% Seconde homothétie
\tkzDefPointBy[homothety = center O
               ratio -1](A) \tkzGetPoint{E}
\tkzDefPointBy[homothety = center O
               ratio -1](B) \tkzGetPoint{F}
% Dessin des segments
\tkzDrawSegments(F,B A,E F,E A,B C,D)
% Marquage des points et étiquettes
\tkzDrawPoints(A,B,C,D,O,E,F)
\tkzLabelPoints(A,B,C,D,O,E,F)
\end{tikzpicture}
Read More

S6628p

% Dans le préambule
% -----------------
\usepackage{calc}
% -----------------

\newlength{\la}      \newlength{\lb}
\setlength{\la}{6pt} \setlength{\lb}{3pt}
Read More

S204mK

% Dans le préambule
% -----------------
\usepackage{tikz}
% -----------------

\begin{tikzpicture}
\draw (1,1) circle (0.75);
\draw [red,->] (1,1)++(-45:0.9) arc (-45:45:0.9);

\draw (3,1)--++(45:0.8) arc(45:315:0.8)--cycle;
\draw[fill=red] (3.2,1)--++(-45:0.8)
                        arc(-45:45:0.8)--cycle;
\end{tikzpicture}
Read More

RtM26b

% Dans le préambule
% -----------------
\usepackage{pstricks-add}
% -----------------

\psset{yAxis=false}
\begin{pspicture}(0,-1)(4,1)
\psaxes[subticks=2,ticksize=0 0.5](0,0)(0,0)(3.7,0)
\end{pspicture}

\begin{pspicture}(0,-1)(4,1)
\psaxes[subticks=10,ticksize=-0.1 0.2,
                  subticksize=0.5](0,0)(0,0)(3.7,0)
\end{pspicture}
Read More

Rc9nn9

\noindent%
\begin{minipage}[c]{0.49\textwidth}
  Tux est un manchot,
  mascotte officielle de Linux.
  Dessiné par Larry Ewing en 1996,
  son usage est libre
\end{minipage}\hfill%
\begin{minipage}[c]{0.49\textwidth}
 \begin{center}
  \includegraphics{tux.png}
 \end{center}
\end{minipage}\par
Read More

RbaxkS

% Dans le préambule
% -----------------
\usepackage{tikz}
% -----------------

\begin{tikzpicture}[xscale=0.6,yscale=0.06]
\draw[<->] (0,45)--(0,0)--(7,0);
\foreach \x in {1,2,...,6}
  \draw (\x,-4) node{\x};
\foreach \y in {0,10,...,40}
  \draw (1mm,\y)--(-1mm,\y) node[left]{\y};

\newcommand{\donnees}
       {(1,30)(2,17)(3,34)(4,46)(5,41)(6,10)}
\draw[line width=0.5cm,color=gray]
      plot[ycomb]  coordinates {\donnees};
\draw plot[mark=*] coordinates {\donnees};
\end{tikzpicture}
Read More

RbPXHs

% Dans le préambule
% -----------------
\usepackage{fancybox}
% -----------------

\ovalbox{\makebox[4cm]{texte 1}}

\doublebox{\makebox[4cm][l]{texte 2}}
Read More

RY2QRg

% Dans le préambule
% -----------------
\usepackage{pstricks-add}
% -----------------

\psset{unit=0.666cm}  % Echelle 1/3

\begin{pspicture}(-3,0)(3.5,3.5)
\pspolygon(!0 0)(!0 2 sqrt 2 add)
                (!2 sqrt 2 add 0)
\pscircle[linecolor=gray](!1 1){1}
\end{pspicture}
Read More

RXrdjt

% Dans le préambule
% -----------------
\usepackage{pstricks-add}
% -----------------

\psset{xunit=2}
\pcline(0, 0)(1, 1) \naput{Dessus}
\pcline(0, 0)(1, 0) \ncput{Sur}
\pcline(0, 0)(1,-1) \nbput{Dessous}
\pcline(1, 1)(2, 0) \naput[nrot=:U]{dessus}
\pcline(1, 0)(2, 0) \ncput*[nrot=:U]{sur}
\pcline(1,-1)(2, 0) \nbput[nrot=:U]{dessous}
Read More

RRI931

% Dans le préambule
% -----------------
\documentclass[10pt,a4paper]{book}
\usepackage{fancyhdr}
\pagestyle{fancy}
\usepackage[french]{babel}
% -----------------

\begin{document}
\chapter{Chimie}
\section{Ions}

bla bla \newpage
bla bla \newpage
bla bla
\end{document}
Read More

RKwFw3

% Dans le préambule
% -----------------
\usepackage{pstricks-add}
% -----------------

\begin{pspicture}(-1,-1)(2,1.5)
\psaxes[labels=x,xsubticks=4](0,0)(-1,-1)(2,1.5)
\end{pspicture}
Read More

R673WG

% Dans le préambule
% -----------------
\usepackage{pstricks-add}
% -----------------

\begin{pspicture}(-2,-1)(3,1)
\psaxes[trigLabels=true](0,0)(-2,-1)(3,1)
\end{pspicture}
\begin{pspicture}(-2,-1)(3,1)
\psaxes[trigLabels=true,trigLabelBase=6]
                        (0,0)(-2,-1)(3,1)
\end{pspicture}
Read More

R0BTW3

\[ I_n = \left(
 \begin{array}{c|ccc}
 1     &0& \cdots & 0 \\
 \hline
 0     & &        &   \\
 \vdots& & I_{n-1}&   \\
 0     & &        &
 \end{array}
 \right)
\]
Read More

QtXSQR

% Dans le préambule
% -----------------
\usepackage{tikz}
% -----------------

% Dans le préambule
% -----------------
\usetikzlibrary{trees}
% -----------------

\begin{tikzpicture}[level distance=3cm, sibling distance=0.7cm]
\tikzstyle{every node}=[draw=black]
\node {George VI} [edge from parent fork right,grow'=right]
    child { node {Margaret}}
    child { node {Elisabeth II}
      child { node {Charles}}
      child { node {Anne}}
      child { node {Andrew}}
      child { node {Edward}}
    };
\end{tikzpicture}




Read More

Qr7XJG

% Dans le préambule
% -----------------
\usepackage{pst-optic}
% -----------------

\psset{unit=0.5}
\begin{pspicture*}(4,0)(15,6)
  \lens[AB=2,focus=1.5,lensWidth=1]
\end{pspicture*}
Read More

Qqbde2

\newsavebox{\mybox}
\savebox{\mybox}{\begin{minipage}{\0.75\linewidth}
Du texte juste pour remplir.
Du texte juste pour remplir.
\end{minipage}
}

\usebox{\mybox}
\begin{center}
  \usebox{\mybox}
\end{center}
Read More

Qc83Am

% ########### TODO #################
\noindent\hspace{0.64cm}\begin{minipage}[c]{0.95\textwidth}
\begin{lstlisting}[numbers=left,language=TeX, frame=lines,basicstyle=\footnotesize\ttfamily]
\begin{thebibliography}{9}
  \bibitem{germ}       Émile Zola. \emph{Germinal}. 1885
  \bibitem[MP1]{swann} Marcel Proust. \emph{Du côté de chez Swann}. 1913
  \bibitem[MP2]{ojff}  Marcel Proust.
        \emph{À l'ombre des jeunes filles en fleur}. 1919
  \bibitem{mall}       Stéphane Mallarmé. \emph{Poésies}. 1899
\end{thebibliography}
\end{lstlisting}
\end{minipage}
Read More

QayQSy

% Dans le préambule
% -----------------
\usepackage{hyperref}
\hypersetup{colorlinks=true, allcolors=red}
% -----------------

Voir \ref{gest_fic} et \url{http://bit.ly}
Read More

QM6Nkq

% Dans le préambule
% -----------------
\usepackage{tabvar}
% -----------------

\[\begin{tabvar}{|C|CCCCC|}
\hline
x     & 0 &       & 1 &         & 2 \\ \hline
f'(x) &   &  +    &   &    -    &   \\ \hline
\niveau{1}{2}f(x)
      & 3 &\croit & 5 &\decroit & 4 \\ \hline
\end{tabvar}\]
Read More

QKJRmc

% Dans le préambule
% -----------------
\usepackage{tikz}
\usetikzlibrary{positioning}
% -----------------

\tikzstyle{every picture}+=[remember picture]
\renewcommand{\arraystretch}{2}
\begin{tabular}{|l|c|c|r}               \cline{1-3}
Volume&1&3& \tikz\node(A){}; \\ \cline{1-3}
Poids &2&6& \tikz\node(B){}; \\ \cline{1-3}
\end{tabular}
\begin{tikzpicture}[overlay]
  \draw[->, >=latex] (A.north)
            to[bend left=90]
            node[inner sep=1pt, circle,fill=white,draw]
                {$\times 2$} (B.south);
\end{tikzpicture}
Read More

QH80GE

% Dans le préambule
% -----------------
\usepackage{pstricks-add}
% -----------------

\begin{pspicture}(-2,-1)(2,1)
\pnode(1,0){A}                       % Définition
\pnode(1;72){B}     \pnode(1;144){C} % des cinq
\pnode(1;-144){D}   \pnode(1;-72){E} % noeuds

\pspolygon(A)(B)(C)(D)(E)
\psline[linestyle=dashed](A)(C)(E)(B)(D)(A)
\end{pspicture}
Read More

Q9XRkD

% Dans le préambule
% -----------------
\usepackage{siunitx}
\sisetup{locale = FR,
    inter-unit-product = \ensuremath{ {}\cdot{}}}
% -----------------

\si{\meter\joule\per\second\tothe{3}}

\si[per-mode=symbol]{\meter\joule\per\second\tothe{3}}
Read More

Q9EGYm

% Dans le préambule
% -----------------
\usepackage{circuitikz}
% -----------------

\begin{circuitikz}
  \draw (0,1) to[C=$C$] (3,1);
  \draw (3,1) to[L=$L$] (6,1);
\end{circuitikz}
Read More

Q112zh

% Dans le préambule
% -----------------
\usepackage{ifthen}
% -----------------

\newlength{\lenpoint}

\newcommand{\point}[1]{
  \setlength{\lenpoint}{#1pt}
  \ifthenelse
    {\lengthtest{\lenpoint > 1pt}}
    {#1 points}{#1 point}
}
\point{1}, \point{2}, \point{1.5}, \point{0.5}
Read More

PxRNG6

% Dans le préambule
% -----------------
\usepackage{tikz}
% -----------------

\begin{tikzpicture}
\tikzstyle{noir}=[circle, draw, fill=black, inner sep=0pt, minimum width=6pt]
\tikzstyle{blanc}=[circle, draw, inner sep=0pt, minimum width=6pt]
\tikzstyle{fleche} = [draw,thick,->,>=latex]

% Les deux noeuds blancs
\node[blanc] (A) at (0,0) [label=left:$A$] {};
\node[blanc] (F) at (3,-1)
                   [label=below right:$F$] {};

% Les noeuds noirs
\foreach \pos/\name in {(1,1)/B, (2,0)/C,
                        (1,-1)/D, (3,1)/E}
  \node[noir] (\name) at \pos {};

% Les connexions
\foreach \orig/\dest in {A/B, A/D, B/C, C/D, C/E, D/B, E/B, E/F, F/C}
  \draw[fleche] (\orig) -- (\dest);
\end{tikzpicture}
Read More

Ps361q

% Dans le préambule
% -----------------
\usepackage{multicolumn}
% -----------------

\begin{tabular}{lccc} \hline
      &\multicolumn{3}{c}{Val.}\\ \cline{2-4}
Titre &  A &  B &  C \\ \hline
W     &  2 &  3 &  7 \\
X     & 12 & 10 &  9 \\
Y     &  4 & 11 & 11 \\ \hline\hline
Moy.  &  6 &  8 &  9 \\ \hline
\end{tabular}
Read More

PpDJsg

% Dans le préambule
% -----------------
\usepackage{tikz}
% -----------------

\begin{tikzpicture}[x=0.5cm]
\foreach \x in {0,1,...,8} {
\draw (\x,1mm) node{$\bullet$} node[above]{\x};
}
\end{tikzpicture}
Read More

Pe321m

\noindent
Pythag\'oras \hfill 500 Avant J.-C.\\
Samos\\
Grèce

\bigskip

Cher M.~Knuth,

Je vous remercie chaleureusement
pour votre travail sur \TeX.
La présentation de mes travaux
sur la quadrature du cercle
est bien meilleure que sur les
anciennes tablettes de cire.

\begin{flushright}
Amicalement,

Pythagore
\end{flushright}
Read More

PcP3HF

Lorem ipsum dolor sit [...]
risus. Suspendisse

\begin{flushleft}
tortor, dignissim [...] dolor.
Cras elementum
\end{flushleft}

\begin{center}
diam. Maecenas ligula [...] non, mi.
\end{center}

\begin{flushright}
Orci nec nonummy [...] Duis semper.
\end{flushright}
Read More

PX68NP

% Dans le préambule
% -----------------
\usepackage{pstricks-add}
% -----------------

\psset{xunit=0.5}
\begin{pspicture}(0,0)(1,8)
\multido{\i=0+1}{9}{
  \psdots(\i,0)
  \uput[90](\i,0){\i}
}
\end{pspicture}
Read More

PPmls1

% Dans le préambule
% -----------------
\usepackage{calc}
% -----------------

\newsavebox{\mybox}
\newcommand{\boiboite}[1]{
\savebox{\mybox}{\begin{minipage}{0.75\linewidth}#1\end{minipage}}
\setlength\profondeur{\depthof{\usebox\mybox}}
\setlength\hauteurtot{
                \totalheightof{\usebox\mybox}}
\begin{center}
\rule[-\profondeur]{4pt}{\hauteurtot}%
\rule[-\profondeur-4pt]{1pt}{\hauteurtot+8pt}
\usebox{\mybox}
\end{center}
}

\boiboite{ bla bla bla bla bla bla bla bla bla bla bla bla bla}
\boiboite{ bli bli bli bli bli bli }
Read More

PJncyH

% Dans le préambule
% -----------------
\usepackage{amsmath}
% -----------------

 $\substack{A \\ B}$
 $\overset{A'}{B'}$
 $\underset{A''}{B''}$
Read More

PIs31c

% Dans le préambule
% -----------------
\usepackage{minted}
% -----------------

\usemintedstyle{bw}
\begin{minted}[linenos=true,
bgcolor=lightgray, frame=lines]
{python}
from random import *

def somme_deux_des():
    a = randint(1,6)
    b = randint(1,6)
    return a+b
\end{minted}
Read More

P7Ym5s

% Dans le préambule
% -----------------
\usepackage{tikz}
% -----------------

\begin{tikzpicture}
  \draw (0,0)--(1,1)--(0,1)--(1,0);

\begin{scope}[xshift=1.5cm,scale=0.5]
  \draw (0,0)--(1,1)--(0,1)--(1,0);
\end{scope}

\begin{scope}[xshift=2.5cm,yshift=1cm,x=0.6cm,y=-2cm]
  \draw (0,0)--(1,1)--(0,1)--(1,0);
\end{scope}
\end{tikzpicture}
Read More

Nxcg7T

% Dans le préambule
% -----------------
\usepackage{listings}
\lstset{language=Python,basicstyle=\sffamily}
% -----------------

La ligne \lstinline!def fact(n):!
définit la fonction factorielle.
Read More

Nwsp61

% Dans le préambule
% -----------------
\usepackage{siunitx}
\sisetup{locale = FR,
         group-digits = integer,
         exponent-product = \cdot}
% -----------------

\num{12345.678912} \num{6,02e23}
Read More

NhEkFR

% Dans le préambule
% -----------------
\usepackage{pst-labo}
% -----------------

\psset{unit=0.3cm}
\pstChauffageTube[becBunsen,
                  barbotage,
                  glassType=flacon]
Read More

NXrjG4

Le roman~\cite{germ} de Zola ainsi que
ceux~\cite{swann} et \cite{ojff} de Proust
Read More

NQwy2w

% Dans le préambule
% -----------------
\usepackage{tikz}
% -----------------

\begin{tikzpicture}
\draw[->] (-2,0)--(1,0);
\draw[->] (0,-1)--(0,2);

% La courbe
\draw[domain=-1.5:1] plot (\x, {(\x)^2+\x} );
\end{tikzpicture}
Read More

N5eykb

\fbox{\makebox[\linewidth][l]{texte 1}}

\begin{center}
\fbox{\makebox[0.75\linewidth]{texte 2}}
\end{center}
Read More

N5DeQj

% Dans le préambule
% -----------------
\usepackage{tikz}
% -----------------

\begin{tikzpicture}
 \tikzstyle{ligne}=[draw,thick,-]
 \tikzstyle{plots}=[circle, draw,fill=black, inner sep=0pt]
 \tikzstyle{petit}=[plots, minimum width=3pt]
 \node[petit](A) at (1,0){}; \node[petit](B) at (2,1){};
 \node[petit](C) at (1,2){}; \node[petit](D) at (0,1){};
 \draw (A) -- (B) -- (C) -- (D) -- (A) -- (C);
 \draw (B) -- (D);

\begin{scope}[xshift=1cm, yshift=-2cm]; % on translate
 \tikzstyle{gros}=[plots, minimum width=6pt]
 \node[gros](E) at (0,0){};  \node[gros](F) at (-30:1){};
 \node[gros](G) at (90:1){}; \node[gros](H) at (-150:1){};
 \draw[ligne] (E) -- (F) -- (G) -- (H) -- (E)-- (G);
 \draw[ligne] (F) -- (H);
 \end{scope}
end{tikzpicture}
Read More

Mpl2Sk

% Dans le préambule
% -----------------
\documentclass[20pt]{beamer}
\usetheme{Madrid}    % theme bleu
\title[Titre court]{Titre long}
\author{N.~Poulain}
\date{\today}
% -----------------

\begin{document}

\begin{frame}          % Transparent 1
  \titlepage
\end{frame}





\begin{frame}          % Transparent 2

  \frametitle{Bonjour à tous}
  Le cours commence maintenant.

\end{frame}




\begin{frame}          % Transparent 3

  \frametitle{Les bases}
  \begin{block}{Les blocs de texte}
    Ils mettent des éléments en valeur.

    C'est important pour agrémenter
    l'exposé oral.
  \end{block}

\end{frame}

\end{document}

Read More

McTPya

% Dans le préambule
% -----------------
\usepackage{amsfonts}
% -----------------

\newcommand{\R}{\mathbb{R}}
\newcommand{\RR}{\R \times \R}
le symbole $\R$ et le produit $\RR$
Read More

MI2rhJ

% Dans le préambule
% -----------------
\usepackage{pstricks-add}
% -----------------

\renewcommand{\arraystretch}{2}

\begin{tabular}{|l|c|c|r}            \cline{1-3}
Volume&1&3&\rnode{A}{\vphantom{A}}\\ \cline{1-3}
Poids &2&6&\rnode{B}{\vphantom{B}}\\ \cline{1-3}
\end{tabular}
\ncangle{->}{A}{B} \naput{$\times 2$}
Read More

M96qBa

% Dans le préambule
% -----------------
\usepackage{tikz}
% -----------------

\begin{tikzpicture}
\matrix[nodes={draw,circle}, row sep=0.5cm,
                             column sep=0.5cm] {
  \node (a){A}; & \node (b){B}; & \node (c){C}; \\
  \node (d){D}; &             ; & \node (e){E}; \\
  \node (f){F}; & \node (g){G}; & \node (h){H}; \\ };
\tikzstyle{connect} = [draw=white, line width=3pt,
                                   double=black,-]
\draw[connect] (d) -- (b); \draw[connect] (g) -- (e);
\draw[connect] (a) -- (h); \draw[connect] (c) -- (f);
\draw[connect] (b) -- (e); \draw[connect] (d) -- (g);
\end{tikzpicture}
Read More

M7redY

% Dans le préambule
% -----------------
\usepackage{paralist}
\setdefaultenum{A.}{(1)}{--a--}{}
\setdefaultleftmargin{2em}{1em}{0.5em}{}{}{}
% -----------------

\begin{enumerate}
   \item Un document \LaTeX{} est :
   \begin{enumerate}
      \item rigoureux
      \begin{enumerate}
         \item dans sa structure
      \end{enumerate}
   \end{enumerate}
\end{enumerate}
Read More

M7ps7H

\begin{tabular}{|c|c|c|} \hline
A & B & C \rule[-12pt]{0pt}{30pt} \\ \hline
1 & 2 & 3 \\ \hline
x & y & z \\ \hline
\end{tabular}
Read More

Lss776

% Dans le préambule
% -----------------
\usepackage{pst-circ}
% -----------------

\begin{pspicture}(0,0)(4.5,3)
\psset{labelangle=:U]
\pnodes(0,0){A}(2,4){D}(4,2){F}(2,-1){W}
\battery(A)(A|D){12V}
\wire(A)(D|A)
\potentiometer(D|A)(D)(F){$10k\Omega$}
\transistor(F){emet}{col}
\wire(col)(col|D)
\wire(col|D)(A|D)
\wire(emet)(emet|A)
\capacitor(D|A)(emet|A){$100\mu F$}
\pnode(2,-1){W}
\wire[arrows=-o](D|A)(W)
\wire[arrows=-o](emet|A)(emet|W)
\tension(emet|W)(W){0 à 12V}
\end{pspicture}
Read More

LsU872

% Dans le préambule
% -----------------
\usepackage[explicit]{titlesec}
\titleformat{\section}[hang]
 {\flushright\sffamily\bfseries\scshape}
 {}{2em}
 {#1\quad\rule[-0.5em]{1.5pt}{2em}
  \rlap{\qquad\Huge \thesection}
}
% -----------------

\section{Introduction}
Lorem ipsum...

\section{Compléments}
Est pellentesque....
Read More

KhNM24

% Dans le préambule
% -----------------
\usepackage{amsmath}
% -----------------

\[ f(x) =
\begin{cases}
0    & \text{si } x<0 \\
2x+3 & \text{si } x \geq 0
\end{cases}
\]
Read More

KaPmm3

% ########### TODO #################
\noindent\hspace{0.0cm}\begin{minipage}[c]{0.95\textwidth}
\begin{codell}
% Dans le préambule
% -----------------
\usepackage{tikz}
% -----------------

\begin{tikzpicture}[xscale=0.9,yscale=2.7, samples=300]
\fill[color=gray!40]
plot [domain=1:3] (\x, {sin(pi*\x r)/((\x*\x)+1)} )
-- plot [domain=3:1] (\x, {1/((\x*\x)+1)} ) -- cycle;
\foreach \x in {1,2,3}
\draw[thick] (\x,0.5mm)--(\x,-0.5mm);
\foreach \y in {0.2,0.4,...,1}
\draw[thick] (1mm,\y)--(-1mm,\y) node[left]{$\pgfmathprintnumber\y$};

\draw[->] (-0.5,0) -- (3.5,0);
\draw[->] (0,-0.4) -- (0,1.1);
\draw (1mm,1) -- (-1mm,1) node[left] {$1$};
\draw[domain=0:3.5] plot (\x, {sin(pi*\x r)/((\x*\x)+1)} );
\draw[domain=0:3.5] plot (\x, {1/((\x*\x)+1)} );
\end{tikzpicture}
\end{codell}
\end{minipage}
Read More

KS332i

% Dans le préambule
% -----------------
\usepackage{ticollege, tipfr}
% -----------------


\scalebox{0.3}{
\TiCCalc   \Calculatrice
}
Read More

KS2525

% Dans le préambule
% -----------------
\usepackage{xlop}
% -----------------

\opset{decimalsepsymbol={,}, voperator=bottom}
\opadd{45,05}{78,4}
\opadd[carryadd=false]{45,05}{78,4}
Read More

KRnscs

% Dans le préambule
% -----------------
\usepackage{pstricks-add}
% -----------------

\begin{pspicture}(-2,-2)(2,2)

\multido{\rA=0+51.429,\nA=0+1}{7}{
  \cnode*(2;\rA){1pt}{Nd\nA}
}

\multido{\nA=0+1}{7}{
  \multido{\nB=0+1}{7}{
    \ncarc[arcangle=-40]{Nd\nA}{Nd\nB}
  }
}
\end{pspicture}
Read More

KGM3cN

% Dans le préambule
% -----------------
\usepackage{chemfig}
% -----------------

  \chemfig{
    C(-[:-121.3]H)
     (-[:121.3]H)
   =C(-[:-58.70]H)
     (-[:58.70]H)
}
Read More

KE7J1s

Quelques
mots\footnote{Une note de bas de page}
et encore
d'autres\marginpar{Note en marge}
pour montrer le
fonctionnement\footnote{Compris ?}
du système. Lorem ipsum...
Read More

K7726m

% ########### TODO #################
\noindent\hspace{0.64cm}\begin{minipage}[c]{0.95\textwidth}
\begin{lstlisting}[numbers=left,language=TeX, frame=lines,basicstyle=\footnotesize\ttfamily]
% Dans le préambule
% -----------------
\usepackage{tikz}
% -----------------

% Dans le préambule
% -----------------
\usetikzlibrary{calc}
% -----------------

\begin{tikzpicture}
\draw (1,0)-- (2,2) -- node[above]{L1}(3,2)
           -- (4,0) -- node[below]{L2} cycle;

\draw[<->] ($(1,0)!5mm!90:(2,2)$)
                    -- node[fill=white]{$H_1$} ($(2,2)!5mm!-90:(1,0)$);
\draw[|-|] ($(3,2)!4mm!90:(4,0)$)
                    -- node[above,sloped]{$x$} ($(4,0)!4mm!-90:(3,2)$);
\end{tikzpicture}
\end{lstlisting}
\end{minipage}
Read More

K72S2q

% Dans le préambule
% -----------------
\usepackage{amsfonts}
\usepackage{esvect}
% -----------------

\newcommand{\R}{\mathbb{R}}
\newcommand{\RR}{\R\times\R}
\newcommand{\Oij}{(O,\vv\imath,\vv\jmath)}
\newcommand{\cursive}[1]{\mathcal{#1}}

Soit $(x,y)\in\RR$, on place un point $M(x,y)$
dans le repère $\Oij$ du plan $\cursive{P}$.
Read More

K333eH

% Dans le préambule
% -----------------
\usepackage{graphicx}
% -----------------

Un \resizebox{1cm}{5mm}{mot}
un \scalebox{5}[2]{mot}
\scalebox{-1}[1]{miroir}.
Read More

K2231p

% Dans le préambule
% -----------------
\usepackage{ticollege}
% -----------------

\TiCScreen[height=2,width=4]{3+2/5,
/,
1:3/{0,333333333}}
Read More

Jsq3sr

% Dans le préambule
% -----------------
\usepackage{xcolor}
% -----------------

\fcolorbox{black}{lightgray}
          {\black Noir sur gris clair}
avec bordure.
Read More

JqFct6

% Dans le préambule
% -----------------
\usepackage{tikz}
% -----------------

\begin{tikzpicture}[very thin]

\foreach \a/\b/\label/\p in
{ 0/158.4/Pacifique/44,
  158.4/259/Atlantique/28,
  259/327.6/Indien/19,
  327.6/345.6/Austral/5,
  345.6/360/Arctique/4
} {
  \draw[fill=gray!\p]
         (0,0)
       --(\a:3) arc (\a:\b:3)
       --cycle;
  \draw({(\a+\b)/2}:2) node{\label};
}
\end{tikzpicture}
Read More

JjD2BB

% Dans le préambule
% -----------------
\usepackage{diagbox}
% -----------------

\begin{tabular}{|l|c|c|} \hline
\diagbox{Vendeur}{Titre}
         & Help! & More \\ \hline
 Alazon  &  18   &  22  \\ \hline
 Amapage &  19   &  20  \\ \hline
\end{tabular}
Read More

JiE4fT

% Dans le préambule
% -----------------
\usepackage{pstricks-add}
% -----------------

\begin{pspicture}(-2,-1)(1,2)

\psaxes{->}(0,0)(-2,-1)(1.5,2)     % le repère
\psplot[algebraic]{-1.5}{1}{x^2+x} % la courbe

\end{pspicture}
Read More

JJ3mp2

% Dans le préambule
% -----------------
\usepackage{tikz}
% -----------------

\begin{tikzpicture}
\matrix[nodes={draw,circle}, row sep=0.5cm,
                             column sep=0.5cm] {
  \node (a){1}; &\node (c){3}; &             ;\\
  \node (b){2}; &            ; &\node (d){4} ;\\ };

\tikzstyle{fleche} = [draw,thick,->,>=latex]
\draw[fleche] (b) -- (a);
\draw[fleche] (c) -- (a);
\draw[fleche] (b) -- (c);
\draw[fleche] (c) to[bend right] (d);
\draw[fleche] (d) to[bend right] (c);
\end{tikzpicture}
Read More

JFprMs

% Dans le préambule
% -----------------
\usepackage{xcolor}
% -----------------

% Dans le préambule
% -----------------
\definecolor{gris}{rgb}{0.5,0.5,0.5}
% -----------------

% Definition & initialisation du compteur
\newcounter{Ex}  \setcounter{Ex}{0}
% Definition de la commande
\newcommand{\exo}{\stepcounter{Ex}
 \colorbox{gris}{\textcolor{white}{\theEx}}
}

\exo Calculer $f(2)$.

\exo Déterminer $f^{-1}(0)$.

\exo Calculer $f'(0)$.
Read More

JDHy67

% Dans le préambule
% -----------------
\usepackage{tcolorbox}
% -----------------

\begin{tcolorbox}[width=4cm,boxrule=0.5pt]
Encore une boîte tcolorbox
\end{tcolorbox}

\begin{tcolorbox}[title=Important]
 Dans les options, on peut aussi
 choisir la couleur du cadre.
\end{tcolorbox}
Read More

JArTit

% Dans le préambule
% -----------------
\usepackage{pst-optic}
% -----------------

\psset{unit=0.3, drawing=false,lensWidth=2}
\begin{pspicture*}(-5,-3)(4,3)
\rput(0,0){\lens[XO=-4]}
\rput(0,0){\lens[XO=-2,lensType=PCVG]}
\rput(0,0){\lens[XO=1,lensType=DVG]}
\rput(0,0){\lens[XO=3,lensType=PDVG]}
\end{pspicture*}
Read More

J22Sop

% Dans le préambule
% -----------------
\usepackage{pst-circ}
% -----------------

\begin{pspicture}(0,0)(4.5,3)
\pnodes(0,1){A}(2,0){B}(4,2){C}
\transistor(A)(B)(C)
\transistor(B){emet}{col}
\wire[arrows=-*](col)(col|C)
\end{pspicture}
Read More

J21m99

\newlength\lrg
\settowidth\lrg{à trou}
\newlength\biglrg
\setlength\biglrg{1.5\lrg}
Texte à trou évolué \\
Texte \makebox[\biglrg]{\dotfill} évolué
Read More

Ix2xAa

\documentclass[a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}

\begin{document}
Voici un document de base avec
quelques packages chargés.

Le rôle de chaque ligne du préambule
sera expliqué dans ce chapitre.
\end{document}
Read More

IIsil2

% Dans le préambule
% -----------------
\usepackage{tcolorbox}
% -----------------

\begin{tcolorbox}
 Une boîte tcolorbox
 avec du texte dedans
\end{tcolorbox}
Read More

IFkHJc

% Dans le préambule
% -----------------
\usepackage{tikz}
% -----------------

\begin{tikzpicture}[x=3cm,y=3cm]
\foreach \a in {0,1,...,180} {
  \draw (\a:1) -- (\a:0.85);
}
\foreach \a in {10,20,...,170}{
  \draw[thick](\a:1)--(\a:0.8);
  \draw (\a:0.75) node{\tiny \a};
}
\draw(1,0) arc (0:180:1) -- cycle;
\draw (0,0) node{$\circ$};
\end{tikzpicture}
Read More

IEPGxm

% Dans le préambule
% -----------------
\usepackage{pstricks-add}
% -----------------

\begin{pspicture}(-3,-3)(3,3)
\psChart{44,28,19,5,4}{}{2}
\rput(psChartI1){\small \white Pacifique}
\rput(psChartI2){\small \white Atlantique}
\rput(psChartI3){\small \white Indien}
\rput(psChartI4){\small \white Austral}
\rput(psChartI5){\small Arctique}
\end{pspicture}
Read More

I7GrBW

% Dans le préambule
% -----------------
\usepackage{tikz}
% -----------------

\begin{tikzpicture}[grow'=right,level distance=2cm, sibling distance=0.8cm,->]

\node {A}
  child { node {B}}
  child { node {C}}
  child { node {D}
            child { node {E}}
            child { node {F}}
        };
\end{tikzpicture}
Read More

I3329s

% Dans le préambule
% -----------------
\usepackage{pst-circ}
% -----------------

\begin{pspicture}(0,0)(4.5,3)
\psset{labeloffset=0.5}
\pnodes(0,0){A}(4,1){B}(4,2){C}
\wire[arrows=*-o](A)(B|A)
\diode(A|B)(B){$D_1$}
\LED(A|C)(C){}
\end{pspicture}
Read More

I2AAm8

% Dans le préambule
% -----------------
\usepackage{tikz,tkz-base}
% -----------------

\begin{tikzpicture}[scale=2]
\tkzInit[xmin=37.2,xmax=37.4,xstep=0.1];
\tkzAxeX[label={temp.}];
\tkzDefPoint(37.35,0){T}
\draw(T) node {$\bullet$} node[above]{t};
\end{tikzpicture}
Read More

I227YN

% Dans le préambule
% -----------------
\usepackage{pstricks-add}
% -----------------

\begin{psmatrix}[mnode=circle,colsep=.5,rowsep=.5]
A & B & C \\
D &   & E \\
F & G & H \\
\end{psmatrix}
\ncline{2,1}{1,2}
\ncline{3,2}{2,3}
\ncline[border=3pt]{1,1}{3,3}
\ncline[border=3pt]{3,1}{1,3}
\ncline[border=3pt]{1,2}{2,3}
\ncline[border=3pt]{2,1}{3,2}
Read More

Hs4ccs

% Dans le préambule
% -----------------
\usepackage{pst-labo}
% -----------------

\psset{unit=0.4cm}
\rput(0,1.5){
  \pstTubeEssais[tubePenche=-50,niveauLiquide1=90] }
\rput(2,0){
  \pstTubeEssais[glassType=becher,niveauLiquide1=0] }
Read More

HpdJJA

% Dans le préambule
% -----------------
\usepackage{tikz}
% -----------------

\begin{tikzpicture}
\draw(1,1) node{$\bullet$} node[left]{$A$};
\draw(1,0) node{$\bullet$} node[right]{$B$};
\draw(3,1) node{$\bullet$} node[below right]{$\Delta$};
\draw(3,0) node{$\bullet$} node[right, rotate=30]{$M_1$};
\end{tikzpicture}
Read More

Hmq2xk

% Dans le préambule
% -----------------
\usepackage{tkz-tab}
% -----------------

\begin{tikzpicture}
\tkzTabInit{x / 1 , P / 1}
           {3,   4,   5}
\tkzTabLine{ ,- ,z,+ , }
\end{tikzpicture}
Read More

Hm2cta

% Dans le préambule
% -----------------
\usepackage{pst-labo}
% -----------------

\psset{unit=0.4cm}
\pstTubeEssais[bouchon=true]
\pstTubeEssais[glassType=erlen,pince=true]
Read More

Hf3D3B

{ \setlength{\tabcolsep}{6mm}
\begin{tabular}{|c|c|c|} \hline
A & B & C \\ \hline
1 & 2 & 3 \\ \hline
x & y & z \\ \hline
\end{tabular} }
Read More

HRxI9y

\renewcommand{\arraystretch}{1.8}
\begin{tabular}{|c|c|c|} \hline
A & B & C \\ \hline
1 & 2 & 3 \\ \hline
x & y & z \\ \hline
\end{tabular}
Read More

HBmpo1

% Dans le préambule
% -----------------
\usepackage{pst-labo}
% -----------------

\psset{unit=0.4cm,glassType=becher}
\pstTubeEssais[substance =\pstFilaments{gray}]
\pstTubeEssais[substance =\pstBilles]
\pstTubeEssais[substance ={\pstBilles[70]}]
Read More

GxInYS

\documentclass{article}
\begin{document}
Bonjour tout le monde.
\end{document}
Read More

GwMnKj

% Dans le préambule
% -----------------
\usepackage{tikz}
% -----------------

% Dans le préambule
% -----------------
\usetikzlibrary{shapes}
% -----------------

\begin{tikzpicture}[grow=down,->]
\tikzstyle{level 1}=[sibling distance=3cm]
\tikzstyle{level 2}=[sibling distance=1.5cm]

\node[draw, ellipse] {Bernoulli}
child { node {A1}
  child { node {A2}
          edge from parent node[left=4pt] {$1-q$}
        }
  child { node {B2}
          edge from parent node[right=4pt] {$q$}
        }
  edge from parent node[left=4pt] {$1-p$}
}
child { node {B1}
  child { node {A3}
          edge from parent
          node[left=4pt] {$1-r$}
        }
  child { node {B3}
          edge from parent
          node[right=4pt] {$r$}
        }
  edge from parent node[right=4pt] {$p$}
};
\end{tikzpicture}
Read More

GZm217

% Dans le préambule
% -----------------
\documentclass[20pt]{beamer}
\usetheme{Warsaw}
\title[De motu corporum]
        {De motu corporum in gyrum}
\author{Isaac~Newton}
\institute{University of Cambridge}
\date{1684}
% -----------------

\begin{document}

\begin{frame} % Diapo 1
  \titlepage
\end{frame}

\begin{frame} % Diapo 2
\frametitle{De motu corporum in gyrum}
\begin{block}
    {Proposé à Edmond Halley en 1684}
 En français : Du mouvement des corps
\end{block}
\end{frame}

\end{document}
Read More

GT56ka

\newtheorem{thm}{Théorème}
\newtheorem{coro}[thm]{Corollaire}

\begin{thm}       texte. \end{thm}
\begin{coro}[Xyz] texte. \end{coro}
\begin{thm}       texte. \end{thm}
Read More

GGs817

% Dans le préambule
% -----------------
\usepackage{chemfig}
% -----------------

  \chemfig{
    C(-[:-120]H)
     (-[:120]H_3C)
   =C(-[:-60]CH_2-CH_3)
     (-[:60]H)
}
Read More

G9c9RW

% Dans le préambule
% -----------------
\usepackage{amsfonts}
% -----------------

\[
x \in \mathbb{N} \Rightarrow x \in \mathbb{Z}
\]
Read More

FeyxJh

% Dans le préambule
% -----------------
\usepackage{xcolor}
% -----------------

\colorbox{black}{\white Blanc sur fond noir}
Read More

FdjycK

% Dans le préambule
% -----------------
\usepackage{tikz}
% -----------------

\begin{tikzpicture}[scale=1.5]
\draw[->, thick] (-1.3,0) -- (1.3,0);
\draw[->, thick] (0,-1.3) -- (0,1.3);
\foreach \x in {-1,1}
  \draw (\x,1mm)--(\x,-1mm) node[below]{$\x$};
\foreach \y in {-1,1}
  \draw (1mm,\y)--(-1mm,\y) node[left] {$\y$};

\draw[domain=0:360,samples=400,smooth]
      plot ({sin(5*\x)},{sin(6*\x)});
Read More

FP2jx5

% Dans le préambule
% -----------------
\usepackage{tikz,tkz-base}
% -----------------

\begin{tikzpicture}[scale=0.2]
\tkzInit[xmin=-2,xmax=2,ymin=-2,ymax=2]
\tkzDrawXY   % Trace les axes avec les graduations
             %           mais sans les coordonnées
% La courbe
\draw[domain= -2:-0.2] plot (\x, {1/\x} );
\draw[domain=0.2:2   ] plot (\x, {1/\x} );
\end{tikzpicture}
Read More

FBhg0r

% Dans le préambule
% -----------------
\usepackage{xcolor, cancel}
% -----------------

\[
\frac{ {\red a} b }{b} =
\frac{ {\red a} \cancel{b} }{\cancel{b}}
 = {\red a}
\]
Read More

F1JQMj

% Dans le préambule
% -----------------
\usepackage{tikz}
% -----------------

\begin{tikzpicture}
  \clip(-1.5,-0.1) rectangle (3.5,2.1);
  \draw[gray] (-1,0) grid (3,2);
  \draw[gray,very thin] (-1,0) grid[step=0.1] (3,2);
\end{tikzpicture}
Read More

Erri81

% Dans le préambule
% -----------------
\usepackage{chemfig}
% -----------------

\begin{tikzpicture}
  \coordinate(O) at (0,0);
  \coordinate(A) at (45:3);
  \coordinate(B) at ({3*cos(45)},0);

  \draw (O)--(A)--(B);
  \draw[fill=white] (A) circle(0.2);
  \draw (A) node{$\bullet$};
  \draw[fill=lightgray](45:1) --++(135:0.4)
               --++(-135:0.4) --++(-45:0.4) --cycle;
  \draw[fill=gray](A) ++(0.1,-1) --++(0.2,0)
                    --++(0,-0.2) --++(-0.2,0) --cycle;
  \draw[thick] (45:1)++(135:0.2)--++(45:2) arc (135:0:0.2) --++(0,-1);
  \end{tikzpicture}
Read More

EX65xq

% Dans le préambule
% -----------------
\usepackage{pstricks-add}
% -----------------

\savedata{\donnees}[{1,30},{2,17},{3,34},
                    {4,46},{5,41},{6,10}]
\psset{xunit=0.6,yunit=0.06}
\begin{pspicture}(-1,-10)(6,50)
  \psaxes[Dy=10]{->}(0,0)(0,0)(6,50)
\dataplot[plotstyle=line]{\donnees}
\dataplot[plotstyle=dots]{\donnees}
\dataplot[plotstyle=bar,
             barwidth=0.5]{\donnees}
\end{pspicture}
Read More

E8PEfy

% Dans le préambule
% -----------------
\usepackage{pstricks-add}
% -----------------

\psset{yunit=2.5cm}
\begin{pspicture}(-2.2,-0.3)(2,1.3)
\psaxes {->}(0,0)(-2.2,-0.3)(2,1.2)
\newcommand{\f}{1/(2^(x^2))}

\pscustom[fillstyle=vlines,linestyle=none]
{
  \psplot[algebraic]{-1}{1}{\f}
  \psline(1,0)(-1,0)
}
\psplot[algebraic]{-2.2}{2}{\f}
\end{pspicture}
Read More

E88w3c

% Dans le préambule
% -----------------
\documentclass[20pt]{beamer}
% -----------------


\begin{frame}
  \[
    \frac{12}{15}
    \visible<2->{ = \frac{3\times 4}{3\times 5}}
    \visible<3->{ = \frac{4}{5}}
  \]
\end{frame}
Read More

E773Fw

% Dans le préambule
% -----------------
\usepackage{pstricks-add}
% -----------------

\psset{xunit=0.25,yunit=2}
\begin{pspicture*}(-8,-0.5)(10,1.2)
  \psaxes[trigLabels=true,dx=3.1416]
                     (0,0)(-7,-0.5)(10,1.2)
  \psplot[algebraic]{-7}{-0.0001}{sin(x)/x}
  \psplot[algebraic]{0.00001}{10}{sin(x)/x}
\end{pspicture*}
Read More

DxFnp2

% Dans le préambule
% -----------------
\usepackage{tikz}
% -----------------

\begin{tikzpicture}
\draw (0,1/2) ellipse (1.5 and 0.25);
\draw (-1.5,-0.5) -- (-1.5,0.5);
\draw (1.5,-0.5) -- (1.5,0.5);
\draw (-1.5,-1/2) arc (-180:0:1.5 and 0.25);
\draw [dotted] (1.5,-1/2) arc (0:180:1.5 and 0.25);
\end{tikzpicture}
Read More

DcqA2b

% Dans le préambule
% -----------------
\usepackage{chemfig}
% -----------------

\scriptsize
\chemfig{*6(-=-=-=)}
Read More

DNIPdF

% Dans le préambule
% -----------------
\usepackage{scratch}
% -----------------

\begin{scratch}
\blockinit{Quand \greenflag est cliqué}
\blockpen{stylo en position d'écriture}
\blockrepeat{répéter \ovalnum{10} fois} {
  \blockmove{avancer de \ovalnum{10}}
  \blockmove {
    tourner \turnleft{} de \ovalnum{36} degrés
  }
}
\end{scratch}
Read More

DKL223

% Dans le préambule
% -----------------
\usepackage{tikz}
% -----------------

\begin{frame}

\begin{tikzpicture}[scale=1]
% Le repère
\draw[->, thick] (-3.5,0) -- (1,0); \draw[->, thick] (0,-1) -- (0,2);
\foreach \x in {-3,-2,-1,1} \draw (\x,1mm) -- (\x,-1mm) node[below] {$\x$};
\foreach \y in {-1,1}       \draw (1mm,\y) -- (-1mm,\y) node[left] {$\y$};

\draw plot[smooth] coordinates {(-3,0) (-2,1.5) (0,0) (1,1)};

\visible<2->{\draw[dashed] (-2,0)--(-2,1.5) node{$\bullet$};}
\visible<3->{\draw[dashed] (-2,1.5)--(0,1.5) node[right]{1,5};}
\end{tikzpicture}

\end{frame}
Read More

DCKp5P

% Dans le préambule
% -----------------
\usepackage{pstricks-add}
% -----------------

\newcommand{\f}{(0.3*x)^3-0.3*x} % def fontion
\psset{algebraic,xunit=0.66cm,yunit=3cm}
\begin{pspicture}(-3.5,-0.5)(3.5,0.5)
\psaxes(0,0)(-3.5,-0.5)(3.5,0.5)
\psplot{-3.1}{2.9}{\f}           % trace courbe
\psset{arrows=<->,linewidth=1pt}
\psplotTangent{-2}{1}{\f}        % tangente 1
\psplotTangent{1.5}{1}{\f}       % tangente 2
\end{pspicture}
Read More

D967Rf

% Dans le préambule
% -----------------
\usepackage{array}
% -----------------

\newcolumntype{Q}[1]{>{\centering}p{#1}}

\begin{tabular}{|c|Q{2cm}|c|} \hline
A & B & C \\ \hline
1 & 2 & 3 \\ \hline
x & y & z \\ \hline
\end{tabular}
Read More

D3nwD9

% Dans le préambule
% -----------------
\usepackage{scratch}
% -----------------

\begin{scratch}[print,fill blocks]
\blockinit{Quand \greenflag est cliqué}
\blockpen{effacer tout}
\blockpen{relever le stylo}
\blockmove{
  ajouter \ovalnum{5}
  à \ovalvariable{abscisse}
}
\end{scratch}
Read More

CwhBER

% Dans le préambule
% -----------------
\usepackage{pstricks-add}
% -----------------

\psset{xunit=1cm,yunit=0.5cm}
\begin{pspicture}(-1.5,-1)(3.5,4.5)

\psaxes(0,0)(-1.5,-0.5)(3.5,4.5)
\psplot[algebraic]{-1.1}{3.1}{ (1+x)*(3-x) }

% Place le point A et les pointilles
\psdots(2,3) \uput[45](2,3){$A$}
\psline[linestyle=dotted](2,0)(2,3)(0,3)

\end{pspicture}
Read More

CiYjKC

% Dans le préambule
% -----------------
\usepackage{pst-optic}
% -----------------

\psset{unit=0.5}
\begin{pspicture*}(4,0)(15,6)
  \lens
\end{pspicture*}
Read More

Chsw39

% Dans le préambule
% -----------------
\usepackage{tkz-tab}
% -----------------

\begin{tikzpicture}
\tkzTabInit{x/1,f'(x)/2}
          { 0  ,    1    ,  3 }
\tkzTabVar{+/5 , -D+/4/7 , -/6}
\end{tikzpicture}
Read More

CJp5MX

% Dans le préambule
% -----------------
\usepackage{tikz}
% -----------------

\begin{tikzpicture}[node distance=2.5cm]
\node(g){$G$};
\node(im)  [right of=g] {$\mathrm{im}(f)$};
\node(quo) [below of=g] {$G/\ker(f)$};

\tikzstyle{fleche}=[draw,->,>=latex]
\tikzstyle{tirets}=[fleche, dashed]

\draw[fleche] (g)  -- node[above] {$f$} (im);
\draw[fleche] (g)  -- node[left] {$\varphi$} (quo);
\draw[tirets] (quo)-- node[below] {$h$} (im);
\end{tikzpicture}
Read More

C1WSe9

\renewcommand{\contentsname}{Sommaire}
\tableofcontents

\section{Introduction}
    Blabla.....
\section{Développement}
\subsection{Première partie}
    Blabla.....
\subsection{Seconde partie}
    Blabla.....
\section{Conclusion}
Read More

BwiT7K

% Dans le préambule
% -----------------
\usepackage[french,ruled,linesnumbered,vlined]{algorithm2e}
% -----------------

\begin{algorithm}
\caption{Compte à rebours}
$N \gets 10$ \;
\Tq{N>0}{
  $N \gets N-1$ \;
  Afficher la valeur de N \;
}
\end{algorithm}
Read More

BeykFB

% Dans le préambule
% -----------------
\usepackage{tikz}
% -----------------

% Dans le préambule
% -----------------
usetikzlibrary{calc}
% -----------------

\begin{tikzpicture}
\draw (-1,0) grid (3,3);
\foreach \y in {0,1,2} {
  \foreach \yy in {1,2,...,10}
    \draw (-1,{\y+ln(\yy)/ln(10)})
        --(3,{\y+ln(\yy)/ln(10)});
}
\foreach \x in {-1,0,1,2,3}
  \draw (\x,0) node[below]{$\x$};
\foreach \y in {0,1,2,3}
  \draw (-1,\y) node[left]{$10^\y$};
\end{tikzpicture}
Read More

Bew034

% Dans le préambule
% -----------------
\usepackage{tikz}
% -----------------

\begin{tikzpicture}[xscale=1,yscale=1.5]
  \tkzInit[xmin=-1.5,xmax=3,ymin=-1,ymax=1]
  \tkzAxeXY[orig=false,swap]
  \draw[domain = -1.5:3]
                plot (\x, {1/(1+(\x)^2)} );
  \draw (1,0.5) node[scale=1] {$\bullet$}
                node[above right] {$A$};
\end{tikzpicture}
Read More

Bciu23

% Dans le préambule
% -----------------
\usepackage{siunitx}
% -----------------

\begin{frame}

\[ \frac{E}{m} = \SI{9,0e16}{\meter^2\per\second^2} \]

\visible<2->{
  et donc :
  \begin{align*}
    \sqrt\frac{E}m &= \SI{3,0e8}{\meter\per\second} \\
      \visible<3->{&= c}
  \end{align*}
}
\end{frame}
Read More

BPCN3M

% Dans le préambule
% -----------------
\usepackage{array}
% -----------------

\begin{tabular}{|p{1.5cm}|p{1cm}|c|}  \hline
  p & Un texte long & 1 \\ \hline
\end{tabular}
\begin{tabular}{|m{1.5cm}|m{1cm}|c|}  \hline
  m & Un texte long & 1 \\ \hline
\end{tabular}
\begin{tabular}{|b{1.5cm}|b{1cm}|c|}  \hline
  b & Un texte long & 1 \\ \hline
\end{tabular}
Read More

BGhYK6

Un {\bfseries texte} très {\tiny bizarre}
et {\ttfamily \large pas joli}.
Read More

Ay2peD

% Dans le préambule
% -----------------
\usepackage{pstricks-add}
% -----------------

\begin{pspicture}(0,0)(4,2)
\pscircle(1,1){0.75}
\psarc[linecolor=red,arrows=->]
(1,1){0.9}{-45}{45}

\pswedge(3,1){0.8}{45}{-45}
\pswedge[fillstyle=solid, fillcolor=red]
(3.2,1){0.8}{-45}{45}
\end{pspicture}
Read More

AQBt1F

\newcommand{\problm}[3][\textbf]{
  #1{Problème #2} \hfill (#3)\par
}
\problm{de physique}{5 pts} blabla...

\problm[\textit]{de chimie}{Bonus}
blabla...
Read More

ABSsde

% Dans le préambule
% -----------------
\usepackage{pstricks-add}
% -----------------

\psset{yunit=4cm}
\begin{pspicture}(-2,-0.3)(2,1.1)
\psaxes[labels=none,ticks=x](0,0)(-2,-0.3)(2,1.1)
\newcommand{\f}{(cos(2*\psPi*x))^2/(x^2+1)}

\psplot[plotpoints=40,linecolor=red]{-2}{0}{\f}
\psplot[linewidth=2pt,plotpoints=300]{0}{2}{\f}
\end{pspicture}
Read More

A2f0is

% Dans le préambule
% -----------------
\usepackage{pstricks-add,pst-eucl}
% -----------------

% g(x)=(x^3)/3+x+2/3 en RPN :
\newcommand{\f}{x 3 exp 3 div x sub 2 3 div add}
% h(x)=x^2 en RPN :
\newcommand{\g}{x 2 exp}

\begin{pspicture*}(-2.2,-0.5)(2.5,2)
\psaxes[labels=none]{->}(0,0)(-2.2,-0.5)(2.5,2)
\psplot{-2.2}{2}{\f}
\psplot{-2.2}{2}{\g}

\pstInterFF[PosAngle=90]{\f}{\g}{1}{P}
\pstInterFF[PosAngle=45]{\f}{\g}{-1}{M_0}
\end{pspicture*}
Read More

9wx02s

% Dans le préambule
% -----------------
\usepackage{minted}
% -----------------

\begin{minted}{python}
from random import *

def somme_deux_des():
    a = randint(1,6)
    b = randint(1,6)
    return a+b
\end{minted}
Read More

9wMaXN

% Dans le préambule
% -----------------
\usepackage{amsmath}
% -----------------

\begin{align}
(a+b)^2    &= a^2+2ab+b^2 \label{IR1}\\
(a-b)^2    &= a^2-2ab+b^2 \nonumber  \\
(a+b)(a-b) &= a^2-b^2
\end{align}

l'équation \ref{IR1} est appelée
première identité remarquable.
Read More

9iz6kM

% Dans le préambule
% -----------------
\usepackage{pythontex}
% -----------------

Savez-vous que
$1.5^{14} \simeq \py{round(1.5**14)}$ ?
Read More

9cykQr

$E=mc^2$ \qquad $H_3O^+ + OH^- = 2H_2O$

$x_0^{4^2}$ est égal à $x_0^{16}$
                et non $x_0^16$
Read More

9Z34Ps

% Dans le préambule
% -----------------
\usepackage{tikz,tkz-base}
% -----------------

\begin{tikzpicture}
\tkzInit[xmin=-2,xmax=4,
         ymin=0,ymax=1,ystep=0.5]
\tkzAxeX[trig=3,label options={below = 8pt}]
\tkzAxeY[frac=2]
\tkzDefPoint(pi,0.5){A}
\draw(A) node{$\bullet$} node[above]{$A$};
\end{tikzpicture}
Read More

9TtJX1

\begin{enumerate}
  \item Un document \LaTeX{} est :
  \begin{enumerate}
    \item rigoureux ;
    \begin{enumerate}
      \item dans sa structure ;
      \item dans son rendu ;
    \end{enumerate}
    \item pas si compliqué !
  \end{enumerate}
\end{enumerate}
Read More

9DpBsi

% Dans le préambule
% -----------------
\usepackage{pstricks-add}
% -----------------

\begin{pspicture}(-1,0)(2,2)
\psgrid[subgriddiv=10,subgridcolor=orange,
        gridlabels=0](-1,0)(3,2)
\end{pspicture}
Read More

9927as

% Dans le préambule
% -----------------
\usepackage{ifthen}
% -----------------

Le numéro de page est
\ifthenelse{\isodd{\thepage}}{impair}{pair}.
Read More

98x231

% ########### TODO #################
\noindent\hspace{0.64cm}\begin{minipage}[c]{0.95\textwidth}
\begin{lstlisting}[numbers=left,language=TeX, frame=lines,basicstyle=\footnotesize\ttfamily]
\documentclass[a4paper,11pt]{article}
\usepackage[left=2cm,right=3cm,top=3.2cm,bottom=2.9cm]{geometry}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{amsthm}              % Pour écrire des démonstrations de thm
\usepackage[french]{babel}       % Typo. française
                                 % Définitions d'environnements :
\newtheorem{thm}{Théorème}       %    thm pour un Théorème
\newtheorem{coro}{Corollaire}    %   coro pour un corollaire

\begin{document}

% ============================= Section : niv. 1
\section{Équation du mouvement d'une particule}

%------------------------------ Sous-section : niv. 2
\subsection{Principe fondamental de la dynamique}

En termes modernes, l'énoncé original de la deuxième loi de Newton
s'exprime sous la forme du théorème fondamental suivant :

\begin{thm}[PFD]
Dans un référentiel galiléen, la dérivée de la quantité de mouvement
est égale à la somme des forces extérieures qui s'exercent sur le solide.
\end{thm}

\begin{coro}
Soit un corps de masse $m$ (constante), en notant $\vec{\mathrm{F}}_i$
les forces extérieures exercées sur l'objet  et $\vec{a}$ l'accélération
de son centre d'inertie, cela s'écrit
\[ \sum_{i} \vec{\mathrm {F}}_{i} = m\cdot \vec{a} \]
\end{coro}

%------------------------------ Sous-section : niv. 2
\subsection{Équation dans un champ de pesanteur}

On considère une particule ponctuelle de masse $m$ dans un référentiel
(galiléen) cartésien à trois dimensions dans lequel la pesanteur
$\vec{g}$ est orientée suivant $-\vec{u_{z}}$.

\begin{thm}
Si, par hypothèse, les forces de frottement sont négligées, alors
\[
m.\frac {\mathrm d^{2}x}{\mathrm dt^{2}}=0 ;\quad
m.\frac {\mathrm d^{2}y}{\mathrm dt^{2}}=0 ;\quad
m.\frac {\mathrm d^{2}z}{\mathrm dt^{2}}=-mg
\]
\end{thm}

\begin{proof}
La force $\vec{f}_{( M )}$ qui s'applique à cette particule au point $M$
est décrite par la relation : $\vec{f}_{(M)}=\vec{P}$.
Or $P = mg$ donc, d'après le PFD,
on a $\vec {f}_{(M)}=m\cdot{\vec {a}}=m\dot{\vec {g}}$.
Le résultat se déduit de
$\vec {a}=\frac {d \vec{v}}{dt}=\frac {d^{2}\vec{r}}{dt^{2}}$
\end{proof}

\end{document}
\end{lstlisting}
\end{minipage}
Read More

98csx6

% ########### TODO #################
\vspace{0.2cm}\noindent\begin{minipage}[c]{0.12\textwidth}
\footnotesize Page 20\\
Page 28\\
Page 42\\
Page 45
\end{minipage}\begin{minipage}[c]{0.25\textwidth}
\begin{code}
\index{Physique!quantique}
\index{Physique!nucléaire}
\index{Physique}
\index{Physique|relativiste}
Read More

9873Lg

% ########### TODO #################
\noindent\hspace{0.64cm}\begin{minipage}[c]{0.95\textwidth}
\begin{lstlisting}[numbers=left,language=TeX, frame=lines,basicstyle=\footnotesize\ttfamily]
% Dans le préambule
% -----------------
\usepackage{tabvar}
% -----------------

\[\begin{tabvar}{|C|CCCCRCLCC|} \hline
  x  &-\infty &   &    -1   &   & &    0   & &   &+\infty \\
\hline
f'(x)&        & - &\barre{} & - & &\dbarre & & - &   0    \\
\hline
\niveau{2}{3}f(x)
   & \niveau{3}{3}+\infty &\decroit & \barre{0} &\decroit & -\infty
                     &\dbarre & \niveau{3}{3}+\infty &\decroit & 0 \\
\hline
\end{tabvar}\]
\end{lstlisting}
\end{minipage}
Read More

95yibe

\section*{Introduction}
\addcontentsline{toc}{section}
                {Introduction}
    Blabla.....
\section{Développement}
\subsection{Première partie}
    Blabla.....
\subsection{Seconde partie}
    Blabla.....
\section{Conclusion}
Read More

93dLmm

% Dans le préambule
% -----------------
\usepackage{pythontex}
% -----------------

On définit une fonction

\begin{pyconsole}
import math
def aire(r):
  return math.pi*r**2

aire(4)
\end{pyconsole}
Read More

8rQstE

% Dans le préambule
% -----------------
\usepackage{mhchem}
% -----------------

\ce{C-C} ou \ce{C=C} ou \ce{C#C}
Read More

8psaBa

% Dans le préambule
% -----------------
\usepackage{siunitx}
\sisetup{locale = FR}
% -----------------

\begin{tabular}{l|SS}
     & A     & B     \\ \hline
1800 & 5,1   & 0,223 \\
1900 & 12,34 & 12,2  \\
2000 & 1234  & 1,07
\end{tabular}
Read More

8ie2ew

% Dans le préambule
% -----------------
\usepackage{chemfig}
% -----------------

  \setchemfig{atom sep=2mm}
\scriptsize
\chemfig{*6(-=(Br)-=-(Br)=)}
Read More

8Snsj2

% Dans le préambule
% -----------------
\usepackage{colortbl}
% -----------------

\begin{tabular}{|c|c|c|} \hline
                     A & B & C \\ \hline
\rowcolor{lightgray} 1 & 2 & 3 \\ \hline
                     x & y & z \\ \hline
\end{tabular}
Read More

8MwTDY

\newcommand{\ssi}{si et seulement si }

Un entier est pair \ssi il est divisible par 2.
Read More

8KH40R

% Dans le préambule
% -----------------
\usepackage{pstricks-add}
% -----------------

\begin{pspicture}(-1,-0.5)(3.5,0.5)
\psaxes[yAxis=false]{->}(0,0)(-1,0)(3.5,0)
\end{pspicture}
Read More

8620RH

% Dans le préambule
% -----------------
\usepackage[np]{numprint}
% -----------------

\np{1234567890}\\
\np{12345.67890}
Read More

82040k

% Dans le préambule
% -----------------
\newcommand\pythonstyle{\lstset{
language=Python,
basicstyle=\sffamily,
keywordstyle=\textbf,
commentstyle=\color{blue},
showstringspaces=false,
frame=tb, numbers=left }}
% Python environment
\lstnewenvironment{python}[1][]{
\pythonstyle \lstset{#1} }{}
% -----------------

\begin{python}
def fact(n):
  # Fonction factorielle en Python
  x=1
  for i in range(2,n+1):
      x=x*i
  return x
\end{python}
Read More

7xp2x1

% Dans le préambule
% -----------------
\usepackage{pstricks-add,pst-eucl}
% -----------------

\begin{pspicture}(-2,-1)(5,3)
% Les points M, P et Q
\pstTriangle(0,0){M}(1.5,3){P}(4,0){Q}
% Deux bissectrices
\pstBissectBAC{M}{P}{Q}{P'}
\pstBissectBAC{Q}{M}{P}{M'}
% L'intersection des bissectrices
\pstInterLL{M}{M'}{P}{P'}{I}
% le cercle iscrit
\pstProjection{M}{P}{I}[I']
\pstCircleOA{I}{I'}
\end{pspicture}
Read More

7a33iX

% Dans le préambule
% -----------------
\usepackage{lscape}
% -----------------

Texte à placer
dans des pages
au format
portrait

\begin{landscape}
Texte à placer
dans des pages
au format
paysage
\end{landscape}

Texte à placer
dans des pages
au format
portrait
Read More

7By194

% Dans le préambule
% -----------------
\usepackage{pstricks-add}
% -----------------

\begin{pspicture}(0,0)(1,2)
\psframe(0,0)(1,2)
\multido{\r=0+0.2}{10}{ \psline(0,\r)(1,\r) }
% Et maintenant, 35 points en deux lignes !
\multido{\rx=1.5+0.3}{7}{
  \multido{\ry=0.5+0.3}{5}{
    \psdots(\rx,\ry)
  }
}
\end{pspicture}
Read More

73HD72

% Dans le préambule
% -----------------
\usepackage[table]{xcolor}
% -----------------

\rowcolors{2}{gray}{lightgray}

\begin{tabular}{|c|c|c|} \hline
A & B & C \\ \hline
1 & 2 & 3 \\ \hline
x & y & z \\ \hline
\end{tabular}
Read More

726Mpa

% Dans le préambule
% -----------------
\usepackage{pst-labo}
% -----------------

\psset{unit=0.4cm}
\pstChauffageBallon [doubletube,
                     recuperationGaz,
                     substance=\pstClouFer]
Read More

6jPhpa

% Dans le préambule
% -----------------
\usepackage{pstricks-add}
% -----------------

\begin{pspicture}(0,0)(4,2)
\psline[linestyle=dashed](0,0)(1,2)
\psline[arrows=->](1,0)(2,2)(3,1)
\psline[arrows=|->,linewidth=0.8mm](3,0)(4,2)
\psline[arrows={[-]},linecolor=blue](3,2)(4,0)
\end{pspicture}
Read More

6GbiTI

% Dans le préambule
% -----------------
\usepackage{pstricks-add}
% -----------------

\begin{pspicture}(-1,-0.25)(1,1.5)
\cnode(0,0){4pt}{A}   \cnode(1,1){4pt}{B}
\cnode(0,1.5){4pt}{C} \cnode(-1,1){4pt}{D}
\psset{arcangle=20} % definit la courbure
\ncarc{A}{B} \ncarc{B}{A}
\ncarc{A}{D} \ncarc{D}{A}
\ncarc{C}{B} \ncarc{D}{C}
\ncline{A}{C}       % la liason droite
\end{pspicture}
Read More

6EsDF5

% Dans le préambule
% -----------------
\usepackage{circuitikz}
% -----------------

\begin{circuitikz}
  \draw (0,2) to[L=$L$] (4,2);
  \draw (4,2) to[switch] (4,0);
  \draw (0,0) to[C=$C$] (4,0);
  \draw (0,0) to[sV=$E$] (0,2);
\end{circuitikz}
Read More

6Eqy8N

% Dans le préambule
% -----------------
\usepackage{pstricks-add}
% -----------------

\psset{yunit=3cm,algebraic,plotpoints=200}
\begin{pspicture}(-1,-0.7)(3.5,1.1)

\newcommand{\f}{1/(x^2+1)}
\newcommand{\h}{sin(\psPi*x)/(x^2+1)}

\pscustom[fillstyle=solid, fillcolor=lightgray,
          linestyle=none]{
 \psplot{1}{3}{\f}
 \psplot{3}{1}{\h}
}

\psplot{0}{3.5}{\f}
\psplot{0}{3.5}{\h}

\psaxes[Dy=0.2,labels=y](0,0)(-1,-0.7)(3.5,1.1)
Read More

6Cmm7d

% Dans le préambule
% -----------------
\usepackage{pstricks-add}
% -----------------

\begin{pspicture}(0,0)(6,2)
\pspolygon[linecolor=gray](0,0)(1,0)(0.5,2)
\pspolygon[fillstyle=solid, fillcolor=red]
(2,0)(1,1)(2,2)(3,1)
\pspolygon[fillstyle=hlines,showpoints=true]
 (3,0)(4,2)(5,1)
\end{pspicture}
Read More

68gAJe

% Dans le préambule
% -----------------
\usepackage{pstricks-add}
% -----------------

\psset{unit=3} % zoom facteur 3
\begin{pspicture}(-1.2,-0.2)(1.2,1.2)
\pswedge(0,0){1}{0}{180}
\psdots[dotstyle=o](0,0)
\multido{\n=10+10}{17}{
  \rput(0.8;\n){\small\n}
  \psline(0.87;\n)(1;\n)
}
\multido{\n=0+1}{180}{
  \psline[linewidth=0.1mm](0.9;\n)(1;\n)
}
\end{pspicture}
Read More

663LmP

% ########### TODO #################
\noindent\hspace{0.0cm}\begin{minipage}[c]{0.95\textwidth}
\begin{code}
% Dans le préambule
% -----------------
\documentclass[10pt,a4paper]{book}
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhdr[LE]{LeftEven} \fancyhdr[CE]{CenterEven} \fancyhdr[RE]{RightEven}
\fancyfoot[LE]{LeftEven}\fancyfoot[CE]{CenterEven}\fancyfoot[RE]{RightEven}
\fancyhdr[LO]{LeftOdd} \fancyhdr[CO]{CenterOdd} \fancyhdr[RO]{RightOdd}
\fancyfoot[LO]{LeftOdd}\fancyfoot[CO]{CenterOdd}\fancyfoot[RO]{RightOdd}
% -----------------

\begin{document}
Page paire \newpage Page impaire
\end{document}
\end{code}
\end{minipage}
Read More

65z1q2

% Dans le préambule
% -----------------
\usepackage{lcg}
% -----------------

\reinitrand[first=1,last=6]
Premier lancer de dé : \rand\therand.\\
Second lancer de dé : \rand\therand.
Read More

5qhWSG

% Dans le préambule
% -----------------
\usepackage{tikz}
% -----------------

\begin{tikzpicture}[x=2cm]
\draw(0, 0) --node[above]{Dessus}  (1,1);
\draw(0, 0) --node{Sur}            (1,0);
\draw(0, 0) --node[below]{Dessous} (1,-1);
\draw(1, 1) --node[sloped,above]{dessus}  (2,0);
\draw(1, 0) --node[fill=white]{sur}       (2,0);
\draw(1,-1) --node[sloped,below]{dessous} (2,0);
\end{tikzpicture}
Read More

5e7Pgf

% Dans le préambule
% -----------------
\usepackage{circuitikz}
% -----------------

\begin{circuitikz}
  \draw (0,2) to[L=$L$, v=$u_L$] (4,2);
  \draw (4,2) to[switch] (4,0);
  \draw (0,0) to[C=$C$] (4,0);
  \ctikzset{bipoles/length=0.9cm}
  \draw (0,0) to[sV=$E$] (0,2);
  \draw (4,2) to[short] (5,2)
              to[R=$R$] (5,0)
              to[short] (4,0);
\end{circuitikz}
Read More

5bSPQR

% % Dans le préambule
% -----------------
\usepackage{fancybox}
% -----------------

% \fbox{\parbox{3cm}{
   % Un texte encadré sur 3cm. }}
% \begin{center}
% \fbox{\parbox{0.75\textwidth}{
 % Un texte encadré sur 75\% de la
 % largeur.  Le tout centré.}}
% \end{center}
Read More

5XxqGg

% Dans le préambule
% -----------------
\usepackage{chemfig}
% -----------------

\chemfig{
  H-O-[:75]H
}
Read More

5Mbg9b

% Dans le préambule
% -----------------
\usepackage[scaled]{helvet}
% -----------------

% Dans le préambule
% -----------------
\renewcommand*\familydefault{\sfdefault}
% -----------------

La police Helvetica au tracé
neutre est très populaire.
Read More

5JhSpJ

% Dans le préambule
% -----------------
\usepackage{tikz}
% -----------------

\begin{tikzpicture}
  \draw (-1,0) grid (3,2);
\end{tikzpicture}
Read More

5EtJkQ

% Dans le préambule
% -----------------
\usepackage{array}
% -----------------

\newcolumntype{T}{>{$}c<{$}}
\newcolumntype{P}{>{Ens. des }l}

\begin{tabular}{|T|P|}        \hline
\mathbb{R} & réels         \\ \hline
\mathbb{Z} & entiers       \\ \hline
S(X) & permutations de $X$ \\ \hline
\end{tabular}
Read More

5C4Xkg

% Dans le préambule
% -----------------
\usepackage{pstricks-add}
% -----------------

\begin{pspicture}(-1,0)(2,2)
\psgrid[subgriddiv=4,subgridcolor=lightgray,
      gridlabels=6pt,gridcolor=gray](-1,0)(2,2)
\end{pspicture}
Read More

57aTAh

% Dans le préambule
% -----------------
\usepackage{siunitx}
\sisetup{locale = FR}
% -----------------

     12345.678912  $6,02\times 10^{23}$\\
\num{12345.678912} \num{6,02e23}
Read More

574hRE

\newcommand{\remq}[2][Remarque]{
  \textbf{#1} : \textit{#2}
}

\remq{sans arg. optionnel}

\remq[Attention]{avec arg. optionnel}
blabla...
Read More

55jgQa

% Dans le préambule
% -----------------
\usepackage{amsmath}
% -----------------

 \[ \binom{n}{p} = \frac{n!}{p!(n-p)!} \]
Read More

53sap2

% Dans le préambule
% -----------------
\usepackage{lcg,calc}
% -----------------

\reinitrand[counter=A, first=-20,last=-1] \rand
\reinitrand[counter=B, first=1,last=20]   \rand
\newcounter{C} \setcounter{C}{\value{A}*\value{B}}

$\theA \times \theB = \theC$
Read More

4sE1Ma

\begin{itemize}
  \item Premier tiret.
  \item Deuxième tiret.
\end{itemize}
Read More

4qMMIS

% Dans le préambule
% -----------------
\usepackage{pstricks-add}
% -----------------

\begin{pspicture}(0,0)(4,1)
\psdots(1,1) \uput[180](1,1){$A$}
\psdots(1,0) \uput[0](1,0){$B$}
\psdots(3,1) \uput[-45](3,1){$\Delta$}
\psdots(3,0) \uput[0]{30}(3,0){$M_1$}
\end{pspicture}
Read More

4eEaN9

% Dans le préambule
% -----------------
\usepackage{fancybox}
% -----------------

Voici \fbox{fbox en action},\\
voici \shadowbox{shadowbox en action},\\
voici \doublebox{doublebox en action},\\
voici \ovalbox{ovalbox en action}.
Read More

4aW2tw

% Dans le préambule
% -----------------
\usepackage{array}
% -----------------

\newcolumntype{H}{>{deb.}c<{.fin}}

\begin{tabular}{|c|H|c|} \hline
A & B & C \\ \hline
1 & 2 & 3 \\ \hline
x & y & z \\ \hline
\end{tabular}
Read More

4Y6c4S

% Dans le préambule
% -----------------
\usepackage{pstricks-add}
% -----------------

\psset{xunit=4cm,yunit=2cm,algebraic}
\begin{pspicture}(-0.3,-1)(1.3,1.3)

\newcommand{\s}{cos(2*\psPi*x)/(x^2+1)}

\psStep[StepType=infimum,fillstyle=solid,
        fillcolor=green](0,1){25}{\s}

\psplot{0}{1.2}{\s}

\psaxes{->}(0,0)(0,-1)(1.3,1.3)
\end{pspicture}
Read More

4TKJ7y

% Dans le préambule
% -----------------
\usepackage{amsmath}
% -----------------

 Que préférez-vous ?
 \[
      | \int_0^{+\infty}f(t)dt |
\text{ ou }
 \left| \int_0^{+\infty}f(t)\,dt \right|
 \]
Read More

4QYq09

% Dans le préambule
% -----------------
\usepackage{chemfig}
% -----------------

\chemfig{ H-\lewis{2:6:,O}-H}
Read More

4KTJkJ

\newenvironment{extraitter}[1]
{\og \def\foo{#1}}
{\fg{}\begin{flushright}
        \textsc \foo
      \end{flushright} }

\begin{extraitter}{ Lavoisier }
  Rien ne se perd.
\end{extraitter}
Read More

4HWJID

% Dans le préambule
% -----------------
\usepackage{pst-circ}
% -----------------

\begin{pspicture}(0,0)(4.5,3)
\pnodes(0,0){M}(0,2){N}(4,2){P}(4,0){Q}
\switch(P)(Q){}
\resistor[parallel,labeloffset=0](P)(Q){$R$}
\capacitor(M)(Q){$C$}
\vac(M)(N){$E$}
\coil[tensionlabel={$u_L$}](N)(P){$L$}
\end{pspicture}
Read More

40BF2c

% Dans le préambule
% -----------------
\usepackage{tikz}
% -----------------

\begin{tikzpicture}[node distance=3cm, bend angle=15]
\tikzstyle{ci}=[circle, draw, inner sep=0pt, minimum width=15pt]
\node[ci] (a){A};
\node[ci] (b)[right of=a] {B};

\draw[fleche] (a) to[bend left]
                  node[above] {$1-x$} (b);
\draw[fleche] (b) to[bend left]
                  node[below] {$1-y$} (a);
\draw[fleche] (a) to[loop left] node[left] {$x$} (a);
\draw[fleche] (b) to[loop right] node[right] {$y$} (b);
\end{tikzpicture}
Read More

3sSMoC

% Dans le préambule
% -----------------
\usepackage{calc}
% -----------------

\newcounter{na}    \newcounter{nb}
\setcounter{na}{6} \setcounter{nb}{3}
\newcounter{nc}
\setcounter{nc}{\value{na} + \value{nb}} \thenc,
\setcounter{nc}{\value{na} - \value{nb}} \thenc,
\setcounter{nc}{\value{na} * \value{nb}} \thenc,
\setcounter{nc}{\value{na} / \value{nb}} \thenc.
Read More

3mtFEe

% Dans le préambule
% -----------------
\usepackage{tikz}
% -----------------

\begin{tikzpicture}[scale=0.5]
\foreach \a in {0,30,...,330} {
  \draw[lightgray,thin] (0,0)--(\a:3);
 \draw (\a:3.4) node{\a}; }
\foreach \r in {1,2,3}
\draw[lightgray,thin]  (0,0) circle(\r);

\draw[domain=0:540,samples=200,line width=2pt]
plot (xy polar cs:angle =\x,
                  radius={3*cos(\x/3)});

Read More

3k34sA

% Dans le préambule
% -----------------
\usepackage{pythontex}
% -----------------

\begin{pycode}
print(r"\begin{tabular}{r|l}")
print(r"$x$ & $\sqrt{x}$ (val. approchée)"
print(r"\\ \hline")
for i in range(101,110):
  print(i)
  print("&")
  print(sqrt(i))
  print(r"\\")
print(r"\end{tabular}")
\end{pycode}
Read More

3i3xkS

% Dans le préambule
% -----------------
\usepackage{lcg}
\usepackage{tikz,tkz-base}
% -----------------

\reinitrand[counter=H, first=1,last=6]

\begin{tikzpicture}[scale=0.6]
\tkzInit[xmin=0, xmax=6,
         ymin=0, ymax=6]
\tkzAxeXY[label={}]
\foreach \x in {1,2,...,5} {
  \rand
  \draw (\x,0) rectangle (\x+0.5,\theH);
}
\end{tikzpicture}
Read More

3hHJK2

% Dans le préambule
% -----------------
\usepackage{graphicx}
% -----------------

Un \raisebox{2mm}{mot} plus haut
que \raisebox{-2mm}{l'autre}
Read More

3U8hhz

\begin{wrapfigure}{r}{0pt}
\includegraphics[width=0.3\linewidth]
  {files/tux.eps}
\end{wrapfigure}
Le manchot Tux est la mascotte du noyau
Linux. Son usage est libre et on le
retrouve dans de très nombreux projets
et logotypes liés à Linux.
Son auteur est Larry~Ewing qui l'a dessiné
en 1996.
Read More

3Slqm1

% Dans le préambule
% -----------------
\usepackage{calc}
% -----------------

\newcounter{na} \setcounter{na}{6}
\newlength{\la} \setlength{\la}{6pt}
\setcounter{na}{\value{na} * \real{1.875}} \thena,
\setlength{\la}{      \la  * \real{1.875}} \the\la.
Read More

3J222l

% Dans le préambule
% -----------------
\usepackage{calc}
% -----------------

% Dans le préambule
% -----------------
\usepackage{textcomp}
% -----------------

\newlength{\HA}      \newlength{\LA}
\setlength{\HA}{7mm} \setlength{\LA}{1cm}

\newsavebox{\boxA} \savebox{\boxA}{4\texteuro}

\newsavebox{\boxB} \savebox{\boxB}{la séance !}
\newlength{\HB} \newlength{\LB}
\setlength{\HB}{\totalheightof{\usebox\boxB}}
\setlength{\LB}{\widthof{\usebox\boxB}}

\resizebox{\LA}{\HA}{\usebox\boxA}

             \rule{\LB}{1pt}%
\hspace{-\LB}\rule[\HA-1pt]{\LB}{1pt}%
\hspace{-\LB}\raisebox{\HA/2-\HB/2}{\usebox\boxB}
Read More

3BcFAt

% Dans le préambule
% -----------------
\usepackage{tikz}
% -----------------

% Dans le préambule
% -----------------
\usetikzlibrary{shapes,shadows}
% -----------------

\begin{tikzpicture}[grow=down,
                    level distance=3cm]
\node[draw, circle, fill=black] {}
 child { node[draw, diamond] {A}}
 child { node[draw, circle] {B}}
 child { node[draw, regular polygon,
              regular polygon sides=5]{C}}
 child { node[draw, rectangle] {D}}
 child { node[draw, rectangle, white,
              fill=black!75, rounded corners,
              drop shadow] {E}};
\end{tikzpicture}
Read More

382X62

% Dans le préambule
% -----------------
\usepackage{graphicx}
% -----------------

Un \rotatebox[origin=cc]{45}{mot}
un \rotatebox[origin=lt]{45}{mot}
un \rotatebox[origin=rb]{45}{mot}
Read More

34sIPZ

% Dans le préambule
% -----------------
\usepackage{pstricks-add}
% -----------------

\psset{unit=1.5}
\begin{pspicture*}(-1,-1)(1,1)
\pscircle(0,0){1}
\multido{\nC=0+30}{12}{
  \pscircle(1;\nC){1}
}
\end{pspicture*}
Read More

34K22m

% Dans le préambule
% -----------------
\usepackage{pas-tableur}
% -----------------

\begin{tikzpicture}
 \tabcolwidth{2.3cm}
 \tablineheight{6mm}
 \tableur[2]{A-C}
\end{tikzpicture}
Read More

33F3Sz

% Dans le préambule
% -----------------
\usepackage{pythontex}
\usepackage{graphicx}
\newcommand{\fig}[2][]{
\IfFileExists{#2}
  {\includegraphics[#1]{#2}}
  {#2 n'existe pas} }
% -----------------


\begin{pyconsole}
from matplotlib.pyplot import *
from numpy import *
X = linspace(-pi, pi, 100)
plot(X, sin(X))
savefig("graphe01.png")
\end{pyconsole}

\begin{figure}[h]
  \centering
  \fig[scale=0.5]{graphe01.png}
  \caption{graphe01.png}
\end{figure}
Read More

32lS1

% Dans le préambule
% -----------------
\usepackage{xlop}
% -----------------

\opset{decimalsepsymbol={,}}
\opdiv[maxdivstep=4]{124}{3}
Read More

32J29a

\newlength\lrg
\newlength\biglrg
\newcommand{\trou}[1]{\settowidth\lrg{#1}%
\setlength\biglrg{1.5\lrg}%
\makebox[\biglrg]{\dotfill}}}

Rien ne se \trou{perd}, rien ne se \trou{crée},
tout \trou{se transforme}.
Read More

32BzE1

\newsavebox{\mybox} \newlength\hauteur \newlength\profondeur

\newcommand{\boiboite}[1]{
\savebox{\mybox}{\begin{minipage}{0.75\linewidth}#1\end{minipage}}
\settoheight\hauteur{\usebox{\mybox}}
\settodepth\profondeur{\usebox{\mybox}}
\addtolength\hauteur{\profondeur}

\begin{center}
\rule[-\profondeur]{4pt}{\hauteur}
\usebox{\mybox}
\end{center}
}
\boiboite{ bla bla bla bla bla bla bla bla bla bla bla bla bla}
\boiboite{ bli bli bli bli bli bli }
Read More

329n22

% Dans le préambule
% -----------------
\documentclass[20pt]{beamer}
% -----------------

\begin{frame}

Les \alert<1>{changements d'état}

Fusion : \invisible<1>{Solide à Liquide}  \\
\visible<2>{Vaporisation : Liquide à Gazeux} \\
Ionisation : \alt<1>{??}{Gazeux à Plasma}

\end{frame}
Read More

2x1KlA

\newsavebox{\mybox}
\savebox{\mybox}{
\begin{minipage}{\0.75\linewidth}
Du texte juste pour remplir.
Du texte juste pour remplir.
\end{minipage}
}
\newlength\hauteur
\settoheight\hauteur{\usebox{\mybox}}
\newlength\profondeur
\settodepth\profondeur{\usebox{\mybox}}
\addtolength\hauteur{\profondeur}

\begin{center}
  \rule[-\profondeur]{4pt}{\hauteur}
  \usebox{\mybox}
\end{center}
Read More

2s98mF

% Dans le préambule
% -----------------
\usepackage{listings}
% -----------------

\lstset{language=Python,frame=tb,
        numbers=left,
        basicstyle=\sffamily}

\begin{lstlisting}
def est_premier(n):
  '''n est-il premier ?'''
  for i in range(2,n//2):
    if n%i==0:
      return False
  return True

def liste_premiers(n):
  '''Liste des premiers <n'''
  L=[2]
  # de 3 à n-1 par incr. de 2
  for i in range(3,n,2):
      if est_premier(i):
        L = L+[i]
  return L
\end{lstlisting}
Read More

2jH38a

% ########### TODO #################
\noindent\hspace{0.64cm}\begin{minipage}[c]{0.95\textwidth}
\begin{lstlisting}[numbers=left,language=TeX, frame=lines,basicstyle=\footnotesize\ttfamily]
\begin{tikzpicture}
\coordinate(A) at (2,3); \coordinate(B) at (0,0);
\coordinate(H) at (2,0); \coordinate(C) at (3,0);
\draw (A)--(B)--(C)--cycle;
\draw (A) node[above]{$A$}
  (B) node[left]{$B$}
  (C) node[right]{$C$}
  (H) node[below right]{$H$};
\draw (H) rectangle ++(45:0.2);
\draw (B) -- node[above,shift={(-0.5,0)}]{$4\sqrt{2}$} (A);
\draw (A) -- node[above,shift={(0.5,0)}]{$2\sqrt{5}$} (C);
\draw[<->] ($(B)!4mm!-90:(H)$) -- node[fill=white]{4} ($(H)!4mm!90:(B)$);
\draw[dashed] (A)-- node[sloped]{\small /} (H);
\draw (B) -- node[sloped]{\small //} (H);
\end{tikzpicture}
\end{lstlisting}
\end{minipage}
Read More

2hx9bG

% Dans le préambule
% -----------------
long préambule...
% -----------------

\begin{lstlisting}[language=replit,
caption=programme1.py]
from math import *

def aire(r):
  """ renvoie a=pi*r**2"""
  a = pi * r**2
  return a
\end{lstlisting}

\begin{lstlisting}[language=console,
caption=dans la console]
 > aire(2)
=> 12.566370614359172
\end{lstlisting}
Read More

2XcvRH

% Présentation générale et mise en page :
\documentclass[a4paper,11pt]{article}
% Marges personnalisees (cf 3.7) :
\usepackage[left=1cm,right=1cm,top=2.2cm,bottom=1.9cm]{geometry}

% Chargement automatique des packages selon le type de compilation :
\usepackage{iftex}
\ifXeTeX % Commpilation XeLaTeX (cf 2.6)
\usepackage{fontspec}
\else % Compilation (Pdf) LaTeX (cf 2.6)
\usepackage[latin1]{inputenc} % Latin1, utf8 ou mactex (cf 2.3)
\usepackage[T1]{fontenc}
\fi

\usepackage{lmodern}           % Police Latin Modern
\usepackage{graphicx}          % Pour insérer des images (cf 3.11)
\usepackage{amsmath,amsfonts} % Spécial math (cf 7.15)
\usepackage{amssymb,amsthm}
\usepackage[french]{babel}     % Typo. française (cf 3.3)
\setlength{\parindent}{0mm}   % Pas de retrait de paragraphe

% En-têtes et pieds de pages personnalisés (cf 3.15)
\usepackage{fancyhdr,lastpage}
\pagestyle{fancy}
\fancyhead[L]{Titre du document}
\fancyhead[R]{\today}
\setlength\headheight{14pt}
\renewcommand\headrulewidth{2pt}
\fancyfoot[C]{Page \thepage /\pageref{LastPage}}

\begin{document}
Le corps du document
\end{document}
Read More

2TmjA6

% Dans le préambule
% -----------------
\usepackage{pstricks-add}
% -----------------

\psset{unit=0.9cm}
\begin{pspicture*}(-3,-3)(3,3)

\psaxes[axesstyle=polar, labels=y,
        labelFontSize=\scriptstyle](2,361)

\psplot[polarplot,algebraic,linewidth=2pt]
                         {0}{9.32}{3*cos(x/3)}

\end{pspicture*}
Read More

2R9rmF

% Dans le préambule
% -----------------
\usepackage{listings}
% -----------------

\lstset{language=Python}
\begin{lstlisting}
def fact(n):
  # Factorielle en Python
  x=1
  for i in range(2,n+1):
    x=x*i
  return x
\end{lstlisting}
Read More

2KlA12

% Dans le préambule
% -----------------
\usepackage{calc}
% -----------------

\newcounter{na}    \newlength{\la}
\setcounter{na}{6} \setlength{\la}{6pt}
\setcounter{na}{\value{na} * \real{1.5}} \thena,
\setlength{\la}{      \la  * \real{1.5}} \the\la.
Read More

2FSMEg

% Dans le préambule
% -----------------
\usepackage{pstricks-add}
% -----------------

\psset{unit=1cm}
\begin{pspicture}(-3,-1)(3,2)
% un quadrillage sous les axes:
\psgrid[subgriddiv=4,subgridcolor=lightgray,
        gridlabels=0,gridcolor=gray](-3,-1)(1,2)
\psaxes(0,0)(-3,-1)(1,2)
\psset{showpoints=true,dotsize=1.5mm}
% la courbe définie par 4 points :
\pscurve(-3,0)(-2,1.5)(0,0)(1,1)
\end{pspicture}
Read More

2F3H57

% Dans le préambule
% -----------------
\usepackage{amsmath}
% -----------------

 \[
 \det\begin{pmatrix}
 x_{11} & x_{12} & \cdots \\
 x_{21} & x_{22} & \cdots \\
 \vdots & \vdots & \ddots \\
 \end{pmatrix}
 =
 \begin{vmatrix}
 x_{11} & x_{12} & \cdots \\
 x_{21} & x_{22} & \cdots \\
 \vdots & \vdots & \ddots \\
 \end{vmatrix}
\]
Read More

29Xng1

\begin{tabular}{|c|c|c|} \hline
A & \multicolumn{2}{c|}{B} \\ \hline
1 & 2 & 3 \\ \hline
x & y & z \\ \hline
\end{tabular}
Read More

23l34A

% Dans le préambule
% -----------------
\usepackage{pythontex}
\usepackage{tikz}
% -----------------

\begin{tikzpicture}[x=0.5mm,y=0.005mm]
\draw (0,0)--(120,0);
\draw (0,0)--(0,9300);

\begin{pycode}
i,n = 0,27
while n!=1:
    i=i+1
    if n%2==0:
        n=n//2
    else:
        n=3*n+1
    print(r"\draw(%s,%s) node{$\bullet$};"%(i,n))
\end{pycode}

\end{tikzpicture}
Read More

239se1

% Dans le préambule
% -----------------
\usepackage{tikz,tkz-base}
% -----------------

\begin{tikzpicture}
  \tkzInit[xmin=-1,xmax=2,
           ymin=-1,ymax=1]
  \tkzAxeXY
\end{tikzpicture}
Read More

2398f3

% Dans le préambule
% -----------------
\usepackage{pas-tableur}
% -----------------

\begin{tikzpicture}
 \tableur*[3]{A/13mm,B/2cm}
 \celtxt[c]{A}{1}{10}
 \celtxt{B}{1}{=A1*2}
 \celtxt[c]{A}{2}{15}
 \selecCell{B}{1}
\end{tikzpicture}
Read More

2310Im

% Dans le préambule
% -----------------
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhead{} \fancyfoot{}
\fancyhead[RE,LO]{
\includegraphics[width=1cm]{logo} }
\fancyhead[LE,RO]{\thepage}
\renewcommand {\headrulewidth}{0pt}
% -----------------

Une page avec un logo dans l'en-tête.
\end{code}\end{minipage}\hspace{2.34em}
\begin{minipage}{0.45\linewidth}
Read More

1t4Yw8

% Dans le préambule
% -----------------
\usepackage{pst-tree}
% -----------------

\psset{treemode=R,nodesep=5pt,
       levelsep=1.7cm,arrows=->}
\pstree{\TR{A}}{ \TR{B}
                 \TR{C}
                 \pstree{\TR{D}}{ \TR{E}
                                  \TR{F}
                 }
}
Read More

1eb3N1

% Dans le préambule
% -----------------
\usepackage{mhchem}
% -----------------

\ce{Fe_{(s)} + Cu^2 -> Fe^2+{}_{(aq)} + Cu}
Read More

1YQQ3N

% Dans le préambule
% -----------------
\usepackage{tabvar}
% -----------------

% Dans le préambule
% -----------------
\FlechesPS4
% -----------------

\renewcommand*{\TVarrowscolstretch}{1.2}
\setlength{\TVarraycolsep}{2pt}
\[\begin{tabvar}{|C|CCCCC|}
\hline
x     & 0 &       & 1 &         & 2 \\ \hline
f'(x) &   &  +    &   &    -    &   \\ \hline
\niveau{1}{2}\TVcenter{f(x)}
      & 3 &\croit & \TVstretch{5} &\decroit & 4\\
\hline
\end{tabvar}\]
Read More

1DBgdx

% Dans le préambule
% -----------------
\usepackage{amsthm}
% -----------------

\newtheorem{thm}{Théorème}

\begin{thm}         texte. \end{thm}
\begin{proof} texte. \end{proof}
Read More

19BSDM

% Dans le préambule
% -----------------
\usepackage{tasks}
\usepackage{amssymb}
% -----------------

\DeclareInstance{tasks}{multiplechoice}{default}{label= $\Box$,label-width=15pt}

Cochez les gaz rares
\begin{tasks}[style=multiplechoice](2)
  \task Hydrogène
  \task Hélium
  \task Oxygène
  \task Néon
\end{tasks}
Read More

16FEwm

% Dans le préambule
% -----------------
\usepackage{circuitikz}
% -----------------

\begin{circuitikz}
  \draw (0,1) to[R=$R_1$] (3,1);
\end{circuitikz}
Read More

0rc802

% Dans le préambule
% -----------------
\usepackage{pstricks-add}
% -----------------

\begin{pspicture}(0,-1)(5,1)
\psset{yAxis=false,decimalSeparator={,}}
\psset{ticksize=0 0.5,subticksize=0.5}
\psaxes[Ox=34.7, Dx=0.1, dx=2, subticks=10]
                                (0,0)(0,0)(4,0)
\pnode(1,0){A}   \psdots(A) \uput[-90](A){$A$}
\pnode(3.2,0){B} \psdots(B) \uput[-90](B){$B$}
\end{pspicture}
Read More

0pHaNm

% Dans le préambule
% -----------------
\usepackage{tikz}
% -----------------

% Dans le préambule
% -----------------
\usetikzlibrary{calc}
% -----------------

\begin{tikzpicture}
\draw(0,0)--(3,1);
\draw($(0,0)!8mm!90:(3,1)$)--($(3,1)!8mm!-90:(0,0)$);
\draw($(0,0)!4mm!-90:(3,1)$)--($(3,1)!4mm!90:(0,0)$);
\end{tikzpicture}
Read More

0eJDKi

% Dans le préambule
% -----------------
\usepackage{ifthen}
% -----------------

Il y a
\ifthenelse{\thepage>100}{plus}{moins}
de 100 pages avant celle-ci.
Read More

087Ag6

\[
\begin{tabvar}{|C|CCCCC|}           \hline
  x     & 0 &   & 1 &   & +\infty\\ \hline
f'(x)   &   & + &   & - &        \\ \hline
\niveau{1}{2}\TVcenter{f(x)}
        &-1 &\croit
                & \TVstretch{0}
                    &\decroit
                        & -\infty\\ \hline
\end{tabvar}
\]
Read More

03DDKi

\newlength\lrg
\settowidth\lrg{à trou}
Texte à trou évolué \\
Texte \makebox[\lrg]{\dotfill} évolué
Read More