diff options
author | Karl Berry <karl@freefriends.org> | 2017-10-06 20:21:46 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2017-10-06 20:21:46 +0000 |
commit | 4f67c97e98fea48e6a20642e3608bcc29ecf652e (patch) | |
tree | cf8149fa746031f5995f2c3b97a5fccf677e7d1e /Master/texmf-dist/tex/xelatex/na-position | |
parent | 5538311322ce40b9929726f97b1031087562d227 (diff) |
na-position (6oct17)
git-svn-id: svn://tug.org/texlive/trunk@45489 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/xelatex/na-position')
-rw-r--r-- | Master/texmf-dist/tex/xelatex/na-position/na-position.sty | 165 |
1 files changed, 165 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/xelatex/na-position/na-position.sty b/Master/texmf-dist/tex/xelatex/na-position/na-position.sty new file mode 100644 index 00000000000..2cc3ca4fb29 --- /dev/null +++ b/Master/texmf-dist/tex/xelatex/na-position/na-position.sty @@ -0,0 +1,165 @@ +% na-position.sty encodage : UTF8 +% Created By : Naam Mohamed & Salim Bou and distributed under the LPPL license. +% من إنشاء الأستاذين ناعم محمد و سليم بو +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{na-position}[2017/08/20 version1.0] +\RequirePackage{tkz-tab} +\RequirePackage{listofitems} +\RequirePackage{amsmath,amsfonts,mathrsfs,amssymb} + + +\def\Nplot{C_f} +\def\Nline{\Delta} + + +\def\posaa[#1,#2,#3](#4)#5{ + \readlist*\myarg{#4} + \begin{tikzpicture} + \tkzTabInit[espcl=4.5,lw=1.1pt] + {$x$ / 1 ,$f(x)-y$ /1 ,\textarabic{الوضعية} + /2.5}% + {$#1$ , $#2$ , $#3$ }% + \tkzTabLine{ , \myarg[1] , z , \myarg[2] , } + \tkzTabLine{ ,\hskip -1.3cm (\Nline)\ \if +\myarg[1]\text{فوق}\else \if -\myarg[1]\text{تحت} \fi\fi \ (\Nplot) , , \hskip 1cm (\Nline)\ \if +\myarg[2]\text{فوق}\else \if -\myarg[2]\text{تحت}\fi\fi \ (\Nplot) , } + \draw[thick] (N22)to[out=200,in=90] ([xshift=.5cm]M13) (N22)to[out=-20,in=90] ([xshift=-.5cm]M23); + \node[text width=2.5cm,align=center,anchor=base] at (Z22){\vskip -1.07cm \small \textarabic{$(\Nplot)$\ يقطع + } }; +\node[text width=2.5cm,align=center,anchor=base] at (Z22){\vskip -0.4cm \small \textarabic{ $(\Nline)$ في النقطة + } }; +\node[text width=2.5cm,align=center,anchor=base] at (Z22){\vskip 0.2cm \small +\textarabic{ $#5$} }; + \end{tikzpicture} +} +\def\posab[#1,#2,#3](#4)#5{ + \readlist*\myarg{#4} + \begin{tikzpicture} + \tkzTabInit[espcl=4.5,lw=1.1pt] + {$x$ / 1 ,$f(x)-y$ /1 ,\textarabic{الوضعية} + /2.5}% + {$#1$ , $#2$ , $#3$ }% + \tkzTabLine{d , \myarg[1] , z , \myarg[2] , } + \tkzTabLine{d ,\hskip -1.3cm (\Nline)\ \if +\myarg[1]\text{فوق}\else \if -\myarg[1]\text{تحت} \fi\fi \ (\Nplot) , , \hskip 1cm (\Nline)\ \if +\myarg[2]\text{فوق}\else \if -\myarg[2]\text{تحت}\fi\fi \ (\Nplot) , } + \draw[thick] (N22)to[out=200,in=90] ([xshift=.5cm]M13) (N22)to[out=-20,in=90] ([xshift=-.5cm]M23); + \node[text width=2.5cm,align=center,anchor=base] at (Z22){\vskip -1.07cm \small \textarabic{$(\Nplot)$\ يقطع + } }; +\node[text width=2.5cm,align=center,anchor=base] at (Z22){\vskip -0.4cm \small \textarabic{ $(\Nline)$ في النقطة + } }; +\node[text width=2.5cm,align=center,anchor=base] at (Z22){\vskip 0.2cm \small +\textarabic{ $#5$} }; + \end{tikzpicture} +} +\def\posac[#1,#2,#3](#4)#5{ + \readlist*\myarg{#4} + \begin{tikzpicture} + \tkzTabInit[espcl=4.5,lw=1.1pt] + {$x$ / 1 ,$f(x)-y$ /1 ,\textarabic{الوضعية} + /2.5}% + {$#1$ , $#2$ , $#3$ }% + \tkzTabLine{ , \myarg[1] , z , \myarg[2] , d} + \tkzTabLine{ ,\hskip -1.3cm (\Nline)\ \if +\myarg[1]\text{فوق}\else \if -\myarg[1]\text{تحت} \fi\fi \ (\Nplot) , , \hskip 1cm (\Nline)\ \if +\myarg[2]\text{فوق}\else \if -\myarg[2]\text{تحت}\fi\fi \ (\Nplot) ,d } + \draw[thick] (N22)to[out=200,in=90] ([xshift=.5cm]M13) (N22)to[out=-20,in=90] ([xshift=-.5cm]M23); + \node[text width=2.5cm,align=center,anchor=base] at (Z22){\vskip -1.07cm \small \textarabic{$(\Nplot)$\ يقطع + } }; +\node[text width=2.5cm,align=center,anchor=base] at (Z22){\vskip -0.4cm \small \textarabic{ $(\Nline)$ في النقطة + } }; +\node[text width=2.5cm,align=center,anchor=base] at (Z22){\vskip 0.2cm \small +\textarabic{ $#5$} }; + \end{tikzpicture} +} +\def\posad[#1,#2,#3,#4](#5)#6{ + \readlist*\myarg{#5} + \begin{tikzpicture} + \tkzTabInit[espcl=3.8,lw=1.1pt] + {$x$ / 1 ,$f(x)-y$ /1 ,\textarabic{الوضعية} + /2.5}% + {$#1$ , $#2$ , $#3$ ,$#4$ }% + \tkzTabLine{ , \myarg[1] , z , \myarg[2] , d,\myarg[3] } + \tkzTabLine{ ,\hskip -1.3cm (\Nline)\ \if +\myarg[1]\text{فوق}\else \if -\myarg[1]\text{تحت} \fi\fi \ (\Nplot) , , \hskip 1cm (\Nline)\ \if +\myarg[2]\text{فوق}\else \if -\myarg[2]\text{تحت}\fi\fi \ (\Nplot) ,d, \hskip 1cm (\Nline)\ \if +\myarg[3]\text{فوق}\else \if -\myarg[3]\text{تحت}\fi\fi \ (\Nplot)} + \draw[thick] (N22)to[out=200,in=90] ([xshift=.5cm]M13) (N22)to[out=-20,in=90] ([xshift=-.5cm]M23); + \node[text width=2.5cm,align=center,anchor=base] at (Z22){\vskip -1.07cm \small \textarabic{$(\Nplot)$\ يقطع + } }; +\node[text width=2.5cm,align=center,anchor=base] at (Z22){\vskip -0.4cm \small \textarabic{ $(\Nline)$ في النقطة + } }; +\node[text width=2.5cm,align=center,anchor=base] at (Z22){\vskip 0.2cm \small +\textarabic{ $#6$} }; + \end{tikzpicture} +} +\def\posae[#1,#2,#3,#4](#5)#6{ + \readlist*\myarg{#5} + \begin{tikzpicture} + \tkzTabInit[espcl=3.8,lw=1.1pt] + {$x$ / 1 ,$f(x)-y$ /1 ,\textarabic{الوضعية} + /2.5}% + {$#1$ , $#2$ , $#3$ ,$#4$ }% + \tkzTabLine{,\myarg[1] ,d , \myarg[2] , z , \myarg[3] , } +\tkzTabLine{\hskip 2.5cm (\Nline)\ \if +\myarg[1]\text{فوق}\else \if -\myarg[3]\text{تحت}\fi\fi \ (\Nplot) , ,d, \hskip -1cm (\Nline)\ \if +\myarg[2]\text{فوق}\else \if -\myarg[2]\text{تحت}\fi\fi \ (\Nplot) , ,\hskip 1.3cm (\Nline)\ \if +\myarg[3]\text{فوق}\else \if -\myarg[3]\text{تحت} \fi\fi \ (\Nplot), } + \draw[thick] (N32)to[out=200,in=90] ([xshift=.5cm]M23) (N32)to[out=-20,in=90] ([xshift=-.5cm]M33); + \node[text width=2.5cm,align=center,anchor=base] at (Z32){\vskip -1.07cm \small \textarabic{$(\Nplot)$\ يقطع + } }; +\node[text width=2.5cm,align=center,anchor=base] at (Z32){\vskip -0.4cm \small \textarabic{ $(\Nline)$ في النقطة + } }; +\node[text width=2.5cm,align=center,anchor=base] at (Z32){\vskip 0.2cm \small +\textarabic{ $#6$} }; + \end{tikzpicture} +} +\def\posba[#1,#2](#3) { + \begin{tikzpicture} + \tkzTabInit[espcl=4.5,lw=1.1pt] + {$x$ / 1 ,$f(x)-y$ /1 , الوضعية/1.6}% + {$#1$ , $#2$ }% + \tkzTabLine{ , #3 , } + \tkzTabLine{ , (\Nline)\ \ifx #3+ \text{فوق}\else \ifx #3- \text{تحت} \fi\fi \ (\Nplot) , } + \end{tikzpicture} +} +\def\posbb[#1,#2](#3) { + \begin{tikzpicture} + \tkzTabInit[espcl=4.5,lw=1.1pt] + {$x$ / 1 ,$f(x)-y$ /1 , الوضعية/1.6}% + {$#1$ , $#2$ }% + \tkzTabLine{d , #3 , } + \tkzTabLine{d , (\Nline)\ \ifx #3+ \text{فوق}\else \ifx #3- \text{تحت} \fi\fi \ (\Nplot) , } + \end{tikzpicture} +} +\def\posbc[#1,#2](#3) { + \begin{tikzpicture} + \tkzTabInit[espcl=4.5,lw=1.1pt] + {$x$ / 1 ,$f(x)-y$ /1 , الوضعية/1.6}% + {$#1$ , $#2$ }% + \tkzTabLine{ , #3 , d } + \tkzTabLine{ , (\Nline)\ \ifx #3+ \text{فوق}\else \ifx #3- \text{تحت} \fi\fi \ (\Nplot) , d } + \end{tikzpicture} +} +\def\posbd[#1,#2,#3](#4){ + \readlist*\myarg{#4} + \begin{tikzpicture} + \tkzTabInit[espcl=4.5,lw=1.1pt] + {$x$ / 1 ,$f(x)-y$ /1 ,\textarabic{الوضعية} + /1.6}% + {$#1$ , $#2$ , $#3$ }% + \tkzTabLine{ , \myarg[1] , d , \myarg[2] , } + \tkzTabLine{ ,\hskip -1.3cm (\Nline)\ \if +\myarg[1]\text{فوق}\else \if -\myarg[1]\text{تحت} \fi\fi \ (\Nplot) , d , \hskip 1cm (\Nline)\ \if +\myarg[2]\text{فوق}\else \if -\myarg[2]\text{تحت}\fi\fi \ (\Nplot) , } + \end{tikzpicture} +} +\def\posbe[#1,#2,#3,#4](#5){ + \readlist*\myarg{#5} + \begin{tikzpicture} + \tkzTabInit[espcl=3.2,lw=1pt] + {$x$ / 1 ,$f(x)-y$ /1 ,\textarabic{الوضعية} + /1.6}% + {$#1$ , $#2$ , $#3$ ,$#4$ }% + \tkzTabLine{ , \myarg[1] , d,h,d , \myarg[2] , } + \tkzTabLine{ ,\hskip -1.3cm (\Nline)\ \if +\myarg[1]\text{فوق}\else \if -\myarg[1]\text{تحت} \fi\fi \ (\Nplot) , d,h,d , \hskip 1cm (\Nline)\ \if +\myarg[2]\text{فوق}\else \if -\myarg[2]\text{تحت}\fi\fi \ (\Nplot) , } + \end{tikzpicture} +} +\def\posbf[#1,#2,#3,#4](#5){ + \readlist*\myarg{#5} + \begin{tikzpicture} + \tkzTabInit[espcl=3.2,lw=1pt] + {$x$ / 1 ,$f(x)-y$ /1 ,\textarabic{الوضعية} + /1.6}% + {$#1$ , $#2$ , $#3$ ,$#4$ }% + \tkzTabLine{ , \myarg[1] ,,h, , \myarg[2] , } + \tkzTabLine{ ,\hskip -1.3cm (\Nline)\ \if +\myarg[1]\text{فوق}\else \if -\myarg[1]\text{تحت} \fi\fi \ (\Nplot) , ,h, , \hskip 1cm (\Nline)\ \if +\myarg[2]\text{فوق}\else \if -\myarg[2]\text{تحت}\fi\fi \ (\Nplot) , } + \end{tikzpicture} +} +\endinput |