summaryrefslogtreecommitdiff
path: root/info/visualtikz/Source/tkzelect.tex
blob: a24f60399185ba748c71ae154bda0b1d936516da (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
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
%\section{Circuit électrique}
\label{lib-ee}
%Insérer dans le préambule :

 \maboite{\BS{usepackage}\AC{circuits.ee.IEC}}
 
 
%\subsection{Symboles}
\SbSSCT{Symboles}{Symbols}

\begin{center}
\RRR{47-4}
\end{center}

\begin{tabular}{|c|c|c|c|} \hline 
\TFRGB{sur un noeud}{On a node} & \TFRGB{sur un chemin}{On a path}
\\   \hline
\begin{tikzpicture}[blue,line width=2pt]
\useasboundingbox (-.2,-.2) grid (2.2,1.2);
\draw [help lines] (0,0) grid (2,1);
\node[circuit ee IEC] at (1,.5) [resistor] {} ; 
\end{tikzpicture}
&
\begin{tikzpicture}[blue,line width=2pt]
\useasboundingbox (-.2,-.2) grid (2.2,1.2);
\draw [help lines] (0,0) grid (2,1);
\draw [circuit ee IEC] (0,.5) to [resistor] (2,.5) ; 
\end{tikzpicture} 
\\   \hline
\BS{node}  \rouge{[circuit ee IEC]}  at (1,0.5) \rouge{ to [resistor] } \AC{} ;
&
\BS{draw}   \rouge{[circuit ee IEC]}(0,0.5) \rouge{ to [resistor] } (2,.5) ;
\\   \hline   
\end{tabular} 

\bigskip

\begin{tabular}{|c|c|c|c|} \hline
\multicolumn{4}{|c|}{\textbf{\TFRGB{Composants de base}{Basic Elements}}  }\\ 
\hline  
\multicolumn{4}{|c|}{\BS{draw}  [circuit ee IEC] (0,.5) to [\RDD{resistor}] (2,.5) ;  }\\ 
\hline
\multicolumn{4}{|c|}{\RRR{47-4-3} }
\\ \hline   
\begin{tikzpicture}[blue]
\useasboundingbox (-.5,0) rectangle (2.5,1);
\draw [circuit ee IEC] (0,0.5) to [resistor] (2,0.5) ; 
\end{tikzpicture} 
&
\begin{tikzpicture}[blue]
\useasboundingbox (-.5,0) rectangle (2.5,1);
\draw [circuit ee IEC] (0,.5) to [inductor] (2,.5) ; 
\end{tikzpicture}
&
\begin{tikzpicture}[blue]
\useasboundingbox (-.5,0) rectangle (2.5,1);
\draw [circuit ee IEC] (0,.5) to [capacitor] (2,.5) ; 
\end{tikzpicture}
&
\begin{tikzpicture}[blue]
\useasboundingbox (-.5,0) rectangle (2.5,1);
\draw [circuit ee IEC] (0,.5) to [battery] (2,.5) ; 
\end{tikzpicture} 
\\   \hline 
[\RDD{resistor}] &[\RDD{inductor}] & [\RDD{capacitor}] &[\RDD{battery}]
\\   \hline 
\begin{tikzpicture}[blue]
\useasboundingbox (-.5,0) rectangle (2.5,1);
\draw [circuit ee IEC] (0,.5) to [bulb] (2,.5) ; 
\end{tikzpicture}
&
\begin{tikzpicture}[blue]
\useasboundingbox (-.5,0) rectangle (2.5,1);
\draw [circuit ee IEC] (0,.5) to [current source] (2,.5) ; 
\end{tikzpicture}
&
\begin{tikzpicture}[blue]
\useasboundingbox(-.5,0) rectangle (2.5,1);
\draw [circuit ee IEC] (0,.5) to [voltage source] (2,.5) ; 
\end{tikzpicture}; 
&
\begin{tikzpicture}[blue]
\useasboundingbox (-.5,0) rectangle (2.5,1);
\draw [circuit ee IEC] (0,.5) to [ground] (2,.5) ; 
\end{tikzpicture} 
\\   \hline
[\RDD{bulb}] &[\RDD{current source}] & [\RDD{voltage source}] &[\RDD{ground}]
\\   \hline 
\multicolumn{4}{|c|}{\RRR{47-4-4} }
\\ \hline  
\begin{tikzpicture}[blue]
\useasboundingbox (-.5,0) rectangle (2.5,1);
\draw [circuit ee IEC] (0,.5) to [diode] (2,.5) ; 
\end{tikzpicture} 
&
\begin{tikzpicture}[blue]
\useasboundingbox (-.5,0) rectangle (2.5,1);
\draw [circuit ee IEC] (0,.5) to [Zener diode]  (2,.5) ; 
\end{tikzpicture} 
&
\begin{tikzpicture}[blue]
\useasboundingbox (-.5,0) rectangle (2.5,1);
\draw [circuit ee IEC] (0,.5) to [Schottky diode]  (2,.5) ; 
\end{tikzpicture}
&
\begin{tikzpicture}[blue]
\useasboundingbox(-.5,0) rectangle (2.5,1);
\draw [circuit ee IEC] (0,.5) to [tunnel diode]  (2,.5) ; 
\end{tikzpicture} 
\\   \hline 
[\RDD{diode}] &[\RDD{Zener diode}] & [\RDD{Schottky diode}] &[\RDD{tunnel diode}]
\\   \hline
\begin{tikzpicture}[blue]
\useasboundingbox (-.5,0) rectangle (2.5,1); 
\draw [circuit ee IEC] (0,.5) to [backward diode]  (2,.5) ; 
\end{tikzpicture}  
&
\begin{tikzpicture}[blue]
\useasboundingbox (-.5,0) rectangle (2.5,1);
\draw [circuit ee IEC] (0,.5) to [breakdown diode]  (2,.5) ; 
\end{tikzpicture} 
&
& 
\\   \hline 
[\RDD{backward diode}] &[\RDD{breakdown diode}] &  &
\\   \hline 
\multicolumn{4}{|c|}{\RRR{47-4-5} }
\\ \hline 
\begin{tikzpicture}[blue]
\useasboundingbox (-.5,0) rectangle (2.5,1);
\draw [circuit ee IEC] (0,.5) to [contact] (2,.5) ; 
\end{tikzpicture} 
&
\begin{tikzpicture}[blue]
\useasboundingbox (-.5,0) rectangle (2.5,1); 
\draw [circuit ee IEC] (0,.5) to [make contact]  (2,.5) ; 
\end{tikzpicture}
&
\begin{tikzpicture}[blue]
\useasboundingbox (-.5,0) rectangle (2.5,1);
\draw [circuit ee IEC] (0,.5) to [break contact] (2,.5) ; 
\end{tikzpicture}
&

\\   \hline 
[\RDD{contact}] &[\RDD{make contact}] & [\RDD{break contact}] & 
\\   \hline 
\end{tabular}

\bigskip


%\subsection{Alternate appearance}

\begin{tabular}{|c|c|c|} \hline
\multicolumn{3}{|c|}{\textbf{\TFRGB{Autre apparence}{Alternate appearance }}  }
\\ \hline   
\multicolumn{3}{|l|}{\BS{draw} [circuit ee IEC,\rouge{set resistor graphic=var resistor IEC graphic} ]  }\\
\multicolumn{3}{|l|}{(0,0.5) to [resistor] (2,0.5) ;  }\\ 
\hline 
\begin{tikzpicture}[blue]
\useasboundingbox  (-.5,0) rectangle (2.5,1); 
\draw [circuit ee IEC,set resistor graphic=var resistor IEC graphic ] (0,.5) to [resistor] (2,.5) ; 
\end{tikzpicture}
&
\begin{tikzpicture}[blue]
\useasboundingbox  (-.5,0) rectangle (2.5,1); 
\draw [circuit ee IEC,set inductor graphic=var inductor IEC graphic ] (0,.5) to [inductor] (2,.5) ; 
\end{tikzpicture} 
&  
\begin{tikzpicture}[blue]
\useasboundingbox (-.5,0) rectangle (2.5,1);
\draw [circuit ee IEC,set diode graphic=var diode IEC graphic ] (0,.5) to [diode] (2,.5) ; 
\end{tikzpicture}
\\   \hline 
resistor & inductor &  diode 
\\   \hline
\begin{tikzpicture}[blue]
\useasboundingbox  (-.5,0) rectangle (2.5,1); 
\draw [circuit ee IEC,set Zener diode graphic=var Zener diode IEC graphic ] (0,.5) to [Zener diode] (2,.5) ; 
\end{tikzpicture}
&
\begin{tikzpicture}[blue]
\useasboundingbox  (-.5,0) rectangle (2.5,1);
\draw [circuit ee IEC,set Schottky diode graphic=var Schottky diode IEC graphic ] (0,.5) to [Schottky diode] (2,.5) ; 
\end{tikzpicture}
&
\begin{tikzpicture}[blue]
\useasboundingbox  (-.5,0) rectangle (2.5,1);
\draw [circuit ee IEC,set tunnel diode graphic=var tunnel diode IEC graphic ] (0,.5) to [tunnel diode] (2,.5) ; 
\end{tikzpicture}

\\   \hline 
Zener diode & Schottky diode & tunnel diode 
\\   \hline
 
\begin{tikzpicture}[blue]
\useasboundingbox  (-.5,0) rectangle (2.5,1); 
\draw [circuit ee IEC,set backward diode graphic=var backward diode IEC graphic ] (0,.5) to [backward diode] (2,.5) ; 
\end{tikzpicture}
&
\begin{tikzpicture}[blue]
\useasboundingbox  (-.5,0) rectangle (2.5,1);
\draw [circuit ee IEC,set breakdown diode graphic=var breakdown diode IEC graphic ] (0,.5) to [breakdown diode] (2,.5) ; 
\end{tikzpicture}
&
\begin{tikzpicture}[blue]
\useasboundingbox  (-.5,0) rectangle (2.5,1);
\draw [circuit ee IEC,set make contact graphic=var make contact IEC graphic ] (0,.5) to [make contact] (2,.5) ; 
\end{tikzpicture}
\\   \hline 
backward diode & breakdown diode & make contact 
\\   \hline 
\end{tabular}


\bigskip

%\subsection{Symbol Size}
%\begin{center}
%\RRR{47-2-1}
%\end{center}


\begin{tabular}{|c|c|c|c|c|} \hline
\multicolumn{5}{|c|}{ \textbf{\TFRGB{Taille des symboles}{Symbol Size}}}\\
\multicolumn{5}{|c|}{\RRR{47-2-1}}
\\ \hline 
\multicolumn{5}{|c|}{\BS{draw}  [circuit ee IEC]  (0,0.5) to [diode,\RDD{large circuit symbols}] (2,0.5) ;  }\\ 
\hline 
\begin{tikzpicture}[blue]
\useasboundingbox  (0,0) rectangle (2,1); 
\draw [circuit ee IEC] (0,.5) to [diode,huge circuit symbols] (2,.5) ; 
\end{tikzpicture}
&
\begin{tikzpicture}[blue]
\useasboundingbox  (0,0) rectangle (2,1); 
\draw [circuit ee IEC](0,.5) to [diode,large circuit symbols] (2,.5) ; 
\end{tikzpicture}
&
\begin{tikzpicture}[blue]
\useasboundingbox  (0,0) rectangle (2,1); 
\draw [circuit ee IEC](0,.5) to [diode,medium circuit symbols] (2,.5) ; 
\end{tikzpicture}
&
\begin{tikzpicture}[blue]
\useasboundingbox  (0,0) rectangle (2,1); 
\draw [circuit ee IEC] (0,.5) to [diode,small circuit symbols] (2,.5) ; 
\end{tikzpicture}
&
\begin{tikzpicture}[blue]
\useasboundingbox  (0,0) rectangle (2,1); 
\draw [circuit ee IEC] (0,.5) to [diode,tiny circuit symbols] (2,.5) ; 
\end{tikzpicture}
\\   \hline
\RDD{huge circuit symbols} & \RDD{large circuit symbols} & \RDD{medium circuit symbols} & \RDD{small circuit symbols} & \RDD{tiny circuit symbols}
\\   \hline
(10pt) & (8pt) & (7pt)& (6pt)& (5pt)
\\   \hline
\end{tabular}


\bigskip\begin{tabular}{|c|c|c|} \hline 
\multicolumn{3}{|c|}{\BS{draw}  [circuit ee IEC,\RDD{circuit symbol unit}=14pt] (0,0.5) to [diode] (2,0.5) ;  }\\ 
\hline  
\begin{tikzpicture}[blue]
\useasboundingbox  (0,0) rectangle (2,1); 
\draw [circuit ee IEC,circuit symbol unit=14pt] (0,.5) to [diode] (2,.5) ;
\end{tikzpicture}
&  
\begin{tikzpicture}[blue]
\useasboundingbox  (0,0) rectangle (2,1); 
\draw [circuit ee IEC,{circuit symbol size=width 3 height 1}] (0,.5) to [diode] (2,.5) ;
\end{tikzpicture}
&  
\begin{tikzpicture}[blue]
\useasboundingbox  (0,0) rectangle (2,1); 
\node[circuit ee IEC,circuit symbol size=width 1 height 5]at (1,.5) [diode] {} ; 
\end{tikzpicture}
\\ \hline  
\RDD{circuit symbol unit}=14pt & \RDD{circuit symbol size}=width 3 height 1  & \RDD{circuit symbol size}=width 1 height 5 \\
&
\multicolumn{2}{|c|}{ \DW{} }
\\ \hline 
\end{tabular} 

%\subsection{Declaring New Symbols}
\bigskip

\begin{tabular}{|c|c|c|c|} \hline 
\multicolumn{4}{|c|}{\textbf{\TFRGB{Création de nouveaux symboles}{Declaring New Symbols }}  }
\\ % \hline
\multicolumn{4}{|c|}{\RRR{47-2-2}  }
\\ \hline  
\begin{tikzpicture}
[baseline=0pt,circuit declare symbol=xxx,
set xxx graphic={draw,shape=rectangle,minimum size=5mm}]
\useasboundingbox (0,0) rectangle (3.2,1);
\node [xxx] at (0.5,0.5) {};
\draw[circuit ee IEC]  (1,0.5) to [xxx] (3,0.5) ;
\end{tikzpicture}
& 
\multicolumn{3}{|c|}{ 
\parbox[B]{10cm}{
\BS{begin}\AC{tikzpicture}
[\RDD{circuit declare symbol}={\color{blue} xxx},  \\
\rouge{set xxx graphic}=\AC{draw,\rouge{shape}=rectangle,minimum size=5mm}]  \\
\BS{node} [{\color{blue} xxx}] at (.5,.5) {}; \\
\BS{draw}[circuit ee IEC]  (1,.5) to [{\color{blue} xxx}] (3,.5) ; \\
\BS{end}\AC{tikzpicture}} } 
\\ \hline  
  
\begin{tikzpicture}
[circuit declare symbol=xxx,
set xxx graphic={draw,shape=circle,minimum size=5mm}] 
\useasboundingbox (0,0) rectangle (3.2,1);
\node [xxx] at (.5,.5) {};
\draw[circuit ee IEC]  (1,.5) to [xxx] (3,.5) ;
\end{tikzpicture}
&  
\begin{tikzpicture}
[circuit declare symbol=xxx,
set xxx graphic={draw,shape=dart,minimum size=5mm}] 
\useasboundingbox (0,0) rectangle (3.2,1);
\node [xxx] at (.5,.5) {};
\draw[circuit ee IEC]  (1,.5) to [xxx] (3,.5) ;
\end{tikzpicture}
&  
\begin{tikzpicture}
[circuit declare symbol=xxx,
set xxx graphic={draw,shape=star,minimum size=5mm}] 
\useasboundingbox (0,0) rectangle (3.2,1);
\node [xxx] at (.5,.5) {};
\draw[circuit ee IEC]  (1,.5) to [xxx] (3,.5) ;
\end{tikzpicture}
&  
\begin{tikzpicture}
[circuit declare symbol=xxx,
set xxx graphic={draw,shape=forbidden sign,minimum size=5mm}] 
\useasboundingbox (0,0) rectangle (3.2,1);
\node [xxx] at (.5,.5) {};
\draw[circuit ee IEC]  (1,.5) to [xxx] (3,.5) ;
\end{tikzpicture}
\\ \hline 
\RDD{shape}=circle & \RDD{shape}=dart & \RDD{shape}=star &  \RDD{shape}=forbidden sign \\ 
\hline 
\multicolumn{4}{|c|}{ \textbf{voir les \og different shape libraries \fg }{see the different shape libraries } }
\\ \hline 
\end{tabular} 

\bigskip
%\subsection{placement}


\begin{tabular}{|c|} \hline 
\textbf{\TFRGB{Placement des symboles sur un chemin}{Placement of symbol on a path }} 
\\ \hline  
\BS{draw} [circuit ee IEC] (0,0.5) to  [contact=\AC{\RDD{at start}},make contact=\AC{\RDD{very near start}},voltage source=\AC{\RDD{near start}},\\ resistor,
bulb=\AC{\RDD{near end}},
bulb=\AC{\RDD{very near end}},contact=\AC{\RDD{at end}}] (12,0.5) ;
\\ \hline  
\begin{tikzpicture}[blue]
\useasboundingbox (-.5,0) rectangle (12.5,1);
\draw [circuit ee IEC] (0,.5) to  [contact={at start},make contact={very near start},voltage source={near start},resistor,
bulb={near end},bulb={very near end},contact={at end}] (12,.5) ; 
\end{tikzpicture}
\\ \hline 
%\end{tabular}
%
%\bigskip
%\begin{tabular}{|c|} \hline  
\BS{draw} [circuit ee IEC] (0,0.5) to  [contact=\{ \rouge{pos=0}{} \},make contact=\{\rouge{pos=0.2}{}\},voltage source=\{\rouge{pos=0.3}{} \},    \\ 
resistor=\{ \rouge{pos=0.5}{} \},
bulb=\{\rouge{pos=0.75} {} \},contact=\{\RDD{pos} \rouge{=1}{} \}] (12,0.5) ;
\\ \hline  
\begin{tikzpicture}[blue]
\useasboundingbox (-.5,0) rectangle (12.5,1);
\draw [circuit ee IEC] (0,.5) to  [contact={pos=0},make contact={pos=0.2},voltage source={pos=0.3},resistor={pos=0.5},
bulb={pos=0.75},contact={pos=1}] (12,.5) ; 
\end{tikzpicture}
\\ \hline 
\end{tabular}

%===================
%\subsection{Orientation}

\bigskip

\begin{tabular}{|c|c|c|c|} \hline
\multicolumn{4}{|c|}{\textbf{\TFRGB{Orientation des symboles}{Symbol orientation }}  } \\
\multicolumn{4}{|c|}{ \RRR{47-2-3} }
\\ \hline   
\multicolumn{4}{|c|}{\BS{node}  [circuit ee IEC] at (1,.5) [diode,\RDD{point up}] \AC{} ;  }\\ 
\hline 
\begin{tikzpicture}[blue]
\useasboundingbox  (-.5,0) rectangle (2.5,1);
\node[circuit ee IEC] at (1,.5) [diode,point up] {} ; 
\end{tikzpicture}
&
\begin{tikzpicture}[blue]
\useasboundingbox  (-.5,0) rectangle (2.5,1);
\node[circuit ee IEC] at (1,.5) [diode,point down] {} ; 
\end{tikzpicture}
&
\begin{tikzpicture}[blue]
\useasboundingbox  (-.5,0) rectangle (2.5,1);
\node[circuit ee IEC] at (1,.5) [diode,point left] {} ; 
\end{tikzpicture}
&
\begin{tikzpicture}[blue]
\useasboundingbox  (-.5,0) rectangle (2.5,1);
\node[circuit ee IEC] at (1,.5) [diode,point right] {} ; 
\end{tikzpicture}
\\   \hline 
[diode,\RDD{point up}] & 
[diode,\RDD{point down}] & [diode,\RDD{point left}] & [diode,\RDD{point right}]
\\   \hline
\end{tabular}

\bigskip
\begin{tabular}{|c|c|} \hline 
\multicolumn{2}{|c|}{\textbf{\TFRGB{Orientation automatique}{Automatic orientation }}  } 

\\ \hline    
\begin{tikzpicture}[baseline=0pt,blue]
\useasboundingbox (-.5,-1.5) rectangle (2.5,1.5);
\draw [circuit ee IEC] (0,0) to  [voltage source] (1,1) to [resistor] (2,0) to 
[bulb] (1,-1) to [diode]  (0,0) ; 
\end{tikzpicture} 
 &  
\parbox[c]{10cm}{\BS{draw} [circuit ee IEC] (0,0) \\ to  [voltage source] (1,1) \\ to [resistor] (2,0) \\to 
[bulb] (1,-1) \\to [diode]  (0,0) ;} 
 \\ \hline 
\end{tabular} 

\bigskip

%===================
%\subsection{Current Directions}
\subsection{Annotations}
%\begin{center}
%\RRR{47-4-2}
%\end{center}

\noindent

\begin{tabular}{|c|c|} \hline 
\multicolumn{2}{|c|}{ \textbf{\TFRGB{Sens du courant}{Indicating Current Directions}}  } \\
\multicolumn{2}{|c|}{\RRR{47-4-2} }
\\ \hline 
\multicolumn{2}{|c|}{\BS{draw}  [circuit ee IEC] (0,0.5) to [\RDD{current direction}]  (2,0.5) ;  }
\\ \hline 
\begin{tikzpicture}[blue]
\useasboundingbox  (-1,0) rectangle (3,1); 
\draw [circuit ee IEC] (0,.5) to[current direction] (2,.5); 
\end{tikzpicture}
& 
\begin{tikzpicture}[blue]
\useasboundingbox  (-1,0) rectangle (3,1);
\draw [circuit ee IEC] (0,.5) to[current direction'] (2,.5); 
\end{tikzpicture} 
\\   \hline
[\RDD{current direction}]  & [\RDD{current direction' } ]

\\   \hline

\end{tabular}

\bigskip

%\subsection{units}
%\begin{center}
%\RRR{47-4-6}
%\end{center}

 
\begin{tabular}{|c|c|c|c|c|} \hline
\multicolumn{5}{|c|}{\textbf{ \TFRGB{Unités disponibles}{Units available}}  } \\
\multicolumn{5}{|c|}{\RRR{47-4-6}   }
\\ \hline   
\multicolumn{5}{|c|}{\BS{node}  [draw,circuit ee IEC] at(1,.5) [\RDD{ampere}=5] \AC{}  }\\ 
\hline 
\begin{tikzpicture}[blue]
\draw[help lines,white] (-.5,0) rectangle (2.5,1);
\node [draw,circuit ee IEC] at(1,0.5) [ampere=5] {} ;  
\end{tikzpicture}
&
\begin{tikzpicture}[blue]
\draw[help lines,white] (-.5,0) rectangle (2.5,1);
\node [draw,circuit ee IEC] at(1,0.5) [volt=5] {} ;  
\end{tikzpicture}
&
\begin{tikzpicture}[blue]
\draw[help lines,white] (-.5,0) rectangle (2.5,1);
\node [draw,circuit ee IEC] at(1,0.5) [ohm=5] {} ;  
\end{tikzpicture}

&
\begin{tikzpicture}[blue]
\draw[help lines,white] (-.5,0) rectangle (2.5,1);
\node [draw,circuit ee IEC] at(1,.5) [siemens=5] {} ;  
\end{tikzpicture}
&
\begin{tikzpicture}[blue]
\draw[help lines,white] (-.5,0) rectangle (2.5,1); 
\node [draw,circuit ee IEC] at(1,.5) [henry=5] {} ;  
\end{tikzpicture}
\\   \hline
[\RDD{ampere}=5] & [\RDD{volt}=5] & [\RDD{ohm}=5]  \DW{} & [\RDD{siemens}=5] & [\RDD{henry}=5]
\\   \hline
\begin{tikzpicture}[blue]
\draw[help lines,white] (-.5,0) rectangle (2.5,1);
\node [draw,circuit ee IEC] at(1,.5) [farad=5] {} ;  
\end{tikzpicture}
&
\begin{tikzpicture}[blue]
\draw[help lines,white] (-.5,0) rectangle (2.5,1); 
\node [draw,circuit ee IEC] at(1,.5) [coulomb=5] {} ;  
\end{tikzpicture}
&
\begin{tikzpicture}[blue]
\draw[help lines,white] (-.5,0) rectangle (2.5,1);
\node [draw,circuit ee IEC] at(1,.5) [voltampere=5] {} ;  
\end{tikzpicture}
&
\begin{tikzpicture}[blue]
\draw[help lines,white] (-.5,0) rectangle (2.5,1); 
\node [draw,circuit ee IEC] at(1,.5) [watt=5] {} ;  
\end{tikzpicture}
&
\begin{tikzpicture}[blue]
\draw[help lines,white] (-.5,0) rectangle (2.5,1);
\node [draw,circuit ee IEC] at(1,.5) [hertz=5] {} ;  
\end{tikzpicture}
\\   \hline
[\RDD{farad}=5] & [\RDD{coulomb}=5] &  [\RDD{voltampere}=5] & [\RDD{watt}=5] & [\RDD{hertz}=5] 
\\   \hline
\begin{tikzpicture}[blue]
\draw[help lines,white] (-.5,0) rectangle (2.5,1); 
\node [draw,circuit ee IEC] at(1,.5)[ampere=5k]{} ;  
\end{tikzpicture}
&
\begin{tikzpicture}[blue]
\draw[help lines,white] (-.5,0) rectangle (2.5,1);
\node [draw,circuit ee IEC] at(1,.5) [ampere=5m] {} ;  
\end{tikzpicture}
&
\begin{tikzpicture}[blue]
\draw[help lines,white] (-.5,0) rectangle (2.5,1);
\node [draw,circuit ee IEC] at(1,.5) [ampere=5\mu] {} ;  
\end{tikzpicture}
&
\begin{tikzpicture}[blue]
\draw[help lines,white] (-.5,0) rectangle (2.5,1); 
\node [draw,circuit ee IEC] at(1,.5) [watt=5k] {} ;  
\end{tikzpicture}
&
\begin{tikzpicture}[blue]
\draw[help lines,white] (-.5,0) rectangle (2.5,1);
\node [draw,circuit ee IEC] at(1,.5) [watt=5M] {} ;  
\end{tikzpicture}
\\   \hline
[ampere=\rouge{5k}] & [ampere=\rouge{5m}] &  [ampere=\rouge{5\BS{mu}}] & [watt=\rouge{5k}] & [watt=\rouge{5M}] 
\\   \hline
\end{tabular}

\bigskip

%\subsection{créer sa propre unité }

\begin{tabular}{|c|} \hline 
\textbf{ \TFRGB{créer sa propre unité}{Declare unit}} \\  
\RRR{47-2-4}
\\ \hline   
\BS{tikz}[circuit ee IEC,\RDD{circuit declare unit}=\AC{{\color{blue} xxx}}\AC{ Unit}] \\
\BS{draw} (0,0) to[resistor=\AC{{\color{blue} xxx}' sloped=3}] (3,2) to [resistor=\AC{{\color{blue} xxx}= 10\BS{mu}}] (5,2) to [resistor=\AC{{\color{blue} xxx}= 10M}] (7,0);
\\ \hline  
%\begin{tikzpicture}[circuit ee IEC,circuit declare unit={XXX}{ Unit}]
\tikz[circuit ee IEC,circuit declare unit={XXX}{ Unit}]
\draw (0,0) to[resistor={XXX' sloped=3}] (3,2) to [resistor={XXX= 10\mu}] (5,2) to [resistor={XXX= 10M}] (7,0);
%\end{tikzpicture}
\\ \hline 
\end{tabular} 

\bigskip
%\subsection{Annotations}

%\begin{center}
%\RRR{47-4-7}
%\end{center}

\begin{tabular}{|c|c|c|c|} \hline 
\multicolumn{4}{|c|}{ \textbf{\TFRGB{Annotations}{Annotations}}  } \\
\multicolumn{4}{|c|}{\RRR{47-4-7}}
\\ \hline 
\multicolumn{4}{|c|}{\BS{draw}  [circuit ee IEC] (0,0.5) to [resistor=\RDD{light emitting}] (2,0.5) ;  }\\ 
\hline 
\begin{tikzpicture}[blue]
\useasboundingbox (-.5,0) rectangle (2.5,1); 
\draw [circuit ee IEC] (0,.5) to [resistor=light emitting] (2,.5) ; 
\end{tikzpicture} 
&
\begin{tikzpicture}[blue]
\useasboundingbox  (-.5,0) rectangle (2.5,1); 
\draw [circuit ee IEC] (0,.5) to [resistor=light dependent]  (2,.5) ; 
\end{tikzpicture} 
&
\begin{tikzpicture}[blue]
\useasboundingbox (-.5,0) rectangle (2.5,1); 
\draw [circuit ee IEC] (0,.5) to [resistor=direction info]  (2,.5) ;  
\end{tikzpicture}  
&
\begin{tikzpicture}[blue]
\useasboundingbox  (-.5,0) rectangle (2.5,1);
\draw [circuit ee IEC] (0,.5) to [resistor=adjustable]  (2,.5) ;  
\end{tikzpicture} 
\\   \hline 
[resistor=\RDD{light emitting}] & [resistor=\RDD{light dependent}]  & [resistor=\RDD{direction info}]  & [resistor=\RDD{adjustable}]
\\   \hline 
\begin{tikzpicture}[blue]
\useasboundingbox  (-.5,0) rectangle (2.5,1); 
\draw [circuit ee IEC] (0,.5) to [diode=light emitting] (2,.5) ; 
\end{tikzpicture} 
&
\begin{tikzpicture}[blue]
\useasboundingbox  (-.5,0) rectangle (2.5,1);
\draw [circuit ee IEC] (0,.5) to [diode=light dependent]  (2,.5) ; 
\end{tikzpicture} 
&
\begin{tikzpicture}[blue]
\useasboundingbox  (-.5,0) rectangle (2.5,1);
\draw [circuit ee IEC] (0,.5) to [diode=direction info]  (2,.5) ;  
\end{tikzpicture}  
&
\begin{tikzpicture}[blue]
\useasboundingbox  (-.5,0) rectangle (2.5,1);
\draw [circuit ee IEC] (0,.5) to [diode=adjustable]  (2,.5) ;  
\end{tikzpicture} 
\\   \hline 
[diode=\RDD{light emitting}] & [diode=\RDD{light dependent}]  & [diode=\RDD{direction info}]  & [diode=\RDD{adjustable}]
\\   \hline 
\begin{tikzpicture}[blue]
\useasboundingbox  (-.5,0) rectangle (2.5,1);
\draw [circuit ee IEC] (0,.5) to [diode=light emitting'] (2,.5) ; 
\end{tikzpicture} 
&
\begin{tikzpicture}[blue]
\useasboundingbox  (-.5,0) rectangle (2.5,1); 
\draw [circuit ee IEC] (0,.5) to [diode=light dependent']  (2,.5) ; 
\end{tikzpicture} 
&
\begin{tikzpicture}[blue]
\useasboundingbox  (-.5,0) rectangle (2.5,1);
\draw [circuit ee IEC] (0,.5) to [diode=direction info']  (2,.5) ;  
\end{tikzpicture}  
&
\begin{tikzpicture}[blue]
\draw[help lines,white] (-.5,0) rectangle (2.5,1);
\draw [circuit ee IEC] (0,.5) to [diode=adjustable']  (2,.5) ;  
\end{tikzpicture} 
\\   \hline 
[diode=\RDD{light emitting'}] & [diode=\RDD{light dependent'}]  & [diode=\RDD{direction info'}]  & [diode=\RDD{adjustable'}]
\\   \hline 
\end{tabular}



\bigskip

%\subsection{Position}
%
%\begin{center}
%\RRR{47-2-4}
%\end{center}

\begin{tabular}{|c|c|} \hline 
\multicolumn{2}{|c|}{ \textbf{\TFRGB{Position des unités}{Units position}}  } \\
\multicolumn{2}{|c|}{  \RRR{47-2-4}}
\\ \hline 
\multicolumn{2}{|c|}{\BS{draw} [circuit ee IEC] (0,0) to [capacitor=\AC{farad=5\BS{mu}}]  (2,2)  ;  }\\ 
\hline 
\begin{tikzpicture}[blue]
\useasboundingbox   (0,-.5) rectangle (2,2.5); 
\draw [circuit ee IEC] (0,0) to [capacitor={farad=5\mu}]  (2,2) ; 
\end{tikzpicture}
&
\begin{tikzpicture}[blue]
\useasboundingbox   (0,-.5) rectangle (2,2.5);  
\draw [circuit ee IEC] (0,0) to [capacitor={farad'=5\mu}]  (2,2) ; 
\end{tikzpicture}
\\ \hline
[capacitor=\rouge{\AC{farad=5\BS{mu}}}] & [capacitor=\rouge{\AC{farad'=5\BS{mu}}}]
\\ \hline
\begin{tikzpicture}[blue]
\useasboundingbox   (0,-.5) rectangle (2,2.5); 
\draw [circuit ee IEC] (0,0) to [capacitor={farad sloped=5\mu}]  (2,2) ; 
\end{tikzpicture}
&
\begin{tikzpicture}[blue]
\useasboundingbox   (0,-.5) rectangle (2,2.5); 
\draw [circuit ee IEC] (0,0) to [capacitor={farad' sloped=5\mu}]  (2,2) ; 
\end{tikzpicture}
\\   \hline
[capacitor=\rouge{\AC{farad sloped=5\BS{mu}}}] & [capacitor=\rouge{\AC{farad' sloped=5\BS{mu}}}]
\\   \hline
\end{tabular}

\bigskip
%\subsection{Info Labels}

\begin{tabular}{|c|c|c|} \hline 
\multicolumn{3}{|c|}{ \textbf{ \TFRGB{Informations}{Info Labels}}  }\\ 
\multicolumn{3}{|c|}{ \RRR{47-2-4}  }\\ 
\hline 

\multicolumn{3}{|c|}{\BS{draw} [circuit ee IEC] (0,0.5) to [diode=\AC{light emitting=\AC{\RDD{info}=D1}}] (2,0.5) ;  }\\ 
\hline 

\begin{tikzpicture}[blue]
\useasboundingbox   (0,-1) rectangle (2,2); 
\draw [circuit ee IEC] (0,.5) to [diode={light emitting={info=D1}} ]  (2,.5) ; 
\end{tikzpicture}
&
\begin{tikzpicture}[blue]
\useasboundingbox   (0,-1) rectangle (2,2); 
\draw [circuit ee IEC] (0,.5) to [diode={light emitting={info'=D2}}]  (2,.5) ; 
\end{tikzpicture}
&
\begin{tikzpicture}[blue]
\useasboundingbox   (0,-1) rectangle (2,2);
\draw [circuit ee IEC] (0,.5) to [diode={light emitting,info'=D3}] (2,.5) ; 
\end{tikzpicture}
\\   \hline 
[diode=\AC{light emitting=\AC{\RDD{info}=D1}} ] & 
[diode=\AC{light emitting=\AC{\RDD{info'}=D2}} ] &
[diode=\AC{light emitting,\RDD{info'}=D3}]
\\   \hline
\end{tabular}

\bigskip

\begin{tabular}{|c|c|} \hline  
\TFRGB{sur un noeud}{On a node} & \TFRGB{sur un chemin}{On a path}

\\ \hline  
\begin{tikzpicture}[blue]
\node[circuit ee IEC] at (1,.5) [resistor,info=$3\Omega$,info'=R1] {} ; 
\end{tikzpicture}
&  
\begin{tikzpicture}[blue]
\useasboundingbox (-.2,-.2) grid (2.2,1.2);
\draw [circuit ee IEC] (0,.5) to [resistor={info=$3\Omega$,info'=R1}] (2,.5) ; 
\end{tikzpicture}
\\ \hline 
[resistor,\RDD{info}=\$3\BS{Omega}\$,\RDD{info'}=R1] &[resistor=\AC{\RDD{info}=\$3\BS{Omega}\$,\RDD{info'}=R1}] 
\\ \hline 
\end{tabular}

\bigskip

\begin{tabular}{|c|c|} \hline  
\begin{tikzpicture}[blue,circuit ee IEC]
\node [resistor,info=center:$3\Omega$] {};
\end{tikzpicture}
&  
\begin{tikzpicture}[blue,circuit ee IEC]
\node [resistor,point up,info=center:$3\Omega$] {};
%\node [resistor,point up,info=center:$R_1$] ;
\end{tikzpicture}
\\ \hline [resistor,point up,info=\RDD{center}:\$3\BS{Omega}\$] & 
[resistor,point up,info=\RDD{center}:\$3\BS{Omega}\$] \\ 
\hline 
\end{tabular} 


\bigskip



\begin{tabular}{|c|c||c|c|}  \hline 
\multicolumn{2}{|c||}{ \BS{node}  [voltage source,\RDD{direction info}=\AC{volt=10}] \AC{}  } & \multicolumn{2}{|c|}{ \BS{node}  [voltage source,\RDD{direction info'}=\AC{volt=10}] \AC{}}
\\ \hline 
\begin{tikzpicture}[blue,circuit ee IEC]
\useasboundingbox (-2,-1.2) grid (2,1.2);
\node  [voltage source,direction info={volt=10}] {};
\end{tikzpicture}
&  
\begin{tikzpicture}[blue,circuit ee IEC]
\useasboundingbox (-2,-1.2) grid (2,1.2);
\node  [voltage source,direction info={->,volt'=10}] {};
\end{tikzpicture}
&  
\begin{tikzpicture}[blue,circuit ee IEC]
\useasboundingbox (-2,-1.2) grid (2,1.2);
\node [voltage source,direction info'={volt=10}] {};
\end{tikzpicture}
&  
\begin{tikzpicture}[blue,circuit ee IEC]
\useasboundingbox (-2,-1.2) grid (2,1.2);
\node [voltage source,direction info'={volt'=10}] {};
\end{tikzpicture}
\\ \hline 
\AC{volt=10} &   \AC{volt'=10} & \AC{volt=10}& \AC{volt'=10}  \\
\TFRGB{ou}{or} \AC{->,volt=10} &  \TFRGB{ou}{or}  \AC{->,volt'=10} &\TFRGB{ou}{or} \AC{->,volt=10} & \TFRGB{ou}{or}  \AC{->,volt'=10} 
\\ \hline 
\begin{tikzpicture}[blue,circuit ee IEC]
\useasboundingbox (-2,-1.2) grid (2,1.2);
\node [voltage source,direction info={<-,volt=10}] {};
\end{tikzpicture} 
&  
\begin{tikzpicture}[blue,circuit ee IEC]
\useasboundingbox (-2,-1.2) grid (2,1.2);
\node   [voltage source,direction info'={<-,volt=10}] {};
\end{tikzpicture}
&  
\begin{tikzpicture}[blue,circuit ee IEC]
\useasboundingbox (-2,-1.2) grid (2,1.2);
\node   [voltage source,direction info'={<-,volt=10}] {};
\end{tikzpicture}
&  
\begin{tikzpicture}[blue,circuit ee IEC]
\useasboundingbox (-2,-1.2) grid (2,1.2);
\node   [voltage source,direction info'={<-,volt'=10}] {};
\end{tikzpicture}
\\ \hline 
\AC{<-,volt=10} & \AC{<-,volt=10} & \AC{<-,volt=10} & \AC{<-,volt'=10}\\ 
\hline 
\end{tabular} 


%===================
\bigskip

\begin{tabular}{|c|c|}\hline 
\multicolumn{2}{|c|}{  \textbf{\TFRGB{Créer sa propre annotation}{Declare annotation}} } \\
\multicolumn{2}{|c|}{ \RRR{47-2-5} }
\\ \hline  
\tikzset{circuit declare annotation={XXX}{9pt}
{ (-0.5cm,0.5cm) edge[to path={- -(0pt,2pt) - - (8pt,8pt)}] ()} }

\tikz[blue,circuit ee IEC]
\draw (0,0) to [resistor={XXX}] (3,0);
&  
\parbox[b]{12cm}{
\BS{tikzset}\AC{circuit \RDD{declare annotation}=\AC{\blll{XXX}}\AC{9pt} \\
\hspace{1cm}  \AC{ (-0.5cm,0.5cm) edge[to path=\AC{- -(0pt,2pt) - - (8pt,8pt)}] ()} }  \\
\BS{tikz}[blue,circuit ee IEC]
\BS{draw} (0,0) to [resistor={\blll{XXX}}] (3,0);
}
\\ \hline  
\tikzset{circuit declare annotation={xxx}{9pt}
{ (-.5cm,.5cm) edge[to path={--(0pt,2pt) -- (8pt,8pt)}] ()} }

\tikz[circuit ee IEC]
\draw (0,0) to [resistor={xxx={info=abc}}] (3,0);
&  
\parbox[b]{12cm}{
\BS{tikzset}\AC{circuit declare annotation=\AC{xxx}\{ \rouge{9pt} \} \}\\
\hspace{1cm}  \AC{ (-0.5cm,0.5cm) edge[to path=\AC{- -(0pt,2pt) - - (8pt,8pt)}] ()} }  \\
\BS{tikz}[blue,circuit ee IEC]
\BS{draw} (0,0) to [resistor=\AC{xxx\blll{=\AC{info=abc}}}] (3,0);
}
\\ \hline 
\tikzset{circuit declare annotation={xxx}{1cm}
{ (-.5,.5) edge[to path={--(0pt,2pt) -- (8pt,8pt)}] ()} }


\tikz[circuit ee IEC]
\draw (0,0) to [resistor={xxx={info=abc}}] (3,0);
&  
\parbox[b]{12cm}{
\BS{tikzset}\{circuit declare annotation=\AC{xxx}\{\rouge{1cm} \} \} \\
\hspace{1cm}  \AC{ (-0.5,0.5) edge[to path=\AC{- -(0pt,2pt) - - (8pt,8pt)}] ()} \}  \\
\BS{tikz}[blue,circuit ee IEC]
\BS{draw} (0,0) to [resistor=\AC{xxx\blll{=\AC{info=abc}}}] (3,0);
}
\\ \hline 
\end{tabular}


\bigskip
%47.2.6 Theming Symbols

\begin{tabular}{|c|}\hline 
\textbf{ \TFRGB{Style des symboles}{Theming Symbols
}}\\
 \RRR{47-2-6} 
 
\\  \hline 
\BS{draw}[\RDD{circuit symbol lines/.style}=\AC{draw,red,very thick}] (0,0) \\to [capacitor=\AC{near start},resistor,
make contact=\AC{near end}] (5,0);
\\ \hline  
\begin{tikzpicture}[blue,circuit ee IEC]
\useasboundingbox  (-1,-1) rectangle (6,1);
\draw[circuit symbol lines/.style={draw,red,very thick}] (0,0) to [capacitor={near start},resistor,
make contact={near end}] (5,0);
\end{tikzpicture}
 \\ \hline 

\hline  
\BS{draw}[\RDD{circuit symbol wires/.style}=\AC{draw,red,very thick}] (0,0) \\to [capacitor=\AC{near start},resistor,
make contact=\AC{near end}] (5,0);
\\ \hline  
\begin{tikzpicture}[blue,circuit ee IEC]
\useasboundingbox  (-1,-1) rectangle (6,1);
\draw[circuit symbol wires/.style={draw,red,very thick}] (0,0) to [capacitor={near start},resistor,
make contact={near end}] (5,0);
\end{tikzpicture}
 \\ \hline 

\hline  
\BS{draw}[\RDD{circuit symbol open/.style}=\AC{thick,draw,red,fill=yellow}] (0,0) \\to [capacitor=\AC{near start},resistor,
make contact=\AC{near end}] (5,0);
\\ \hline  
\begin{tikzpicture}[blue,circuit ee IEC]
\useasboundingbox  (-1,-1) rectangle (6,1);
\draw[circuit symbol open/.style={thick,draw,red,fill=yellow}] (0,0) to [capacitor={near start},resistor,
make contact={near end}] (5,0);
\end{tikzpicture}
 \\ \hline 
\end{tabular}

\bigskip

\begin{tabular}{|c|c|} \hline 
\multicolumn{2}{|l|}{\BS{tikz}[blue,circuit ee IEC,\RDD{every info/.style}=red] }\\
\multicolumn{2}{|l|}{\BS{draw} (0,0) to[resistor=\AC{info=\AC{\$3\BS{Omega}\$},info'=\AC{\$R\_1\$}}] (3,0) }\\
\multicolumn{2}{|l|}{to[resistor=\AC{info=\{\$4\BS{Omega}\$\},info'=\AC{\$R\_2\$}}] (3,2); }\\ 
\hline  
 
\tikz[blue,circuit ee IEC,every info/.style=red]
\draw (0,0) to[resistor={info={$3\Omega$},info'={$R_1$}}] (3,0)
to[resistor={info={$4\Omega$},info'={$R_2$}}] (3,2);

&  
\tikz[blue,circuit ee IEC,every info/.style={font=\tiny}]
\draw (0,0) to[resistor={info={$3\Omega$},info'={$R_1$}}] (3,0)
to[resistor={info={$4\Omega$},info'={$R_2$}}] (3,2);
\\ \hline  
\RDD{every info/.style}=red
&  
\RDD{every info/.style}=\AC{font=\BS{tiny}}
\\ \hline 
\end{tabular} 





\bigskip
%\subsection{Example}

\SbSSCT{Exemple}{Example}

\begin{tabular}{|c|c|} \hline
\multicolumn{2}{|c|}{ \textbf{\TFRGB{3 méthodes pour le même schéma}{3 methods for the same circuit}}  }
\\ \hline 
\begin{tikzpicture}[blue,circuit ee IEC,baseline=0pt]
\useasboundingbox (-1,-1) rectangle (3,3); 
\draw (0,0) to [voltage source={direction info={->,volt=10}}]  (0,2)   to [resistor={info=center:$3 k\Omega$}] (2,2)   to [diode=light emitting]  ( 2,0)  to [make contact]  (0,0);
\end{tikzpicture}
&
\parbox[b]{10cm}{
\BS{begin}\AC{tikzpicture}[blue,circuit ee IEC] \\ 
\BS{draw} (0,0) \\
to [voltage source=\AC{direction info=\AC{->,volt=10}}]  (0,2) \\ 
to [resistor=\AC{info=center:\$3 k\BS{Omega}\$}] (2,2) \\ 
to [diode=light emitting]  ( 2,0) \\ 
to [make contact]  (0,0); \\
\BS{end}\AC{tikzpicture}

}
\\   \hline
\begin{tikzpicture}[blue,circuit ee IEC,baseline=0pt]
\useasboundingbox  (-1,-1) rectangle (3,3); 
\draw (0,0) to [voltage source={direction info={->,volt=10}}]  ++(up:2)   
to [resistor={info=center:$ 3 k\Omega$}] ++(right:2)  
 to [diode=light emitting]  ++(down:2)  
 to [make contact]  ++(left:2) ;
%\node at (0,1) [volt=10,point up] {};
%\node at (1,2) [ohm=10k] {}; 
\end{tikzpicture}
&
\parbox[b]{10cm}{
\BS{begin}\AC{tikzpicture}[blue,circuit ee IEC] \\ 
\BS{draw} (0,0) to [voltage source=\AC{direction info=\AC{->,volt=10}}] ++(up:2) \\ 
to [resistor=\AC{info=center:\$ 3 k\BS{Omega}\$}] ++(right:2) \\ 
to [diode=light emitting]  ++(down:2) \\ 
to [make contact]  ++(left:2) ; \\
%\BS{node} at (0,1) [volt=10,point up] \AC{}; \\
%\BS{node} at (1,2) [ohm=10k] \AC{}; \\
\BS{end}\AC{tikzpicture}

}
\\   \hline
\begin{tikzpicture}[blue,circuit ee IEC]
\useasboundingbox  (-1,-1) rectangle (3,3); 
\node (A) at (0,1) [voltage source,point up,volt=10]{} ;
\node  (B) at (1,2) [resistor,ohm=10k] {};
\node(C) at (2,1)  [diode=light emitting,point down] {} ;
\node (D) at  ( 1,0)   [make contact]  {}; 
\draw (A) |- (B) -| (C) |- (D) -|  (A); 
\end{tikzpicture}
&
\parbox[b]{10cm}{
\BS{begin}\AC{tikzpicture}[blue,circuit ee IEC] \\
\BS{node} (A) at (0,1) [voltage source,point up,volt=10]\AC{}; \\
\BS{node} (B) at (1,2) [resistor,ohm=10k] \AC{}; \\
\BS{node} (C) at (2,1)  [diode=light emitting,point down] \AC{} ; \\
\BS{node} (D) at  ( 1,0)   [make contact]  \AC{}; \\
\BS{draw} (A) |- (B) -| (C) |- (D) -|  (A); \\
\BS{end}\AC{tikzpicture}
}
\\   \hline
\end{tabular}