summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/sesamanuel/sesamanuelTIKZ.sty
blob: 3815b41523ec914b8a44c734de545517b5f52e2c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
%%
%% This is file `sesamanuelTIKZ.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% sesamanuel.dtx  (with options: `packageTIKZ')
%% 
%% sesamanuel.dtx
%% Copyright 2014-2015 Sesamath, J.-C. Charpentier, S. Mengin
%% Class `sesamanuel' to use with LaTeX 2e
%% Copyright (C) 2014-2015 Sesamath, Jean-C\^ome Charpentier, S\'ebastien
%% Mengin.
%% \CharacterTable
%%  {Upper-case    \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%%   Lower-case    \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
%%   Digits        \0\1\2\3\4\5\6\7\8\9
%%   Exclamation   \!     Double quote  \"     Hash (number) \#
%%   Dollar        \$     Percent       \%     Ampersand     \&
%%   Acute accent  \'     Left paren    \(     Right paren   \)
%%   Asterisk      \*     Plus          \+     Comma         \,
%%   Minus         \-     Point         \.     Solidus       \/
%%   Colon         \:     Semicolon     \;     Less than     \<
%%   Equals        \=     Greater than  \>     Question mark \?
%%   Commercial at \@     Left bracket  \[     Backslash     \\
%%   Right bracket \]     Circumflex    \^     Underscore    \_
%%   Grave accent  \`     Left brace    \{     Vertical bar  \|
%%   Right brace   \}     Tilde         \~}
%%
\def\filedate{2015/03/03}
\def\fileversion{1.0}
\NeedsTeXFormat{LaTeX2e}[1995/06/01]
\ProvidesPackage{sesamanuelTIKZ}[%
  \filedate\space v\fileversion\space
  compagnon de Sesamanuel (SM/JCC/SM)%
]
\RequirePackage{esvect}
\RequirePackage{tikz}
\RequirePackage{tkz-tab}
\RequirePackage{pgf}
\usetikzlibrary{arrows}
\usetikzlibrary{patterns}
\newcommand{\chapeaumelon}[1]{\stackrel{\Large \frown}{#1}}
\newcommand{\Logosesa}{%
  \textcolor{orange}{%
    \boldmath
    $
      \overline{\textcolor{gray}{S}}
      \acute{\textcolor{gray}e}
      \overline{
        \textcolor{gray}{sa}
        \textcolor{black}{math}
      }
    $%
  }%
}
\newcommand\TikZ{Ti\textit{k}Z}
\newcommand\UniteGras[1]{{\bfseries \boldmath #1}}
\definecolor{B1prime}{cmyk}{0.00, 1.00, 0.00, 0.50}
\definecolor{H1prime}{cmyk}{0.50, 0.00, 1.00, 0.00}
\definecolor{CyanTikz40}{cmyk}{.4,0,0,0}
\definecolor{CyanTikz20}{cmyk}{.2,0,0,0}
\tikzstyle{general}=[line width=0.3mm, >=stealth, x=1cm, y=1cm,
  line cap=round, line join=round]
\tikzstyle{quadrillage}=[line width=0.3mm, color=CyanTikz40]
\tikzstyle{quadrillageNIV2}=[line width=0.3mm, color=CyanTikz20]
\tikzstyle{quadrillage55}=[line width=0.3mm, color=CyanTikz40,
  xstep=0.5, ystep=0.5]
\tikzstyle{cote}=[line width=0.3mm, <->]
\tikzstyle{epais}=[line width=0.5mm, line cap=butt]
\tikzstyle{tres epais}=[line width=0.8mm, line cap=butt]
\tikzstyle{axe}=[line width=0.3mm, ->, color=Noir, line cap=rect]
\newcommand{\quadrillageSeyes}[2]{%
  \draw[line width=0.3mm, color=A1!10, ystep=0.2, xstep=0.8]
       #1 grid #2;
  \draw[line width=0.3mm, color=A1!30, xstep=0.8, ystep=0.8]
       #1 grid #2;
}
\newcommand{\axeX}[4][0]{%
  \draw[axe] (#2,#1)--(#3,#1);
  \foreach \x in {#4} {%
    \draw (\x,#1) node {\small $+$};
    \draw (\x,#1) node[below] {\small $\x$};
  }%
}
\newcommand{\axeY}[4][0]{%
  \draw[axe] (#1,#2)--(#1,#3);
  \foreach \y in {#4} {%
    \draw (#1, \y) node {\small $+$};
    \draw (#1, \y) node[left] {\small $\y$};
  }%
}
\newcommand{\axeOI}[3][0]{%
  \draw[axe] (#2,#1)--(#3,#1);
  \draw (1,#1) node {\small $+$};
  \draw (1,#1) node[below] {\small $I$};
}
\newcommand{\axeOJ}[3][0]{%
  \draw[axe] (#1,#2)--(#1,#3);
  \draw (#1, 1) node {\small $+$};
  \draw (#1, 1) node[left] {\small $J$};
}
\newcommand{\axeXgraduation}[2][0]{%
  \foreach \x in {#2} {%
    \draw (\x,#1) node {\small $+$};
  }%
}
\newcommand{\axeYgraduation}[2][0]{%
  \foreach \y in {#2} {%
    \draw (#1, \y) node {\small $+$};
  }%
}
\newcommand{\origine}{\draw (0,0) node[below left] {\small $0$};}
\newcommand{\origineO}{\draw (0,0) node[below left] {$O$};}
\newcommand{\point}[4]{\draw (#1,#2) node[#4] {$#3$};}
\newcommand{\pointGraphique}[4]{%
  \draw (#1,#2) node[#4] {$#3$};
  \draw (#1,#2) node {$+$};
}
\newcommand{\pointFigure}[4]{%
  \draw (#1,#2) node[#4] {$#3$};
  \draw (#1,#2) node {$\times$};
}
\newcommand{\pointC}[3]{\draw (#1) node[#3] {$#2$};}
\newcommand{\pointCGraphique}[3]{%
  \draw (#1) node[#3] {$#2$};
  \draw (#1) node {$+$};
}
\newcommand{\pointCFigure}[3]{%
  \draw (#1) node[#3] {$#2$};
  \draw (#1) node {$\times$};
}
\endinput
%%
%% End of file `sesamanuelTIKZ.sty'.