Skip to main content

Posts

Showing posts with the label arabictemplates

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

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}}

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

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