Latex templates for maths | قوالب اللاتك للرياضيات
#latex #templates
Credit : By متعلم لاتاك | FB : facebook.com/profile.php?id=100052678591256
\documentclass[12pt,a4paper]{article}
\usepackage[left=1.4cm,right=1.4cm,top=2cm,bottom=2cm]{geometry}
\usepackage[svgnames,dvipsnames,x11names,]{xcolor}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{lipsum}
\usepackage{tikz}
\usetikzlibrary{calc,scopes,backgrounds}
\usepackage{tcolorbox}
\tcbuselibrary{skins,xparse,breakable}
\usepackage{polyglossia}
\setdefaultlanguage[locale=algeria]{arabic}
\newfontfamily\arabicfont[Script=Arabic,Scale=1.2]{Amiri}
\newfontfamily\arabicfontsf[Script=Arabic,Scale=1.2]{Amiri}
\newfontfamily\ba[Script=Arabic,Scale=1,Color=blue]{Arial}
\setotherlanguage{french}
\parindent=0pt
\def\rosol{%
\tikzpicture[transform shape,scale=0.5]
\node [minimum width=4mm,minimum height=4mm,draw,fill=gray!15](1){};
\draw[line width=.07cm,gray]([xshift=0.05mm]1.north west)|-([yshift=.05mm]1.south east);
\foreach \i in {0,2}{
\draw [line width=.4mm]([shift={(-0.\i5,-.08)}]1.north east)arc(-40:-338:1.3mm and 5.3mm);}
\endtikzpicture}
\newtcolorbox{naboxe}[1]{breakable,enhanced,detach title,coltitle=black,blanker,title=\textarabic{\ba #1},
boxsep=6mm,top=0.8cm,
overlay={
\foreach \i in {2,1.5,1,0.5}{
\draw[fill=white]([shift={(-\i mm,-\i mm)}]interior.north west)rectangle
([shift={(-\i mm,-\i mm)}]interior.south east);}
\draw[fill=white](interior.north west)rectangle(interior.south east);
\node[below,font=\large\bf] (A) at ($(interior.north east)!0.5!(interior.north west)$){\tcbtitle};
\draw[fill=yellow!40](A.north west)rectangle(A.south east);
\node[below,font=\large\bf] (A) at ($(interior.north east)!0.5!(interior.north west)$){\tcbtitle};
\draw(interior.north west)|-(A.south)-|(interior.north east);
\draw[line width=1.4mm,black]
([xshift=-0.5\textwidth]A.south)--(A.south)--([xshift=0.5\textwidth]A.south);
\foreach \i in {0.1,0.2,...,0.9}{
\node at ([yshift=-1.3mm]$([xshift=-0.3cm]A.north east)!\i!(frame.north east)$){\rosol};
}
\foreach \i in {0.1,0.2,...,0.9}{
\node at ([yshift=-1.3mm]$([xshift=0.3cm]A.north west)!\i!(frame.north west)$){\rosol};
}
},overlay first={
\foreach \i in {2,1.5,1,0.5}{
\draw[fill=white]([shift={(-\i mm,0mm)}]interior.south west)|-
([shift={(0mm,-\i mm)}]interior.north east);}
\draw[black](interior.north east)--
(interior.south east);
\draw[fill=white](interior.south west)|-
(interior.north east)--(interior.south east);
\node[below,font=\large\bf] (A) at ($(interior.north east)!0.5!(interior.north west)$){\tcbtitle};
\draw[fill=yellow!40](A.north west)rectangle(A.south east);
\node[below,font=\large\bf] (A) at ($(interior.north east)!0.5!(interior.north west)$){\tcbtitle};
\draw(interior.north west)|-(A.south)-|(interior.north east);
\draw[line width=1.4mm,black]
([xshift=-0.5\textwidth]A.south)--(A.south)--([xshift=0.5\textwidth]A.south);
\foreach \i in {0.1,0.2,...,0.9}{
\node at ([yshift=-1.3mm]$([xshift=-0.3cm]A.north east)!\i!(frame.north east)$){\rosol};
}
\foreach \i in {0.1,0.2,...,0.9}{
\node at ([yshift=-1.3mm]$([xshift=0.3cm]A.north west)!\i!(frame.north west)$){\rosol};
}
},
overlay middle={
\foreach \i in {2,1.5,1,0.5}{
\draw[fill=white]([shift={(-\i mm,0mm)}]interior.south west)|-
([shift={(0mm,-\i mm)}]interior.north east);}
\draw[draw=none,fill=white](interior.north west)rectangle(interior.south east);
\draw[black](interior.north east)--
(interior.south east);
\draw[black](interior.north west)--
(interior.south west);
},overlay last={
\foreach \i in {2,1.5,1,0.5}{
\draw[fill=white]([shift={(-\i mm,-\i mm)}]interior.north west)rectangle
([shift={(-\i mm,-\i mm)}]interior.south east);}
\draw[draw=none,fill=white](interior.south east)-|(interior.north west)--(interior.north east);
\draw[black](interior.north east)|-
(interior.south west)--(interior.north west);
}}
\begin{document}
\begin{naboxe}{تمريــــــــــــــــــن رقم 1}
\lipsum[1-2]
\end{naboxe}
\end{document}
#latex #templates
Credit : By متعلم لاتاك | FB : facebook.com/profile.php?id=100052678591256
\documentclass[12pt,a4paper]{article}
\usepackage[left=1.4cm,right=1.4cm,top=2cm,bottom=2cm]{geometry}
\usepackage[svgnames,dvipsnames,x11names,]{xcolor}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{lipsum}
\usepackage{tikz}
\usetikzlibrary{calc,scopes,backgrounds}
\usepackage{tcolorbox}
\tcbuselibrary{skins,xparse,breakable}
\usepackage{polyglossia}
\setdefaultlanguage[locale=algeria]{arabic}
\newfontfamily\arabicfont[Script=Arabic,Scale=1.2]{Amiri}
\newfontfamily\arabicfontsf[Script=Arabic,Scale=1.2]{Amiri}
\newfontfamily\ba[Script=Arabic,Scale=1,Color=blue]{Arial}
\setotherlanguage{french}
\parindent=0pt
\def\rosol{%
\tikzpicture[transform shape,scale=0.5]
\node [minimum width=4mm,minimum height=4mm,draw,fill=gray!15](1){};
\draw[line width=.07cm,gray]([xshift=0.05mm]1.north west)|-([yshift=.05mm]1.south east);
\foreach \i in {0,2}{
\draw [line width=.4mm]([shift={(-0.\i5,-.08)}]1.north east)arc(-40:-338:1.3mm and 5.3mm);}
\endtikzpicture}
\newtcolorbox{naboxe}[1]{breakable,enhanced,detach title,coltitle=black,blanker,title=\textarabic{\ba #1},
boxsep=6mm,top=0.8cm,
overlay={
\foreach \i in {2,1.5,1,0.5}{
\draw[fill=white]([shift={(-\i mm,-\i mm)}]interior.north west)rectangle
([shift={(-\i mm,-\i mm)}]interior.south east);}
\draw[fill=white](interior.north west)rectangle(interior.south east);
\node[below,font=\large\bf] (A) at ($(interior.north east)!0.5!(interior.north west)$){\tcbtitle};
\draw[fill=yellow!40](A.north west)rectangle(A.south east);
\node[below,font=\large\bf] (A) at ($(interior.north east)!0.5!(interior.north west)$){\tcbtitle};
\draw(interior.north west)|-(A.south)-|(interior.north east);
\draw[line width=1.4mm,black]
([xshift=-0.5\textwidth]A.south)--(A.south)--([xshift=0.5\textwidth]A.south);
\foreach \i in {0.1,0.2,...,0.9}{
\node at ([yshift=-1.3mm]$([xshift=-0.3cm]A.north east)!\i!(frame.north east)$){\rosol};
}
\foreach \i in {0.1,0.2,...,0.9}{
\node at ([yshift=-1.3mm]$([xshift=0.3cm]A.north west)!\i!(frame.north west)$){\rosol};
}
},overlay first={
\foreach \i in {2,1.5,1,0.5}{
\draw[fill=white]([shift={(-\i mm,0mm)}]interior.south west)|-
([shift={(0mm,-\i mm)}]interior.north east);}
\draw[black](interior.north east)--
(interior.south east);
\draw[fill=white](interior.south west)|-
(interior.north east)--(interior.south east);
\node[below,font=\large\bf] (A) at ($(interior.north east)!0.5!(interior.north west)$){\tcbtitle};
\draw[fill=yellow!40](A.north west)rectangle(A.south east);
\node[below,font=\large\bf] (A) at ($(interior.north east)!0.5!(interior.north west)$){\tcbtitle};
\draw(interior.north west)|-(A.south)-|(interior.north east);
\draw[line width=1.4mm,black]
([xshift=-0.5\textwidth]A.south)--(A.south)--([xshift=0.5\textwidth]A.south);
\foreach \i in {0.1,0.2,...,0.9}{
\node at ([yshift=-1.3mm]$([xshift=-0.3cm]A.north east)!\i!(frame.north east)$){\rosol};
}
\foreach \i in {0.1,0.2,...,0.9}{
\node at ([yshift=-1.3mm]$([xshift=0.3cm]A.north west)!\i!(frame.north west)$){\rosol};
}
},
overlay middle={
\foreach \i in {2,1.5,1,0.5}{
\draw[fill=white]([shift={(-\i mm,0mm)}]interior.south west)|-
([shift={(0mm,-\i mm)}]interior.north east);}
\draw[draw=none,fill=white](interior.north west)rectangle(interior.south east);
\draw[black](interior.north east)--
(interior.south east);
\draw[black](interior.north west)--
(interior.south west);
},overlay last={
\foreach \i in {2,1.5,1,0.5}{
\draw[fill=white]([shift={(-\i mm,-\i mm)}]interior.north west)rectangle
([shift={(-\i mm,-\i mm)}]interior.south east);}
\draw[draw=none,fill=white](interior.south east)-|(interior.north west)--(interior.north east);
\draw[black](interior.north east)|-
(interior.south west)--(interior.north west);
}}
\begin{document}
\begin{naboxe}{تمريــــــــــــــــــن رقم 1}
\lipsum[1-2]
\end{naboxe}
\end{document}
Latex templates for maths | قوالب اللاتك للرياضيات
#latex #templates
Credit : By متعلم لاتاك | FB : facebook.com/profile.php?id=100052678591256
\documentclass[12pt,a4paper]{article}
\usepackage[left=1.4cm,right=1.4cm,top=2cm,bottom=2cm]{geometry}
\usepackage[svgnames,dvipsnames,x11names,]{xcolor}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{lipsum}
\usepackage{tikz}
\usetikzlibrary{calc,scopes,backgrounds}
\usepackage{tcolorbox}
\tcbuselibrary{skins,xparse,breakable}
\usepackage{polyglossia}
\setdefaultlanguage[locale=algeria]{arabic}
\newfontfamily\arabicfont[Script=Arabic,Scale=1.2]{Amiri}
\newfontfamily\arabicfontsf[Script=Arabic,Scale=1.2]{Amiri}
\newfontfamily\ba[Script=Arabic,Scale=1,Color=blue]{Arial}
\setotherlanguage{french}
\parindent=0pt
\def\rosol{%
\tikzpicture[transform shape,scale=0.5]
\node [minimum width=4mm,minimum height=4mm,draw,fill=gray!15](1){};
\draw[line width=.07cm,gray]([xshift=0.05mm]1.north west)|-([yshift=.05mm]1.south east);
\foreach \i in {0,2}{
\draw [line width=.4mm]([shift={(-0.\i5,-.08)}]1.north east)arc(-40:-338:1.3mm and 5.3mm);}
\endtikzpicture}
\newtcolorbox{naboxe}[1]{breakable,enhanced,detach title,coltitle=black,blanker,title=\textarabic{\ba #1},
boxsep=6mm,top=0.8cm,
overlay={
\foreach \i in {2,1.5,1,0.5}{
\draw[fill=white]([shift={(-\i mm,-\i mm)}]interior.north west)rectangle
([shift={(-\i mm,-\i mm)}]interior.south east);}
\draw[fill=white](interior.north west)rectangle(interior.south east);
\node[below,font=\large\bf] (A) at ($(interior.north east)!0.5!(interior.north west)$){\tcbtitle};
\draw[fill=yellow!40](A.north west)rectangle(A.south east);
\node[below,font=\large\bf] (A) at ($(interior.north east)!0.5!(interior.north west)$){\tcbtitle};
\draw(interior.north west)|-(A.south)-|(interior.north east);
\draw[line width=1.4mm,black]
([xshift=-0.5\textwidth]A.south)--(A.south)--([xshift=0.5\textwidth]A.south);
\foreach \i in {0.1,0.2,...,0.9}{
\node at ([yshift=-1.3mm]$([xshift=-0.3cm]A.north east)!\i!(frame.north east)$){\rosol};
}
\foreach \i in {0.1,0.2,...,0.9}{
\node at ([yshift=-1.3mm]$([xshift=0.3cm]A.north west)!\i!(frame.north west)$){\rosol};
}
},overlay first={
\foreach \i in {2,1.5,1,0.5}{
\draw[fill=white]([shift={(-\i mm,0mm)}]interior.south west)|-
([shift={(0mm,-\i mm)}]interior.north east);}
\draw[black](interior.north east)--
(interior.south east);
\draw[fill=white](interior.south west)|-
(interior.north east)--(interior.south east);
\node[below,font=\large\bf] (A) at ($(interior.north east)!0.5!(interior.north west)$){\tcbtitle};
\draw[fill=yellow!40](A.north west)rectangle(A.south east);
\node[below,font=\large\bf] (A) at ($(interior.north east)!0.5!(interior.north west)$){\tcbtitle};
\draw(interior.north west)|-(A.south)-|(interior.north east);
\draw[line width=1.4mm,black]
([xshift=-0.5\textwidth]A.south)--(A.south)--([xshift=0.5\textwidth]A.south);
\foreach \i in {0.1,0.2,...,0.9}{
\node at ([yshift=-1.3mm]$([xshift=-0.3cm]A.north east)!\i!(frame.north east)$){\rosol};
}
\foreach \i in {0.1,0.2,...,0.9}{
\node at ([yshift=-1.3mm]$([xshift=0.3cm]A.north west)!\i!(frame.north west)$){\rosol};
}
},
overlay middle={
\foreach \i in {2,1.5,1,0.5}{
\draw[fill=white]([shift={(-\i mm,0mm)}]interior.south west)|-
([shift={(0mm,-\i mm)}]interior.north east);}
\draw[draw=none,fill=white](interior.north west)rectangle(interior.south east);
\draw[black](interior.north east)--
(interior.south east);
\draw[black](interior.north west)--
(interior.south west);
},overlay last={
\foreach \i in {2,1.5,1,0.5}{
\draw[fill=white]([shift={(-\i mm,-\i mm)}]interior.north west)rectangle
([shift={(-\i mm,-\i mm)}]interior.south east);}
\draw[draw=none,fill=white](interior.south east)-|(interior.north west)--(interior.north east);
\draw[black](interior.north east)|-
(interior.south west)--(interior.north west);
}}
\begin{document}
\begin{naboxe}{تمريــــــــــــــــــن رقم 1}
\lipsum[1-2]
\end{naboxe}
\end{document}
·421 Vue