Template Latex devoir mathématiques
📅 February 09, 2024 | 👁️ Views: 841

\documentclass[12pt,a4paper]{article}
\usepackage{tabularx}
\usepackage{booktabs}
\usepackage{ragged2e}
\usepackage[left=1.00cm, right=1.00cm, top=0.50cm, bottom=1.00cm]{geometry}
\usepackage{amsmath,amsfonts,amssymb}
\usepackage{mathrsfs}
\usepackage{enumitem}
\usepackage{multirow}
\usepackage{xcolor}
\usepackage{tikz}
\usepackage{array}
\usepackage[ddmmyyyy]{datetime}
\usepackage{lipsum}% random text
\usepackage{hyperref}
\hypersetup{
colorlinks=true,
linkcolor=blue
}
\newcommand{\mylink}{\href{https://mosaid.xyz/cc}{www.mosaid.xyz}}
\newcolumntype{C}{>{\Centering\arraybackslash}X}
\begin{document}
\thispagestyle{empty}
\noindent
\begin{center}
\begin{tabular}{@{}p{0.22\textwidth}p{0.57\textwidth}p{0.17\textwidth}}
%\toprule
Prof MOSAID
& \Centering {Devoir 1 S01} & \hfill 2BAC-SVT \\
\bottomrule
\end{tabular}\\
\end{center}
\\
\begin{center}
\textbf{La simplicité}\\
\end{center}
\\
\textbf{\underline{Exercice 1:}}\\
\noindent
\begin{tabular}{@{}>{\centering\arraybackslash}p{0.04\textwidth}|p{0.96\textwidth}}
& Soit f la fonctions \\
1 & question 1\\
1.5 & question 2\\
& text sans note à gauche \\
& text sans note à gauche \\
\(1\times3\)& une question \\
\end{tabular}
\\
\\
\textbf{\underline{Exercice 2: avec un titre}} (12pts)\\
\noindent
\begin{tabular}{@{}>{\centering\arraybackslash}p{0.04\textwidth}|p{0.96\textwidth}}
& Soit f la fonctions \\
1 & question 1\\
1.5 & question 2\\
& text sans note à gauche \\
& text sans note à gauche \\
\(1\times3\)& une question \\
& \lipsum[1-1] \\
& I. Soit \(g\) la fonction numérique définie sur \(\mathbb{R}\) par\\
& \(g(x)=e^x-x^2+3x-1\). son tableau des variations est le suivant\\
& \begin{tabularx}{\linewidth}{|>{\centering\arraybackslash}m{0.2\linewidth}|
>{\centering\arraybackslash}m{\dimexpr0.8\linewidth-4\tabcolsep-2\arrayrulewidth}|}
\hline
\(x\) & \(-\infty\) \hfill \(+\infty\) \\
\hline
\(g'(x)\) & + \\
\hline
\(g(x)\) &
\tikz{\draw[->, thick] (0,0) -- (4.5,0.5);
\node[left] at (0,0) {\(-\infty\)};
\node[right] at (4.5,0.5) {\(+\infty\)};} \\
\hline
\end{tabularx}\\
1 & 1. Vérifier que \(g(0)=0\)\\
\end{tabular}
\\
\\
\\
\\
\textbf{\underline{Exercice 2: avec un titre}} (12pts)\\
\noindent
\begin{tabular}{@{}>{\centering\arraybackslash}p{0.04\textwidth}|p{0.96\textwidth}}
7 & \lipsum[1-2]
\end{tabular}
\textcolor{white}{.}\hfill \underline{MOSAID le \today}\\
\textcolor{white}{.}\hfill \mylink
\end{document}