Skip to main content

A French template: serie of exercises by Latex


 https://www.overleaf.com/read/rhsxtszjyjqg


The screenshot above come from my french serie of exercises, by clicking on it you will be directed to the overleaf  document with all the details.

In this article, I present you a French template that may help you with typing maths in french. the code source I work with is  this :
%%%%%%%%%%%%%%%------Document class -------%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\documentclass[twocolumn,french]{article} 


%%%%%%%%%%%%%%%%%%------ packages --------%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\usepackage[top=2.5cm, bottom=2.5cm, left=0.5cm, right=0.5cm]{geometry}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{ntheorem}
\usepackage{babel}
\usepackage{multicol}
\usepackage{multirow}
\usepackage{fancyhdr}             
\usepackage{amsfonts}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{latexsym}
\usepackage{array}
\usepackage{graphicx}
%%%%%%%%%%%%%%-----NEW COMMAND-------%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\dis}{\displaystyle}
\newcommand{\ve}{ \overrightarrow}
\mathchardef\times="2202
\newcommand{\C}{\mathbb{C}}
\newcommand{\R}{\mathbb{R}}
\newcommand{\Q}{\mathbb{Q}}
\newcommand{\Z}{\mathbb{Z}}
\newcommand{\N}{\mathbb{N}}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%-----------------Header and footer-------------------------
\pagestyle{fancy}
\renewcommand{\headrulewidth}{1,5pt}
\renewcommand{\footrulewidth}{1 pt}
\fancyhead[CO,LE]{
\textbf{Exercices sur les généralités des fonctions numériques}
}
\fancyfoot{} % clear all footer fields
\fancyfoot[LE,RO]{\textbf{Pr: S.EL HASSAR}}
\fancyfoot[LO,CE]{\textbf{TCS \& TCT}}
\fancyfoot[CO,RE]{\thepage}
\renewcommand{\headrulewidth}{0.4pt}
\renewcommand{\footrulewidth}{0.4pt}
\setlength{\columnseprule}{0.4pt}% the line between colomn paper

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%---exercices style------%%%%%%%%%%%%%%%%%%%%%%
\theoremstyle{plain}
\theorembodyfont{\normalfont}
\theoremseparator{~--}
\newtheorem{exo}{Exercice}%[section]


%%%%%%%%%%%%%%%%%%% ----starting the body ------%%%%%%%%%%%%
\begin{document}


%%%%%%%%%%-----------exo 1%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{exo} 
\textit{\textbf{ (Egalité de deux fonctions)}}
\\
Est ce que les fonctions numériques $f$ et $g$ sont égaux? 
\\
\begin{enumerate}
\item $g(x)=|\sqrt{2}x-1| $ et  $f(x)=\sqrt{2x^2-2\sqrt{2}x+1} $
\\ 
\item $g(x)=\dfrac{x+1}{x} $ et  $f(x)=\dfrac{x^2-1}{x^2-x} $  
\\ 
\item $g(x)=\dfrac{\sqrt{x^2-1}}{x} $ et
  $f(x)= \sqrt{x-\frac{1}{x}}$  
\\ 
\item $g(x)=\dfrac{\sqrt{x}}{\sqrt{x-1}} $ et 
 $f(x)= \sqrt{\dfrac{x}{x-1}}$ 
\\  
\item $g(x)=\dfrac{1}{x^2-1} $ et
  $f(x)= \dfrac{x^2+x+1}{(x+1)(x^3-1)}$   
\\  
\end{enumerate}


\end{exo}
\hrule


%%%%%%%%%%--------exo2%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\begin{exo}
\textbf{\textit{ (Représentaion graphique )}}\\
Représenter graphiquement les fonctions suivantes:
\\
\begin{enumerate}
\item $g:x\longmapsto |2x-1| $
\\
\item $f:x\longmapsto |x|-1$
\\
\item $
 \left\lbrace
 \begin{array}{ll}
 l(x)=5x &si\quad x\geqslant 0\\
 l(x)=-2x+3 &si\quad x\leqslant -1
 
 \end{array}
 \right.
$
\\
\item $h:x\longmapsto |x-3|-|x|$
\\
\end{enumerate}


\end{exo}
\hrule


%%%%%%%%%%-----------exo3%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{exo}
\textbf{\textit{ (Parité )}}\\
Etudier la parité des  fonctions suivantes:
\\
\begin{enumerate}
\item $f:x\longmapsto x^4+x^2+1 $
\\
\item $f:x\longmapsto x\sqrt{x^2-1}$
\\
\item $f:x\longmapsto |x|(x^2+x)$
\\
\item $f:x\longmapsto \dfrac{x^3}{|x|-1}$
\\
\item $f:x\longmapsto x^4+x $
\\
\item $f:x\longmapsto |x+3|+|x-3|$
\\
\item $f:x\longmapsto \dfrac{x|x|}{\sqrt{x^2+1}}$
\\
\item $f:x\longmapsto \dfrac{|2x-1|-|2x+1|}{x}$
\\
\end{enumerate}
\end{exo}

\newpage
%%%%%%%%%%--------exo4%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{exo}
Soit $f$ une fonction paire définie sur $\R$ par:
$$
\left\lbrace
 \begin{array}{lll}
 f(x)=x-1  &  sur  & [3;+\infty[  \\
 f(x)=-2x+1  &  sur  & [0;3[
 
 
 \end{array}
 \right.
$$

\begin{enumerate}
\item
Calculer $f(-3)$ et $f(2)$
\\
\item
Tracer graphiquement la courbe de $f$ sur $\R$
\\
\end{enumerate}

 
\end{exo}
\hrule

%%%%%%%%%%----------exo5%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{exo}
\textbf{\textit{ (Variations )}}\\
Etudier les variations des  fonctions suivantes:
\\
\begin{enumerate}
\item $f:x\longmapsto 3x-4 $ sur $I=]-\infty;+\infty[$
\\
\item $f:x\longmapsto -5x+7$  sur $I=]-\infty;+\infty[$
\\
\item $f:x\longmapsto x^2+2x$  sur $I=[-1;+\infty[$
\\
\item $f:x\longmapsto \dfrac{x+2}{x+1}$  sur $I=]-\infty;1[$
\\
\item $f:x\longmapsto \sqrt{x}+x $  sur $I=[0;+\infty[$
\\
\end{enumerate}
\end{exo}
\hrule





%%%%%%%%%%------------exo5%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{exo}

On considère la fonction numérique à variable réelle $x$ définie par :\\
 $f(x)=2x^2-3x-1$ et $(C_f)$ sa courbe dans un repère
 $(O;\vec{i};\vec{j})$.
 \begin{enumerate}
 \item
 Parmis les points suivants, détérminer ceux qui appartiennent à 
$(C_f)$:  $A(0;-1),B(1;-6),C(-1;4),$ \\
 $D(\sqrt{2};3-3\sqrt{2})$ et $E(\frac{1}{2};-3).$
 \\
\item
Déterminer : $(C_f)\bigcap (Ox)$ \\
(les points d'intersection de la courbe de $f$ avec l'axe des abscisses)
\\
\item
Déterminer : $(C_f)\bigcap (Oy)$ \\
(les points d'intersection de la courbe de $f$ avec l'axe des ordonnées)


 \end{enumerate}
\end{exo}
\hrule
%%%%%%%%%%------------exo5%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{exo} 
Soit $f$ une fonction numérique à variable réelle  définie sur $\R$
 telle que :\\
Pour tout $x$ de $\R$:
$$ 5f(-x)+f(1-x)=2x$$
Déterminer $f(x)$ en fonction de $x$.
\end{exo}






\end{document}
Also, you can copy it from Overleaf , it looks like this picture below :

 Overleaf

I Hope this was interesting.


Multitude of Heart Pattern

Buy on Amazon

Crimson Passion Vivid Red Heart

Buy on Amazon

The Formula of Us

Buy on Amazon

Abstract Love Heart

Buy on Amazon

The Formula of Us

Buy on Amazon

forget your voice

Buy on Amazon

Valentine's Verdure

Buy on Amazon

Cushion Closeness: Cherishing Our Bond

Buy on Amazon

Popular posts from this blog

How to make a serie of exercises in two columns

For making a two-column document, we need to add an option in the document class in the input file : \documentclass[a4paper,10pt,twocolumn]{arabart} for exemple, the following code show how it looks like when the content is just blind text using the blindtext package: \documentclass [10pt,a4paper,twocolumn]{arabart} \usepackage [utf8]{inputenc}  \usepackage [LAE]{fontenc}  \usepackage [arabic]{babel}   \usepackage {blindtext} %%blind text package%%%%  \begin {document}   \blindtext  \blindtext  \blindtext  \blindtext  \blindtext  \end {document} And for result: You can see it from write latex also : Finally, we propose a typical serie in two column in write latex:

A typical Arabic exam of high school's mathematics written by LaTeX

The following pdf is a result of a .tex file, as you see it produce a pro document:  If you are interested in typing such a pdf file, you can copy the input file (code source) from   here at Write Latex

Colored Arabic Document

             In Order to create a colored document, I needed the package  tcolorbox giving the huge possibilities that it contain like we are going to explain in this article. However, it doesn't work with the arabart   document class (which by the way I used to make this previous documents :   A LANDSCAPE two columns pages of exercices ,  How to make a serie of exercices in two columns ,  A typical Arabic exam of high school's mathematics  ).          So I moved to using the package  polyglossia where compilation must be done with XeLaTeX . The tcolorbox package (2012) originates from the first edition of the book «LATEX – Einführung in das Textsatzsystem » in about 2006 writing by Dr. Thomas F. Sturm, it provides an environment for colored and framed text boxes with a heading line. As for Polyglossia, it is a package for facilitating multilingual typesetting with  XeLaTeX . Let's start with an exemple : the source code below is for a simple bo

A LANDSCAPE two columns pages of exercises

For making a two-column document, we need to add an option in the document class in the input file \documentclass [ 14pt ,a4paper,twocolumn, landscape ]{ arabart } I propose the following code that generate the document showed in the picture above: \documentclass [ 14pt ,a4paper,twocolumn,landscape]{ arabart } %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%% importants packages %%%%%%%%%%%%%%%%%%%%%% \usepackage [top=0. 5cm , bottom=1. 5cm , left= 1cm , right= 1cm ]{geometry} \usepackage [utf8]{inputenc} \usepackage [ LAE ]{fontenc} \usepackage [ arabic ]{babel} \usepackage {multicol} \usepackage { multirow } \usepackage {tabularx} \usepackage {amssymb} \usepackage {array} \usepackage {graphicx} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%% new command %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \newcommand { \dis }{ \displaystyle } \mathchardef\times="2202 \newcommand { \C }{ \mathbb {C}}

arabic in Latex, is that possible?

   How to create an Arabic paper with the equations in the usual Latin in Latex?? This question is usually asked by people who need to write a scientific document in the Arabic language, specially scientific students or teachers who needs to make their reports, series or exams.    Many solutions are avalaible, the most used is the one using Arabtex package. It uses a transliteration system so that you may  typeset Arabic using latin letters, but it take a lot of time for the user to be familiar with the transiliteration. the following Latex code use the Arabtex package:( or you can visualise it at write LaTeX   here ) \documentclass [12pt]{article} \usepackage {arabtex} \begin {document} \setarab % choose the language specific conventions \vocalize % switch diacritics for short vowels on \transtrue % additionally switch on the transliteration \arabtrue % print arabic text ... is on by default anyway \centerline {\RL{^gu.hA wa-.himAruhu}} \begin {RLtext} '

Arabic colored box with a graphic side by side

                      To make an exercise inside a box with a graphic aside, after looking for a solution I found that I can put two minipages separated by a \hfill which fit the box entirely..let's break it down: The following  source code is for the exercise body : %--------document class \documentclass {article} %--------packages \usepackage {amsfonts,amssymb, enumitem } %--------polyglossia package \usepackage { polyglossia } \setdefaultlanguage [ calendar = gregorian , numerals = maghrib ]{ arabic } \newfontfamily\arabicfont [Script= Arabic , Scale=1]{ Amiri } %--------new commands \newcommand { \R }{ \mathbb {R}} \begin {document} لتكن $f$ و $g$ الدالتين المعرفتين على $\R$ بمنحنيهما $(C_f)$ و $(C_g)$ و $A$ نقطة زوج احداثياتها هو $(\frac{3}{2};\frac{1}{2})$ . ( انظر الشكل ) \begin {enumerate}[label={ \arabic* )}] \item\begin {enumerate} \item [(a] حدد جدول تغيرات الدالة $f$ على المجال $[-4;3]$ \ite

Produce your first Arabic document with Latex!

The first line of the input file should normally be like: \documentclass[a4paper,12pt]{article} We can change the commend article with letter or book, but here we will employ arabart: \documentclass[a4paper,12pt]{arabart} If one merly wishes to type in ordinary text, without complicated mathematical formulae or special effects, then one merly can use the command article and type it in as it is. However, arabart has to be applied to avoid errors when Arabic characters are mixed with the Latin ones.  Here is an exemple of a typical Arab Latex input file with the pdf result: As you can  see, this is an exercice of mathematic writed in arabic with formulae in the usual Latin: \documentclass [11pt,a4paper]{ arabart } \usepackage [utf8]{inputenc} \usepackage [ LAE ]{fontenc} \usepackage [ arabic ]{babel} \begin {document} تمرين \\ نعتبر الدالة العددية $f$ للمتغير الحقيقي $x$ المعرفة ب: $ f(x)=\displaystyle\frac{-x^2-x+6}{x^2+2x-8}$ \\ $1$ )

Video : How to get graphic's code from Geogebra to Latex