مصاص الدماء الحقيقي

📅 March 22, 2024   |   👁️ Views: 106




Votre navigateur ne supporte pas les PDFs. Voir le Lien de Téléchargement au dessous .

\documentclass[fontsize=16pt]{scrbook}
\usepackage[left=1.00cm, right=1.00cm, top=1.00cm, bottom=1.00cm]{geometry}
\usepackage{amsmath,amsfonts,amssymb}
\usepackage{tabularx,tabulary}
\usepackage{graphicx}
\usepackage{booktabs}

\usepackage{tcolorbox}
\tcbuselibrary{skins}
\tcbuselibrary{breakable}

\usepackage{setspace}

\usepackage{hyperref}
\hypersetup{
    colorlinks=true,
    linkcolor=blue
}
\definecolor{cc}{rgb}{236,0,140}
\newcommand{\mylink}{\href{https://mosaid.xyz/cc}{www.mosaid.xyz}}


\usepackage{fontspec}
\usepackage{polyglossia}

\setmainlanguage{english}
\setotherlanguage{arabic}

\newfontfamily\arabicfont[Script=Arabic,Scale=1.1]{Amiri}
%\renewcommand{\theequation}{\arabic{equation}}
\counterwithout{equation}{chapter}

\makeatletter
\def\tagform@#1{\maketag@@@{\normalfont\upshape(#1)}} % Ensure equation numbers are always upright
\makeatother

\newtcolorbox{myremark}[1]{%
    attach boxed title to top right={yshift=-2mm},
    coltitle=black,colbacktitle=red!45!white,enhanced,
    fonttitle=\bfseries,
    title=#1,
    colframe=red!75!black,
    colback=yellow!80,
}


\newtcolorbox{definition}[1]%
{ enhanced,arc=1mm,outer arc=1mm,
    attach boxed title to top right={yshift=-2mm},
    colframe=blue!50!black,colback=green!15!white,
    coltitle=blue!50!black,colbacktitle=yellow!50!white,
    title=#1,
}

\newtcolorbox{proposition}[1]%
{ enhanced,arc=1mm,outer arc=1mm,
    attach boxed title to top right={yshift=-2mm},
    colframe=red!80!blue,colback=blue!15!white,
    coltitle=red!80!blue,colbacktitle=red!30!white,
    title=#1,
}

\newtcolorbox{myexample}[1]{%
    empty,
    attach boxed title to top right={yshift*=-\tcboxedtitleheight},
    title={#1},
    boxed title style={
        overlay={
            \draw[green!70!blue,line width=2pt,] (frame.south west)--(frame.south east);
        },
        size=minimal, top=0pt, left=0pt
    },
    coltitle=red!10!blue,
}




\begin{document}
    \mylink \hfill \mylink\\

    \begin{center}
        \huge\textarabic{مصاص الدماء الحقيقي}
    \end{center}


    \begin{definition}{\textarabic{تعريف}}
        \begin{Arabic}
            يكون العدد الصحيح الطبيعي $n$ مصاص دماء حقيقي
            \LR{true vampire number}
             إذا كان مكونا من عدد زوجي من الأرقام.

             و يمكن تقسيمه الى عددين صحيحين طبيعيين
              $x$
              و
              $y$
                يتكون كل واحد منها من نصف أرقامه دون أن ينتهي كلاهما بأصفار (احدها ليس مضاعفا ل 10).

                ويمكن ترتيب ارقامهما  بحيث يكون جداؤهما يساوي العدد
                $n$

            العددان
             $x$
             و
             $y$
             هما نابي
             \LR{fangs}
             مصاص الدماء .
                \end{Arabic}
    \end{definition}
        \mylink \hfill \mylink\\
    \begin{myexample}{\textarabic{أمثلة}}
        \begin{align}
            n = 6880 \quad&\quad; x = 86, y = 80 \quad&\quad 86\times80 = 6880\\
            n = 102510 &\quad; x = 510; y = 201 \qquad \quad&\quad 510\times201=102510\\
            n = 1260 \quad&\quad; x = 21; y = 60 \quad&\quad 21\times60=1260\\
            n = 105264 &\quad; x = 204; y = 516 \qquad \quad&\quad 204\times516=105264
        \end{align}
    \end{myexample}
    \mylink \hfill \mylink\\

\end{document}

/204

Related Courses, Exams, and Exercises


Course PDF:

📥 Download مصاص الدماء الحقيقي (PDF)