Source Latex
du cours de mathématiques
\documentclass[12pt]{article}
%\usepackage{french}
\usepackage{amsfonts}\usepackage{amssymb}
\usepackage[french]{babel}
\usepackage{amsmath}
\usepackage[latin1]{inputenc}
\usepackage{a4wide}
\usepackage{graphicx}
\usepackage{epsf}
\usepackage{calc}
\usepackage{enumerate}
\usepackage{array}
\usepackage{multirow}
\usepackage{longtable}
\usepackage[table]{xcolor}
%\usepackage{pst-plot,pst-text,pst-tree}
\usepackage{pst-all}
\usepackage{pstricks-add}
\usepackage{pst-func}
\usepackage{ifthen}
\usepackage{hyperref}
\hypersetup{
pdfauthor={Yoann Morel},
pdfsubject={Math�matiques: Logique},
pdftitle={Logique},
pdfkeywords={Math�matiques, TS, terminale, S,
logique, r�visions,
}
}
\hypersetup{
colorlinks = true,
linkcolor = red,
anchorcolor = red,
citecolor = blue,
filecolor = red,
%pagecolor = red,
urlcolor = red
}
\voffset=-2.2cm
% Raccourcis diverses:
\newcommand{\nwc}{\newcommand}
\nwc{\dsp}{\displaystyle}
\nwc{\ct}{\centerline}
\nwc{\bge}{\begin{equation}}\nwc{\ene}{\end{equation}}
\nwc{\bgar}{\begin{array}}\nwc{\enar}{\end{array}}
\nwc{\bgit}{\begin{itemize}}\nwc{\enit}{\end{itemize}}
\nwc{\bgen}{\begin{enumerate}}\nwc{\enen}{\end{enumerate}}
\nwc{\la}{\left\{}\nwc{\ra}{\right\}}
\nwc{\lp}{\left(}\nwc{\rp}{\right)}
\nwc{\lb}{\left[}\nwc{\rb}{\right]}
\nwc{\bgsk}{\bigskip}
\nwc{\vsp}{\vspace{0.1cm}}
\nwc{\vspd}{\vspace{0.2cm}}
\nwc{\vspt}{\vspace{0.3cm}}
\nwc{\vspq}{\vspace{0.4cm}}
\def\N{{\rm I\kern-.1567em N}} % Doppel-N
\def\D{{\rm I\kern-.1567em D}} % Doppel-N
\def\No{\N_0} % Doppel-N unten 0
\def\R{{\rm I\kern-.1567em R}} % Doppel R
\def\C{{\rm C\kern-4.7pt % Doppel C
\vrule height 7.7pt width 0.4pt depth -0.5pt \phantom {.}}}
\def\Q{\mathbb{Q}}
\def\Z{{\sf Z\kern-4.5pt Z}} % Doppel Z
\def\epsi{\varepsilon}
\def\vphi{\varphi}
\def\lbd{\lambda}
\def\Ga{\Gamma}
\def\tht{\theta}
\def\Cf{\mathcal{C}_f}
\nwc{\tm}{\times}
\nwc{\V}[1]{\overrightarrow{#1}}
\nwc{\zb}{\mbox{$0\hspace{-0.67em}\mid$}}
\nwc{\db}{\mbox{$\hspace{0.1em}|\hspace{-0.67em}\mid$}}
\nwc{\ul}[1]{\underline{#1}}
%\newenvironment{proof}{
% \noindent\textsc{Preuve.~}}{\hfill$\square$\bigbreak}
\nwc{\bgproof}[1]{%
\vspt\noindent%
\ul{D�monstration:} #1%
\hfill$\square$%
}
\newcounter{nex}%[section]
\setcounter{nex}{0}
\newenvironment{EX}{%
\stepcounter{nex}
\bgsk{\noindent\large {\bf Exercice }\arabic{nex}}\hspace{0.2cm}
}{}
\nwc{\bgex}{\begin{EX}}\nwc{\enex}{\end{EX}}
\nwc{\bgfg}{\begin{figure}}\nwc{\enfg}{\end{figure}}
\nwc{\epsx}{\epsfxsize}\nwc{\epsy}{\epsfysize}
\nwc{\bgmp}{\begin{minipage}}\nwc{\enmp}{\end{minipage}}
\nwc{\limcdt}[4]{
$\dsp
\lim_{\bgar{ll}\scriptstyle{#1}\vspace{-0.2cm}\\\scriptstyle{#2}\enar}
{#3}={#4}$
}
\nwc{\tq}{\ \mbox{\bf\Large /}\ }
\headheight=0cm
\textheight=27cm
\topmargin=-1.8cm
\footskip=1.cm
\textwidth=18cm
\oddsidemargin=-1cm
\setlength{\unitlength}{1cm}
\newcounter{ntheo}
\setcounter{ntheo}{1}
\newlength{\ltheo}
\nwc{\bgth}[1]{
\settowidth{\ltheo}{Th�or�me \arabic{ntheo}}
\noindent
\paragraph{Th�or�me}% \arabic{ntheo}}
\hspace{-0.5em}%\hspace{-0.4cm}
\bgmp[t]{\textwidth-\ltheo-0.5em}{\it #1}\enmp
\stepcounter{ntheo}
}
\newcounter{nprop}
\setcounter{nprop}{1}
\newlength{\lprop}
\nwc{\bgprop}[1]{
\settowidth{\lprop}{Propri�t� \arabic{nprop}}
\noindent
\paragraph{Propri�t�}% \arabic{ntheo}}
\hspace{-0.5em}%\hspace{-0.4cm}
\bgmp[t]{\textwidth-\lprop-0.5em}{\it #1}\enmp
\stepcounter{nprop}
}
\nwc{\bgcorol}[1]{
\settowidth{\ltheo}{Corollaire \arabic{ntheo}}
\noindent
\paragraph{Corollaire}% \arabic{ntheo}}
\hspace{-0.5em}%\hspace{-0.4cm}
\bgmp[t]{\textwidth-\ltheo-0.5em}{\it #1}\enmp
}
\newcounter{ndef}
\setcounter{ndef}{1}
\newlength{\ldef}
\nwc{\bgdef}[1]{
\settowidth{\ldef}{D�finition \arabic{ndef}}
\noindent
\paragraph{D�finition}% \arabic{ndef}}
\hspace{-0.5em}%\hspace{-0.4cm}
\bgmp[t]{\textwidth-\ldef-0.5em}{\it #1}\enmp
\stepcounter{ntheo}
}
\renewcommand\thesection{\Roman{section}\ \ -}
\renewcommand\thesubsection{\arabic{subsection})}
% Bandeau en bas de page
\newcommand{\TITLE}{Logique}
\author{Y. Morel}
\date{}
\usepackage{fancyhdr}
\usepackage{lastpage}
\pagestyle{fancyplain}
\setlength{\headheight}{0cm}
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0.1pt}
\lhead{}\chead{}\rhead{}
\lfoot{Y. Morel \url{https://xymaths.fr/Lycee/TS/}}
\rfoot{\TITLE\ - \thepage/\pageref{LastPage}}
%\cfoot{\TITLE\ - \ $T^{\mbox{\scriptsize{ale}}}S$}
\cfoot{}
%% Environnement Prog...
\definecolor{grayp}{gray}{0.8}
\definecolor{graypc}{gray}{0.65}
\newlength{\hgn}\newlength{\hgnp}
\newlength{\hgng}
\newlength{\lgn}\newlength{\lgng}
\newlength{\hgtq}\newlength{\hgtqg}
\newlength{\lgtq}\newlength{\lgtqg}
\newlength{\lgcoin}\setlength{\lgcoin}{3ex}
\newlength{\lgshadow}\setlength{\lgshadow}{0.5ex}
\newlength{\phgn}\newlength{\phgnp}
\newlength{\phgng}
\newlength{\plgn}\newlength{\plgng}
\newlength{\phgtq}\newlength{\phgtqg}
\newlength{\plgtq}\newlength{\plgtqg}
\newlength{\plgcoin}\setlength{\plgcoin}{3ex}
\newlength{\plgshadow}\setlength{\plgshadow}{0.5ex}
\makeatletter
\def\Prog{\@ifnextchar[{\@with}{\@without}}
% avec un argument optionnel: le titre:
\def\@with[#1]#2#3{%
\par%\vspd%
\bgmp{\linewidth}
\hspace*{-0.3pt}\hspace*{-\parindent}\hspace*{-1ex}%
\psframebox[fillstyle=solid,fillcolor=graypc]{
\emph{\textcolor{white}{\!\! #1}}} \\
\vspace*{-0.5ex}\\
\bgmp{#2}
%\setlength{\fboxrule}{0.1pt}
\settototalheight{\phgn}{\phantom{\bgmp{#2}#3\enmp}}
\setlength{\plgn}{\linewidth}
\setlength{\phgtq}{-\phgn}%\addtolength{\hgtq}{-3ex}
\setlength{\phgtqg}{\phgtq}\addtolength{\phgtqg}{-\lgshadow}
\setlength{\plgng}{\plgn}\addtolength{\plgng}{\lgshadow}
\setlength{\plgtq}{\plgn}\addtolength{\plgtq}{-\lgcoin}
\setlength{\plgtqg}{\plgtq}\addtolength{\plgtqg}{\lgshadow}
\setlength{\phgnp}{\phgn}\addtolength{\phgnp}{\lgcoin}
\setlength{\phgng}{\phgnp}\addtolength{\phgng}{\lgshadow}
\pspolygon[linecolor=white,fillstyle=solid,fillcolor=grayp]%
(-1ex,-\phgnp)(-1ex,1ex)(\plgn,1ex)(\plgng,0)%
(\plgng,\phgtqg)(\plgtqg,-\phgng)(-0.5ex,-\phgng)
\pspolygon[linewidth=0.6pt,linecolor=graypc,fillstyle=solid,fillcolor=graypc]%
(\plgn,\phgtq)(\plgtq,\phgtq)(\plgtq,-\phgnp)
\pspolygon[fillstyle=solid,fillcolor=white]%
(-1ex,-\phgnp)(-1ex,1ex)(\plgn,1ex)%
(\plgn,\phgtq)(\plgtq,\phgtq)(\plgtq,-\phgnp)
\par
\bgmp{\linewidth}#3\enmp
\enmp
\enmp
\vspd
}
% sans argument optionnel: le titre est alors "Programme Python"
\def\@without#1#2{%
\par%\vspd%
\bgmp{\linewidth}
\hspace*{-0.3pt}\hspace*{-\parindent}\hspace*{-1ex}%
\psframebox[fillstyle=solid,fillcolor=graypc]{
\emph{\textcolor{white}{\!\!Programme Python}}} \\
\vspace*{-0.5ex}\\
\bgmp{#1}
%\setlength{\fboxrule}{0.1pt}
\settototalheight{\phgn}{\phantom{\bgmp{#1}#2\enmp}}
\setlength{\plgn}{\linewidth}
\setlength{\phgtq}{-\phgn}%\addtolength{\hgtq}{-3ex}
\setlength{\phgtqg}{\phgtq}\addtolength{\phgtqg}{-\lgshadow}
\setlength{\plgng}{\plgn}\addtolength{\plgng}{\lgshadow}
\setlength{\plgtq}{\plgn}\addtolength{\plgtq}{-\lgcoin}
\setlength{\plgtqg}{\plgtq}\addtolength{\plgtqg}{\lgshadow}
\setlength{\phgnp}{\phgn}\addtolength{\phgnp}{\lgcoin}
\setlength{\phgng}{\phgnp}\addtolength{\phgng}{\lgshadow}
\pspolygon[linecolor=white,fillstyle=solid,fillcolor=grayp]%
(-1ex,-\phgnp)(-1ex,1ex)(\plgn,1ex)(\plgng,0)%
(\plgng,\phgtqg)(\plgtqg,-\phgng)(-0.5ex,-\phgng)
\pspolygon[linewidth=0.6pt,linecolor=graypc,fillstyle=solid,fillcolor=graypc]%
(\plgn,\phgtq)(\plgtq,\phgtq)(\plgtq,-\phgnp)
\pspolygon[fillstyle=solid,fillcolor=white]%
(-1ex,-\phgnp)(-1ex,1ex)(\plgn,1ex)%
(\plgn,\phgtq)(\plgtq,\phgtq)(\plgtq,-\phgnp)
\par
\bgmp{\linewidth}#2\enmp
\enmp
\enmp
\vspd
}
\makeatother
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
%\thispagestyle{empty}
\vspace*{-0.5cm}
\hfill{\LARGE \bf \TITLE}
\hfill $T^{\text{\scriptsize{ale}}}S$
\vspq
Compl�ter avec $\Rightarrow$, $\Leftarrow$, $\iff$ \dots\
ou/et avec "si", "alors", "si et seulement si" \dots
\vsp
Indiquer de plus, lorsque c'est possible, le nom de la propri�t� ou du
th�or�me correspondant.
\vspq
%\setlength{\extrarowheight}{0.8cm}
\renewcommand{\arraystretch}{2}
\begin{tabular}{|p{2cm}|p{6.5cm}|p{2cm}|p{5cm}|}\hline
&$(u_n)$ est une suite telle que
$u_0\leqslant u_1$, $u_1\leqslant u_2$
et $u_2\leqslant u_3$
&&$(u_n)$ est croissante
\\\hline
&$\dsp\lim_{x\to 2} f(x)=+\infty$
&&$x=2$ est asymptote � $\Cf$
\\\hline
&$\forall x\in\R^*$, $f(x)=3x^2-\dfrac1x$
&&$\forall x\in\R^*$, $f'(x)=6x+\dfrac{1}{x^2}$
\\\hline
&$x^2>1$
&&$x>1$
\\\hline
&$(u_n)$ est croissante et,
pour $n\in\N$, $u_n<3$
&& $(u_n)$ converge vers $3$
\\\hline
&$(u_n)$ telle que $u_0\!=\!8$ et $u_{n+1}\!=\!3u_n+2$
&&$(u_n)$ converge vers $-1$
\\\hline
&$(u_n)$ croissante et converge vers $l\!\in\!\R$
&&Pour tout $n\in\N$, $u_n\leqslant l$
\\\hline
&Pour tout $x\in\R$, $f'(x)\geqslant 0$
&&$f$ croissante sur $[3;8]$
\\\hline
&$(x+2)(x^2-3x+2)=0$
&&
$\rput(0.5,0.1){\text{ou}}\la\bgar{ll}x+2=0 \\[0.3cm] x^2-3x+2=0 \enar\right.$
\\\hline
&$\forall x\in[0;1], f(x)\leqslant g(x)$
&&
$\dsp\int_0^1 f(x)\,dx\leqslant \int_0^1 g(x)\,dx$
\\\hline
& $f$ continue telle que $f(3)=-1$ et $f(8)=6$
&& Il existe $\alpha\in]3;8[$ tel que $f(\alpha)=0$
\\\hline
& $f$ continue et strictement croissante sur $[0;1]$,
avec $f(0)=-2$ et $f(1)=3$
&& Il existe un unique $\alpha\in]0;1[$ tel que
$f(\alpha)=0$
\\\hline
& %\bgmp{5cm}
\mbox{\!Pour tout $x\!>\!10$, %\\
$g(x)\leqslant f(x)\leqslant h(x)$}
et
$\dsp\lim_{x\to+\infty} g(x)=\lim_{x\to+\infty} h(x)=3$
%\enmp
&&$\dsp\lim_{x\to+\infty} f(x)=3$
\\\hline
\end{tabular}
\begin{tabular}{|p{2cm}|p{6.5cm}|p{2cm}|p{5cm}|}\hline
&$\cos\tht=\dfrac{-\sqrt{2}}{2}$
&&
$\tht=\dfrac{3\pi}{4}$
\\\hline
&$ax^2+bx+c=2x^2+3x-2$
&& $a=2$, $b=3$, $c=-2$
\\\hline
&$f$ continue sur $[a;b]$
&& $f$ d�rivable sur $[a;b]$
\\\hline
&$f$ positive sur $[a;b]$
&& La fonction $F$ qui est une primitive de $f$ sur $[a;b]$ est
croissante
\\\hline
& $P(A\cap B)=P(A)\tm P(B)$
&& $A$ et $B$ sont ind�pendants
\\\hline
& $P(A)+P(B)=1$
&& $A=\overline{B}$
\\\hline
&$\dsp\int_0^{10} f(x)\,dx =1$
&&$f$ est une fonction densit� de probabilit� sur $[0;10]$
\\\hline
&La v.a. $X$ suit la loi $\mathcal{N}(\mu;\sigma^2)$
&&La v.a. $Y=\dfrac{X-\mu}{\sigma}$ suit la loi
$\mathcal{N}(0;1)$.
\\\hline
&$X$ suit la loi uniforme sur $[-2;8]$
&&$E(X)=3$
\\\hline
\end{tabular}
\end{document}
Télécharger le fichier source