LaTeX Templates Nội dung sách tuyệt đẹp 1

\documentclass[11pt,a4paper,openany]{book}
\usepackage[width=1.00cm, height=0.00cm, left=1.200cm, right=1.200cm, top=1.50cm, bottom=1.20cm]{geometry}
\usepackage[utf8]{inputenc}
%\usepackage[latin1]{inputenc}
%\usepackage[T1]{fontenc}
\usepackage[french]{babel}
\usepackage{amsmath,amsfonts,amssymb}
\everymath{\displaystyle} 
\usepackage[most]{tcolorbox}
\usepackage{multicol}
\usepackage{tikz,fancyhdr,minitoc,ifthen}
\pagestyle{fancy}
\tcbuselibrary{breakable}
\usepackage[tikz]{bclogo}
\usepackage[explicit]{titlesec}
\usepackage[colorlinks=true,linkcolor=cyan]{hyperref}
\usetikzlibrary{calc,babel}
\def\chap{\titleformat{\chapter}[block]{}{}{0pt}{%
 \begin{tikzpicture}
 \node (2) at (0,0){};
 \node[ball color=orange,anchor=south east,font=\bfseries\huge,text=white,scale=3,inner sep=0mm,minimum height=1cm,xslant=.5] (1)at ([xshift=3cm,yshift=2cm]2){C};
 \node [anchor=south west,font=\bfseries\huge,scale=1.3,inner sep=0mm,minimum height=2cm,xslant=.5](2)at (1.south east){ hapitre \thechapter};
 \draw [line width=7pt,color=cyan]([xshift=1.5pt,yshift=-2.5pt]1.south west)--([yshift=-2.5pt]2.south east);
 \node [inner xsep=2.5cm,below=1.4cm,anchor=west,font=\bfseries\Huge,align=left,text width=10cm,xslant=.7](3)at ($(1)!.7!(2)$){ ##1};
 \end{tikzpicture}}}
%%%%%%%%%%%%%%%%%%%%%
\usepackage{varwidth}
\usetikzlibrary{shapes}
\usepackage[object=vectorian]{pgfornament}
%%%%%%%%%%%%%%%%%%%
\def\N{\mathbb{N}}
\def\Z{\mathbb{Z}}
\def\D{\mathbb{D}}
\def\Q{\mathbb{Q}}
\def\R{\mathbb{R}}
\def\C{\mathbb{C}}
%%%%%%%%%%%%%%%%%%%%%%%
\def\ico{\pgfornament[width=0.5cm]{12}}
%%%%%%%%%%%%
\usepackage{titletoc}
\usepackage{titlesec}
\titlespacing{\chapter}{0mm}{0mm}{0mm}
\titlespacing{\subsection}{2mm}{0mm}{2mm}
\titlespacing{\subsubsection}{4mm}{-3mm}{0mm}
%use counter from=pabox
%auto counter,number within=chapter
%%%%%%%%%%%%%%%%%%%   mybox  %%%%%%%%%%%%%%
\newtcolorbox[auto counter,number within=section]{pabox}[2][]{%
 colback=red!5!white,colframe=red!75!black,fonttitle=\bfseries,
 title=Examp.~\thetcbcounter: #2,#1}
\tcbuselibrary{skins,breakable}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcounter{myexample}
\newcounter{myboox}
\newcommand{\themybooox}{\addtocounter{myboox}{1}\themyboox}
\newtcolorbox[auto counter,number within=chapter]{mybox}[2][]{enhanced jigsaw,breakable,left skip=5mm,
 overlay unbroken={\fill[top color=orange!85,bottom color=cyan!15,line width=10pt] ([xshift=-0.2cm]frame.north west)rectangle(frame.south west);
 \node[circle,fill=orange!80!black,inner sep=4pt,minimum size=0.8cm] at ([xshift=-0.1cm]frame.north west){\color{white} \huge \bfseries\themybooox};},
 overlay first={\fill[top color=orange!85,bottom color=cyan!15,line width=10pt] ([xshift=-0.2cm]frame.north west)rectangle(frame.south west);
 \node[circle,fill=orange!80!black,inner sep=4pt,minimum size=0.8cm] at ([xshift=-0.1cm]frame.north west){\color{white} \huge \bfseries\themybooox};},
 overlay middle={\fill[top color=orange!85,bottom color=cyan!15,line width=10pt] ([xshift=-0.2cm]frame.north west)rectangle(frame.south west);},
 overlay last={\fill[top color=orange!85,bottom color=cyan!15,line width=10pt] ([xshift=-0.2cm]frame.north west)rectangle(frame.south west);},
 frame hidden,
 colframe=red,colback=white,colbacktitle=white,coltitle=cyan,top=0.5cm,
 fonttitle=\bfseries,attach boxed title to top left={xshift=1cm,yshift=-0.3cm},
 boxed title style={frame hidden},
 title={#2},#1}
%%%%%%%%%%%%%%%%%    boite  %%%%%%%%%%%%
\usetikzlibrary{decorations.pathmorphing}
\usetikzlibrary{shadows.blur}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\monborder}{{
 {
 \begin{tikzpicture}[remember picture,overlay]
 \ifodd\thepage
 \draw[line width=0.8cm,orange!80]([shift={(0.5cm,0)}]current page.south west)--([shift={(0.5cm,0)}]current page.north west);
 \draw (-0.8cm,-5cm)node[black,rotate=90] {\textbf{Prof. Mohammed MOUHCINE}};
 \draw (-0.8cm,-20cm)node[black,rotate=90] {\textbf{2 BAC SM\qquad\qquad\qquad\qquad\qquad2021-2022}};
 \draw[line width=0.7cm,cyan!80]([shift={(0,0.7 cm)}]current page.south west)--([shift={(0,0.7cm)}]current page.south east);
 \draw (14cm,-27.1cm)node[white] {\textbf{Prof. Mohammed MOUHCINE}};
 \else
 \draw[line width=0.7cm,cyan!80]([shift={(-0.5cm,0)}]current page.south east)--([shift={(-0.5cm,0)}]current page.north east);
 \draw (19.3cm,-5.cm)node[white,rotate=90] {\textbf{Prof. Mohammed MOUHCINE}};
 \draw[line width=0.7cm,orange!80]([shift={(0,0.7 cm)}]current page.south west)--([shift={(0,0.7cm)}]current page.south east);
 \draw (14cm,-27.1cm)node[black] {\textbf{Prof. Mohammed MOUHCINE}};
 \draw (19.3cm,-20cm)node[white,rotate=90] {\textbf{2 BAC SM\qquad\qquad\qquad\qquad\qquad2021-2022}};
 \fi
 \end{tikzpicture}
}}}
%%%%%%%%%%%%%%%%%%%%%
\makeatletter
\newtcolorbox{boite}[2][]{        enhanced,         breakable,
 sharp corners,        rounded corners=northwest,
 colback=white,      colframe=orange!80!black,
 fonttitle=\bfseries\sffamily,
 title=#2,        attach boxed title to top left,
 boxed title size=standard,        boxed title style={%
 empty,rounded corners=north, boxrule=0pt, bottom=-2pt,},
 underlay boxed title={
 \filldraw[ orange!80!black, line width=.5mm]
 (title.south east)--++(91:\tcboxedtitleheight+1)--++(183:\tcboxedtitlewidth)--++(-87:\tcboxedtitleheight)|-cycle; 
 \draw[orange!80!black, line width=.5mm] (title.south)|-(frame.north east);   },    #1}
\makeatother
%%%%%%%%%%%%%%%%%%%
\begin{document}
 \tableofcontents
\AtBeginShipout{\monborder}
{\chap\chapter{Les fonctions logarithmiques} 
 \vspace*{-1cm}
 \begin{mybox}{{\large  Logarithme Népérien : $\ln$}}
 \begin{boite}{Définition}
 \begin{itemize}
 \item [\bccrayon] 
 Le logarithme népérien est la primitive de la fonction $ x \mapsto \frac{1}{x}$  sur l'intervalle $] 0,+\infty[$ et qui s'annule en $ 1$ . On la note $ \ln$ .
 \end{itemize} 
 \end{boite}
 \begin{boite}{Conséquences}
 \begin{itemize} 
 \item [\bclampe]$\text { Le domaine de définition de } \ln \text { est }] 0,+\infty[. \qquad\ln (1)=0$
 \item [\bclampe] $\ln \text { est une fonction dérivable sur } ] 0,+\infty[\text { et on a : } \quad(\forall x \in] 0,+\infty[): \ln ^{\prime}(x)=\frac{1}{x}. $
 \item [\bclampe]$\ln \text { est strictement croissante sur }] 0,+\infty[$. 
 \item [\bclampe] $\text { Pour tous } a \text { et } b \text { de }] 0,+\infty[: \quad a<b \Longleftrightarrow \ln (a)<\ln (b)$
 \item [\bclampe] $\begin{array}{lcc}\star \text { Pour tous } a \text { et } b \text { de }] 0,+\infty[: & a<b \Longleftrightarrow \ln (a)<\ln (b) & \ln (a)=\ln (b) \Leftrightarrow a=b . \\ \star \ln (x)=0 \Leftrightarrow x=1 & \ln (x)>0 \Leftrightarrow x>1 & \ln (x)<0 \Leftrightarrow 0<x<1 .\end{array}$
 \end{itemize} 
 \end{boite}
 \begin{boite}{Une proprièté fondamentale :}
 Pour tous $a$ et $b$ de $]0,+\infty[$ : $\ln(ab) = \ln(a) + \ln(b).$
 \end{boite}
 \begin{boite}{Proposition}
 Pour tous $a$ et $b$ de $] 0,+\infty[$ et $r \in \mathbb{Q}$ on a :
 {\small  $
 \begin{array}{ll}
 \bcplume \ln \left(\frac{1}{a}\right)=-\ln (a) & \bcplume \ln \left(\frac{a}{b}\right)=\ln (a)-\ln (b) \\
 \bcplume \ln (\sqrt{a})=\frac{1}{2} \ln (a) & \bcplume \ln \left(a^{r}\right)=r \ln (a)
 \end{array}
 $}
 \end{boite}
 \begin{boite}{Proposition:Limites Fondamentales}
 $\begin{array}{lll}
 {\tiny \bcetoile } \lim _{x \rightarrow+\infty} \ln (x)=+\infty & \bcetoile \lim _{x \rightarrow 0^{+}} \ln (x)=-\infty & \bcetoile \lim _{x \rightarrow 1} \frac{\ln (x)}{x-1}=1 \\
 \bcetoile \lim _{x \rightarrow 0} \frac{\ln (1+x)}{x}=1 & \bcetoile \lim _{x \rightarrow+\infty} \frac{\ln (x)}{x}=0 & \bcetoile \lim _{x \rightarrow 0^{+}} x \cdot \ln (x)=0 \\
 \bcetoile \lim _{x \rightarrow+\infty} \frac{\ln (x)}{x^{n}}=0 & \bcetoile \lim _{x \rightarrow 0^{+}} x^{n} \cdot \ln (x)=0 & \left(\forall n \in \mathbb{N}^{*}\right)
 \end{array}$
 \end{boite}
 \end{mybox}
\newpage
{\chap\chapter{Les fonctions exponentielles}
{\chap\chapter{Arithmétique}
\end{document}

Nguồn : Latex templates pro

Để lại một bình luận

Email của bạn sẽ không được hiển thị công khai. Các trường bắt buộc được đánh dấu *