diff options
Diffstat (limited to 'info/visualtikz/Source')
69 files changed, 27544 insertions, 0 deletions
diff --git a/info/visualtikz/Source/Classeur1.csv b/info/visualtikz/Source/Classeur1.csv new file mode 100644 index 0000000000..9fe9d024af --- /dev/null +++ b/info/visualtikz/Source/Classeur1.csv @@ -0,0 +1,994 @@ +x,y +0,0 +0.08,0 +0.16,0 +0.24,0 +0.32,0 +0.4,0 +0.48,0 +0.56,0 +0.64,0 +0.72,0 +0.8,0 +0.88,0 +0.96,0 +1.04,0 +1.12,0 +1.2,0 +1.28,0 +1.36,0 +1.44,0 +1.52,0 +1.6,0 +1.68,0 +1.76,0 +1.84,0 +1.92,0 +2,0 +2.08,0 +2.16,0 +2.24,0 +2.32,0 +2.4,0 +2.48,0 +2.56,0 +2.64,0 +2.72,0 +2.8,0 +2.88,0 +2.96,0 +3.04,0.047430083 +3.12,0.070863178 +3.2,0.094110295 +3.28,0.117172912 +3.36,0.140052492 +3.44,0.162750488 +3.52,0.185268341 +3.6,0.207607482 +3.68,0.229769327 +3.76,0.251755285 +3.84,0.273566751 +3.92,0.29520511 +4,0.316671736 +4.08,0.337967992 +4.16,0.35909523 +4.24,0.380054792 +4.32,0.400848008 +4.4,0.421476198 +4.48,0.441940673 +4.56,0.462242731 +4.64,0.482383662 +4.72,0.502364744 +4.8,0.522187246 +4.88,0.541852426 +4.96,0.561361534 +5.04,0.580715808 +5.12,0.599916476 +5.2,0.618964758 +5.28,0.637861863 +5.36,0.656608991 +5.44,0.675207332 +5.52,0.693658068 +5.6,0.711962369 +5.68,0.730121398 +5.76,0.748136307 +5.84,0.766008241 +5.92,0.783738335 +6,0.801327713 +6.08,0.817648205 +6.16,0.833281239 +6.24,0.848236698 +6.32,0.862524354 +6.4,0.876153863 +6.48,0.889134773 +6.56,0.901476521 +6.64,0.913188434 +6.72,0.924279732 +6.8,0.934759529 +6.88,0.944636832 +6.96,0.953920545 +7.04,0.962619468 +7.12,0.970742298 +7.2,0.978297631 +7.28,0.985293964 +7.36,0.991739695 +7.44,0.997643121 +7.52,1.003012445 +7.6,1.007855773 +7.68,1.012181117 +7.76,1.015996392 +7.84,1.019309422 +7.92,1.022127941 +8,1.024459587 +8.08,1.026311912 +8.16,1.027692378 +8.24,1.028608357 +8.32,1.029067135 +8.4,1.029075912 +8.48,1.028641802 +8.56,1.027771833 +8.64,1.026472953 +8.72,1.024752023 +8.8,1.022615825 +8.88,1.020071059 +8.96,1.017124344 +9.04,1.013782221 +9.12,1.01007804 +9.2,1.006031042 +9.28,1.001660081 +9.36,0.996983627 +9.44,0.992019776 +9.52,0.986786252 +9.6,0.981300412 +9.68,0.975579255 +9.76,0.969639426 +9.84,0.96349722 +9.92,0.957168587 +10,0.950669141 +10.08,0.94401416 +10.16,0.937218597 +10.24,0.930297077 +10.32,0.92326391 +10.4,0.916133093 +10.48,0.908918312 +10.56,0.901632949 +10.64,0.89429009 +10.72,0.886902523 +10.8,0.879482748 +10.88,0.872042978 +10.96,0.864595146 +11.04,0.857150909 +11.12,0.849721649 +11.2,0.842318485 +11.28,0.834952266 +11.36,0.827633586 +11.44,0.820372782 +11.52,0.813179939 +11.6,0.806064896 +11.68,0.799037247 +11.76,0.792106348 +11.84,0.785281317 +11.92,0.778571044 +12,0.771984186 +12.08,0.765529179 +12.16,0.759213597 +12.24,0.753044496 +12.32,0.747028427 +12.4,0.741171448 +12.48,0.735479141 +12.56,0.729956618 +12.64,0.724608539 +12.72,0.719439124 +12.8,0.714452161 +12.88,0.709651019 +12.96,0.705038664 +13.04,0.700617663 +13.12,0.696390202 +13.2,0.692358091 +13.28,0.688522779 +13.36,0.684885362 +13.44,0.681446595 +13.52,0.6782069 +13.6,0.675166378 +13.68,0.672324818 +13.76,0.669681704 +13.84,0.667236228 +13.92,0.664987298 +14,0.662933546 +14.08,0.661073338 +14.16,0.65940478 +14.24,0.65792573 +14.32,0.656633805 +14.4,0.655526388 +14.48,0.654600636 +14.56,0.65385349 +14.64,0.653281679 +14.72,0.652881731 +14.8,0.652649979 +14.88,0.652582567 +14.96,0.652675458 +15.04,0.652924442 +15.12,0.653325141 +15.2,0.65387303 +15.28,0.654563455 +15.36,0.655391639 +15.44,0.656352703 +15.52,0.65744167 +15.6,0.658653484 +15.68,0.659983014 +15.76,0.661425075 +15.84,0.662974428 +15.92,0.664625797 +16,0.666373878 +16.08,0.668213347 +16.16,0.670138871 +16.24,0.672145116 +16.32,0.674226755 +16.4,0.676378479 +16.48,0.678595001 +16.56,0.680871067 +16.64,0.683201462 +16.72,0.685581018 +16.8,0.68800462 +16.88,0.690467213 +16.96,0.692963807 +17.04,0.695489486 +17.12,0.698039411 +17.2,0.700608826 +17.28,0.703193064 +17.36,0.705787552 +17.44,0.708387816 +17.52,0.710989485 +17.6,0.713588295 +17.68,0.716180094 +17.76,0.718760845 +17.84,0.721326633 +17.92,0.723873662 +18,0.726398265 +18.08,0.728896903 +18.16,0.73136617 +18.24,0.733802795 +18.32,0.736203643 +18.4,0.738565718 +18.48,0.740886164 +18.56,0.743162266 +18.64,0.74539145 +18.72,0.747571288 +18.8,0.74969949 +18.88,0.751773912 +18.96,0.753792553 +19.04,0.755753551 +19.12,0.75765519 +19.2,0.75949589 +19.28,0.761274213 +19.36,0.76298886 +19.44,0.764638667 +19.52,0.766222606 +19.6,0.767739782 +19.68,0.769189432 +19.76,0.77057092 +19.84,0.771883739 +19.92,0.773127506 +20,0.774301959 +20.08,0.775406956 +20.16,0.77644247 +20.24,0.77740859 +20.32,0.778305512 +20.4,0.779133542 +20.48,0.77989309 +20.56,0.780584665 +20.64,0.781208875 +20.72,0.781766422 +20.8,0.782258096 +20.88,0.782684779 +20.96,0.783047432 +21.04,0.783347097 +21.12,0.783584892 +21.2,0.783762008 +21.28,0.783879703 +21.36,0.783939301 +21.44,0.783942186 +21.52,0.7838898 +21.6,0.783783637 +21.68,0.78362524 +21.76,0.783416199 +21.84,0.783158146 +21.92,0.78285275 +22,0.782501715 +22.08,0.782106776 +22.16,0.781669694 +22.24,0.781192255 +22.32,0.780676263 +22.4,0.780123542 +22.48,0.779535927 +22.56,0.778915262 +22.64,0.7782634 +22.72,0.777582196 +22.8,0.776873506 +22.88,0.776139183 +22.96,0.775381074 +23.04,0.774601019 +23.12,0.773800845 +23.2,0.772982367 +23.28,0.772147382 +23.36,0.771297668 +23.44,0.770434983 +23.52,0.769561061 +23.6,0.768677608 +23.68,0.767786305 +23.76,0.7668888 +23.84,0.765986712 +23.92,0.765081624 +24,0.764175085 +24.08,0.763268606 +24.16,0.762363659 +24.24,0.761461678 +24.32,0.760564053 +24.4,0.759672132 +24.48,0.758787222 +24.56,0.757910582 +24.64,0.757043427 +24.72,0.756186926 +24.8,0.7553422 +24.88,0.754510322 +24.96,0.753692317 +25.04,0.752889163 +25.12,0.752101786 +25.2,0.751331065 +25.28,0.750577828 +25.36,0.749842855 +25.44,0.749126875 +25.52,0.748430568 +25.6,0.747754565 +25.68,0.747099448 +25.76,0.746465749 +25.84,0.745853954 +25.92,0.745264497 +26,0.744697769 +26.08,0.744154112 +26.16,0.743633821 +26.24,0.743137147 +26.32,0.742664295 +26.4,0.742215428 +26.48,0.741790663 +26.56,0.741390077 +26.64,0.741013705 +26.72,0.740661541 +26.8,0.740333542 +26.88,0.740029624 +26.96,0.739749667 +27.04,0.739493517 +27.12,0.739260983 +27.2,0.73905184 +27.28,0.738865833 +27.36,0.738702675 +27.44,0.738562047 +27.52,0.738443605 +27.6,0.738346975 +27.68,0.738271759 +27.76,0.738217532 +27.84,0.738183849 +27.92,0.738170239 +28,0.738176214 +28.08,0.738201264 +28.16,0.738244862 +28.24,0.738306465 +28.32,0.738385513 +28.4,0.738481433 +28.48,0.738593639 +28.56,0.738721533 +28.64,0.738864507 +28.72,0.739021945 +28.8,0.739193221 +28.88,0.739377704 +28.96,0.739574758 +29.04,0.739783742 +29.12,0.740004011 +29.2,0.74023492 +29.28,0.740475822 +29.36,0.74072607 +29.44,0.74098502 +29.52,0.741252028 +29.6,0.741526454 +29.68,0.741807664 +29.76,0.742095027 +29.84,0.742387919 +29.92,0.742685722 +30,0.742987827 +30.08,0.743293634 +30.16,0.74360255 +30.24,0.743913994 +30.32,0.744227395 +30.4,0.744542193 +30.48,0.744857841 +30.56,0.745173804 +30.64,0.74548956 +30.72,0.745804601 +30.8,0.746118433 +30.88,0.746430576 +30.96,0.746740566 +31.04,0.747047953 +31.12,0.747352304 +31.2,0.747653202 +31.28,0.747950245 +31.36,0.748243048 +31.44,0.748531244 +31.52,0.748814481 +31.6,0.749092424 +31.68,0.749364758 +31.76,0.749631182 +31.84,0.749891413 +31.92,0.750145187 +32,0.750392255 +32.08,0.750632386 +32.16,0.750865367 +32.24,0.751091001 +32.32,0.751309108 +32.4,0.751519526 +32.48,0.751722109 +32.56,0.751916726 +32.64,0.752103265 +32.72,0.752281628 +32.8,0.752451734 +32.88,0.752613516 +32.96,0.752766923 +33.04,0.75291192 +33.12,0.753048485 +33.2,0.75317661 +33.28,0.753296304 +33.36,0.753407586 +33.44,0.753510489 +33.52,0.753605061 +33.6,0.753691359 +33.68,0.753769454 +33.76,0.753839428 +33.84,0.753901374 +33.92,0.753955397 +34,0.754001611 +34.08,0.754040139 +34.16,0.754071115 +34.24,0.75409468 +34.32,0.754110987 +34.4,0.754120192 +34.48,0.754122462 +34.56,0.754117971 +34.64,0.754106898 +34.72,0.754089428 +34.8,0.754065754 +34.88,0.754036071 +34.96,0.754000582 +35.04,0.753959492 +35.12,0.753913011 +35.2,0.753861351 +35.28,0.753804729 +35.36,0.753743364 +35.44,0.753677475 +35.52,0.753607286 +35.6,0.753533021 +35.68,0.753454903 +35.76,0.753373159 +35.84,0.753288013 +35.92,0.753199691 +36,0.753108418 +36.08,0.753014416 +36.16,0.752917909 +36.24,0.752819118 +36.32,0.75271826 +36.4,0.752615554 +36.48,0.752511213 +36.56,0.752405447 +36.64,0.752298467 +36.72,0.752190476 +36.8,0.752081677 +36.88,0.751972266 +36.96,0.751862437 +37.04,0.751752379 +37.12,0.751642277 +37.2,0.751532312 +37.28,0.751422659 +37.36,0.751313487 +37.44,0.751204963 +37.52,0.751097246 +37.6,0.75099049 +37.68,0.750884846 +37.76,0.750780456 +37.84,0.750677458 +37.92,0.750575985 +38,0.750476162 +38.08,0.750378109 +38.16,0.750281941 +38.24,0.750187766 +38.32,0.750095687 +38.4,0.7500058 +38.48,0.749918195 +38.56,0.749832957 +38.64,0.749750163 +38.72,0.749669886 +38.8,0.749592193 +38.88,0.749517143 +38.96,0.749444793 +39.04,0.749375189 +39.12,0.749308376 +39.2,0.749244391 +39.28,0.749183266 +39.36,0.749125028 +39.44,0.749069697 +39.52,0.749017289 +39.6,0.748967816 +39.68,0.748921283 +39.76,0.74887769 +39.84,0.748837033 +39.92,0.748799304 +40,0.74876449 +40.08,0.748732572 +40.16,0.748703529 +40.24,0.748677335 +40.32,0.74865396 +40.4,0.748633369 +40.48,0.748615526 +40.56,0.748600389 +40.64,0.748587914 +40.72,0.748578053 +40.8,0.748570756 +40.88,0.748565969 +40.96,0.748563636 +41.04,0.748563699 +41.12,0.748566096 +41.2,0.748570763 +41.28,0.748577635 +41.36,0.748586646 +41.44,0.748597725 +41.52,0.748610802 +41.6,0.748625804 +41.68,0.748642659 +41.76,0.748661291 +41.84,0.748681626 +41.92,0.748703586 +42,0.748727094 +42.08,0.748752073 +42.16,0.748778444 +42.24,0.74880613 +42.32,0.748835051 +42.4,0.748865129 +42.48,0.748896286 +42.56,0.748928444 +42.64,0.748961524 +42.72,0.74899545 +42.8,0.749030144 +42.88,0.749065531 +42.96,0.749101535 +43.04,0.749138083 +43.12,0.7491751 +43.2,0.749212516 +43.28,0.749250257 +43.36,0.749288256 +43.44,0.749326444 +43.52,0.749364753 +43.6,0.749403119 +43.68,0.749441477 +43.76,0.749479766 +43.84,0.749517924 +43.92,0.749555894 +44,0.749593618 +44.08,0.749631041 +44.16,0.749668109 +44.24,0.749704773 +44.32,0.749740982 +44.4,0.749776689 +44.48,0.749811849 +44.56,0.749846418 +44.64,0.749880356 +44.72,0.749913623 +44.8,0.749946183 +44.88,0.749978 +44.96,0.750009041 +45.04,0.750039277 +45.12,0.750068678 +45.2,0.750097217 +45.28,0.750124871 +45.36,0.750151617 +45.44,0.750177434 +45.52,0.750202305 +45.6,0.750226213 +45.68,0.750249143 +45.76,0.750271084 +45.84,0.750292024 +45.92,0.750311956 +46,0.750330872 +46.08,0.750348768 +46.16,0.75036564 +46.24,0.750381488 +46.32,0.750396311 +46.4,0.750410112 +46.48,0.750422894 +46.56,0.750434663 +46.64,0.750445425 +46.72,0.750455188 +46.8,0.750463962 +46.88,0.750471757 +46.96,0.750478587 +47.04,0.750484465 +47.12,0.750489404 +47.2,0.750493422 +47.28,0.750496536 +47.36,0.750498762 +47.44,0.75050012 +47.52,0.750500631 +47.6,0.750500314 +47.68,0.750499192 +47.76,0.750497287 +47.84,0.750494622 +47.92,0.75049122 +48,0.750487106 +48.08,0.750482305 +48.16,0.750476842 +48.24,0.750470743 +48.32,0.750464034 +48.4,0.750456741 +48.48,0.750448891 +48.56,0.750440512 +48.64,0.75043163 +48.72,0.750422272 +48.8,0.750412467 +48.88,0.75040224 +48.96,0.75039162 +49.04,0.750380634 +49.12,0.750369309 +49.2,0.750357673 +49.28,0.750345751 +49.36,0.750333571 +49.44,0.750321159 +49.52,0.750308541 +49.6,0.750295743 +49.68,0.750282791 +49.76,0.750269708 +49.84,0.750256521 +49.92,0.750243253 +50,0.750229928 +50.08,0.750216568 +50.16,0.750203197 +50.24,0.750189836 +50.32,0.750176507 +50.4,0.750163231 +50.48,0.750150028 +50.56,0.750136917 +50.64,0.750123918 +50.72,0.750111049 +50.8,0.750098328 +50.88,0.750085771 +50.96,0.750073394 +51.04,0.750061214 +51.12,0.750049245 +51.2,0.7500375 +51.28,0.750025995 +51.36,0.75001474 +51.44,0.750003748 +51.52,0.74999303 +51.6,0.749982597 +51.68,0.749972459 +51.76,0.749962623 +51.84,0.749953099 +51.92,0.749943894 +52,0.749935015 +52.08,0.749926468 +52.16,0.749918259 +52.24,0.749910391 +52.32,0.74990287 +52.4,0.749895699 +52.48,0.74988888 +52.56,0.749882416 +52.64,0.749876308 +52.72,0.749870556 +52.8,0.749865162 +52.88,0.749860125 +52.96,0.749855443 +53.04,0.749851116 +53.12,0.749847141 +53.2,0.749843516 +53.28,0.749840238 +53.36,0.749837304 +53.44,0.749834708 +53.52,0.749832448 +53.6,0.749830518 +53.68,0.749828913 +53.76,0.749827626 +53.84,0.749826653 +53.92,0.749825987 +54,0.749825621 +54.08,0.749825547 +54.16,0.749825759 +54.24,0.749826249 +54.32,0.749827009 +54.4,0.749828031 +54.48,0.749829307 +54.56,0.749830827 +54.64,0.749832584 +54.72,0.749834569 +54.8,0.749836772 +54.88,0.749839184 +54.96,0.749841796 +55.04,0.749844599 +55.12,0.749847583 +55.2,0.749850739 +55.28,0.749854057 +55.36,0.749857528 +55.44,0.749861142 +55.52,0.74986489 +55.6,0.749868762 +55.68,0.749872748 +55.76,0.74987684 +55.84,0.749881028 +55.92,0.749885303 +56,0.749889655 +56.08,0.749894075 +56.16,0.749898556 +56.24,0.749903086 +56.32,0.749907659 +56.4,0.749912266 +56.48,0.749916898 +56.56,0.749921547 +56.64,0.749926205 +56.72,0.749930864 +56.8,0.749935517 +56.88,0.749940156 +56.96,0.749944774 +57.04,0.749949364 +57.12,0.74995392 +57.2,0.749958434 +57.28,0.749962901 +57.36,0.749967314 +57.44,0.749971668 +57.52,0.749975957 +57.6,0.749980176 +57.68,0.749984319 +57.76,0.749988382 +57.84,0.749992361 +57.92,0.749996251 +58,0.750000047 +58.08,0.750003747 +58.16,0.750007346 +58.24,0.750010841 +58.32,0.75001423 +58.4,0.75001751 +58.48,0.750020677 +58.56,0.75002373 +58.64,0.750026666 +58.72,0.750029484 +58.8,0.750032182 +58.88,0.75003476 +58.96,0.750037215 +59.04,0.750039547 +59.12,0.750041755 +59.2,0.750043839 +59.28,0.750045798 +59.36,0.750047633 +59.44,0.750049344 +59.52,0.750050931 +59.6,0.750052395 +59.68,0.750053736 +59.76,0.750054956 +59.84,0.750056055 +59.92,0.750057035 +60,0.750057897 +60.08,0.750058643 +60.16,0.750059275 +60.24,0.750059794 +60.32,0.750060203 +60.4,0.750060503 +60.48,0.750060698 +60.56,0.750060789 +60.64,0.750060778 +60.72,0.750060669 +60.8,0.750060464 +60.88,0.750060166 +60.96,0.750059778 +61.04,0.750059302 +61.12,0.750058743 +61.2,0.750058101 +61.28,0.750057382 +61.36,0.750056588 +61.44,0.750055722 +61.52,0.750054787 +61.6,0.750053788 +61.68,0.750052726 +61.76,0.750051605 +61.84,0.75005043 +61.92,0.750049202 +62,0.750047925 +62.08,0.750046603 +62.16,0.750045239 +62.24,0.750043836 +62.32,0.750042398 +62.4,0.750040927 +62.48,0.750039428 +62.56,0.750037902 +62.64,0.750036354 +62.72,0.750034786 +62.8,0.750033201 +62.88,0.750031603 +62.96,0.750029994 +63.04,0.750028378 +63.12,0.750026756 +63.2,0.750025133 +63.28,0.75002351 +63.36,0.75002189 +63.44,0.750020275 +63.52,0.750018669 +63.6,0.750017074 +63.68,0.750015491 +63.76,0.750013924 +63.84,0.750012373 +63.92,0.750010843 +64,0.750009333 +64.08,0.750007847 +64.16,0.750006386 +64.24,0.750004952 +64.32,0.750003547 +64.4,0.750002171 +64.48,0.750000827 +64.56,0.749999516 +64.64,0.74999824 +64.72,0.749996998 +64.8,0.749995793 +64.88,0.749994626 +64.96,0.749993497 +65.04,0.749992408 +65.12,0.749991358 +65.2,0.74999035 +65.28,0.749989383 +65.36,0.749988457 +65.44,0.749987575 +65.52,0.749986734 +65.6,0.749985937 +65.68,0.749985183 +65.76,0.749984473 +65.84,0.749983805 +65.92,0.749983182 +66,0.749982601 +66.08,0.749982063 +66.16,0.749981569 +66.24,0.749981116 +66.32,0.749980707 +66.4,0.749980339 +66.48,0.749980012 +66.56,0.749979726 +66.64,0.74997948 +66.72,0.749979274 +66.8,0.749979107 +66.88,0.749978979 +66.96,0.749978887 +67.04,0.749978833 +67.12,0.749978814 +67.2,0.74997883 +67.28,0.74997888 +67.36,0.749978963 +67.44,0.749979078 +67.52,0.749979225 +67.6,0.749979401 +67.68,0.749979606 +67.76,0.74997984 +67.84,0.7499801 +67.92,0.749980386 +68,0.749980696 +68.08,0.74998103 +68.16,0.749981387 +68.24,0.749981764 +68.32,0.749982162 +68.4,0.749982578 +68.48,0.749983012 +68.56,0.749983463 +68.64,0.749983929 +68.72,0.749984409 +68.8,0.749984903 +68.88,0.749985408 +68.96,0.749985924 +69.04,0.74998645 +69.12,0.749986985 +69.2,0.749987527 +69.28,0.749988076 +69.36,0.74998863 +69.44,0.749989188 +69.52,0.74998975 +69.6,0.749990314 +69.68,0.749990879 +69.76,0.749991445 +69.84,0.74999201 +69.92,0.749992574 +70,0.749993136 +70.08,0.749993694 +70.16,0.749994249 +70.24,0.749994799 +70.32,0.749995343 +70.4,0.749995881 +70.48,0.749996411 +70.56,0.749996935 +70.64,0.749997449 +70.72,0.749997955 +70.8,0.749998451 +70.88,0.749998937 +70.96,0.749999413 +71.04,0.749999877 +71.12,0.75000033 +71.2,0.75000077 +71.28,0.750001198 +71.36,0.750001614 +71.44,0.750002016 +71.52,0.750002404 +71.6,0.750002779 +71.68,0.750003139 +71.76,0.750003486 +71.84,0.750003817 +71.92,0.750004135 +72,0.750004437 +72.08,0.750004724 +72.16,0.750004997 +72.24,0.750005254 +72.32,0.750005496 +72.4,0.750005723 +72.48,0.750005935 +72.56,0.750006132 +72.64,0.750006314 +72.72,0.750006481 +72.8,0.750006634 +72.88,0.750006771 +72.96,0.750006894 +73.04,0.750007003 +73.12,0.750007097 +73.2,0.750007178 +73.28,0.750007245 +73.36,0.750007298 +73.44,0.750007338 +73.52,0.750007366 +73.6,0.75000738 +73.68,0.750007382 +73.76,0.750007372 +73.84,0.750007351 +73.92,0.750007318 +74,0.750007274 +74.08,0.750007219 +74.16,0.750007154 +74.24,0.750007079 +74.32,0.750006994 +74.4,0.7500069 +74.48,0.750006797 +74.56,0.750006686 +74.64,0.750006567 +74.72,0.75000644 +74.8,0.750006306 +74.88,0.750006165 +74.96,0.750006018 +75.04,0.750005864 +75.12,0.750005705 +75.2,0.750005541 +75.28,0.750005372 +75.36,0.750005198 +75.44,0.750005021 +75.52,0.75000484 +75.6,0.750004655 +75.68,0.750004468 +75.76,0.750004278 +75.84,0.750004086 +75.92,0.750003893 +76,0.750003698 +76.08,0.750003501 +76.16,0.750003305 +76.24,0.750003108 +76.32,0.75000291 +76.4,0.750002714 +76.48,0.750002517 +76.56,0.750002322 +76.64,0.750002128 +76.72,0.750001935 +76.8,0.750001744 +76.88,0.750001555 +76.96,0.750001369 +77.04,0.750001185 +77.12,0.750001003 +77.2,0.750000825 +77.28,0.75000065 +77.36,0.750000478 +77.44,0.75000031 +77.52,0.750000146 +77.6,0.749999986 +77.68,0.749999829 +77.76,0.749999677 +77.84,0.74999953 +77.92,0.749999387 +78,0.749999248 +78.08,0.749999115 +78.16,0.749998986 +78.24,0.749998862 +78.32,0.749998743 +78.4,0.749998629 +78.48,0.749998521 +78.56,0.749998417 +78.64,0.749998319 +78.72,0.749998226 +78.8,0.749998138 +78.88,0.749998056 +78.96,0.749997978 +79.04,0.749997906 +79.12,0.74999784 +79.2,0.749997778 +79.28,0.749997722 +79.36,0.749997671 diff --git a/info/visualtikz/Source/Classeur2.csv b/info/visualtikz/Source/Classeur2.csv new file mode 100644 index 0000000000..ab71060f7c --- /dev/null +++ b/info/visualtikz/Source/Classeur2.csv @@ -0,0 +1,994 @@ +x ,y +0,0 +0.08,0 +0.16,0 +0.24,0 +0.32,0 +0.4,0 +0.48,0 +0.56,0 +0.64,0 +0.72,0 +0.8,0 +0.88,0 +0.96,0 +1.04,0 +1.12,0 +1.2,0 +1.28,0 +1.36,0 +1.44,0 +1.52,0 +1.6,0 +1.68,0 +1.76,0 +1.84,0 +1.92,0 +2,0 +2.08,0 +2.16,0 +2.24,0 +2.32,0 +2.4,0 +2.48,0 +2.56,0 +2.64,0 +2.72,0 +2.8,0 +2.88,0 +2.96,0 +3.04,0.474300831 +3.12,0.708631777 +3.2,0.941102954 +3.28,1.171729121 +3.36,1.400524921 +3.44,1.627504882 +3.52,1.852683415 +3.6,2.076074816 +3.68,2.29769327 +3.76,2.517552847 +3.84,2.735667507 +3.92,2.952051099 +4,3.16671736 +4.08,3.37967992 +4.16,3.590952302 +4.24,3.800547919 +4.32,4.008480078 +4.4,4.214761982 +4.48,4.419406728 +4.56,4.62242731 +4.64,4.823836617 +4.72,5.023647437 +4.8,5.221872458 +4.88,5.418524264 +4.96,5.613615341 +5.04,5.807158076 +5.12,5.999164758 +5.2,6.189647578 +5.28,6.378618629 +5.36,6.566089909 +5.44,6.752073323 +5.52,6.936580677 +5.6,7.119623688 +5.68,7.301213976 +5.76,7.481363071 +5.84,7.660082412 +5.92,7.837383345 +6,8.013277128 +6.08,8.176482052 +6.16,8.33281239 +6.24,8.482366983 +6.32,8.625243536 +6.4,8.761538629 +6.48,8.89134773 +6.56,9.014765206 +6.64,9.131884336 +6.72,9.242797319 +6.8,9.347595288 +6.88,9.446368322 +6.96,9.539205452 +7.04,9.626194678 +7.12,9.707422976 +7.2,9.78297631 +7.28,9.852939643 +7.36,9.917396945 +7.44,9.976431208 +7.52,10.03012445 +7.6,10.07855773 +7.68,10.12181117 +7.76,10.15996392 +7.84,10.19309422 +7.92,10.22127941 +8,10.24459587 +8.08,10.26311912 +8.16,10.27692378 +8.24,10.28608357 +8.32,10.29067135 +8.4,10.29075912 +8.48,10.28641802 +8.56,10.27771833 +8.64,10.26472953 +8.72,10.24752023 +8.8,10.22615825 +8.88,10.20071059 +8.96,10.17124344 +9.04,10.13782221 +9.12,10.1007804 +9.2,10.06031042 +9.28,10.01660081 +9.36,9.96983627 +9.44,9.920197761 +9.52,9.867862515 +9.6,9.813004117 +9.68,9.755792553 +9.76,9.696394263 +9.84,9.634972199 +9.92,9.571685872 +10,9.50669141 +10.08,9.440141605 +10.16,9.372185966 +10.24,9.302970768 +10.32,9.232639104 +10.4,9.16133093 +10.48,9.089183116 +10.56,9.016329493 +10.64,8.9429009 +10.72,8.86902523 +10.8,8.794827476 +10.88,8.720429777 +10.96,8.645951459 +11.04,8.571509086 +11.12,8.497216495 +11.2,8.423184846 +11.28,8.349522659 +11.36,8.276335859 +11.44,8.203727818 +11.52,8.13179939 +11.6,8.060648959 +11.68,7.99037247 +11.76,7.921063477 +11.84,7.852813173 +11.92,7.785710436 +12,7.719841858 +12.08,7.655291791 +12.16,7.592135974 +12.24,7.530444964 +12.32,7.47028427 +12.4,7.411714484 +12.48,7.354791406 +12.56,7.299566177 +12.64,7.246085395 +12.72,7.194391243 +12.8,7.144521608 +12.88,7.096510194 +12.96,7.05038664 +13.04,7.006176633 +13.12,6.963902018 +13.2,6.923580908 +13.28,6.885227787 +13.36,6.84885362 +13.44,6.81446595 +13.52,6.782069003 +13.6,6.751663785 +13.68,6.723248178 +13.76,6.696817036 +13.84,6.672362278 +13.92,6.64987298 +14,6.629335461 +14.08,6.610733376 +14.16,6.594047798 +14.24,6.579257303 +14.32,6.566338055 +14.4,6.555263883 +14.48,6.546006365 +14.56,6.5385349 +14.64,6.532816791 +14.72,6.528817313 +14.8,6.526499791 +14.88,6.52582567 +14.96,6.526754583 +15.04,6.529244423 +15.12,6.533251408 +15.2,6.538730303 +15.28,6.545634547 +15.36,6.553916393 +15.44,6.56352703 +15.52,6.574416702 +15.6,6.586534835 +15.68,6.599830145 +15.76,6.614250749 +15.84,6.629744276 +15.92,6.646257968 +16,6.663738778 +16.08,6.682133471 +16.16,6.701388713 +16.24,6.721451162 +16.32,6.742267555 +16.4,6.763784789 +16.48,6.785950006 +16.56,6.808710665 +16.64,6.832014617 +16.72,6.85581018 +16.8,6.880046201 +16.88,6.904672129 +16.96,6.929638073 +17.04,6.954894863 +17.12,6.980394109 +17.2,7.006088256 +17.28,7.031930636 +17.36,7.057875518 +17.44,7.08387816 +17.52,7.109894848 +17.6,7.135882947 +17.68,7.161800937 +17.76,7.187608454 +17.84,7.213266328 +17.92,7.238736619 +18,7.263982648 +18.08,7.288969029 +18.16,7.313661702 +18.24,7.338027951 +18.32,7.362036431 +18.4,7.38565718 +18.48,7.408861638 +18.56,7.431622656 +18.64,7.453914504 +18.72,7.475712877 +18.8,7.4969949 +18.88,7.517739124 +18.96,7.537925529 +19.04,7.557535514 +19.12,7.576551896 +19.2,7.594958895 +19.28,7.61274213 +19.36,7.6298886 +19.44,7.646386672 +19.52,7.662226063 +19.6,7.677397825 +19.68,7.691894319 +19.76,7.705709202 +19.84,7.718837394 +19.92,7.731275062 +20,7.743019591 +20.08,7.754069558 +20.16,7.764424702 +20.24,7.774085897 +20.32,7.78305512 +20.4,7.791335425 +20.48,7.798930902 +20.56,7.805846652 +20.64,7.812088751 +20.72,7.817664215 +20.8,7.822580964 +20.88,7.82684779 +20.96,7.830474317 +21.04,7.833470966 +21.12,7.835848918 +21.2,7.837620076 +21.28,7.838797029 +21.36,7.839393011 +21.44,7.839421863 +21.52,7.838898 +21.6,7.837836365 +21.68,7.836252398 +21.76,7.834161993 +21.84,7.831581464 +21.92,7.828527505 +22,7.825017155 +22.08,7.82106776 +22.16,7.816696939 +22.24,7.811922546 +22.32,7.806762633 +22.4,7.801235424 +22.48,7.795359269 +22.56,7.789152623 +22.64,7.782634003 +22.72,7.775821964 +22.8,7.768735062 +22.88,7.76139183 +22.96,7.753810743 +23.04,7.746010191 +23.12,7.738008454 +23.2,7.729823672 +23.28,7.72147382 +23.36,7.712976683 +23.44,7.704349835 +23.52,7.695610608 +23.6,7.68677608 +23.68,7.677863045 +23.76,7.668888 +23.84,7.65986712 +23.92,7.650816243 +24,7.641750853 +24.08,7.632686061 +24.16,7.623636594 +24.24,7.614616778 +24.32,7.605640525 +24.4,7.596721322 +24.48,7.58787222 +24.56,7.579105821 +24.64,7.570434274 +24.72,7.561869263 +24.8,7.553421999 +24.88,7.545103218 +24.96,7.536923173 +25.04,7.528891628 +25.12,7.521017859 +25.2,7.513310647 +25.28,7.50577828 +25.36,7.498428548 +25.44,7.491268748 +25.52,7.48430568 +25.6,7.477545652 +25.68,7.47099448 +25.76,7.464657493 +25.84,7.458539535 +25.92,7.452644971 +26,7.446977692 +26.08,7.441541119 +26.16,7.43633821 +26.24,7.43137147 +26.32,7.426642955 +26.4,7.42215428 +26.48,7.417906631 +26.56,7.41390077 +26.64,7.410137048 +26.72,7.406615412 +26.8,7.403335416 +26.88,7.400296236 +26.96,7.397496672 +27.04,7.39493517 +27.12,7.392609826 +27.2,7.390518401 +27.28,7.388658332 +27.36,7.387026745 +27.44,7.38562047 +27.52,7.384436048 +27.6,7.38346975 +27.68,7.382717587 +27.76,7.382175322 +27.84,7.381838486 +27.92,7.38170239 +28,7.381762137 +28.08,7.382012636 +28.16,7.382448619 +28.24,7.383064646 +28.32,7.383855126 +28.4,7.384814327 +28.48,7.385936386 +28.56,7.387215327 +28.64,7.38864507 +28.72,7.390219447 +28.8,7.39193221 +28.88,7.393777045 +28.96,7.395747585 +29.04,7.397837421 +29.12,7.400040113 +29.2,7.402349202 +29.28,7.404758221 +29.36,7.407260705 +29.44,7.4098502 +29.52,7.412520279 +29.6,7.415264544 +29.68,7.418076642 +29.76,7.42095027 +29.84,7.423879186 +29.92,7.426857219 +30,7.429878273 +30.08,7.432936338 +30.16,7.436025498 +30.24,7.439139937 +30.32,7.442273945 +30.4,7.445421928 +30.48,7.448578409 +30.56,7.45173804 +30.64,7.454895601 +30.72,7.458046011 +30.8,7.461184329 +30.88,7.464305759 +30.96,7.467405656 +31.04,7.470479529 +31.12,7.473523041 +31.2,7.476532018 +31.28,7.479502447 +31.36,7.48243048 +31.44,7.485312437 +31.52,7.488144805 +31.6,7.490924243 +31.68,7.493647581 +31.76,7.49631182 +31.84,7.498914134 +31.92,7.50145187 +32,7.503922547 +32.08,7.506323858 +32.16,7.508653666 +32.24,7.510910005 +32.32,7.513091079 +32.4,7.51519526 +32.48,7.517221087 +32.56,7.519167262 +32.64,7.521032652 +32.72,7.522816282 +32.8,7.524517337 +32.88,7.526135155 +32.96,7.527669228 +33.04,7.529119196 +33.12,7.530484845 +33.2,7.531766104 +33.28,7.532963042 +33.36,7.53407586 +33.44,7.535104895 +33.52,7.536050608 +33.6,7.536913586 +33.68,7.537694536 +33.76,7.538394277 +33.84,7.539013743 +33.92,7.539553973 +34,7.540016109 +34.08,7.540401389 +34.16,7.540711147 +34.24,7.540946804 +34.32,7.541109866 +34.4,7.541201919 +34.48,7.541224624 +34.56,7.541179711 +34.64,7.541068977 +34.72,7.540894281 +34.8,7.540657537 +34.88,7.540360712 +34.96,7.540005821 +35.04,7.53959492 +35.12,7.539130107 +35.2,7.538613511 +35.28,7.538047292 +35.36,7.537433637 +35.44,7.536774753 +35.52,7.536072864 +35.6,7.535330208 +35.68,7.534549032 +35.76,7.533731589 +35.84,7.532880131 +35.92,7.531996912 +36,7.531084177 +36.08,7.530144163 +36.16,7.529179094 +36.24,7.528191178 +36.32,7.527182605 +36.4,7.52615554 +36.48,7.525112125 +36.56,7.524054475 +36.64,7.522984671 +36.72,7.521904764 +36.8,7.520816768 +36.88,7.519722657 +36.96,7.518624366 +37.04,7.517523789 +37.12,7.516422774 +37.2,7.515323121 +37.28,7.514226585 +37.36,7.51313487 +37.44,7.512049626 +37.52,7.510972456 +37.6,7.509904904 +37.68,7.50884846 +37.76,7.507804561 +37.84,7.506774584 +37.92,7.505759848 +38,7.504761615 +38.08,7.503781088 +38.16,7.502819411 +38.24,7.501877665 +38.32,7.500956875 +38.4,7.500058004 +38.48,7.499181954 +38.56,7.498329569 +38.64,7.497501631 +38.72,7.496698863 +38.8,7.495921929 +38.88,7.495171435 +38.96,7.494447925 +39.04,7.49375189 +39.12,7.49308376 +39.2,7.492443911 +39.28,7.491832661 +39.36,7.491250276 +39.44,7.490696968 +39.52,7.490172893 +39.6,7.489678161 +39.68,7.489212826 +39.76,7.488776896 +39.84,7.488370331 +39.92,7.487993043 +40,7.487644899 +40.08,7.487325723 +40.16,7.487035294 +40.24,7.486773352 +40.32,7.486539597 +40.4,7.486333691 +40.48,7.486155258 +40.56,7.486003888 +40.64,7.485879137 +40.72,7.48578053 +40.8,7.48570756 +40.88,7.485659692 +40.96,7.485636365 +41.04,7.48563699 +41.12,7.485660956 +41.2,7.485707629 +41.28,7.485776355 +41.36,7.485866458 +41.44,7.485977248 +41.52,7.486108017 +41.6,7.486258043 +41.68,7.486426591 +41.76,7.486612915 +41.84,7.486816259 +41.92,7.487035857 +42,7.48727094 +42.08,7.487520728 +42.16,7.487784443 +42.24,7.488061298 +42.32,7.48835051 +42.4,7.488651293 +42.48,7.488962863 +42.56,7.489284438 +42.64,7.489615241 +42.72,7.489954497 +42.8,7.49030144 +42.88,7.490655309 +42.96,7.491015353 +43.04,7.491380829 +43.12,7.491751004 +43.2,7.492125156 +43.28,7.492502575 +43.36,7.492882564 +43.44,7.49326444 +43.52,7.493647533 +43.6,7.49403119 +43.68,7.494414773 +43.76,7.494797659 +43.84,7.495179244 +43.92,7.495558939 +44,7.495936177 +44.08,7.496310406 +44.16,7.496681094 +44.24,7.49704773 +44.32,7.497409818 +44.4,7.497766888 +44.48,7.498118487 +44.56,7.498464181 +44.64,7.498803559 +44.72,7.499136231 +44.8,7.499461827 +44.88,7.499779996 +44.96,7.500090413 +45.04,7.500392768 +45.12,7.500686776 +45.2,7.500972172 +45.28,7.501248711 +45.36,7.50151617 +45.44,7.501774344 +45.52,7.502023051 +45.6,7.502262127 +45.68,7.50249143 +45.76,7.502710835 +45.84,7.502920239 +45.92,7.503119555 +46,7.503308717 +46.08,7.503487676 +46.16,7.5036564 +46.24,7.503814878 +46.32,7.503963111 +46.4,7.50410112 +46.48,7.504228942 +46.56,7.504346628 +46.64,7.504454246 +46.72,7.504551876 +46.8,7.504639616 +46.88,7.504717573 +46.96,7.504785872 +47.04,7.504844646 +47.12,7.504894044 +47.2,7.504934224 +47.28,7.504965356 +47.36,7.504987619 +47.44,7.505001204 +47.52,7.50500631 +47.6,7.505003145 +47.68,7.504991924 +47.76,7.504972871 +47.84,7.504946218 +47.92,7.5049122 +48,7.504871062 +48.08,7.504823051 +48.16,7.504768421 +48.24,7.504707429 +48.32,7.504640338 +48.4,7.50456741 +48.48,7.504488915 +48.56,7.50440512 +48.64,7.504316299 +48.72,7.504222723 +48.8,7.504124666 +48.88,7.504022401 +48.96,7.503916202 +49.04,7.503806342 +49.12,7.503693093 +49.2,7.503576725 +49.28,7.503457508 +49.36,7.503335708 +49.44,7.503211588 +49.52,7.50308541 +49.6,7.502957432 +49.68,7.502827907 +49.76,7.502697085 +49.84,7.502565213 +49.92,7.502432531 +50,7.502299275 +50.08,7.502165678 +50.16,7.502031966 +50.24,7.501898357 +50.32,7.501765068 +50.4,7.501632307 +50.48,7.501500276 +50.56,7.501369171 +50.64,7.501239182 +50.72,7.501110492 +50.8,7.500983277 +50.88,7.500857706 +50.96,7.500733942 +51.04,7.500612139 +51.12,7.500492446 +51.2,7.500375004 +51.28,7.500259946 +51.36,7.500147399 +51.44,7.500037481 +51.52,7.499930305 +51.6,7.499825974 +51.68,7.499724586 +51.76,7.499626231 +51.84,7.499530991 +51.92,7.499438942 +52,7.499350152 +52.08,7.499264682 +52.16,7.499182588 +52.24,7.499103915 +52.32,7.499028705 +52.4,7.498956992 +52.48,7.498888803 +52.56,7.49882416 +52.64,7.498763077 +52.72,7.498705563 +52.8,7.49865162 +52.88,7.498601245 +52.96,7.498554429 +53.04,7.498511157 +53.12,7.498471409 +53.2,7.498435161 +53.28,7.498402381 +53.36,7.498373035 +53.44,7.498347083 +53.52,7.498324481 +53.6,7.498305179 +53.68,7.498289126 +53.76,7.498276264 +53.84,7.498266533 +53.92,7.498259869 +54,7.498256205 +54.08,7.49825547 +54.16,7.498257591 +54.24,7.49826249 +54.32,7.498270091 +54.4,7.498280311 +54.48,7.498293067 +54.56,7.498308273 +54.64,7.498325843 +54.72,7.498345688 +54.8,7.498367716 +54.88,7.498391838 +54.96,7.49841796 +55.04,7.498445988 +55.12,7.498475829 +55.2,7.498507388 +55.28,7.498540569 +55.36,7.498575278 +55.44,7.498611419 +55.52,7.498648897 +55.6,7.498687616 +55.68,7.498727482 +55.76,7.498768401 +55.84,7.49881028 +55.92,7.498853026 +56,7.498896547 +56.08,7.498940754 +56.16,7.498985555 +56.24,7.499030865 +56.32,7.499076595 +56.4,7.499122661 +56.48,7.499168979 +56.56,7.499215467 +56.64,7.499262047 +56.72,7.499308639 +56.8,7.499355167 +56.88,7.499401558 +56.96,7.499447739 +57.04,7.499493641 +57.12,7.499539196 +57.2,7.499584339 +57.28,7.499629007 +57.36,7.49967314 +57.44,7.499716679 +57.52,7.499759569 +57.6,7.499801756 +57.68,7.499843191 +57.76,7.499883824 +57.84,7.499923609 +57.92,7.499962505 +58,7.50000047 +58.08,7.500037467 +58.16,7.500073459 +58.24,7.500108415 +58.32,7.500142303 +58.4,7.500175095 +58.48,7.500206767 +58.56,7.500237295 +58.64,7.500266659 +58.72,7.500294841 +58.8,7.500321825 +58.88,7.500347597 +58.96,7.500372147 +59.04,7.500395466 +59.12,7.500417548 +59.2,7.500438388 +59.28,7.500457983 +59.36,7.500476334 +59.44,7.500493443 +59.52,7.500509313 +59.6,7.50052395 +59.68,7.500537362 +59.76,7.500549558 +59.84,7.50056055 +59.92,7.500570349 +60,7.500578972 +60.08,7.500586433 +60.16,7.50059275 +60.24,7.500597943 +60.32,7.50060203 +60.4,7.500605035 +60.48,7.500606978 +60.56,7.500607886 +60.64,7.500607781 +60.72,7.500606691 +60.8,7.500604642 +60.88,7.500601662 +60.96,7.50059778 +61.04,7.500593025 +61.12,7.500587426 +61.2,7.500581015 +61.28,7.500573822 +61.36,7.50056588 +61.44,7.50055722 +61.52,7.500547875 +61.6,7.500537876 +61.68,7.500527259 +61.76,7.500516054 +61.84,7.500504296 +61.92,7.500492017 +62,7.500479252 +62.08,7.500466032 +62.16,7.500452392 +62.24,7.500438364 +62.32,7.50042398 +62.4,7.500409274 +62.48,7.500394277 +62.56,7.500379022 +62.64,7.500363539 +62.72,7.500347859 +62.8,7.500332013 +62.88,7.500316032 +62.96,7.500299944 +63.04,7.500283779 +63.12,7.500267564 +63.2,7.500251327 +63.28,7.500235096 +63.36,7.500218896 +63.44,7.500202753 +63.52,7.500186692 +63.6,7.500170737 +63.68,7.500154911 +63.76,7.500139236 +63.84,7.500123735 +63.92,7.500108428 +64,7.500093334 +64.08,7.500078474 +64.16,7.500063865 +64.24,7.500049524 +64.32,7.500035469 +64.4,7.500021714 +64.48,7.500008274 +64.56,7.499995164 +64.64,7.499982396 +64.72,7.499969982 +64.8,7.499957933 +64.88,7.49994626 +64.96,7.499934972 +65.04,7.499924077 +65.12,7.499913584 +65.2,7.499903498 +65.28,7.499893827 +65.36,7.499884575 +65.44,7.499875746 +65.52,7.499867345 +65.6,7.499859373 +65.68,7.499851834 +65.76,7.499844727 +65.84,7.499838054 +65.92,7.499831815 +66,7.499826008 +66.08,7.499820633 +66.16,7.499815686 +66.24,7.499811164 +66.32,7.499807066 +66.4,7.499803385 +66.48,7.499800118 +66.56,7.499797259 +66.64,7.499794803 +66.72,7.499792743 +66.8,7.499791073 +66.88,7.499789785 +66.96,7.499788872 +67.04,7.499788325 +67.12,7.499788137 +67.2,7.499788298 +67.28,7.499788799 +67.36,7.499789631 +67.44,7.499790783 +67.52,7.499792247 +67.6,7.499794011 +67.68,7.499796065 +67.76,7.499798398 +67.84,7.499800999 +67.92,7.499803858 +68,7.499806963 +68.08,7.499810303 +68.16,7.499813866 +68.24,7.499817641 +68.32,7.499821616 +68.4,7.49982578 +68.48,7.499830121 +68.56,7.499834628 +68.64,7.499839289 +68.72,7.499844092 +68.8,7.499849026 +68.88,7.49985408 +68.96,7.499859243 +69.04,7.499864503 +69.12,7.499869849 +69.2,7.49987527 +69.28,7.499880756 +69.36,7.499886296 +69.44,7.49989188 +69.52,7.499897497 +69.6,7.499903138 +69.68,7.499908792 +69.76,7.499914451 +69.84,7.499920104 +69.92,7.499925743 +70,7.49993136 +70.08,7.499936944 +70.16,7.499942489 +70.24,7.499947986 +70.32,7.499953427 +70.4,7.499958806 +70.48,7.499964114 +70.56,7.499969345 +70.64,7.499974493 +70.72,7.499979551 +70.8,7.499984514 +70.88,7.499989375 +70.96,7.499994129 +71.04,7.499998772 +71.12,7.500003298 +71.2,7.500007704 +71.28,7.500011984 +71.36,7.500016136 +71.44,7.500020156 +71.52,7.500024041 +71.6,7.500027788 +71.68,7.500031394 +71.76,7.500034857 +71.84,7.500038175 +71.92,7.500041346 +72,7.500044369 +72.08,7.500047243 +72.16,7.500049967 +72.24,7.50005254 +72.32,7.500054962 +72.4,7.500057233 +72.48,7.500059353 +72.56,7.500061323 +72.64,7.500063143 +72.72,7.500064813 +72.8,7.500066335 +72.88,7.500067711 +72.96,7.500068942 +73.04,7.500070029 +73.12,7.500070975 +73.2,7.500071781 +73.28,7.500072449 +73.36,7.500072983 +73.44,7.500073385 +73.52,7.500073657 +73.6,7.500073802 +73.68,7.500073824 +73.76,7.500073725 +73.84,7.500073508 +73.92,7.500073178 +74,7.500072737 +74.08,7.500072189 +74.16,7.500071537 +74.24,7.500070786 +74.32,7.500069939 +74.4,7.500069 +74.48,7.500067972 +74.56,7.50006686 +74.64,7.500065668 +74.72,7.5000644 +74.8,7.500063059 +74.88,7.500061649 +74.96,7.500060175 +75.04,7.500058641 +75.12,7.500057051 +75.2,7.500055409 +75.28,7.500053718 +75.36,7.500051983 +75.44,7.500050208 +75.52,7.500048396 +75.6,7.500046552 +75.68,7.500044679 +75.76,7.500042781 +75.84,7.500040862 +75.92,7.500038926 +76,7.500036975 +76.08,7.500035015 +76.16,7.500033047 +76.24,7.500031076 +76.32,7.500029104 +76.4,7.500027135 +76.48,7.500025173 +76.56,7.500023219 +76.64, 7.500021278 +76.72, 7.500019351 +76.8,7.500017442 +76.88,7.500015554 +76.96,7.500013688 +77.04,7.500011847 +77.12,7.500010034 +77.2,7.500008252 +77.28,7.500006501 +77.36,7.500004784 +77.44,7.500003103 +77.52,7.50000146 +77.6,7.499999857 +77.68,7.499998294 +77.76,7.499996774 +77.84,7.499995299 +77.92,7.499993868 +78, 7.499992484 +78.08,7.499991147 +78.16,7.499989859 +78.24,7.499988621 +78.32,7.499987432 +78.4,7.499986294 +78.48,7.499985207 +78.56,7.499984172 +78.64,7.49998319 +78.72,7.499982259 +78.8,7.499981381 +78.88,7.499980556 +78.96,7.499979784 +79.04,7.499979064 +79.12,7.499978396 +79.2,7.499977781 +79.28,7.499977217 +79.36,7.499976705 diff --git a/info/visualtikz/Source/LogoIUT.jpg b/info/visualtikz/Source/LogoIUT.jpg Binary files differnew file mode 100644 index 0000000000..93306c637d --- /dev/null +++ b/info/visualtikz/Source/LogoIUT.jpg diff --git a/info/visualtikz/Source/MAJ.tex b/info/visualtikz/Source/MAJ.tex new file mode 100644 index 0000000000..a70588eafd --- /dev/null +++ b/info/visualtikz/Source/MAJ.tex @@ -0,0 +1,48 @@ + +\subsection{version 0.64} + +\TFRGB{ +\textbf{Quoi de neuf version 0.64! } : + +\begin{itemize} +\item ajout du module tikzpeople \pageref{people} +\item ajout du module circuits.logic \pageref{lib-gate} +\item ajout du module tikz-optics \pageref{optics} +\item restructuration de l'index +\end{itemize} +}{ +\textbf{What's new version 0.64} : + +\begin{itemize} +\item tikzpeople package added \pageref{people} +\item circuits.logic package added \pageref{lib-gate} +\item tikz-optics package added \pageref{optics} +\item 3 minors bugs signaled by Jim Diamond corrected +\item reorganization of the index +\end{itemize} +} + +\subsection{version 0.65} + +\TFRGB{ +\textbf{Quoi de neuf version 0.65! } : + +\begin{itemize} +\item Résolution partielle du conflit entre \BS{usetikzlibrary}\AC{patterns} (\pageref{lib-patterns}) et \BS{usepackage}\AC{tikzpeople} (\pageref{people}) +\item Ajout matrices de n\oe uds \pageref{matrix} +\item Ajout \og library matrix \fg \pageref{lib-matrix} +\item Ajout du module tikzducks \pageref{ducks} +\end{itemize} + +} +{ +\textbf{What's new version 0.65!} : +\begin{itemize} +\item Partial resolution of the conflict between \BS{usetikzlibrary}\AC{patterns} (\pageref{lib-patterns}) and \BS{usepackage}\AC{tikzpeople} (\pageref{people}) + +\item Matrices of nodes \pageref{matrix} +\item Library matrix added \pageref{lib-matrix} +\item Tikzducks package added \pageref{ducks} +\end{itemize} +} + diff --git a/info/visualtikz/Source/VTKZ.tex b/info/visualtikz/Source/VTKZ.tex new file mode 100644 index 0000000000..0b11486f08 --- /dev/null +++ b/info/visualtikz/Source/VTKZ.tex @@ -0,0 +1,357 @@ + + +\input{tkztitre} + + + +\setcounter{tocdepth}{4} + \tableofcontents + \setcounter{tocdepth}{5} +\addtolength{\hoffset}{-1.5cm} +\setlength{\parindent}{0pt} +\setlength{\topmargin}{0pt} +\setlength{\headsep}{0pt} + + \newpage + + +\SSCT{Chargement de TikZ}{Tikz loading} + +\maboite{\BS{usepackage}\AC{tikz} } + +\SSCT{Les figures de base}{Basic figures} + +\input{tkz1} + +\newpage + +\input{tkz2} + +\newpage + +\input{tkz3} + +\input{tkz3a} + +\newpage + +\SSCT{Insertion de petites images}{Small pictures} + +\input{tkzpic} + +\newpage + +\input{tkzangles} + +\newpage + +\SSCT{Les coordonnées }{Coordinates} + +\input{tkzgrid} +\newpage + +\input{tkzcoord} + +\newpage + +\SSCT{Les n\oe uds }{Nodes} + +\input{tkznoeud1} + +\input{tkzpos} + +\input{tkzfit} + +\newpage + +\input{tkzthrough} + +\newpage + + +\SbSSCT{Matrice de n\oe uds}{Matrices and Alignment} + +\input{matrix} + +\newpage + +\SbSSCT{Matrice de n\oe uds}{Chaine de n\oe uds} + +\input{tkzchains} + +\newpage + +\SSCT{Constructions particulières }{Transformations} + +\input{tkz4} + +\newpage + + +\SSCT{Placer son dessin}{Placing the picture} + +\input{tkzfig} + +\newpage + +\section{Scope} + +\input{tkzscope} + +\newpage + +\SSCT{Position absolue sur une page}{Absolute position on a page} + +\input{tkzpage} + +\newpage + +\SSCT{Arrière plan du dessin}{Background} + + \input{tkzbackground} + +\newpage + + +\SSCT{Créer ses couleurs}{Defining your own colors} + + \input{tkzcoul} + + +\newpage + +\SSCT{Créer ses commandes}{Create command} + +\input{tkzcde} + +\newpage + +\SSCT{Créer ses styles}{Creating styles} + +\input{tkzstyl} + +\newpage + +\SSCT{Mettre du texte en valeur}{Text highlighting} + +\input{tkzboit1} + +\newpage + +\section{Decorations} + +\input{tkzdeco} + + +\newpage + +\SSCT{Insertion images dans un environnement TikZ}{Pictures in a TikZ picture} + +\input{tkzimage} + + + +\SSCT{Trait à main levée }{Freehand drawing} + +\input{tkzalea} + + +\SSCT{Effets spéciaux}{Special effect} + + +\input{tkzpeople} + +\newpage + +\subsection{Ducks} + +\input{tkzducks} + +\newpage + + +\subsection{symbol} + +\input{tkzsymbol} + +\newpage + %================================================== + +\SSCT{Créer un graphe }{Creating Graphs} + +\input{tkzgraph1} + +\newpage + +\SSCT{Créer un graphe avec pgfplot}{Creation of a graph with pgfplots} + +\input{tkzgraph2} + +\SSCT{Courbes 3D}{3D graph} + +\input{tkzgraph3D} % très lourd à compiler + +% +%%% +%%%\essais{pstgraph2ess.tex} +%%\newpage +%%\section[Créer un graphe d'après une équation]{Créer un graphe d'après une équation \cite{pst-user} \cite{pst-plot}} +%% +% +%%% +%%%\essais{pstgraph3ess.tex} +%%\newpage +%% \section[Des outils pour les graphes]{Des outils pour les graphes \cite{pst-add} } +%% +% +%% +%%\newpage +%% \section[Créer un graphe en camembert]{Créer un graphe en camembert \cite{pst-add} } +%% +%%\input{chart} % camembert + +\newpage + +\SSCT{Les Tableaux de variation}{Table of a function variation } + +\input{tkztab} + +\newpage + +\SSCT{Les répétitions}{Repetitions} + + +\input{tkzrep1} + + +\newpage +\SSCT{Dessin robotisé}{turtle graphics} + + +\input{tkzturtle} + +%%\subsection[Commande multido]{Commande multido \cite{pst-user} \cite{multido} } +%% +% +%% +%%\essais{pstrep2ess.tex} +%% +%%\subsection[Commande psforeach]{Commande psforeach \cite{pst-news10} } +% +% +%% +%%\newpage +%%% % % %====================================================================== +%%\section[La géométrie]{La géométrie \cite{pst-eucl} } +%% +%%Utilisation du module \textbf{pst-eucl} \label{pst-eucl}(consultez le fichier\textbf{ pst-eucl-doc.pdf} ) +%% +%% +%%\psset{fillcolor=yellow,linecolor=blue,dotscale=2} +%%\subsection{\'Elements de base} +%% +% +%% +%%\subsection[Transformations géométriques]{Transformations géométriques \cite{pst-eucl} } +%% +%% +% +%% +%% +%%\subsection[Constructions particulières en géométrie ]{Constructions particulières en géométrie } +%% +% +%% +%%\subsection[Intersections]{Intersections } +%% +% +%% +%%%-------------------------------------------------------------- +%%\section[Les vecteurs]{Les vecteurs } +%% +% +%%%============================================================== +\newpage + +\SSCT{Les diagrammes arborescents }{Tree diagram} + + +\input{tkztree} + +%%%================================================== + +\newpage + +\SSCT{Les schemas électriques }{Electrical Engineering Circuits} + +\input{tkzelect} + + +\SSCT{Les circuits logiques }{Logical circuits} + +\input{tkzgate} + +\newpage + +\SSCT{Optique }{Optics} + +\input{tkzoptic} + +\newpage + +\SSCT{Les animations }{Animate a TikZ picture} + +\input{tkzanim} + +%\newpage +% +%\SSCT{Les tableaux de variations}{Variation of a function} +% +%\input{tkztab} +%% +%%\newpage +%% +%%\section[Créer un dessin en 3D]{Créer un dessin en 3D } +% + +%%\subsection{Les objets en 3D} +%% + +%%\newpage +%%\subsection[Créer un graphe en 3D]{Créer un graphe en 3D } +%% + +\newpage + +%%=============================================== + + +\SSCT{Les modules étudiés dans ce document}{Packages studied in this document} + +\input{bibtkz} + + +\newpage + +%%%%XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +% +%\section{Index} +% +%\begin{enumerate} +%\item environnements +%\item Commandes +%\item paramètres et options +%\item Valeurs TikZ +%\item Extrémités +%\end{enumerate} +% +%\printindex +% +%%\newpage +%% +%%\SbSSCT{Mises à jour précédente}{Former updates} +%% +%%\input{MAJ} + + +\end{document}
\ No newline at end of file diff --git a/info/visualtikz/Source/VisualTikZ-fr.tex b/info/visualtikz/Source/VisualTikZ-fr.tex new file mode 100644 index 0000000000..69d43a8d19 --- /dev/null +++ b/info/visualtikz/Source/VisualTikZ-fr.tex @@ -0,0 +1,12 @@ +\input{versFR} + +\input{tikzdebut} + +\begin{document} + +\selectlanguage{french} + + +\input{VTKZ} + +\end{document}
\ No newline at end of file diff --git a/info/visualtikz/Source/VisualTikZ.tex b/info/visualtikz/Source/VisualTikZ.tex new file mode 100644 index 0000000000..3f65ab756f --- /dev/null +++ b/info/visualtikz/Source/VisualTikZ.tex @@ -0,0 +1,13 @@ + +\input{versGB} + +\input{tikzdebut} + + \begin{document} + +\selectlanguage{english} + + +\input{VTKZ} + +\end{document}
\ No newline at end of file diff --git a/info/visualtikz/Source/XXX.csv b/info/visualtikz/Source/XXX.csv new file mode 100644 index 0000000000..4ddce0e852 --- /dev/null +++ b/info/visualtikz/Source/XXX.csv @@ -0,0 +1,5 @@ +x, y +0, 1 +1, 3 +2, 2 +3, 3
\ No newline at end of file diff --git a/info/visualtikz/Source/XXX.dat b/info/visualtikz/Source/XXX.dat new file mode 100644 index 0000000000..4ddce0e852 --- /dev/null +++ b/info/visualtikz/Source/XXX.dat @@ -0,0 +1,5 @@ +x, y +0, 1 +1, 3 +2, 2 +3, 3
\ No newline at end of file diff --git a/info/visualtikz/Source/XXX1.jpg b/info/visualtikz/Source/XXX1.jpg Binary files differnew file mode 100644 index 0000000000..8b405474eb --- /dev/null +++ b/info/visualtikz/Source/XXX1.jpg diff --git a/info/visualtikz/Source/XXX2.jpg b/info/visualtikz/Source/XXX2.jpg Binary files differnew file mode 100644 index 0000000000..308ab89cbb --- /dev/null +++ b/info/visualtikz/Source/XXX2.jpg diff --git a/info/visualtikz/Source/bibtkz.tex b/info/visualtikz/Source/bibtkz.tex new file mode 100644 index 0000000000..cfc50c2b9b --- /dev/null +++ b/info/visualtikz/Source/bibtkz.tex @@ -0,0 +1,187 @@ + +\begin{tabular}{|c|c|l c|}\hline +\multicolumn{4}{|c|}{ \textbf{\TFRGB{module de base TikZ}{Basic TikZ package} : } } +\\ \hline + +\TFRGB{nom}{name} & \TFRGB{A insérer dans le préambule}{Load package}& documentation \footnotemark[1] & \\ \hline +tikz & \BS{usepackage}\AC{tikz} & pgfmanual.pdf & \DGB \\ + +\hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|l c|}\hline +\multicolumn{4}{|c|}{ \textbf{\TFRGB{Autres modules}{Other packages}} } +\\ \hline +\TFRGB{nom}{name} & \TFRGB{voir page}{see page} & documentation \footnotemark[2] & \\ \hline +animate & \pageref{anim} & animate.pdf & \DGB \\ +tikz-optics & \pageref{optics} & tikz-optics.pdf & \DFR \\ +pgfplots & \pageref{pgfplots} & pgfplots.pdf & \DGB \\ +tikzpeople & \pageref{people} & tikzpeople.pdf & \DGB \\ +tikzducks & \pageref{ducks} & tikzducks-doc.pdf & \DGB \\ +tikzsymbols & \pageref{symbol} & tikzsymbols.pdf & \DGB \\ +tkz-tab & \pageref{tabl} & tkz-tab-screen.pdf & \DFR \\ +\hline +\end{tabular} +\bigskip + + + +\begin{tabular}{|l|c|l|}\hline +\multicolumn{3}{|c|}{ \textbf{\TFRGB{Compléments optionnels}{Optional library} (documentation : pgfmanual.pdf)} } +\\ \hline +\TFRGB{nom}{name} & \TFRGB{voir page}{see page} & \TFRGB{A insérer dans le préambule}{Load package}\\ \hline +angles & \pageref{lib-angles} & \BS{usetikzlibrary}\AC{angles}\\ +arrows.meta & \pageref{lib-arrows.meta} & \BS{usetikzlibrary}\AC{arrows.meta}\\ +bending & \pageref{lib-bending} & \BS{usetikzlibrary}\AC{bending} +\\ +backgrounds & \pageref{lib-bkgd} & \BS{usetikzlibrary}\AC{backgrounds} +\\ +calc & \pageref{lib-calc} & \BS{usetikzlibrary}\AC{calc} +\\ +chains & \pageref{lib-chains} & \BS{usetikzlibrary}\AC{chains} +\\ +circuits.ee.IEC & \pageref{lib-ee} & \BS{usetikzlibrary}\AC{circuits.ee.IEC} +\\ +circuits.logic.IEC & \pageref{lib-gate} & \BS{usetikzlibrary}\AC{circuits.logic.IEC} +\\ +circuits.logic.US & \pageref{lib-gate} & \BS{usetikzlibrary}\AC{circuits.logic.US} +\\ +circuits.logic.CDH & \pageref{lib-gate} & \BS{usetikzlibrary}\AC{circuits.logic.CDH} +\\ +fit & \pageref{lib-fit} & \BS{usetikzlibrary}\AC{fit} +\\ +decorations.footprints & \pageref{lib-footprints} & \BS{usetikzlibrary}\AC{decorations.footprints} +\\ +decorations.fractals & \pageref{lib-fractals} & \BS{usetikzlibrary}\AC{decorations.fractals} +\\ +decorations.markings & \pageref{lib-mark} & \BS{usetikzlibrary}\AC{decorations.markings} +\\ +decorations.pathmorphing & \pageref{lib-morph} & \BS{usetikzlibrary}\AC{decorations.pathmorphing} +\\ +decorations.pathreplacing & \pageref{lib-replac} & \BS{usetikzlibrary}\AC{decorations.pathreplacing} +\\ +decorations.shapes & \pageref{lib-shapes} & \BS{usetikzlibrary}\AC{decorations.shapes} +\\ +decorations.text & \pageref{lib-text} & \BS{usetikzlibrary}\AC{decorations.text} +\\ +fadings & \pageref{lib-fadings} & \BS{usetikzlibrary}\AC{fadings } +\\ +intersections & \pageref{lib-intersections} & \BS{usetikzlibrary}\AC{intersections} +\\ +matrix & \pageref{lib-matrix} & \BS{usetikzlibrary}\AC{matrix} +\\ +patterns & \pageref{lib-patterns} & \BS{usetikzlibrary}\AC{patterns} +\\ +plotmarks & \pageref{plotmarks} & \BS{usetikzlibrary}\AC{plotmarks} +\\ +positioning & \pageref{lib-pos} & \BS{usetikzlibrary}\AC{positioning} +\\ +scopes & \pageref{lib-scopes} & \BS{usetikzlibrary}\AC{scopes} +\\ +shadings & \pageref{lib-shadings} & \BS{usetikzlibrary}\AC{shadings} +\\ +shapes.arrows & \pageref{lib-arr} &\BS{usetikzlibrary}\AC{shapes.arrows} +\\shapes.callouts & \pageref{lib-call} & \BS{usetikzlibrary}\AC{shapes.callouts} +\\ +shapes.geometric & \pageref{lib-geom} & \BS{usetikzlibrary}\AC{shapes.geometric} +\\ + +shapes.misc & \pageref{lib-misc} & \BS{usetikzlibrary}\AC{shapes.misc} +\\ +shapes.multipart & \pageref{lib-mult} & \BS{usetikzlibrary}\AC{shapes.multipart} +\\ +shapes.symbols & \pageref{lib-symb} & \BS{usetikzlibrary}\AC{shapes.symbols} +\\ +through & \pageref{lib-through} & \BS{usetikzlibrary}\AC{through} +\\ +trees & \pageref{lib-trees} +\BS{usetikzlibrary}\AC{trees} +\\ +through & \pageref{lib-turtle} & \BS{usetikzlibrary}\AC{turtle} +\\ +\hline + \end{tabular} + +\TFRGB{ +\footnotetext[1]{voir dans le répertoire : \BS{texlive}\BS{2016}\BS{tesmf-dist}\BS{doc}\BS{generic}\BS{pgf}} +\footnotetext[2]{chercher dans le répertoire : \BS{texlive}\BS{2016}\BS{tesmf-dist}\BS{doc}\BS{latex}} } +{ +\footnotetext[1]{look in repertory : \BS{texlive}\BS{2016}\BS{tesmf-dist}\BS{doc}\BS{generic}\BS{pgf}} +\footnotetext[2]{search in repertory : \BS{texlive}\BS{2016}\BS{tesmf-dist}\BS{doc}\BS{latex}} } + +\bigskip + + + +\begin{tabular}{|l|c|}\hline +\multicolumn{2}{|c|}{ \TFRGB{dans une prochaine mise à jour}{In a a future update } } +\\ \hline +automata & \RRR{41} \\ +babel & \RRR{42} \\ +calendar & \RRR{45} \\ +%chains & \RRR{46} \\ +%circuits.ee & \RRR{47-4} \\ + +circular graph drawing library & \RRR{32} \\ +curvilinear library & \RRR{103-4-7} \\ +datavisualization library & \RRR{75} \\ +datavisualization.formats.functions library & \RRR{76-4} \\ +datavisualization.polar library & \RRR{80} \\ + er & \RRR{49} \\ +examples graph drawing library & \RRR{35-8} \\ +external & \RRR{50} \\ +%fit & \RRR{52} \\ +fixedpointarithmetic & \RRR{53} \\ +folding & \RRR{59} \\ +force graph drawing library & \RRR{31} \\ +fpu & \RRR{54} \\ +graph.standard library & \RRR{19-10}\\ +graphdrawing library & \RRR{27} \\ +graphs library & \RRR{19} \\ +layered graph drawing library & \RRR{30} \\ +lindenmayersystems & \RRR{55} \\ +mindmap & \RRR{58} \\ +petri & \RRR{61} \\ +phylogenetics graph drawing library & \RRR{33} \\ +plothandlers & \RRR{62} \\ +profiler & \RRR{64} \\ +quotes library & \RRR{17-10-4} \\ +routing graph drawing library & \RRR{34} \\ +shadows & \RRR{66} \\ + +spy & \RRR{68} \\ +svg.path & \RRR{69} \\ +%through & \RRR{71} \\ +topaths & \RRR{70} \\ +trees graph drawing library & +\\ \hline +\end{tabular} + + +%\newpage +%% +%% \tableofcontents +%\renewcommand{\bibname}{Sources} +% +\label{sources} +%\input{bib} + +\newpage + +\begin{thebibliography}{99} +\bibitem{pgfmanual} pgfmanual.pdf \hspace{1cm} version 3.0.1a \hspace{1cm} 1161 pages \hspace{1cm} \DGB +\bibitem{pgfplots} pgfplots.pdf \hspace{1cm} version 1.80 \hspace{1cm} 439 pages \hspace{1cm} \DGB +\bibitem{tikstab} tkz-tab-screen.pdf \hspace{1cm} version 1.1c \hspace{1cm} 83 pages \hspace{1cm} \DFR +\bibitem{tikzpeople} tikzpeople.pdf \hspace{1cm} \hspace{1cm} 19 pages \hspace{1cm} \DGB + +\bibitem{tikzducks} tikzducks-doc.pdf \hspace{1cm} version 0.6 \hspace{1cm} 28 pages \hspace{1cm} \DGB + +\bibitem{tikzsymbols} tikzsymbols.pdf \hspace{1cm} version sept 2017 \hspace{1cm} 15 pages \hspace{1cm} \DGB + +\bibitem{animate} animate.pdf \hspace{1cm} \hspace{1cm} 26 pages \hspace{1cm} \DGB + +\bibitem{optics} tikz-optics.pdf \hspace{1cm} version 0.2.2 \hspace{1cm} 39 pages \hspace{1cm} \DFR +\end{thebibliography} + diff --git a/info/visualtikz/Source/data3d.txt b/info/visualtikz/Source/data3d.txt new file mode 100644 index 0000000000..c51abc8c9e --- /dev/null +++ b/info/visualtikz/Source/data3d.txt @@ -0,0 +1,501 @@ +0 0 0 +0.009950042 0.000998334 0.01 +0.019601332 0.003973387 0.02 +0.028660095 0.008865606 0.03 +0.03684244 0.015576734 0.04 +0.043879128 0.023971277 0.05 +0.049520137 0.033878548 0.06 +0.053538953 0.045095238 0.07 +0.055736537 0.057388487 0.08 +0.055944897 0.070499422 0.09 +0.054030231 0.084147098 0.1 +0.049895573 0.09803281 0.11 +0.043482931 0.11184469 0.12 +0.034774848 0.125262564 0.13 +0.0237954 0.137962962 0.14 +0.01061058 0.149624248 0.15 +-0.004671924 0.159931776 0.16 +-0.021903564 0.168583018 0.17 +-0.040896377 0.175292574 0.18 +-0.061425018 0.179797017 0.19 +-0.083229367 0.181859485 0.2 +-0.106017682 0.181273967 0.21 +-0.129470246 0.177869209 0.22 +-0.153243485 0.171512199 0.23 +-0.176974492 0.162111163 0.24 +-0.200285904 0.149618036 0.25 +-0.222791076 0.134030357 0.26 +-0.244099478 0.115392568 0.27 +-0.263822255 0.093796682 0.28 +-0.281577868 0.069382305 0.29 +-0.296997749 0.042336002 0.3 +-0.309731897 0.012890005 0.31 +-0.319454328 -0.018679726 0.32 +-0.325868324 -0.052056079 0.33 +-0.328711385 -0.086883975 0.34 +-0.327759841 -0.12277413 0.35 +-0.32283303 -0.15930736 0.36 +-0.313797012 -0.196039372 0.37 +-0.300567731 -0.232505999 0.38 +-0.283113599 -0.268228802 0.39 +-0.261457448 -0.302720998 0.4 +-0.235677818 -0.335493616 0.41 +-0.205909545 -0.366061824 0.42 +-0.172343644 -0.393951353 0.43 +-0.135226463 -0.418704913 0.44 +-0.09485811 -0.439888553 0.45 +-0.051590162 -0.457097862 0.46 +-0.005822672 -0.469963931 0.47 +0.041999512 -0.478159012 0.48 +0.091391061 -0.48140178 0.49 +0.141831093 -0.479462137 0.5 +0.192768649 -0.472165488 0.51 +0.243628669 -0.459396421 0.52 +0.293818398 -0.441101744 0.53 +0.342734153 -0.417292823 0.54 +0.389768376 -0.388047179 0.55 +0.434316892 -0.353509317 0.56 +0.475786287 -0.313890759 0.57 +0.51360132 -0.269469264 0.58 +0.547212274 -0.220587232 0.59 +0.576102172 -0.167649299 0.6 +0.599793747 -0.111119128 0.61 +0.6178561 -0.05151543 0.62 +0.629910941 0.010592757 0.63 +0.635638348 0.074591491 0.64 +0.634781957 0.139827992 0.65 +0.627153511 0.2056173 0.66 +0.612636709 0.271249447 0.67 +0.591190293 0.335997079 0.68 +0.562850319 0.399123437 0.69 +0.527731578 0.459890619 0.7 +0.486028133 0.517568018 0.71 +0.438012946 0.571440862 0.72 +0.384036588 0.620818733 0.73 +0.324525022 0.665043991 0.74 +0.259976488 0.703499983 0.75 +0.19095748 0.735618951 0.76 +0.118097874 0.76088954 0.77 +0.042085228 0.778863809 0.78 +-0.036341679 0.78916366 0.79 +-0.116400027 0.791486597 0.8 +-0.197270765 0.785610747 0.81 +-0.278106986 0.771399056 0.82 +-0.358042781 0.748802622 0.83 +-0.436202469 0.717863083 0.84 +-0.511710117 0.678714046 0.85 +-0.583699241 0.631581504 0.86 +-0.651322582 0.57678323 0.87 +-0.713761852 0.51472713 0.88 +-0.770237336 0.445908562 0.89 +-0.820017236 0.370906637 0.9 +-0.862426658 0.29037951 0.91 +-0.896856132 0.205058721 0.92 +-0.922769553 0.115742614 0.93 +-0.93971146 0.0232889 0.94 +-0.947313548 -0.071393564 0.95 +-0.945300342 -0.16735371 0.96 +-0.933493933 -0.263607808 0.97 +-0.911817747 -0.359149547 0.98 +-0.880299241 -0.452960535 0.99 +-0.839071529 -0.544021111 1 +-0.788373862 -0.631321355 1.01 +-0.728550965 -0.713872181 1.02 +-0.66005121 -0.790716384 1.03 +-0.583423628 -0.860939528 1.04 +-0.499313774 -0.923680548 1.05 +-0.408458482 -0.978141947 1.06 +-0.311679531 -1.023599467 1.07 +-0.209876299 -1.059411128 1.08 +-0.104017448 -1.085025516 1.09 +0.004868268 -1.099989227 1.1 +0.11570199 -1.103953373 1.11 +0.227365447 -1.096679057 1.12 +0.338712238 -1.078041752 1.13 +0.448579588 -1.048034519 1.14 +0.555800473 -1.006770001 1.15 +0.659215971 -0.95448117 1.16 +0.757687716 -0.891520793 1.17 +0.850110325 -0.8183596 1.18 +0.935423652 -0.735583164 1.19 +1.01262475 -0.643887502 1.2 +1.080779395 -0.544073432 1.21 +1.139033046 -0.437039724 1.22 +1.18662112 -0.323775103 1.23 +1.222878455 -0.205349178 1.24 +1.247247849 -0.082902372 1.25 +1.259287578 0.042365039 1.26 +1.258677787 0.169204693 1.27 +1.245225684 0.296332576 1.28 +1.218869449 0.422442026 1.29 +1.179680816 0.546217148 1.3 +1.127866268 0.666346518 1.31 +1.063766824 0.781537039 1.32 +0.9878564 0.890527784 1.33 +0.900738732 0.992103693 1.34 +0.803142895 1.085108976 1.35 +0.69591743 1.168460068 1.36 +0.580023126 1.241157997 1.37 +0.456524532 1.302300024 1.38 +0.326580248 1.351090427 1.39 +0.191432105 1.386850298 1.4 +0.052393323 1.409026238 1.41 +-0.089164247 1.417197847 1.42 +-0.231823644 1.411083909 1.43 +-0.374136993 1.390547198 1.44 +-0.514640187 1.355597831 1.45 +-0.651867941 1.306395111 1.46 +-0.784369048 1.243247842 1.47 +-0.910721675 1.16661306 1.48 +-1.029548549 1.077093211 1.49 +-1.139531869 0.97543176 1.5 +-1.239427773 0.862507273 1.51 +-1.328080214 0.739326007 1.52 +-1.404434094 0.607013077 1.53 +-1.467547492 0.466802269 1.54 +-1.516602867 0.320024597 1.55 +-1.550917095 0.168095698 1.56 +-1.569950221 0.012502199 1.57 +-1.573312822 -0.145212823 1.58 +-1.560771894 -0.303465144 1.59 +-1.532255169 -0.460645307 1.6 +-1.487853808 -0.615134982 1.61 +-1.427823434 -0.765323618 1.62 +-1.352583451 -0.909625202 1.63 +-1.262714655 -1.046494959 1.64 +-1.158955145 -1.174445815 1.65 +-1.042194539 -1.29206445 1.66 +-0.913466558 -1.398026769 1.67 +-0.773940027 -1.491112616 1.68 +-0.624908366 -1.570219582 1.69 +-0.467777675 -1.634375736 1.7 +-0.304053512 -1.682751159 1.71 +-0.135326495 -1.714668114 1.72 +0.036743138 -1.729609766 1.73 +0.210441864 -1.727227322 1.74 +0.384019936 -1.70734551 1.75 +0.555709009 -1.669966316 1.76 +0.723740149 -1.615270936 1.77 +0.886362041 -1.543619879 1.78 +1.041859212 -1.45555123 1.79 +1.188570075 -1.351777044 1.8 +1.324904611 -1.233177916 1.81 +1.449361496 -1.100795737 1.82 +1.56054449 -0.955824719 1.83 +1.657177917 -0.799600745 1.84 +1.738121053 -0.633589144 1.85 +1.802381279 -0.459371011 1.86 +1.849125831 -0.278628178 1.87 +1.87769203 -0.093127005 1.88 +1.887595858 0.09529888 1.89 +1.878538775 0.284766698 1.9 +1.850412697 0.473363337 1.91 +1.803303066 0.659164663 1.92 +1.73748994 0.840255146 1.93 +1.653447108 1.014747584 1.94 +1.551839191 1.180802746 1.95 +1.433516747 1.336648695 1.96 +1.299509423 1.480599628 1.97 +1.151017187 1.611074 1.98 +0.989399732 1.72661176 1.99 +0.816164124 1.825890501 2 +0.632950824 1.907740353 2.01 +0.441518203 1.971157446 2.02 +0.243725688 2.015315804 2.03 +0.04151572 2.039577516 2.04 +-0.163105313 2.043501078 2.05 +-0.36808699 2.026847791 2.06 +-0.5713554 1.98958614 2.07 +-0.770834118 1.931894087 2.08 +-0.964465412 1.854159235 2.09 +-1.150231446 1.756976841 2.1 +-1.326175272 1.641145681 2.11 +-1.49042139 1.507661793 2.12 +-1.641195663 1.35771013 2.13 +-1.776844373 1.192654215 2.14 +-1.895852214 1.014023857 2.15 +-1.996859034 0.823501062 2.16 +-2.078675129 0.622904253 2.17 +-2.140294938 0.414170953 2.18 +-2.180908968 0.199339091 2.19 +-2.199913818 -0.01947288 2.2 +-2.196920183 -0.240086876 2.21 +-2.171758737 -0.460286854 2.22 +-2.124483813 -0.677841078 2.23 +-2.055374833 -0.89052473 2.24 +-1.96493544 -1.096142653 2.25 +-1.853890336 -1.292551981 2.26 +-1.723179826 -1.477684434 2.27 +-1.573952118 -1.649568044 2.28 +-1.407553421 -1.806348075 2.29 +-1.225515947 -1.94630693 2.3 +-1.029543901 -2.06788282 2.31 +-0.821497601 -2.169687003 2.32 +-0.603375864 -2.250519399 2.33 +-0.377296837 -2.309382406 2.34 +-0.145477441 -2.345492766 2.35 +0.089788356 -2.358291341 2.36 +0.32615224 -2.347450685 2.37 +0.56123499 -2.312880301 2.38 +0.792650424 -2.254729541 2.39 +1.018029618 -2.173388069 2.4 +1.235045135 -2.069483876 2.41 +1.441435043 -1.943878859 2.42 +1.635026444 -1.797661962 2.43 +1.813758293 -1.632139962 2.44 +1.97570326 -1.448825948 2.45 +2.119088398 -1.249425612 2.46 +2.242314406 -1.035821463 2.47 +2.343973275 -0.810055113 2.48 +2.42286412 -0.574307808 2.49 +2.47800703 -0.330879375 2.5 +2.508654775 -0.082165802 2.51 +2.514302233 0.169364343 2.52 +2.494693422 0.421194409 2.53 +2.449826054 0.670784844 2.54 +2.379953536 0.915598803 2.55 +2.285584389 1.153127921 2.56 +2.167479057 1.380918005 2.57 +2.026644137 1.596594357 2.58 +1.864324051 1.797886491 2.59 +1.681990238 1.982651971 2.6 +1.481327959 2.148899132 2.61 +1.264220817 2.294808429 2.62 +1.032733155 2.418752205 2.63 +0.789090473 2.519312649 2.64 +0.535658069 2.595297754 2.65 +0.274918094 2.645755099 2.66 +0.009445254 2.669983293 2.67 +-0.258118617 2.667540961 2.68 +-0.525090838 2.638253136 2.69 +-0.788774784 2.582215007 2.7 +-1.046487118 2.499792934 2.71 +-1.295585091 2.391622728 2.72 +-1.533493623 2.258605169 2.73 +-1.757731893 2.101898806 2.74 +-1.965939164 1.922910087 2.75 +-2.155899571 1.723280894 2.76 +-2.325565617 1.504873604 2.77 +-2.47308012 1.269753803 2.78 +-2.596796395 1.020170811 2.79 +-2.695296426 0.758536207 2.8 +-2.767406854 0.487400556 2.81 +-2.812212595 0.209428557 2.82 +-2.82906792 -0.072627139 2.83 +-2.817604893 -0.355953178 2.84 +-2.777739036 -0.637703575 2.85 +-2.709672162 -0.915028291 2.86 +-2.613892326 -1.185102066 2.87 +-2.491170863 -1.445153187 2.88 +-2.342556536 -1.692491913 2.89 +-2.169366836 -1.924538264 2.9 +-1.973176483 -2.138848889 2.91 +-1.755803252 -2.333142718 2.92 +-1.519291234 -2.505325158 2.93 +-1.26589169 -2.653510548 2.94 +-0.998041672 -2.776042655 2.95 +-0.718340625 -2.871512972 2.96 +-0.429525175 -2.938776637 2.97 +-0.134442375 -2.976965779 2.98 +0.163978364 -2.985500142 2.99 +0.46275435 -2.964094872 3 +0.758879418 -2.912765358 3.01 +1.049354182 -2.831829056 3.02 +1.331216405 -2.721904275 3.03 +1.601571198 -2.583905899 3.04 +1.857620727 -2.41903808 3.05 +2.096693136 -2.22878395 3.06 +2.316270375 -2.014892441 3.07 +2.514014653 -1.779362337 3.08 +2.687793233 -1.524423674 3.09 +2.835701309 -1.252516701 3.1 +2.956082725 -0.966268557 3.11 +3.047548299 -0.668467926 3.12 +3.108991568 -0.362037882 3.13 +3.139601771 -0.050007209 3.14 +3.138873909 0.264519535 3.15 +3.106615787 0.578392904 3.16 +3.042951926 0.888450098 3.17 +2.948324292 1.191546838 3.18 +2.823489825 1.48458924 3.19 +2.669514754 1.76456538 3.2 +2.487765757 2.028576234 3.21 +2.279898023 2.273865652 3.22 +2.047840315 2.497849083 3.23 +1.793777185 2.698140732 3.24 +1.520128481 2.872578877 3.25 +1.22952636 3.019249067 3.26 +0.924790003 3.136504974 3.27 +0.608898294 3.222986638 3.28 +0.284960713 3.277635946 3.29 +-0.043813266 3.299709138 3.3 +-0.37414597 3.288786219 3.31 +-0.702724202 3.244777141 3.32 +-1.026232476 3.1679247 3.33 +-1.341386461 3.058804074 3.34 +-1.644966325 2.918319001 3.35 +-1.933849607 2.747694615 3.36 +-2.20504331 2.54846699 3.37 +-2.455714874 2.322469474 3.38 +-2.683221699 2.071815946 3.39 +-2.885138934 1.798881133 3.4 +-3.059285218 1.506278181 3.41 +-3.20374611 1.196833682 3.42 +-3.316894967 0.873560402 3.43 +-3.397411023 0.539627967 3.44 +-3.444294485 0.198331799 3.45 +-3.456878478 -0.1469394 3.46 +-3.43483769 -0.492737297 3.47 +-3.378193614 -0.835588361 3.48 +-3.28731632 -1.172028759 3.49 +-3.162922718 -1.498639343 3.5 +-3.006071298 -1.812080392 3.51 +-2.818153404 -2.109125741 3.52 +-2.600881081 -2.386695959 3.53 +-2.356271632 -2.641890232 3.54 +-2.086628988 -2.87201662 3.55 +-1.794522095 -3.074620375 3.56 +-1.482760493 -3.247510018 3.57 +-1.154367336 -3.38878091 3.58 +-0.812550102 -3.496836046 3.59 +-0.460669283 -3.570403872 3.6 +-0.102205355 -3.608552905 3.61 +0.259275643 -3.610702998 3.62 +0.620157584 -3.576633133 3.63 +0.976810431 -3.506485617 3.64 +1.325626741 -3.400766641 3.65 +1.663058156 -3.260343167 3.66 +1.985651485 -3.086436162 3.67 +2.29008402 -2.88061021 3.68 +2.573197734 -2.644759615 3.69 +2.832031992 -2.381091093 3.7 +3.063854455 -2.092103218 3.71 +3.266189837 -1.780562817 3.72 +3.436846227 -1.44947853 3.73 +3.573938691 -1.10207179 3.74 +3.675909903 -0.741745499 3.75 +3.741547577 -0.372050712 3.76 +3.769998513 0.003348351 3.77 +3.760779097 0.380710627 3.78 +3.713782121 0.756255483 3.79 +3.629279847 1.126200599 3.8 +3.507923259 1.486800057 3.81 +3.350737489 1.834382261 3.82 +3.159113448 2.165387315 3.83 +2.934795722 2.476403455 3.84 +2.679866843 2.764202182 3.85 +2.396728063 3.025771735 3.86 +2.088076823 3.258348536 3.87 +1.756881113 3.459446307 3.88 +1.406350979 3.626882535 3.89 +1.039907436 3.758802007 3.9 +0.661149102 3.853697168 3.91 +0.273816868 3.910425082 3.92 +-0.118243045 3.928220791 3.93 +-0.511117277 3.906706942 3.94 +-0.900864391 3.84589955 3.95 +-1.283554413 3.746209827 3.96 +-1.655308456 3.608442034 3.97 +-2.012338032 3.433787362 3.98 +-2.350983637 3.223813881 3.99 +-2.667752247 2.980452642 4 +-2.959353301 2.705980052 4.01 +-3.222732843 2.402996675 4.02 +-3.455105434 2.074402671 4.03 +-3.653983518 1.723370086 4.04 +-3.817203939 1.353312266 4.05 +-3.942951309 0.967850699 4.06 +-4.029777992 0.570779583 4.07 +-4.07662048 0.16602849 4.08 +-4.082811975 -0.242376519 4.09 +-4.048091038 -0.650352942 4.1 +-3.972606196 -1.053802642 4.11 +-3.856916442 -1.448653016 4.12 +-3.701987595 -1.830898098 4.13 +-3.509184555 -2.196639196 4.14 +-3.280259493 -2.542124635 4.15 +-3.017336083 -2.863788219 4.16 +-2.72288992 -3.158286004 4.17 +-2.399725299 -3.422531006 4.18 +-2.050948569 -3.653725491 4.19 +-1.679938323 -3.849390501 4.2 +-1.290312699 -4.007392312 4.21 +-0.885894119 -4.125965537 4.22 +-0.470671801 -4.203732634 4.23 +-0.048762417 -4.239719593 4.24 +0.375630722 -4.233367638 4.25 +0.798259537 -4.184540801 4.26 +1.214873707 -4.093529269 4.27 +1.62126341 -3.961048467 4.28 +2.01330186 -3.788233839 4.29 +2.386987197 -3.576631393 4.3 +2.738483325 -3.328184051 4.31 +3.064159261 -3.045213954 4.32 +3.360626604 -2.730400855 4.33 +3.62477473 -2.386756828 4.34 +3.853803362 -2.017597495 4.35 +4.04525215 -1.626510082 4.36 +4.197026978 -1.217318589 4.37 +4.307422697 -0.794046415 4.38 +4.375142047 -0.360876809 4.39 +4.399310558 0.07788847 4.4 +4.379487268 0.517871869 4.41 +4.315671117 0.954663717 4.42 +4.208302952 1.383866419 4.43 +4.058263085 1.801138732 4.44 +3.866864423 2.202239663 4.45 +3.635841208 2.583071565 4.46 +3.367333471 2.939721976 4.47 +3.06386733 3.268503784 4.48 +2.728331317 3.565993301 4.49 +2.36394895 3.82906586 4.5 +1.974247814 4.054928553 4.51 +1.563025447 4.241149779 4.52 +1.134312358 4.385685291 4.53 +0.692332536 4.486900451 4.54 +0.24146184 4.543588469 4.55 +-0.213815318 4.554984414 4.56 +-0.668950575 4.520774837 4.57 +-1.119377061 4.441102903 4.58 +-1.560555217 4.31656894 4.59 +-1.988018546 4.148226399 4.6 +-2.397418824 3.937573235 4.61 +-2.784570313 3.686538779 4.62 +-3.145492542 3.397466213 4.63 +-3.476451193 3.073090806 4.64 +-3.773996694 2.716514118 4.65 +-4.035000115 2.331174398 4.66 +-4.256685985 1.920813479 4.67 +-4.436661705 1.489440472 4.68 +-4.572943219 1.041292617 4.69 +-4.663976705 0.580793677 4.7 +-4.708656012 0.112510273 4.71 +-4.70633568 -0.358893394 4.72 +-4.656839377 -0.828702006 4.73 +-4.560463656 -1.292196286 4.74 +-4.417976967 -1.744700408 4.75 +-4.230613926 -2.181629163 4.76 +-4.000064865 -2.598534409 4.77 +-3.728460761 -2.991150339 4.78 +-3.418353667 -3.355437111 4.79 +-3.072692829 -3.687622374 4.8 +-2.694796711 -3.98424029 4.81 +-2.288321185 -4.242167624 4.82 +-1.857224208 -4.458656551 4.83 +-1.405727301 -4.631363812 4.84 +-0.938274232 -4.758375927 4.85 +-0.45948729 -4.838230196 4.86 +0.025878422 -4.869931243 4.87 +0.512982205 -4.852962936 4.88 +0.996946046 -4.787295539 4.89 +1.472903464 -4.673387999 4.9 +1.936048445 -4.512185326 4.91 +2.381683966 -4.305111089 4.92 +2.805269618 -4.054055053 4.93 +3.20246785 -3.761356094 4.94 +3.569188362 -3.429780523 4.95 +3.901630184 -3.062496025 4.96 +4.196321028 -2.663041462 4.97 +4.450153481 -2.235292821 4.98 +4.660417684 -1.78342564 4.99 +4.824830142 -1.311874269 5 diff --git a/info/visualtikz/Source/matrix.tex b/info/visualtikz/Source/matrix.tex new file mode 100644 index 0000000000..2d6df074b8 --- /dev/null +++ b/info/visualtikz/Source/matrix.tex @@ -0,0 +1,983 @@ + +\label{matrix} +\begin{center} +\RRR{20} +\end{center} + +\begin{tabular}{|c|c|} \hline +\begin{tikzpicture}[baseline=1cm] +\draw[help lines] (0,0) grid (4,2); +\node [matrix,fill=red!20,draw=blue,very thick] (my matrix) at (2,1) +{ +\draw (0,0) circle (4mm); & \node[rotate=45] {Hello}; \\ +\draw (0.2,0) circle (2mm); & \fill[red] (0,0) circle (3mm); \\ +}; +\end{tikzpicture} +& +\parbox{10cm}{ +\BS{node} [\RDD{matrix},fill=red!10,draw=blue,very thick] at (2,1) \\ +\{ \\ +\BS{draw} (0,0) circle (4mm); \& \BS{node} [rotate=45] {Hello}; \BS{}\BS{} \\ +\BS{draw} (0.2,0) circle (2mm); \& \BS{fill}[red] (0,0) circle (3mm); \BS{}\BS{} \\ +\}; \\ +} +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|} \hline +\begin{tikzpicture}[baseline=0pt] +\matrix [fill=red!20,draw=blue,very thick] +{ +\draw (0,0) circle (4mm); & \node[rotate=45] {Hello}; \\ +\draw (0.2,0) circle (2mm); & \fill[red] (0,0) circle (3mm); \\ +}; +\end{tikzpicture} +& +\parbox{10cm}{ +\BSS{matrix} [fill=red!10,draw=blue,very thick] \\ +\{ \\ +\BS{draw} (0,0) circle (4mm); \& \BS{node} [rotate=45] {Hello}; \BS{}\BS{} \\ +\BS{draw} (0.2,0) circle (2mm); \& \BS{fill}[red] (0,0) circle (3mm); \BS{}\BS{} \\ +\}; \\ +} +\\ \hline +\end{tabular} + + +\SbSbSSCT{Alignement des cellules}{Cell Pictures} + + +\begin{center} +\RRR{20-3} +\end{center} + +\begin{tabular}{|c|c|c|} \hline +\begin{tikzpicture} +[every node/.style={draw=black,font=\huge}] +\matrix [draw=red] +{ +\node {a}; \fill[blue] (0,0) circle (2pt); & +\node {X}; \fill[blue] (0,0) circle (2pt); & +\node {g}; \fill[blue] (0,0) circle (2pt); \\ +}; +\end{tikzpicture} +& +\begin{tikzpicture} +[every node/.style={draw=black,anchor=base,font=\huge}] +\matrix [draw=red] +{ +\node {a}; \fill[blue] (0,0) circle (2pt); & +\node {X}; \fill[blue] (0,0) circle (2pt); & +\node {g}; \fill[blue] (0,0) circle (2pt); \\ +}; +\end{tikzpicture} +& +\begin{tikzpicture}[every node/.style={draw=black}] +\matrix [draw=red,anchor=north,font=\huge] +{ +\node {a}; \fill[blue] (0,0) circle (2pt); & +\node {X}; \fill[blue] (0,0) circle (2pt); & +\node {g}; \fill[blue] (0,0) circle (2pt); \\ +}; +\end{tikzpicture} +\\ \hline + & anchor=base & anchor=north \\ \hline +\end{tabular} + +\bigskip +\begin{tabular}{|c|c|c|} \hline +\begin{tikzpicture} +[every node/.style={draw=black,font=\huge}] +\matrix [draw=red] +{ + +\node[left] {X}; \fill[blue] (0,0) circle (2pt); \\ +}; +\end{tikzpicture} +& +\begin{tikzpicture} +[every node/.style={draw=black,anchor=base,font=\huge}] +\matrix [draw=red] +{ +\node {a}; \fill[blue] (0,0) circle (2pt); ²\\ +\node[right] {X}; \fill[blue] (0,0) circle (2pt); \\ +\node {g}; \fill[blue] (0,0) circle (2pt); \\ +}; +\end{tikzpicture} +& +\begin{tikzpicture}[every node/.style={draw=black}] +\matrix [draw=red,anchor=north,font=\huge] +{ +\node {a}; \fill[blue] (0,0) circle (2pt); & +\node[right] {X}; \fill[blue] (0,0) circle (2pt); & +\node {g}; \fill[blue] (0,0) circle (2pt); \\ +}; +\end{tikzpicture} +\\ \hline + & anchor=base & anchor=north \\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|} \hline +\begin{tikzpicture}[baseline=0pt] +\matrix [draw=red,nodes=draw] +{ +\node[left] {A}; \fill[blue] (0,0) circle (2pt); \\ +\node {B}; \fill[blue] (0,0) circle (2pt); \\ +\node[right] {C}; \fill[blue] (0,0) circle (2pt); \\ +}; +\end{tikzpicture} +& +\parbox{12cm}{ +\BS{matrix} [draw=red,nodes=draw] +\AC{\\ +\BS{node}\rouge{[left]} {A}; \BS{fill}[blue] (0,0) circle (2pt); \BS{} \BS{} \\ +\BS{node} {B}; \BS{fill}[blue] (0,0) circle (2pt);\BS{} \BS{} \\ +\BS{node}\rouge{[right]} {C}; \BS{fill}[blue] (0,0) circle (2pt); \BS{} \BS{}\\ +}; \\ +} + +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|} \hline +\multicolumn{2}{|c|}{\BS{matrix} [draw,\RDD{column sep}=1cm,nodes=draw]} +\\ \hline +\begin{tikzpicture} +\matrix [draw,column sep=1cm,nodes=draw] +{ +\node(a) {123}; & \node (b) {1}; & \node {1}; \\ +\node {12}; & \node {12}; & \node {1}; \\ +\node(c) {1}; & \node (d) {123}; & \node {1}; \\ +}; +\draw [red,thick] (a.east) -- (a.east |- c) +(d.west) -- (d.west |- b); +\draw [<->,red,thick] (a.east) -- (d.west |- b) +node [above,midway] {1cm}; +\end{tikzpicture} +& +\begin{tikzpicture} +\matrix [draw,column sep={1cm,between origins},nodes=draw] +{ +\node(a) {123}; & \node (b) {1}; & \node {1}; \\ +\node {12}; & \node {12}; & \node {1}; \\ +\node {1}; & \node {123}; & \node {1}; \\ +}; +\draw [<->,red,thick] (a.center) -- (b.center) node [above,midway] {1cm}; +\end{tikzpicture} +\\ \hline \RDD{column sep}=1cm & column sep=\AC{1cm,\RDD{between origins} } +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|} \hline +\multicolumn{2}{|c|}{\BS{matrix} [draw,\RDD{row sep}=1cm,nodes=draw]} +\\ \hline +\begin{tikzpicture} +\matrix [draw,row sep=1cm,nodes=draw] +{ +\node (a) {123}; & \node {1}; & \node {1}; \\ +\node (b) {12}; & \node {12}; & \node {1}; \\ +\node {1}; & \node {123}; & \node {1}; \\ +}; +\draw [<->,red,thick] (a.south) -- (b.north) node [right,midway] {1cm}; +\end{tikzpicture} +& +\begin{tikzpicture} +\matrix [draw,row sep={1cm,between origins},nodes=draw] +{ +\node (a) {123}; & \node {1}; & \node {1}; \\ +\node (b) {12}; & \node {12}; & \node {1}; \\ +\node {1}; & \node {123}; & \node {1}; \\ +}; +\draw [<->,red,thick] (a.center) -- (b.center) node [right,midway] {1cm}; +\end{tikzpicture} +\\ \hline +\RDD{row sep}=1cm & row sep=\AC{1cm,\RDD{between origins} } +\\ \hline + + +\end{tabular} + + + + +\bigskip + +\begin{tabular}{|c|c|} \hline +\multicolumn{2}{|c|}{\BS{matrix} [ \rouge{row sep=5mm},draw,nodes=draw]} \\ +\multicolumn{2}{|c|}{ \{ \BS{node} \AC{1}; \& \BS{node} \AC{2}; \& \BS{node} \AC{3}; \BS{}\BS{} } \\ +\multicolumn{2}{|c|}{ \BS{node} \AC{4} ; \& \BS{node} \AC{5}; \& \BS{node} \AC{6}; \BS{}\BS{} \rouge{[1cm]} } \\ +\multicolumn{2}{|c|}{ \BS{node} \AC{7}; \& \BS{node}\AC{8}; \& \BS{node}\AC{9}; \BS{}\BS{} \} } +\\ \hline +\begin{tikzpicture} +\matrix [row sep=5mm,draw,nodes=draw] +{ +\node {1}; & \node {2};& \node {3}; \\ +\node(a) {4} ; & \node {5}; & \node {6};\\[1cm] +\node(b) {7}; &\node {8}; & \node {9}; \\ +}; +\draw [<->,red,thick] (a.center) -- (b.center) node [right,midway] {1,5cm}; +\end{tikzpicture} +& +\begin{tikzpicture} +\matrix [row sep=5mm,draw,nodes=draw] +{ +\node {1}; & \node {2};& \node {3}; \\ +\node(a) {4} ; & \node {5}; & \node {6};\\[10mm,between origins] +\node(b) {7}; &\node {8}; & \node {9}; \\ +}; +\draw [<->,red,thick] (a.center) -- (b.center) node [right,midway] {1,5cm}; +\end{tikzpicture} +\\ \hline +\rouge{[1cm]} & \rouge{[1cm,between origins]} +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|} \hline +\multicolumn{2}{|c|}{\BS{matrix} [ \rouge{column sep=5mm},draw,nodes=draw]} \\ +\multicolumn{2}{|c|}{ \{ \BS{node} \AC{1}; \& \BS{node} \AC{2}; \& \BS{node} \AC{3}; \BS{}\BS{} } \\ +\multicolumn{2}{|c|}{ \BS{node} \AC{4} ; \& \BS{node} \AC{5}; \& \rouge{[1cm]}\BS{node} \AC{6}; \BS{}\BS{} } \\ +\multicolumn{2}{|c|}{ \BS{node} \AC{7}; \& \BS{node}\AC{8}; \& \BS{node}\AC{9}; \BS{}\BS{} \} } +\\ \hline + +\begin{tikzpicture} +\matrix [draw,nodes=draw,column sep=5mm] +{ +\node {1}; & \node(a) {2}; &[1cm] \node(b) {3}; \\ +\node {4}; & \node{5}; & \node {6}; \\ +\node {7}; & \node{8}; & \node {9}; \\ +}; +\draw [<->,red,thick] (a.east) -- (b.west) node [above,midway] {15mm}; +\end{tikzpicture} +& +\begin{tikzpicture} +\matrix [draw,nodes=draw,column sep=5mm] +{ +\node {1}; &[2mm] \node(a){2}; &[1cm,between origins] \node(b){3}; \\ +\node {4}; & \node {5}; & \node {6}; \\ +\node {7}; & \node {8}; & \node {9}; \\ +}; +\draw [<->,red,thick] (a.center) -- (b.center) node [above,midway] {15mm}; +\end{tikzpicture} +\\ \hline +\rouge{[1cm]} +& +\rouge{[1cm,between origins]} +\\ \hline +\end{tabular} + + + + +\bigskip + +\begin{tikzpicture} +\matrix [draw,nodes=draw,column sep={1cm,between origins}] +{ +\node (a) {8}; & \node (b) {1}; &[between borders] \node (c) {6}; \\ +\node {3}; & \node {5}; & \node {7}; \\ +\node {4}; & \node {9}; & \node {2}; \\ +}; +\draw [<->,red,thick] (a.center) -- (b.center) node [above,midway] {10mm}; +\draw [<->,red,thick] (b.east) -- (c.west) node [above,midway] {1cm}; +\end{tikzpicture} + + + +\SbSbSSCT{Format des cellules}{Cell Styles and Options} + +\noindent + +\begin{tabular}{|c|} \hline +\BS{matrix} [nodes=draw,nodes=\AC{\rouge{fill}=blue!10\rouge{,minimum size}=1cm}] +\\ \hline +\begin{tikzpicture} +\matrix [nodes=draw,nodes={fill=blue!10,minimum size=1cm}] +{ +\node {1}; & \node{2}; & \node {3}; \\ +\node {4}; & \node{5}; & \node {6}; \\ +\node {7}; & \node{8}; & \node {9}; \\ +}; +\end{tikzpicture} +\\ \hline +\end{tabular} + + +\bigskip + + +\begin{tabular}{|c|c|c|} \hline +\multicolumn{3}{|c|}{\BS{matrix}[\rouge{row 2/.style}=\AC{red}]} + \\ \hline +\begin{tikzpicture} +\matrix[row 2/.style={red}] +{ +\node {8}; & \node{1}; & \node {6}; \\ +\node {3}; & \node{5}; & \node {7}; \\ +\node {4}; & \node{9}; & \node {2}; \\ +}; +\end{tikzpicture} +& +\begin{tikzpicture} +\matrix[column 2/.style={red}] +{ +\node {8}; & \node{1}; & \node {6}; \\ +\node {3}; & \node{5}; & \node {7}; \\ +\node {4}; & \node{9}; & \node {2}; \\ +}; +\end{tikzpicture} +& +\begin{tikzpicture} +\matrix[row 2 column 2/.style={red}] +{ +\node {8}; & \node{1}; & \node {6}; \\ +\node {3}; & \node{5}; & \node {7}; \\ +\node {4}; & \node{9}; & \node {2}; \\ +}; +\end{tikzpicture} +\\ \hline +row 2/.style=\AC{red} & column 2/.style=\AC{red} & row 2 column 2/.style=\AC{red}\\ +\hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|c|} \hline +\multicolumn{3}{|c|}{\BS{matrix}[column 1/.style=\AC{anchor=west}]} + \\ \hline +\begin{tikzpicture} +\matrix[column 1/.style={anchor=west}] +{ +\node {12345}; & \node {67890}; \\ +\node {123}; & \node{67}; \\ +\node {1}; & \node{6}; & \\ +}; +\end{tikzpicture} +& +\begin{tikzpicture} +\matrix[column 1/.style={anchor=east}] +{ +\node {12345}; & \node {67890}; \\ +\node {123}; & \node{67}; \\ +\node {1}; & \node{6}; & \\ +}; +\end{tikzpicture} +& +\begin{tikzpicture} +\matrix[column 1/.style={anchor=base}] +{ +\node {12345}; & \node {67890}; \\ +\node {123}; & \node{67}; \\ +\node {1}; & \node{6}; & \\ +}; +\end{tikzpicture} +\\ \hline +[\rouge{column 1/.style}={anchor=west}]& [\rouge{column 1/.style}={anchor=east}] & [\rouge{column 1/.style}={anchor=base}]\\ +\hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|c|c|} \hline +\multicolumn{4}{|c|}{\BS{matrix}[matrix of nodes,\RDD{every odd column}/.style={red}]} + \\ \hline +\begin{tikzpicture} +\matrix [matrix of nodes,every odd column/.style={red}] +{ +a & b & c & d \\ +e & f & g & h \\ +i & j & k & l \\ +}; +\end{tikzpicture} +& +\begin{tikzpicture} +\matrix [matrix of nodes,every even column/.style={red}] +{ +a & b & c & d \\ +e & f & g & h \\ +i & j & k & l \\ +}; +\end{tikzpicture} +& +\begin{tikzpicture} +\matrix [matrix of nodes,every odd row/.style={red}] +{ +a & b & c & d \\ +e & f & g & h \\ +i & j & k & l \\ +}; +\end{tikzpicture} +& +\begin{tikzpicture} +\matrix [matrix of nodes,every even row/.style={red}] +{ +a & b & c & d \\ +e & f & g & h \\ +i & j & k & l \\ +}; +\end{tikzpicture} +\\ +\hline +\RDD{every odd column} & \RDD{every even column} & \RDD{every odd row} & \RDD{every even row} \\ +\hline +\end{tabular} + + +\bigskip + + +\begin{tabular}{|c|} \hline +\BS{matrix} [draw,matrix of nodes,\rouge{execute at begin cell}=\AC{(}] +\\ \hline +\begin{tikzpicture} +\matrix [draw,matrix of nodes,execute at begin cell={(}] +{ +1 & 2 & \\ +4 & & 6 \\ + & & 9 \\ +}; +\end{tikzpicture} +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|} \hline +\BS{tikz} +[matrix of nodes/.style=\AC{ +execute at begin cell=\BS{node}\BS{bgroup} , \\ +\rouge{execute at end cell}=\$m\wedge 2\$\BS{egroup}; +}] \\ +\BS{matrix} [draw,matrix of nodes +] +\\ \hline +\tikz +[matrix of nodes/.style={ +execute at begin cell=\node\bgroup , +execute at end cell=$m^2$\egroup; +}] +\matrix [draw,matrix of nodes +] +{1 & 2 & \\ +4 & & 6 \\ + & 8 & 9 \\ +}; +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|} \hline + + \BS{matrix} [raw,matrix of nodes, \rouge {execute at empty cell}=\BS{node}\AC{- -}; ] +\\ \hline + +\begin{tikzpicture} +\matrix [draw,matrix of nodes,execute at empty cell=\node{--};] +{ +1 & 2 & \\ +4 & & 6 \\ +& & 9 \\ +}; +\end{tikzpicture} +\\ \hline +\end{tabular} + + +\newpage +\SbSbSSCT{Points d'ancrage}{Anchoring a Matrix} + +\begin{center} +\RRR{20-4} +\end{center} + +\begin{tabular}{|c|c|c|} \hline +\multicolumn{3}{|c|}{ +\BS{matrix} [draw=red,nodes=draw,\RDD{matrix anchor}=east](XXX) at (1,1) } +\\ \hline +\begin{tikzpicture} +\draw[help lines] (0,0) grid (3,3); +\matrix [draw=red,nodes=draw,matrix anchor=west](XXX) at (1,1) +{ +\node {123}; \\ +\node {12}; \\ +\node {1}; \\ +}; +\fill[red](XXX.west) circle (3pt); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw[help lines] (0,0) grid (3,3); +\matrix [draw=red,nodes=draw,matrix anchor=east](XXX) at (1,1) +{ +\node {123}; \\ +\node {12}; \\ +\node {1}; \\ +}; +\fill[red] (XXX.east) circle (3pt); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw[help lines] (0,0) grid (3,3); +\matrix [draw=red,nodes=draw,matrix anchor=south](XXX) at (1,1) +{ +\node {123}; \\ +\node {12}; \\ +\node {1}; \\ +}; +\fill[red](XXX.south) circle (3pt); +\end{tikzpicture} + +\\ \hline +matrix anchor=west & matrix anchor=east & matrix anchor=south +\\ \hline +\end{tabular} + +\bigskip +\begin{tabular}{|c|c|c|c|} \hline +\multicolumn{2}{|c|}{\BS{matrix} [draw=red,nodes=draw,\rouge{anchor=west}] } +\\ \hline +\begin{tikzpicture} +\matrix [draw=red,nodes=draw,anchor=west] +{ +\node {123}; & \node {abc}; \\ +\node {12}; & \node {ab}; \\ +\node {1}; & \node {a}; \\ +}; +\end{tikzpicture} +& +\begin{tikzpicture} +\matrix [draw=red,nodes=draw,anchor=east] +{ +\node {123};& \node {abc}; \\ +\node {12}; &\node {ab};\\ +\node {1}; & \node {a}; \\ +}; +\end{tikzpicture} + +\\ \hline +anchor=west & anchor=east \\ +\hline +\end{tabular} + +\bigskip + + +\begin{tabular}{|c|c|}\hline +\begin{tikzpicture}[baseline=1cm] +\draw[help lines] (0,0) grid (4,3); +\matrix[draw=red,nodes=draw ,matrix anchor=inner node.south,anchor=base, row sep=5mm, column sep=5mm] at (2,1) +{ +\node {a}; & \node {b}; & \node {c}; & \node {d}; \\ +\node {a}; & \node {b}; & \node(inner node){c}; & \node {d}; \\ +\node {a}; & \node {b}; & \node {c}; & \node {d}; \\ +}; +\fill[red] (inner node.south) circle (3pt); +\end{tikzpicture} +& +\parbox{10.5cm}{ +\BS{matrix}[draw=red,nodes=draw, \\ +\RDD{ matrix anchor}=\blll{inner node}.south, anchor=base, \\ + row sep=5mm,column sep=5mm] at (2,1) \\ +\{ \\ +\BS{node} \AC{a}; \& \BS{node} \AC{b}; \& \BS{node} \AC{c}; \& \BS{node} \AC{d}; \BS{}\BS{} \\ +\BS{node} \AC{a}; \& \BS{node} \AC{b}; \& \BS{node}(\blll{inner node})\AC{c}; \& \BS{node} \AC{d}; \BS{}\BS{} \\ +\BS{node}\AC{a}; \& \BS{node} \AC{b}; \& \BS{node}\AC{c}; \& \BS{node} \AC{d}; \BS{}\BS{} \\ +\}; +} +\\ \hline +\end{tabular} + + +\SbSbSSCT{Changement du séparateur}{Considerations Concerning Active Characters} + +\begin{center} +\RRR{20-5} +\end{center} + +\begin{tabular}{|c|c|} \hline +\tikz[baseline=0pt] +\matrix [ampersand replacement=\|] +{ +\draw (0,0) circle (4mm); \| \node[rotate=10] {Hello}; \\ +\draw (0.2,0) circle (2mm); \| \fill[red] (0,0) circle (3mm); \\ +}; +& +\parbox{12cm}{ +\BS{tikz} +\BS{matrix} [\RDD{ampersand replacement}=\blll{\BS{|}} ] \\ +\{ \\ +\BS{draw} (0,0) circle (4mm); \blll{\BS{|} } \BS{node}[rotate=10] \AC{Hello}; \BS{}\BS{} \\ +\BS{draw} (0.2,0) circle (2mm); \blll{\BS{|} } \BS{fill}[red] (0,0) circle (3mm); \BS{}\BS{} \\ +\}; \\ +} +\\ \hline +\end{tabular} + + +\SbSSCT{Matrice de n\oe uds (compléments) }{Matrix Library} + + \maboite{\BS{usetikzlibrary}\AC{matrix}} +\label{lib-matrix} + + +\begin{center} +\RRR{57-1} +\end{center} + +\begin{tabular}{|c|c|} \hline +\begin{tikzpicture}[baseline=0pt] +\matrix (XXX) [matrix of nodes] +{ +1 & 2 & 3 \\ +4 & 5 & 6 \\ +7 & 8 & 9 \\ +}; +\end{tikzpicture} +& +\parbox{10cm}{ +\BS{begin}\AC{tikzpicture} \\ +\BSS{matrix} [matrix of nodes]\\ +\{ \\ +1 \hspace{3mm} \& \hspace{3mm} 2 \hspace{3mm} \& \hspace{3mm} 3 \hspace{3mm} \BS{}\BS{} \\ +4 \hspace{3mm} \& \hspace{3mm} 5 \hspace{3mm} \& \hspace{3mm} 6 \hspace{3mm} \BS{}\BS{} \\ +7 \hspace{3mm} \& \hspace{3mm} 8 \hspace{3mm} \& \hspace{3mm} 9 \hspace{3mm} \BS{}\BS{} \\ +\}; \\ +\BS{end}\AC{tikzpicture} +} +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|} \hline +\begin{tikzpicture}[baseline=0pt] +\matrix (XXX) [matrix of nodes,column sep=.5cm,row sep=.5cm,every node/.style=draw] +{ +1 & 2 & 3 \\ +4 & 5 & 6 \\ +7 & 8 & 9 \\ +}; +\draw[thick,red,->] (XXX-1-1) -- (XXX-2-3); +\end{tikzpicture} +& +\parbox{10cm}{ +\BS{begin}\AC{tikzpicture} \\ +\BSS{matrix} \blll{(XXX)} [matrix of nodes,column sep=.5cm,row sep=.5cm,every node/.style=draw]\\ +\{ \\ +1 \hspace{3mm} \& \hspace{3mm} 2 \hspace{3mm} \& \hspace{3mm} 3 \hspace{3mm} \BS{}\BS{} \\ +4 \hspace{3mm} \& \hspace{3mm} 5 \hspace{3mm} \& \hspace{3mm} 6 \hspace{3mm} \BS{}\BS{} \\ +7 \hspace{3mm} \& \hspace{3mm} 8 \hspace{3mm} \& \hspace{3mm} 9 \hspace{3mm} \BS{}\BS{} \\ +\}; \\ +\BS{draw}[thick,red,->] \blll{(XXX-1-1)} - - \blll{(XXX-2-3)} ; \\ +\BS{end}\AC{tikzpicture} +} +\\ \hline +\end{tabular} + +\bigskip + + +\begin{tabular}{|c|c|} \hline +\begin{tikzpicture} +\matrix [matrix of nodes,column sep=.5cm,row sep=.5cm,every node/.style=draw] +{ +8 & 1 & 6 \\ +3 & 5 & |[red]| 7 \\ +4 & 9 & 2 \\ +}; +\end{tikzpicture} +& +\begin{tikzpicture} +\matrix [matrix of nodes] +{ +1 & \& & 2 & \& & 3 & \BS{}\BS{} \\ +4 & \& & 5 & \& & \rouge{ $|[$red$]|$} 6 & \BS{}\BS{} \\ +7 & \& & 8 & \& & 9 & \BS{}\BS{} \\ +}; +\end{tikzpicture} +\\ \hline +\end{tabular} + + +\bigskip + +\begin{tabular}{|c|c|} \hline +\begin{tikzpicture}[baseline=-1cm] +\matrix [matrix of nodes,column sep=.5cm,row sep=.5cm,every node/.style=draw] +{ +AAA & |[circle]| BBB \\ +CCC & |(d) [isosceles triangle]| DDD \\ +| [ellipse]| EEE & FFF \\ +}; +\end{tikzpicture} +& +\begin{tikzpicture} +\matrix [matrix of nodes] +{ +AAA & \& & \rouge{ $|[$circle$]|$} BBB & \BS{}\BS{} \\ +CCC & \& &\rouge{ $|[$isosceles triangle$]|$} DDD & \BS{}\BS{} \\ +\rouge{ $|[$ellipse$]|$} EEE & \& & FFF & \BS{}\BS{} \\ +}; +\end{tikzpicture} +\\ \hline +\end{tabular} + + +\bigskip + +\begin{tabular}{|c|c|} \hline +\begin{tikzpicture}[baseline=-2cm] +\matrix [matrix of nodes,column sep=.5cm,row sep=.5cm,every node/.style=draw] +{ +|(a)| AAA & |(b)| BBB \\ +|(c)| CCC & |(d)| DDD \\ +|(e)| EEE & |(f)| FFF \\ +}; +\draw (a) -- (d); +\draw (d) -- (f); +\end{tikzpicture} +& +\begin{tikzpicture} +\node at (0,1.5) [text width=10cm] +{\BS{matrix} [matrix of nodes,column sep=.5cm,row sep=.5cm,every node/.style=draw] \\ +\{ +}; +\matrix [matrix of nodes] +{ +\rouge{ $|$(a)$|$} AAA & \& & \rouge{ $|$(b)$|$} BBB & \BS{}\BS{} \\ +\rouge{ $|$(c)$|$} CCC & \& & \rouge{ $|$(d)$|$} DDD & \BS{}\BS{} \\ +\rouge{ $|$(e)$|$} EEE & \& & \rouge{ $|$(f)$|$} FFF & \BS{}\BS{} \\ +}; + +\node at (0,-1.2) [text width=10cm] +{ \}; \\ +\BS{draw} (a) - - (d); \\ \BS{draw} (d) - - (f); +}; +\end{tikzpicture} +\\ \hline +\end{tabular} + +\bigskip + + +\begin{tabular}{|c|c|} \hline +\begin{tikzpicture} +\matrix [matrix of nodes] +{ +1 &[1cm] 2 &[5mm] |[red]| 3 \\ +4 & 5 & 6 \\ +7 & 8 & 9 \\ +}; +\end{tikzpicture} +& +\begin{tikzpicture} +\matrix [matrix of nodes] +{ +1 & \& & \rouge{\lbrack 1cm \rbrack} 2 & \& &\rouge{\lbrack 5mm \rbrack} |[red]| 3 & \BS{}\BS{} \\ +4 & \& & 5 & \& & 6 & \BS{}\BS{} \\ +7 & \& & 8 & \& & 9 & \BS{}\BS{} \\ +}; +\end{tikzpicture} + +\\ \hline +\end{tabular} + + + +\bigskip + +\begin{tabular}{|c|c|} \hline +\begin{tikzpicture}[baseline=0pt] +\matrix [matrix of math nodes] +{ +A_1 & A_2 & A_3 \\ +a_4 & a_5 & a_6 \\ +a^7 & a^8 & a^9 \\ +}; +\end{tikzpicture} +& +\parbox{8cm}{ +\BSS{matrix} [\rouge{ matrix of math nodes}]\\ +\{ \\ +A\_1 \hspace{2mm} \& \hspace{2mm} A\_2 \hspace{2mm} \& \hspace{2mm} A\_3 \hspace{2mm} \BS{}\BS{} \\ +a\_4 \hspace{2mm} \& \hspace{2mm} a\_5 \hspace{2mm} \& \hspace{2mm} a\_6 \hspace{2mm} \BS{}\BS{} \\ +a\land 7 \hspace{2mm} \& \hspace{2mm} a\land 8 \hspace{2mm} \& \hspace{2mm} a\land 9 \hspace{2mm} \BS{}\BS{} \\ +\}; +} +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|} \hline +\begin{tikzpicture}[baseline=0pt] +\matrix [matrix of math nodes,nodes={circle,draw}] +{ +a_1 & & a_3 \\ +a_4 & & a_6 \\ +a_7 & a_8 & \\ +}; +\end{tikzpicture} +& +\parbox{10cm}{ +\BSS{matrix} [matrix of math nodes,\rouge{nodes={circle,draw}}]\\ +\{ \\ +A\_1 \hspace{2mm} \& \hspace{12mm} \& \hspace{2mm} A\_3 \hspace{2mm} \BS{}\BS{} \\ +a\_4 \hspace{2mm} \& \hspace{12mm} \& \hspace{2mm} a\_6 \hspace{2mm} \BS{}\BS{} \\ +a\_ 7 \hspace{2mm} \& \hspace{2mm} a\_ 8 \hspace{2mm} \& \hspace{12mm} \BS{}\BS{} \\ +\}; +} +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|} \hline +\begin{tikzpicture}[baseline=0pt] +\matrix [matrix of math nodes,nodes={circle,draw},nodes in empty cells] +{ +a_1 & & a_3 \\ +a_4 & & a_6 \\ +a_7 & a_8 & \\ +}; +\end{tikzpicture} +& +\parbox{10cm}{ +\BSS{matrix} [matrix of math nodes,nodes={circle,draw} ,\rouge{nodes in empty cells}]\\ +\{ \\ +A\_1 \hspace{2mm} \& \hspace{12mm} \& \hspace{2mm} A\_3 \hspace{2mm} \BS{}\BS{} \\ +a\_4 \hspace{2mm} \& \hspace{12mm} \& \hspace{2mm} a\_6 \hspace{2mm} \BS{}\BS{} \\ +a\_ 7 \hspace{2mm} \& \hspace{2mm} a\_ 8 \hspace{2mm} \& \hspace{12mm} \BS{}\BS{} \\ +\}; +} +\\ \hline +\end{tabular} + +\SbSbSSCT{Texte dans les n\oe uds}{Characters in Matrices of Nodes} + +\begin{center} +\RRR{57-2} +\end{center} + + +\begin{tabular}{|c|c|} \hline +\begin{tikzpicture}[baseline=0pt] +\matrix [matrix of nodes,nodes={text width=2cm,draw}] +{ +aaa & bbb \\ +ccc \\ +eee & fff\\ +}; +\end{tikzpicture} +& +\parbox{10cm}{ +\BSS{matrix} [matrix of nodes,\rouge{nodes=\AC{text width=2cm,draw}} ]\\ +\{ \\ +aaa \& bbb \BS{}\BS{} \\ +ccc \BS{}\BS{} \\ +eee \& fff \BS{}\BS{} \\ +\}; +} +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|} \hline +\begin{tikzpicture}[baseline=0cm] +\matrix [matrix of nodes,nodes={text width=2cm,draw}] +{ +1 & {aaa \\ bbb \\ ccc } \\ +2 & ddd \\ +}; +\end{tikzpicture} +& +\parbox{10cm}{ +\BSS{matrix} [matrix of nodes,nodes=\AC{text width=2cm,draw} ]\\ +\{ \\ +1 \& \& \rouge { \AC{aaa \BS{}\BS{} bbb \BS{}\BS{} ccc } } \BS{}\BS{} \\ +2 \& \& ddd \BS{}\BS{} \\ +\}; +} +\\ \hline +\end{tabular} + +\bigskip + +\SbSbSSCT{Délimiteurs}{Delimiters} + + +\begin{center} +\RRR{57-3} +\end{center} + +\bigskip + +\begin{tabular}{|c|c|c|c|} \hline +\multicolumn{4}{|c|}{\BS{matrix} [matrix of math nodes,\RDD{left delimiter}=( ]} +\\ \hline +\begin{tikzpicture} +\matrix [matrix of math nodes,left delimiter=( ] +{ +a_1 & a_2 & a_3 \\ +a_4 & a_5 & a_6 \\ +a_7 & a_8 & a_9 \\ +}; +\end{tikzpicture} +& +\begin{tikzpicture} +\matrix [matrix of math nodes,right delimiter=\}] +{ +a_1 & a_2 & a_3 \\ +a_4 & a_5 & a_6 \\ +a_7 & a_8 & a_9 \\ +}; +\end{tikzpicture} +& +\begin{tikzpicture} +\matrix [matrix of math nodes,above delimiter=\| ] +{ +a_1 & a_2 & a_3 \\ +a_4 & a_5 & a_6 \\ +a_7 & a_8 & a_9 \\ +}; +\end{tikzpicture} +& +\begin{tikzpicture} +\matrix [matrix of math nodes,below delimiter=\rmoustache ] +{ +a_1 & a_2 & a_3 \\ +a_4 & a_5 & a_6 \\ +a_7 & a_8 & a_9 \\ +}; +\end{tikzpicture} + + +\\ \hline +\RDD{left delimiter}=( & \RDD{right delimiter}=\BS{\}} & \RDD{above delimiter}=\BS{|} & \RDD{below delimiter}=\BS{rmoustache} +\\ \hline +\end{tabular} + +\bigskip +\begin{tabular}{|c|} \hline +\BS{tikz} +\BS{node} [fill=red!20,text width=2cm,\rouge{left delimiter}=\BS{\{} ] \\ +\AC{Ceci est une démonstration d'un texte sur une largeur de 2cm.}; +\\ \hline +\tikz +\node [fill=red!20,text width=2cm,left delimiter=\{] +{Ceci est une démonstration d'un texte sur une largeur de 2cm.}; +\\ \hline +\end{tabular} + + diff --git a/info/visualtikz/Source/mesdata.dat b/info/visualtikz/Source/mesdata.dat new file mode 100644 index 0000000000..94eebdba62 --- /dev/null +++ b/info/visualtikz/Source/mesdata.dat @@ -0,0 +1,750 @@ +0 +0 +2 +0 +4 +0 +6 +0 +8 +0 +10 +0 +12 +0 +14 +0 +16 +0 +18 +0 +20 +0 +22 +0 +24 +0 +26 +0 +28 +0 +30 +0 +32 +8.65384615384615E-03 +34 +1.69748520710059E-02 +36 +2.49758192990442E-02 +38 +3.26690570183117E-02 +40 +4.00664009791459E-02 +42 +4.71792317107172E-02 +44 +5.40184920295358E-02 +46 +6.05947038745536E-02 +48 +6.69179844947631E-02 +50 +7.29980620141953E-02 +52 +7.88442903982647E-02 +54 +8.44656638444853E-02 +56 +8.98708306196974E-02 +58 +9.50681063650937E-02 +60 +.100065486889513 +62 +.104870660470686 +64 +.108742129150807 +66 +.111744608138862 +68 +.113939215771104 +70 +.115383654461015 +72 +.116132383050858 +74 +.116236780958551 +76 +.115745304496051 +78 +.114703635718597 +80 +.113154824148143 +82 +.111139421698909 +84 +.108695611118332 +86 +.105859328242623 +88 +.102664378352741 +90 +9.91425469037332E-02 +92 +.095323704888151 +94 +9.12359090824897E-02 +96 +8.69703052489587E-02 +98 +8.26089331889049E-02 +100 +7.82253882399092E-02 +102 +7.38854416715555E-02 +104 +6.96476223047869E-02 +106 +6.55637615562666E-02 +108 +6.16795039919442E-02 +110 +.05803478536276 +112 +5.46642799898338E-02 +114 +5.15978192662807E-02 +116 +.048860782947722 +118 +4.64744648133518E-02 +120 +4.44564141938511E-02 +122 +4.28207547812645E-02 +124 +4.15784820589721E-02 +126 +4.07377406168731E-02 +128 +4.02984741773719E-02 +130 +4.02535290292024E-02 +132 +4.05896577765486E-02 +134 +4.12884307943352E-02 +136 +4.23270622951004E-02 +138 +4.36791574567658E-02 +140 +4.53153866322027E-02 +142 +4.72040922591868E-02 +144 +4.93118337116363E-02 +146 +5.16038749785298E-02 +148 +5.40446197242643E-02 +150 +5.65979979721756E-02 +152 +5.92278083603164E-02 +154 +6.18980196442332E-02 +156 +6.45730348643517E-02 +158 +6.72179213546472E-02 +160 +6.97990948833497E-02 +162 +7.22848819910784E-02 +164 +7.46459738376817E-02 +166 +7.68557837174919E-02 +168 +7.88907193374354E-02 +170 +8.07303799676217E-02 +172 +8.23576876641571E-02 +174 +8.37589609238753E-02 +176 +8.49239383556039E-02 +178 +8.58457592380156E-02 +180 +8.65209071757998E-02 +182 +8.69491224599077E-02 +184 +8.71332881802685E-02 +186 +8.70792946271995E-02 +188 +8.67958860475075E-02 +190 +8.62944933899897E-02 +192 +8.55890142793156E-02 +194 +8.46955527885755E-02 +196 +8.36321299453694E-02 +198 +8.24183744334569E-02 +200 +8.10752016279689E-02 +202 +7.96244879143106E-02 +204 +7.80887461774389E-02 +206 +7.64908073983558E-02 +208 +7.48535124484149E-02 +210 +7.31994174201861E-02 +212 +7.15505151676578E-02 +214 +6.99279751406405E-02 +216 +6.83519030811695E-02 +218 +6.68411216968477E-02 +220 +6.54129730313192E-02 +222 +6.40831429098271E-02 +224 +6.28655111775853E-02 +226 +6.17720302178976E-02 +228 +6.08126331950138E-02 +230 +5.99951725923102E-02 +232 +5.93253888901856E-02 +234 +5.88069086325939E-02 +236 +5.84412706506004E-02 +238 +5.82279788314888E-02 +240 +5.81645795299341E-02 +242 +5.82467615020359E-02 +244 +.058468476093218 +246 +5.88220753178465E-02 +248 +5.92984654235974E-02 +250 +5.98872735296933E-02 +252 +6.05770249585333E-02 +254 +6.13553289390854E-02 +256 +6.22090701279834E-02 +258 +6.31246032772814E-02 +260 +6.40879483555098E-02 +262 +6.50849834828864E-02 +264 +6.61016331565093E-02 +266 +6.71240494034383E-02 +268 +6.81387836970041E-02 +270 +6.91329476943944E-02 +272 +.070094361092981 +274 +7.10116851517287E-02 +276 +7.18745406762876E-02 +278 +7.26736095170013E-02 +280 +7.34007188739207E-02 +282 +7.40489079387003E-02 +284 +7.46124766273388E-02 +286 +7.50870163680972E-02 +288 +7.54694231313256E-02 +290 +7.57578931118945E-02 +292 +7.59519016922103E-02 +294 +7.60521665180293E-02 +296 +7.60605957057149E-02 +298 +7.59802223648129E-02 +300 +7.58151267616178E-02 +302 +7.55703475664638E-02 +304 +7.52517837193226E-02 +306 +7.48660885150644E-02 +308 +.074420557552114 +310 +7.39230122072922E-02 +312 +7.33816802967686E-02 +314 +7.28050755598899E-02 +316 +7.22018775609898E-02 +318 +7.15808135460203E-02 +320 +7.09505437155779E-02 +322 +7.03195512841417E-02 +324 +6.96960385883104E-02 +326 +6.90878303862382E-02 +328 +6.85022853583883E-02 +330 +6.79462166784184E-02 +332 +6.74258223748777E-02 +334 +6.69466260518231E-02 +336 +6.65134283818116E-02 +338 +6.61302696302459E-02 +340 +.065800403317842 +342 +6.55262809799862E-02 +344 +6.53095478396895E-02 +346 +6.51510490762494E-02 +348 +6.50508462459234E-02 +350 +6.50082432949823E-02 +352 +6.50218215005579E-02 +354 +6.50894825817165E-02 +356 +6.52084991430467E-02 +358 +6.53755715464282E-02 +360 +6.55868902540127E-02 +362 +6.58382026470722E-02 +364 +6.61248833012819E-02 +366 +6.64420066890556E-02 +368 +6.67844212833582E-02 +370 +6.71468240544578E-02 +372 +6.75238343806269E-02 +374 +6.79100664350271E-02 +376 +6.83001991629375E-02 +378 +6.86890430250722E-02 +380 +.069071602752826 +382 +6.94431354387285E-02 +384 +6.97992033689214E-02 +386 +7.01357210928528E-02 +388 +7.04489963172872E-02 +390 +7.07357643058737E-02 +392 +.070993215560589 +394 +7.12190166561082E-02 +396 +7.14113241913392E-02 +398 +7.15687919128118E-02 +400 +7.16905711512592E-02 +402 +.071776304794575 +404 +7.18261150964601E-02 +406 +7.18405856897189E-02 +408 +7.18207382356294E-02 +410 +7.17680041955508E-02 +412 +7.16841922574966E-02 +414 +7.15714519884722E-02 +416 +7.14322343127589E-02 +418 +7.12692494369251E-02 +420 +7.10854228542012E-02 +422 +7.08838500641083E-02 +424 +7.06677506381301E-02 +426 +7.04404222491157E-02 +428 +7.02051952614377E-02 +430 +6.99653884512352E-02 +432 +6.97242663919441E-02 +434 +6.94849990004157E-02 +436 +6.92506236939753E-02 +438 +6.90240105595198E-02 +440 +6.88078308829934E-02 +442 +6.86045293321095E-02 +444 +6.84163000278219E-02 +446 +6.82450666815956E-02 +448 +6.80924669167763E-02 +450 +6.79598408340894E-02 +452 +6.78482238242416E-02 +454 +6.77583435754537E-02 +456 +.067690621171175 +458 +6.76451761238025E-02 +460 +6.76218351444934E-02 +462 +6.76201444075791E-02 +464 +6.76393850310616E-02 +466 +6.76785914625233E-02 +468 +6.77365724327553E-02 +470 +6.78119341176909E-02 +472 +6.79031051329053E-02 +474 +6.80083629740533E-02 +476 +6.81258615111051E-02 +478 +6.82536591440014E-02 +480 +6.83897472322034E-02 +482 +6.85320784203225E-02 +484 +6.86785944962892E-02 +486 +6.88272534370176E-02 +488 +6.89760553188576E-02 +490 +6.91230667958801E-02 +492 +6.92664438777651E-02 +494 +6.94044527702721E-02 +496 +6.95354885744967E-02 +498 +6.96580916758362E-02 +500 +6.97709616893156E-02 +502 +6.98729688641571E-02 +504 +6.99631628867266E-02 +506 +7.00407790567902E-02 +508 +7.01052418469141E-02 +510 +7.01561658884173E-02 +512 +7.01933544591529E-02 +514 +.070216795578196 +516 +7.02266558399327E-02 +518 +7.02232721448088E-02 +520 +7.02071415058765E-02 +522 +.070178909129084 +524 +7.01393549808511E-02 +526 +7.00893790687755E-02 +528 +7.00299856702604E-02 +530 +6.99622667494569E-02 +532 +6.98873848052101E-02 +534 +6.98065553917653E-02 +536 +6.97210295499615E-02 +538 +6.96320763796638E-02 +540 +.069540965974463 +542 +6.94489529274091E-02 +544 +6.93572606020051E-02 +546 +6.92670663461226E-02 +548 +6.91794878082006E-02 +550 +6.90955704953537E-02 +552 +6.90162766921392E-02 +554 +6.89424758370401E-02 +556 +6.88749364315033E-02 +558 +6.88143195339553E-02 +560 +6.87611738688768E-02 +562 +6.87159325590632E-02 +564 +6.86789114678791E-02 +566 +6.86503091179041E-02 +568 +6.86302081330842E-02 +570 +6.86185781335716E-02 +572 +6.86152799960287E-02 +574 +6.86200713774634E-02 +576 +.068632613387772 +578 +6.86524782852125E-02 +580 +6.86791580600716E-02 +582 +.068712073764894 +584 +6.87505854448091E-02 +586 +6.87940025187264E-02 +588 +6.88415944614338E-02 +590 +6.88926016378633E-02 +592 +.068946246143908 +594 +6.90017425130696E-02 +596 +6.90583081547697E-02 +598 +6.91151733982292E-02 +600 +6.91715910252419E-02 +602 +6.92268451857889E-02 +604 +6.92802596020638E-02 +606 +6.93312049789347E-02 +608 +6.93791055519569E-02 +610 +6.94234447175844E-02 +612 +6.94637697040173E-02 +614 +6.94996952549777E-02 +616 +.069530906312447 +618 +6.95571596978478E-02 +620 +6.95782848041526E-02 +622 +6.95941833237932E-02 +624 +.069604828048886 +626 +6.96102607910671E-02 +628 +6.96105894780171E-02 +630 +6.96059844924774E-02 +632 +6.95966743271208E-02 +634 +6.95829406349998E-02 +636 +6.95651127603981E-02 +638 +6.95435618387442E-02 +640 +6.95186945567963E-02 +642 +6.94909466655901E-02 +644 +6.94607763386813E-02 +646 +6.94286574670512E-02 +648 +6.93950729797413E-02 +650 +6.93605082758991E-02 +652 +6.93254448495436E-02 +654 +.069290354183079 +656 +6.92556919794993E-02 +658 +6.92218927964455E-02 +660 +6.91893651379076E-02 +662 +6.91584870515237E-02 +664 +6.91296022712335E-02 +666 +6.91030169366188E-02 +668 +6.90789969117144E-02 +670 +6.90577657175263E-02 +672 +6.90395030840526E-02 +674 +6.90243441193745E-02 +676 +6.90123790854742E-02 +678 +6.90036537629227E-02 +680 +6.89981703795634E-02 +682 +6.89958890718582E-02 +684 +6.89967298417301E-02 +686 +6.90005749665894E-02 +688 +6.90072718158024E-02 +690 +6.90166360231945E-02 +692 +6.90284549622911E-02 +694 +6.90424914688981E-02 +696 +6.90584877543145E-02 +698 +6.90761694519412E-02 +700 +6.90952497402759E-02 +702 +6.91154334862485E-02 +704 +6.91364213545037E-02 +706 +6.91579138305384E-02 +708 +6.91796151085055E-02 +710 +6.92012367979255E-02 +712 +6.92225014074661E-02 +714 +6.92431455682682E-02 +716 +6.92629229639543E-02 +718 +6.92816069393858E-02 +720 +6.92989927653496E-02 +722 +6.93148995415982E-02 +724 +6.93291717259538E-02 +726 +6.93416802824548E-02 +728 +6.93523234466986E-02 +730 +6.93610271115614E-02 +732 +6.93677448412852E-02 +734 +6.93724575264642E-02 +736 +6.93751726966913E-02 +738 +6.93759235114835E-02 +740 +.069374767453575 +742 +6.93717847516939E-02 +744 +6.93670765625211E-02 +746 +6.93607629436317E-02 +748 +6.93529806508421E-02 diff --git a/info/visualtikz/Source/symbol.tex b/info/visualtikz/Source/symbol.tex new file mode 100644 index 0000000000..bf36fa9d28 --- /dev/null +++ b/info/visualtikz/Source/symbol.tex @@ -0,0 +1,178 @@ + + + + +\begin{tabular}{|c|c|c|c|c|c|c|}\hline +& \pot[5] & \fryingpan[5] & \eggbeater[5] & \sieve[5] \\ \hline +\DGE & \BSS{Kochtopf}[5]& \BSS{Bratpfanne}[5] & \BSS{Schneebesen}[5] & \BSS{Sieb}[5] \\ \hline +\DGB & \BSS{pot}[5]& \BSS{fryingpan}[5] & \BSS{eggbeater}[5] & \BSS{sieve}[5] \\ \hline \hline + + +& \blender[5] & \trident[5] & \bakingplate[5] & \oven[5] \\ \hline +\DGE & \BSS{Purierstab}[5] & \BSS{Dreizack}[5] & \BSS{Backblech}[5] & \BSS{Ofen}[5] \\ \hline \hline +\DGB & \BSS{blender}[5] & \BSS{trident}[5] & \BSS{bakingplate}[5] & \BSS{oven}[5] \\ \hline \hline + + +& \pan[5] & \cooker[5] & \squeezer[5] & \bowl[5] \\ \hline +\DGE & \BSS{Pfanne}[5] & \BSS{Herd}[5] & \BSS{Saftpresse}[5] & \BSS{Schussel}[5] \\ \hline +\DGB & \BSS{pan}[5] & \BSS{cooker}[5] & \BSS{squeezer}[5] & \BSS{bowl}[5] \\ \hline + & \peeler[5] & \grater[5] & \bottle[5] & \rollingpin[5]\\ \hline +\DGE & \BSS{Schaler}[5] & \BSS{Reibe}[5] &\BSS{Flasche}[5] & \BSS{Nudelholz}[5] \\ \hline +\DGB & \BSS{peeler}[5] & \BSS{grater}[5] & \BSS{bottle}[5] & \BSS{rollingpin}[5] \\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|c|c|c|c|} \hline + +\Smiley[5] & \Sadey[5] & \Neutrey[5] & \Changey[5]{0} & \cChangey[5]{0} \\ \hline +\BSS{Smiley}[5] & \BSS{Sadey}[5] & \BSS{Neutrey}[5] & \BSS{Changey}[5]\AC{0} & \BSS{cChangey}[5]\AC{0} \\ \hline + +\Annoey[5] & \Laughey[5] & \Winkey[5] & \oldWinkey[5] & \Sey[5] \\ \hline +\BSS{Annoey}[5] & \BSS{Laughey}[5] & \BSS{Winkey[}5] & \BSS{oldWinkey}[5] & \BSS{Sey}[5] \\ \hline + +\Xey[5] & \Innocey[5] & \wInnocey[5] & \Cooley[5] & \Tongey[5] \\ \hline +\BSS{Xey}[5] & \BSS{Innocey}[5] & \BSS{wInnocey}[5] & \BSS{Cooley}[5] & \BSS{Tongey}[5] \\ \hline + +\Nursey[5] &\Vomey[5] & \Walley[5] & \rWalley[5] & \Cat[5] \\ \hline +\BSS{Nursey}[5] &\BSS{Vomey}[5] & \BSS{Walley}[5] \BSS{rWalley}[5] & \BSS{Cat}[5] \\ \hline + +\multicolumn{2}{|c|}{\SchrodingersCat[5]{0} } & \Ninja[5] & \Sleepey[5] & \NiceReapey[5] \\ \hline +\multicolumn{2}{|c|}{ \BSS{SchrodingersCat}[5]\AC{0} } & \BSS{Ninja}[5] & \BSS{Sleepey}[5] & \BSS{NiceReapey}[5] \\ \hline + +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|c|c|c|} \hline +\Changey[5]{-2} & \Changey[5]{-1} & \Changey[5]{0} & \Changey[5]{1} & \Changey[5]{2} \\ \hline +\BSS{Changey}[5]\rouge{\AC{-2}} & \BSS{Changey}[5]\rouge{\AC{-1}} & \BSS{Changey}[5]\rouge{\AC{0}} & \BSS{Changey}[5]\rouge{\AC{1}} & \BSS{Changey}[5]\rouge{\AC{2}} \\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|c|c|c|} \hline +\cChangey[5]{-2} & \cChangey[5]{-1} & \cChangey[5]{0} & \cChangey[5]{1} & \cChangey[5]{2} \\ \hline +\BSS{cChangey}[5]\rouge{\AC{-2}} & \BSS{cChangey}[5]\rouge{\AC{-1}} & \BSS{cChangey}[5]\rouge{\AC{0}} & \BSS{cChangey}[5]\rouge{\AC{1}} & \BSS{cChangey}[5]\rouge{\AC{2}} \\ \hline +\end{tabular} + +\bigskip +\begin{tabular}{|c|c|c|} \hline +\SchrodingersCat[5]{- 1} & \SchrodingersCat[5]{0} & \SchrodingersCat[5]{1} \\ \hline +\BSS{SchrodingersCat}[5]\rouge{\AC{-1}} & \BSS{SchrodingersCat}[5]\rouge{\AC{0}} & \BSS{SchrodingersCat}[5]\rouge{\AC{1}} \\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|c|c|} \hline +\Laughey[5][green][red] & \Innocey[5][green][red] & \Tongey[5][green][red] & \Nursey[5][green][red] \\ \hline +\BSS{Laughey}[5]\rouge{[green][red]} & \BSS{Innocey}[5]\rouge{[green][red]} & \BSS{Tongey}[5]\rouge{[green][red]} & \BSS{Nursey}[5]\rouge{[green][red]} \\ \hline + +\Vomey[5][green][red] & \Walley[5][green][red] & \rWalley[5][green][red] & \\ \hline +\BSS{Vomey}[5]\rouge{[green][red]} & \BSS{Walley}[5]\rouge{[green][red]} & \BSS{rWalley}[5]\rouge{[green][red]}& \\ \hline + +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|} \hline +\Ninja[5][green][red][blue] & \Sleepey[5][green][red][blue] \\ \hline +\BSS{Ninja}[5]\rouge{[green][red][blue]} & \BSS{Sleepey}[5]\rouge{[green][red][blue]} \\ \hline +\end{tabular} + + +\bigskip + +\begin{tabular}{|c|c|c|c|c|} \hline +\dSmiley[5] & \dSadey[5] & \dNeutrey[5] & \dChangey[5]{0} & \dcChangey[5]{0} \\ \hline +\BSS{dSmiley}[5] & \BSS{dSadey}[5] & \BSS{dNeutrey}[5] & \BSS{dChangey}[5]\AC{0} & \BSS{dcChangey}[5]\AC{0} \\ \hline + + \dAnnoey[5]& \dLaughey[5] & \dWinkey[5] & \dSey[5] & \dXey[5] \\ \hline + \BSS{dAnnoey}[5]& \BSS{dLaughey}[5] & \BSS{dWinkey}[5] & \BSS{dSey}[5] & \BSS{dXey}[5] \\ \hline + +\dInnocey[5] & \dCooley[5] & \dNinja[5] & \drWalley[5] & \dWalley[5] \\ \hline +\BSS{dInnocey}[5] & \BSS{dCooley}[5] & \BSS{dNinja}[5] & \BSS{drWalley}[5] & \BSS{dWalley}[5] \\ \hline + +\dVomey[5] & \dNursey[5] & \dTongey[5] & \dSleepey[5] & \olddWinkey[5] \\ \hline +\BSS{dVomey}[5] & \BSS{dNursey}[5] & \BSS{dTongey}[5] & \BSS{dSleepey}[5] & \BSS{olddWinkey}[5] \\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|c|c|c|} \hline +\dChangey[5]{-2} & \dChangey[5]{-1} & \dChangey[5]{0} & \dChangey[5]{1} & \dChangey[5]{2} \\ \hline +\BSS{dChangey}[5]\rouge{\AC{-2}} & \BSS{dChangey}[5]\rouge{\AC{-1}} & \BSS{dChangey}[5]\rouge{\AC{0}} & \BSS{dChangey}[5]\rouge{\AC{1}} & \BSS{dChangey}[5]\rouge{\AC{2}} \\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|c|c|c|} \hline +\dcChangey[5]{-2} & \dcChangey[5]{-1} & \dcChangey[5]{0} & \dcChangey[5]{1} & \dcChangey[5]{2} \\ \hline +\BSS{dcChangey}[5]\rouge{\AC{-2}} & \BSS{dcChangey}[5]\rouge{\AC{-1}} & \BSS{dcChangey}[5]\rouge{\AC{0}} & \BSS{dcChangey}[5]\rouge{\AC{1}} & \BSS{dcChangey}[5]\rouge{\AC{2}} \\ \hline +\end{tabular} + +\bigskip +\begin{tabular}{|c|c|c|c|} \hline +\dLaughey[5][green][red] & \dInnocey[5][green][red] & \dTongey[5][green][red] & \dNursey[5][green][red] \\ \hline +\BSS{dLaughey}[5]\rouge{[green][red]} & \BSS{dInnocey}[5]\rouge{[green][red]} & \BSS{dTongey}[5]\rouge{[green][red]} & \BSS{dNursey}[5]\rouge{[green][red]} \\ \hline + +\dVomey[5][green][red] & \dWalley[5][green][red] & \drWalley[5][green][red] & \\ \hline +\BSS{dVomey}[5]\rouge{[green][red]} & \BSS{dWalley}[5]\rouge{[green][red]} & \BSS{drWalley}[5]\rouge{[green][red]}& \\ \hline + +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|} \hline +\dNinja[5][green][red][blue] & \dSleepey[5][green][red][blue] \\ \hline +\BSS{dNinja}[5]\rouge{[green][red][blue]} & \BSS{dSleepey}[5]\rouge{[green][red][blue]} \\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|c|c|c|} \hline +\Strichmaxerl[5] & \Candle[5] & \Fire[5] & \Coffeecup[5] & \Chair[5] \\ \hline +\BSS{Strichmaxerl}[5] & \BSS{Candle}[5] & \BSS{Fire}[5] & \BSS{Coffeecup}[5] & \BSS{Chair}[5] \\ \hline + +\Bed[5] & \Tribar[5] & \Moai[5] & \Snowman[5] & \\ \hline +\BSS{Bed}[5] & \BSS{Tribar}[5] & \BSS{Moai}[5] & \BSS{Snowman}[5] & \\ \hline + +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|c|c|c|} \hline +\multicolumn{5}{|c|}{\BSS{Strichmaxerl}[10][0][0][0][0]} \\ \hline +\Strichmaxerl[10][0][0][0][0] & \Strichmaxerl[10][45][0][0][0] & \Strichmaxerl[10][0][45][0][0] & \Strichmaxerl[10][0][0][45][0] & \Strichmaxerl[10][0][0][0][-45] \\ \hline +[0][0][0][0] & [\rouge{45}][0][0][0] & [0][\rouge{45}][0][0] & [0][0][\rouge{45}][0] & [0][0][0][\rouge{-45}] \\ \hline +\end{tabular} + + +\bigskip + +\begin{tabular}{|c|} \hline +\Tribar[10][green][red][blue] +\\ \hline +\BSS{Tribar}[10][green][red][blue] +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|}\hline +\BasicTree[10]{black}{red}{blue}{leaf} & \BasicTree[10]{black}{red}{blue}{} \\ \hline \BSS{BasicTree}[10]\AC{black}\AC{red}{blue}\AC{leaf} & \BSS{BasicTree}[10]\AC{black}\AC{red}{blue}\AC{} \\ \hline +\end{tabular} + + + +\bigskip +\begin{tabular}{|c|c|c|c|c|} \hline +\Springtree[10] & \Summertree[10] & \Autumntree[10] & \Wintertree[10] & \WorstTree[10] \\ \hline +\BSS{Springtree}[10] & \BSS{Summertree}[10] & \BSS{Autumntree}[10] & \BSS{Wintertree}[10] & \BSS{WorstTree}[10] \\ \hline +\end{tabular} + + + + + + diff --git a/info/visualtikz/Source/table.dat b/info/visualtikz/Source/table.dat new file mode 100644 index 0000000000..b8a45da592 --- /dev/null +++ b/info/visualtikz/Source/table.dat @@ -0,0 +1,9 @@ +0 .3 +.3 .6 +.6 .9 +.9 1.5 +1.2 .6 +1.5 1.2 +1.8 1.5 +2.1 2.0 +2.4 3.0
\ No newline at end of file diff --git a/info/visualtikz/Source/table2.dat b/info/visualtikz/Source/table2.dat new file mode 100644 index 0000000000..7fd8dc8631 --- /dev/null +++ b/info/visualtikz/Source/table2.dat @@ -0,0 +1,9 @@ +0 0 0 +0 1 0 +0 1 1 +.9 1.5 +1.2 .6 +1.5 1.5 +1.8 0.8 +2.1 2.5 +2.4 3.0
\ No newline at end of file diff --git a/info/visualtikz/Source/table3.dat b/info/visualtikz/Source/table3.dat new file mode 100644 index 0000000000..dd2ef5312e --- /dev/null +++ b/info/visualtikz/Source/table3.dat @@ -0,0 +1,6 @@ +0 0 0 +0 .5 0 +0 1 1 +1 1 5 +1 .5 0 +1 0 0 diff --git a/info/visualtikz/Source/table3X.dat b/info/visualtikz/Source/table3X.dat new file mode 100644 index 0000000000..d4242e4700 --- /dev/null +++ b/info/visualtikz/Source/table3X.dat @@ -0,0 +1,6 @@ +0 0 0 +0 5 0 +0 1 1 +1 1 5 +1 5 0 +1 0 0 diff --git a/info/visualtikz/Source/test.tex b/info/visualtikz/Source/test.tex new file mode 100644 index 0000000000..c049a64f29 --- /dev/null +++ b/info/visualtikz/Source/test.tex @@ -0,0 +1,228 @@ + + +\input{versGB} % for english version +%\input{versFR} % pour la version française + + \input{tikzdebut} + + + \begin{document} + + +%\selectlanguage{english} +\selectlanguage{french} + + + +%\input{tkztitre} + + +% \tableofcontents +% +% +%\newpage + + + + +\input{tkzdatavisual} + +% +%\newpage +% +%\RRR{17-2-1} fini +% +% +%/tikz/node font=font commands +% +%\begin{tikzpicture} +%\draw[node font=\itshape] (1,0) -- +(1,1) node[above] {italic}; +%\end{tikzpicture} +% +%\tikz \node [node font=\tiny, minimum height=3em, draw] {tiny}; +%\tikz \node [node font=\small, minimum height=3em, draw] {small}; +% +% +% +% +%/tikz/node align header= +% +% +%\RRR{17-4-4} OK +% +% +%\RRR{17-5} Positioning Nodes +% +% +% +%\RRR{17-5-3 }Advanced Placement Options +% +% +% +% +%\subsubsection{title} +% +%\begin{tikzpicture}[every node/.style={draw}] +%\draw[help lines](0,0) grid (3,2); +%\draw (1,0) node{A} +%(2,0) node[rotate=90,scale=1.5] {B}; +%\draw[rotate=30] (1,0) node{A} +%(2,0) node[rotate=90,scale=1.5] {B}; +%\draw[rotate=60] (1,0) node[transform shape] {A} +%(2,0) node[transform shape,rotate=90,scale=1.5] {B}; +%\end{tikzpicture} +% +%m:::::::::::::::%\begin{tikzpicture} +%%% Install a nonlinear transformation: +%%\pgfsetcurvilinearbeziercurve +%%{\pgfpoint{0mm}{20mm}} +%%{\pgfpoint{10mm}{20mm}} +%%{\pgfpoint{10mm}{10mm}} +%%{\pgfpoint{20mm}{10mm}} +%%\pgftransformnonlinear{\pgfpointcurvilinearbezierorthogonal\pgf@x\pgf@y}% +%%% Draw something: +%%\draw [help lines] (0,-30pt) grid [step=10pt] (80pt,30pt); +%%\foreach \x in {0,20,...,80} +%%\node [fill=red!20] at (\x pt, -20pt) {\x}; +%%\foreach \x in {0,20,...,80} +%%\node [fill=blue!20, transform shape nonlinear] at (\x pt, 20pt) {\x}; +%%\end{tikzpicture} +% +% +%\newpage +% +% +% +%\input{tkzcoord} +% +% +% +%\newpage +% +%\SSCT{Les n\oe uds }{Nodes} +% +%\input{tkznoeud1} +% +%\newpage +% +%\input{tkzpos} +% +%\newpage +% +%\SSCT{Mettre du texte en valeur}{Text highlighting} +% +%\input{tkzboit1} +% +%%\begin{tikzpicture} +%%[spy using outlines={circle, magnification=4, size=2cm, connect spies}] +%%\draw [help lines] (0,0) grid (3,2); +%%\draw [decoration=Koch curve type 1] +%%decorate { decorate{ decorate{ decorate{ (0,0) -- (2,0) }}}}; +%%\spy [red] on (1.6,0.3) +%%in node [left] at (3.5,-1.25); +%%\spy [blue, size=1cm] on (1,1) +%%in node [right] at (0,-1.25); +%%\end{tikzpicture} +%% +%%\begin{tikzpicture} +%%[spy using outlines={circle, magnification=4, size=2cm, connect spies}] +%%\draw [help lines] (0,0) grid (3,2); +%%\shadedraw[shading=Mandelbrot set ] (0,0) rectangle (2,2) ; +%%\spy [red] on (1,0.4) +%%in node [left] at (3.5,-1.25); +%%\spy [blue, size=1cm] on (.5,.8) +%%in node [right] at (0,-1.25); +%%\end{tikzpicture} +% +% +%%\input{tkzturtle} +%% +%% +%% +%%\newpage +%% +%%\SbSSCT{Matrice de n\oe uds}{Matrices and Alignment} +%% +%% +%%\input{matrix} +%% +%%\newpage +%% +%%\SbSSCT{Chaine de n\oe uds}{Chains of nodes} +%% +%%\input{tkzchains} +%% +%% +%%\bigskip +% +%%\begin{tikzpicture}[baseline=-1cm] +%%\matrix [matrix of nodes,column sep=.5cm,row sep=.5cm,every node/.style=draw] +%%{ +%%|(a) [red]|AAA & |(b) [circle]| BBB \\ +%%|(c)| CCC & |(d) [isosceles triangle]| DDD \\ +%%|(e) [ellipse]| EEE & |(f)| FFFF \\ +%%}; +%%\draw (a) -- (f); +%%\end{tikzpicture} +% +% +%\newpage +% +% +% +%%\section{symboles} +%% +%%\input{tkzcoord} +% +%%\newpage +%% +%%\input{tkzpeople} +% +%%\newpage +%% +%%\SbSSCT{Canards}{Ducks} +% +%%\input{tkzducks} +%% +%%\newpage +% +% +%\newpage +% +%\section{A Voir} +% +% +%%\input{tkzdatavisual} +% +%\begin{tikzpicture} +%\draw[help lines] (0,0) grid (2,2); +%\node[draw,fill=green!20,] (A) at (1,1) {\huge noeud}; +%\fill[red] (A.-30) circle (3pt); +%\end{tikzpicture} +% +% +% +%\begin{tikzpicture} +%\draw[help lines] (0,0) grid (3,2); +%\draw (0,0) -- (1,1); +%\draw[red] (0,0) -- ([xshift=3pt] 1,1); +%\draw (1,0) -- +(30:2cm); +%\draw[red] (1,0) -- +([shift=(135:5pt)] 30:2cm); +%\end{tikzpicture} +% +% +% +%\section{Problèmes a Voir} +% +%%\tikz \node[jester,pattern=yellow,minimum size=1.5cm] at (0,0) {}; +% +%\newpage +% +% +%\input{bibtkz} +% +%\newpage +% +%%\printindex + +\end{document}:
\ No newline at end of file diff --git a/info/visualtikz/Source/tiger.png b/info/visualtikz/Source/tiger.png Binary files differnew file mode 100644 index 0000000000..da32a74bf1 --- /dev/null +++ b/info/visualtikz/Source/tiger.png diff --git a/info/visualtikz/Source/tikzdebut.tex b/info/visualtikz/Source/tikzdebut.tex new file mode 100644 index 0000000000..326a0a339f --- /dev/null +++ b/info/visualtikz/Source/tikzdebut.tex @@ -0,0 +1,179 @@ +\documentclass[a4paper,10pt]{article} + + \usepackage{fontspec} +\usepackage[french,english]{babel} + +%\TFRGB{\selectlanguage{french}}{\selectlanguage{english}} +\usepackage{tikzpeople} + +\usepackage{amsmath,amsfonts,amssymb} + +\usepackage{pdfpages} + + +%\usepackage{pst-all} + +\usepackage{graphicx} +\usepackage{hyperref} + +\usepackage{animate} +\usepackage{makeidx} +%\usepackage{wrapfig} +%\usepackage{tikz-dependency} +\usepackage{pgfplots} %<<<<<<<<<<<<<<<<<<<<<<<<<<<<< +\usepackage{tikz} +\usepackage{tkz-tab} + + +%\usepgflibrary{shapes.callouts} +\usepackage{tikz-qtree} +\usepackage{tkz-tab} +\usepackage{csquotes} + + +\usetikzlibrary{angles} +\usetikzlibrary{arrows} + +\usetikzlibrary{shadings} +\usetikzlibrary{calc} +\usetikzlibrary{backgrounds} +\usetikzlibrary{decorations.pathmorphing} + +\usetikzlibrary{decorations.markings} +\usetikzlibrary{decorations.footprints} +\usetikzlibrary{decorations.shapes} +\usetikzlibrary{decorations.text} +\usetikzlibrary{decorations.fractals} +\usepgflibrary{shapes.geometric} +\usetikzlibrary{intersections} +\usetikzlibrary{scopes} +\usetikzlibrary{shapes.symbols} +\usetikzlibrary{shapes.arrows} +\usetikzlibrary{shapes.callouts} +\usetikzlibrary{shapes.misc} +\usepgflibrary{shapes.multipart} +\usetikzlibrary{plotmarks} +\usetikzlibrary{trees} +\usetikzlibrary{fadings} +\usetikzlibrary{arrows.meta} +\usetikzlibrary{bending} +\usetikzlibrary{fit} +%\usetikzlibrary{circuits} +\usetikzlibrary{circuits.ee.IEC} +\usetikzlibrary{circuits.logic.IEC} +\usetikzlibrary[circuits.logic.US] +\usetikzlibrary{circuits.logic.CDH} +%\usetikzlibrary{decorations} +\usetikzlibrary{shapes.gates.logic.IEC} +\usetikzlibrary{matrix} +\usetikzlibrary{chains} +%\usetikzlibrary{circuit.plc.sfc} +\usepackage{tikzsymbols} +\usetikzlibrary{datavisualization} +\usetikzlibrary{datavisualization.formats.functions} +% +\usepackage{tikzducks} + +\usepackage{tikzrput} +\usepackage{pgfornament} + +%\usetikzlibrary{babel} +\usetikzlibrary{math} +\usetikzlibrary{optics} +\usetikzlibrary{through} +\usetikzlibrary{turtle} +\usetikzlibrary{quotes} + + +\pgfplotsset{compat=1.8} +\usetikzlibrary{positioning} + +\usepackage{geometry} +\geometry{a4paper,top={3cm}} + +\usepackage{ifpdf} +\usepackage{ifluatex} +\usetikzlibrary{spy} + + + + +%==================================================================== + +\makeindex + +\newcommand{\AC}[1]{\{#1\}} + +\newcommand{\BS}[1]{$\backslash$#1} + +\newcommand{\BSB}[1]{\textbf{\color{blue} {$\backslash$#1}}} + + +\newcommand{\BSR}[1]{\textbf{\color{red} $\backslash$#1}} + +%\newcommand{\RDDX}[2]{{\color{red}#1} \index{\textbf{3 Paramètres et options}!#2=#1}} + + +\newcommand{\RRR}[1]{\tikz[baseline=-1mm,inner sep=2pt] \draw node[draw,fill=red!20] {{\footnotesize PGFmanual section : #1}} ; } + +\newcommand{\RRP}[1]{\tikz[baseline=-1mm] \draw node[draw,fill=red!20] {{\footnotesize pgfplots section : #1}} ; } + +%\newcommand{\RRR}[1]{\tikz[baseline=-1mm] \draw node[draw,fill=red!20] {{\footnotesize PGFmanual section : #1}} ;\index{\textbf{5 PGFmanual }!#1} } + +\newcommand{\DFR}{ \tikzpicture[scale=.25] +\draw [fill=blue](0,0) rectangle (3,1.5); +\draw [fill=white](1,0) rectangle (2,1.5); +\draw [fill=red](2,0) rectangle (3,1.5);\endtikzpicture } + +\newcommand{\DGE}{ \tikzpicture[scale=.25] +\draw [fill=yellow](0,0) rectangle (3,.5); +\draw [fill=red]((0,.5) rectangle (3,1); +\draw [fill=black](0,1) rectangle (3,1.5); \endtikzpicture } + +\newcommand{\DGB}{ \tikzpicture[scale=.25] +\draw [fill=blue](0,0) rectangle (3,1.5); +\draw [white,line width=.1cm](0,0) -- (3,1.5); +\draw [white,line width=.1cm](0,1.5) -- (3,0); +\draw [white,line width=.1cm](1.5,0) -- (1.5,1.5); +\draw [white,line width=.1cm](0,0.75) -- (3,0.75); +\draw [red,line width=.05cm](0,0) -- (3,1.5); +\draw [red,line width=.05cm](0,1.5) -- (3,0); +\draw [red,line width=.05cm](1.5,0) -- (1.5,1.5); +\draw [red,line width=.05cm](0,0.75) -- (3,0.75); +\endtikzpicture } + + + +\TFRGB{ +\newcommand{\ESS}[1]{\textbf{\textbackslash begin\AC{#1}}\index{\textbf{1 Environnements}!#1}} + +\newcommand{\BSS}[1]{\textbf{\textbackslash{#1}}\index{\textbf{2 Commandes}!#1 @\textbackslash{}#1}} + + +\newcommand{\DDD}[1]{{\color{red} #1}\index{\textbf{3 Paramètres et options}!#1}} +\newcommand{\RDD}[1]{{\color{red} #1}\index{\textbf{3 Paramètres et options}!#1}} +%4 +\newcommand{\BDD}[1]{{\color{blue} #1}\index{\textbf{4 Valeurs Tikz}!#1}} + +\newcommand{\RDDX}[2]{{\color{red}#1} \index{\textbf{4 Valeurs Tikz}!#1 (#2)}} +%5 +\newcommand{\FDD}[1]{{\color{red} #1}\index{\textbf{5 Extrémit\'es}!#1}} +} +{ +\newcommand{\ESS}[1]{\textbf{\textbackslash{#1}}\index{\textbf{1 Environments}!#1 @\textbackslash{}#1}} +%2 +\newcommand{\BSS}[1]{\textbf{\textbackslash{#1}}\index{\textbf{2 Commands}!#1 @\textbackslash{}#1}} +%3 +\newcommand{\RDD}[1]{{\color{red} #1}\index{\textbf{3 Parameters and options}!#1}} + +\newcommand{\DDD}[1]{{\color{red} #1}\index{\textbf{3 Parameters and options}!#1}} + +\newcommand{\RDDX}[2]{{\color{red}#1} \index{\textbf{4 Values Tikz}!#1 (#2)}} +% +\newcommand{\BDD}[1]{{\color{blue} #1}\index{\textbf{4 Values Tikz}!#1}} + +\newcommand{\FDD}[1]{{\color{red} #1}\index{\textbf{5 Extremities}!#1}} +} + +\newcommand{\rouge}[1] {{\color{red} #1}} +\newcommand{\blll}[1] {{\color{blue} #1}} diff --git a/info/visualtikz/Source/tkz1.tex b/info/visualtikz/Source/tkz1.tex new file mode 100644 index 0000000000..d8363d4441 --- /dev/null +++ b/info/visualtikz/Source/tkz1.tex @@ -0,0 +1,633 @@ + + +\begin{center} +\begin{tabular}{|c|c|c|} \hline +\BS{draw} (0,0) {\color{red}- -} (2,1) ; \RRR{14-2} & +\BS{draw} (0,0){\color{red} -|} (2,1) ; + & +\BS{draw} (0,0) {\color{red} |-} (2,1) ; +\\ \hline +\begin{tikzpicture}[blue,line width=2pt] +\draw[help lines] (0,0) grid (3,2); +\draw (0,0) -- (2,1) ; +\end{tikzpicture} +& +\begin{tikzpicture}[blue,line width=2pt] +\draw[help lines] (0,0) grid (3,2); +\draw (0,0) -| (2,1) ; +\end{tikzpicture} +& +\begin{tikzpicture}[,blue,line width=2pt] +\draw[help lines] (0,0) grid (3,2); +\draw (0,0) |- (2,1) ; +\end{tikzpicture} + +\\ \hline +\end{tabular} +\end{center} +\bigskip + +\noindent \begin{tabular}{|c|c|c|}\hline + \multicolumn{3}{|c|}{\BS{draw} (0,2) . . \DDD{controls} (3,0) .. (2,2); \RRR{ 14-3 }} + \\ \hline + \begin{tikzpicture}[,blue,line width=2pt,fill=green] + \draw[help lines] (-1,0) grid (3,3); +\draw (0,2) .. controls (3,0) .. (2,2); + \end{tikzpicture} + & + \begin{tikzpicture}[blue,line width=2pt,fill=green] + \draw[help lines] (-1,0) grid (3,3); +\fill (0,2) .. controls (3,0) .. (2,2); + \end{tikzpicture} + & + \begin{tikzpicture}[blue,line width=2pt,fill=green] + \draw[help lines] (-1,0) grid (3,3); +\filldraw (0,2) .. controls (3,0) .. (2,2); + \end{tikzpicture} + \\ \hline +\BSS{draw} +& +\BSS{fill} +& +\BSS{filldraw} +\\ \hline + \end{tabular} + + + \bigskip + +\noindent + \begin{tabular}{|c|c|c|}\hline + \multicolumn{3}{|c|}{\BS{draw} (0,2) . . \DDD{controls} (3,0) \DDD{and} (-1,0) .. (2,2); \RRR{14-3}} + \\ \hline + \begin{tikzpicture}[blue,line width=2pt,fill=green] + \draw[help lines] (-1,0) grid (3,3); +\draw (0,2) .. controls (3,0) and (-1,0) .. (2,2); + \end{tikzpicture} + & + \begin{tikzpicture}[blue,line width=2pt,fill=green] + \draw[help lines] (-1,0) grid (3,3); +\fill (0,2) .. controls (3,0) and (-1,0) .. (2,2); + \end{tikzpicture} + & + \begin{tikzpicture}[blue,line width=2pt,fill=green] + \draw[help lines] (-1,0) grid (3,3); +\filldraw (0,2) .. controls (3,0) and (-1,0) .. (2,2); + \end{tikzpicture} + \\ \hline +\BSS{draw} +& +\BSS{fill} +& +\BSS{filldraw} +\\ \hline + \end{tabular} + + +\bigskip + +\noindent +\begin{tabular}{|c|c|c|} \hline +\multicolumn{3}{|c|}{\BS{draw} (0,0) \DDD{rectangle} (3,2); \RRR{14-4} }\\ +\hline +\begin{tikzpicture}[scale=.8,blue,line width=2pt] +\draw[help lines] (-1,-1) grid (4,3); +\draw (0,0) rectangle (3,2); +\end{tikzpicture} +& +\begin{tikzpicture}[scale=.8,blue,line width=2pt,fill=green] +\draw[help lines] (-1,-1) grid (4,3); +\fill (0,0) rectangle (3,2); +\end{tikzpicture} +& +\begin{tikzpicture}[scale=.8,blue,line width=2pt,fill=green] +\draw[help lines] (-1,-1) grid (4,3); +\filldraw (0,0) rectangle (3,2); +\end{tikzpicture} +\\ \hline +\BSS{draw} +& +\BSS{fill} +& +\BSS{filldraw} +\\ \hline + +\end{tabular} + + + \bigskip + +\noindent \begin{tabular}{|c|c|c|}\hline + \multicolumn{3}{|c|}{\BS{draw} (1,1) \DDD{circle} (1); \RRR{14-6}}\\ + \hline +\begin{tikzpicture}[blue,line width=2pt,fill=green] +\draw[help lines] (0,0) grid (2,2); +\draw (1,1) circle (1); +\end{tikzpicture} +& +\begin{tikzpicture}[blue,line width=2pt,fill=green] +\draw[help lines] (0,0) grid (2,2); +\fill (1,1) circle (1); +\end{tikzpicture} +& +\begin{tikzpicture}[,blue,line width=2pt,fill=green] +\draw[help lines] (0,0) grid (2,2); +\filldraw (1,1) circle (1); +\end{tikzpicture} + \\ \hline + \BS{draw} + & + \BS{fill} + & + \BS{filldraw} + \\ \hline +\end{tabular} + + + \bigskip + +\noindent \begin{tabular}{|c|c|c|}\hline + \multicolumn{2}{|c|}{\BS{draw} (1,1) \DDD{circle} [\RDD{radius}=1cm]; } & + \BS{draw} (1,1)\DDD{ellipse} [\RDD{x radius}=2cm,\RDD{y radius}=1cm] +\\ \hline +\begin{tikzpicture}[blue,line width=2pt,fill=green] +\draw[help lines] (0,0) grid (2,2); + \draw (1,1) circle [radius=1cm] ; + \end{tikzpicture} + & + \begin{tikzpicture}[,blue,line width=2pt,fill=green] + \draw[help lines] (-1,0) grid (3,2); + \draw (1,1) circle[x radius=2cm,y radius=1cm] ; + \end{tikzpicture} + & + \begin{tikzpicture}[blue,line width=2pt,fill=green] + \draw[help lines] (-1,0) grid (3,2); + \draw (1,1) ellipse [x radius=2cm,y radius=1cm]; + \end{tikzpicture} + \\ \hline +\RDD{radius}=1cm & \RDD{x radius}=2cm,\RDD{y radius}=1cm + \\ \hline +\end{tabular} + + \bigskip + +\noindent \begin{tabular}{|c|c|}\hline +\BS{draw} (1,1) circle {\color{red}(2 and 1)}; & \BS{draw} (1,1) ellipse {\color{red}(2 and 1)}; + \\ \hline + \begin{tikzpicture}[scale=.8,blue,line width=2pt,fill=green] + \draw[help lines] (-1,0) grid (3,2); +\draw (1,1) circle(2 and 1); + \end{tikzpicture} + & + \begin{tikzpicture}[scale=.8,blue,line width=2pt,fill=green] + \draw[help lines] (-1,0) grid (3,2); +\draw (1,1) ellipse (2 and 1); + \end{tikzpicture} +\\ \hline + \end{tabular} + +\bigskip + +\noindent \begin{tabular}{|c|c|c|}\hline +\multicolumn{3}{|c|}{\BS{draw} (-2,0) \DDD{arc} (180:-45:2); \RRR{14-7} }\\ +\hline +\begin{tikzpicture}[scale=.8,blue,line width=2pt,fill=green] +\draw[help lines] (-3,-2) grid (3,2); +\draw (-2,0) arc (180:-45:2); +\end{tikzpicture} +& +\begin{tikzpicture}[scale=.8,blue,line width=2pt,fill=green] +\draw[help lines] (-3,-2) grid (3,2); +\fill (-2,0) arc (180:-45:2); +\end{tikzpicture} +& +\begin{tikzpicture}[scale=.8,blue,line width=2pt,fill=green] +\draw[help lines] (-3,-2) grid (3,2); +\filldraw (-2,0) arc (180:-45:2); +\end{tikzpicture} +\\ \hline +\BS{draw} +& +\BS{fill} +& +\BS{filldraw} +\\ \hline + \end{tabular} + \bigskip + +\noindent \begin{tabular}{|c|c||c|} \hline +\multicolumn{2}{|c||}{\BS{draw} (-2,0) arc [\RDD{start angle}=180, \RDD{end angle}=-45,\RDD{radius}=1] } +& \BS{draw} (-2,0) \RDD{arc} (180:-45:2 and 1) +\\ \hline + +\begin{tikzpicture}[scale=.8,blue,line width=2pt,fill=green] +\draw[help lines] (-3,-2) grid (3,2); +\draw (-2,0) arc [start angle=180, end angle=-45,radius=2]; +\end{tikzpicture} + & +\begin{tikzpicture}[scale=.8,blue,line width=2pt,fill=green] +\draw[help lines] (-3,-2) grid (3,2); +\draw (-2,0) arc [start angle=180, end angle=-45,x radius=2,y radius=1]; +\end{tikzpicture} +& + \begin{tikzpicture}[scale=.8,blue,line width=2pt,fill=green] +\draw[help lines] (-3,-2) grid (3,2); +\draw (-2,0) arc (180:-45:2 and 1); +\end{tikzpicture} + \\ \hline + \RDD{radius}=1 & \RDD{x radius}=1,\RDD{y radius}=.5 & \\ + \hline + \end{tabular} + +\bigskip + +\noindent \begin{tabular}{|c|c|c|}\hline + \multicolumn{3}{|c|}{\BS{draw} (0,0) \DDD{parabola} (3,2); \RRR{14-9} } + \\ \hline + \begin{tikzpicture}[blue,line width=2pt,fill=green] + \draw[help lines] (0,0) grid (3,2); + \draw (0,0) parabola (3,2); + \end{tikzpicture} + & + \begin{tikzpicture}[blue,line width=2pt,fill=green] + \draw[help lines] (0,0) grid (3,2); + \fill (0,0) parabola (3,2); + \end{tikzpicture} + & + \begin{tikzpicture}[blue,line width=2pt,fill=green] + \draw[help lines] (0,0) grid (3,2); + \filldraw (0,0) parabola (3,2); + \end{tikzpicture} + \\ \hline +\BS{draw} +& +\BS{fill} +& +\BS{filldraw} +\\ \hline + \end{tabular} ------ + +\noindent \begin{tabular}{|c|c|} \hline + \begin{tikzpicture}[blue,line width=2pt,fill=green] + \draw[help lines] (0,0) grid (4,4); + \draw(0,1) parabola bend (1,0) (4,4); + \end{tikzpicture} + & +\begin{tikzpicture}[blue,line width=2pt,fill=green] +\draw[help lines] (0,0) grid (4,4); +\draw (0,0) parabola[bend pos=0.25] (4,4); + \end{tikzpicture} \\ + \hline + \BS{draw}(0,1) parabola \RDD{bend} (1,0) (4,4); & + \BS{draw}(0,0) parabola[\RDD{bend pos}=0.25] (4,4); + \\ \hline + \end{tabular} +\bigskip + +\noindent \begin{tabular}{|c|c|c|} \hline + \BS{draw}(0,1) parabola [\RDD{parabola height}=2cm] (3,0); & \multicolumn{2}{|c|}{\BS{draw}(0,0) parabola[\RDD{bend at start}] (3,2);}\\ + \hline +\begin{tikzpicture}[blue,line width=2pt,fill=green] +\draw[help lines] (0,0) grid (3,3); +\draw (0,1) parabola[parabola height=2cm] (3,0); + \end{tikzpicture} & +\begin{tikzpicture}[blue,line width=2pt,fill=green] +\draw[help lines] (0,0) grid (3,2); +\draw (0,0) parabola[bend at start] (3,2); + \end{tikzpicture} +& +\begin{tikzpicture}[blue,line width=2pt,fill=green] +\draw[help lines] (0,0) grid (3,2); +\draw (0,0) parabola[bend at end] (3,2); + \end{tikzpicture} +\\ \hline &[\RDD{bend at start}] & [\RDD{bend at end}] \\ +\hline +\end{tabular} + +\bigskip + +\noindent \begin{tabular}{|c|c|c|}\hline + \multicolumn{3}{|c|}{\BS{draw} (0,0) \DDD{sin} (1.57,2); \RRR{14-10} }\\ + \hline + \begin{tikzpicture}[scale=.8,blue,line width=2pt,fill=green] + \draw[help lines] (0,0) grid (3,2); +\draw (0,0) sin (1.57,2); + \end{tikzpicture} + & + \begin{tikzpicture}[scale=.8,blue,line width=2pt,fill=green] + \draw[help lines] (0,0) grid (3,2); +\fill (0,0) sin (1.57,2); + \end{tikzpicture} + & + \begin{tikzpicture}[scale=.8,blue,line width=2pt,fill=green] + \draw[help lines] (0,0) grid (3,2); +\filldraw (0,0) sin (1.57,2); + \end{tikzpicture} + \\ \hline + \BS{draw} + & + \BS{fill} + & + \BS{filldraw} + \\ \hline + + + \begin{tikzpicture}[scale=.8,blue,line width=2pt,fill=green] + \draw[help lines] (0,0) grid (3,2); +\draw (0,0) cos (1.57,2); + \end{tikzpicture} + & + \begin{tikzpicture}[scale=.8,blue,line width=2pt,fill=green] + \draw[help lines] (0,0) grid (3,2); +\fill (0,0) cos (1.57,2); + \end{tikzpicture} + & + \begin{tikzpicture}[scale=.8,blue,line width=2pt,fill=green] + \draw[help lines] (0,0) grid (3,2); +\filldraw (0,0) cos (1.57,2); + \end{tikzpicture} + \\ \hline +\multicolumn{3}{|c|}{\BS{draw} (0,0) \DDD{cos} (1.57,2); }\\ +\hline + \end{tabular} + +\bigskip + +\begin{center} +\RRR{14-13} +\end{center} + +\noindent \begin{tabular}{|c|c|c|} \hline +\begin{tikzpicture}[blue,line width=2pt,fill=green] +\draw[help lines] (0,0) grid (3,2); +\draw (0,0) to (3,2); +\end{tikzpicture} +& +\begin{tikzpicture}[blue,line width=2pt,fill=green] +\draw[help lines] (0,0) grid (3,2); +\draw[out=0] (0,0) to (3,2); +\end{tikzpicture} +& +\begin{tikzpicture}[blue,line width=2pt,fill=green] +\draw[help lines] (0,0) grid (3,2); +\draw[in=-90] (0,0) to (3,2); +\end{tikzpicture} +\\ \hline +\BS{draw} (0,0) \DDD{to} (3,2);& \BS{draw}[\RDD{out}=0] (0,0) to (3,2); & \BS{draw} [\RDD{in}=-90] (0,0) to (3,2); +\\ \hline +\multicolumn{3}{|c|}{\TFRGB{voir}{see} section \ref{liaisons} page \pageref{liaisons} }\\ +\hline + +\end{tabular} + +\bigskip + +\noindent \begin{tabular}{|c|c|c|} \hline +\multicolumn{2}{|c|}{ \bf{\TFRGB{Dessin avec plot}{Drawing with plot} }} +\RRR{14-12} \RRR{22} +\\ \hline + +\TFRGB{une liste de coordonnées}{list of coordinates} & \TFRGB{un fichier de coordonnées}{file of coordinates} & \TFRGB{une équation mathématique}{mathematical equation} + \\ \hline +\begin{tikzpicture}[blue,line width=2pt,fill=green] +\draw[help lines] (0,0) grid (5,3); +\draw[blue,ultra thick] plot coordinates {(2,0) (3,1) (4,1) (5,2)}; +\end{tikzpicture} + & +\begin{tikzpicture}[blue,line width=2pt,fill=green] +\draw[help lines] (0,0) grid (3,3); +\draw[blue,ultra thick] plot file {table.dat}; +\end{tikzpicture} + & +\begin{tikzpicture}[blue,line width=2pt,fill=green] +\draw[help lines] (0,-1) grid (4,1); \draw[blue,domain=0:360,x=0.3,ultra thick] plot (\x,{sin(\x)}); + \end{tikzpicture} + \\ \hline + plot coordinates & plot file \AC{table.dat} & plot (\BS{x},\AC{sin(\BS{x})}) \\ + \AC{(2,0) (3,1) (4,1) (5,2)} && + \\ \hline + \multicolumn{3}{|c|}{voir page \pageref{plot} } + \\ \hline + +\end{tabular} + +\newpage + +\SSCT{Chemin}{Path and edge} + +\SbSSCT{Notion de Chemin}{Path} +\begin{center} +\RRR{14} +\end{center} + +\noindent \begin{tabular}{|c|c|} \hline +\begin{tikzpicture}[scale=.8,blue,line width=2pt] +\draw[help lines] (0,0) grid (3,2); +\draw (0,0) -- (2,1) -- (3,0) ; +\end{tikzpicture} +& +\begin{tikzpicture}[scale=.8,blue,line width=2pt] +\draw[help lines] (0,0) grid (3,2); +\draw (0,0) -- (2,1) -- (3,0) -- cycle ; +\end{tikzpicture} +\\ \hline +\BS{draw} (0,0) - - (2,1) - - (3,0) ; + +& +\BS{draw} (0,0) - - (2,1) - - (3,0) - - \RDD{cycle} ; +\\ \hline +\end{tabular} + +\bigskip +\noindent \begin{tabular}{|c|c|} \hline + \multicolumn{2}{|c|}{ \BS{draw} (0,0) - - (2,1) - - (3,3) arc (135:-20:1) .. controls (6,0) and (4,0) }\\ + \multicolumn{2}{|c|}{ .. (5,2) sin (6.57,0) cos (7.57,2) ;} + \\ \hline + +\begin{tikzpicture}[scale=.8,blue,line width=2pt] +\draw[help lines] (0,0) grid (8,4); +\draw (0,0) -- (2,1) -- (3,3) arc (135:-20:1) .. controls (6,0) and (4,0) .. (5,2) sin (6.57,0) cos (7.57,2) ; +\end{tikzpicture} +& +\begin{tikzpicture}[scale=.8,blue,line width=2pt] +\draw[help lines] (0,0) grid (8,4); +\filldraw (0,0) -- (2,1) -- (3,3) arc (135:-20:1) .. controls (6,0) and (4,0) .. (5,2) sin (6.57,0) cos (7.57,2) ; +\end{tikzpicture} +\\ \hline +\BS{draw} & \BS{filldraw} +\\ \hline +\end{tabular} + + + + + +\bigskip +\begin{center} +\RRR{14-5 } +\end{center} + + +\noindent \begin{tabular}{|c|c|} \hline +\begin{tikzpicture}[scale=.8,blue,line width=4mm] +\draw[help lines] (0,0) grid (3,2); +\draw [rounded corners] (0,0) -- (2,1) -- (3,0) ; +\end{tikzpicture} +& +\begin{tikzpicture}[scale=.8,blue,line width=4mm] +\draw[help lines] (0,0) grid (3,2); +\draw [sharp corners] (0,0) -- (2,1) -- (3,0) ; +\end{tikzpicture} +\\ \hline +\BS{draw} [\RDD{rounded corners}] (0,0) -- (2,1) -- (3,0) ; + +& +\BS{draw} [\RDD{sharp corners}] (0,0) - - (2,1) - - (3,0) ; +\\ +\hline +\end{tabular} + +\bigskip +\noindent \begin{tabular}{|c|c|} \hline +\begin{tikzpicture}[scale=.8,blue,baseline=0pt,line width=2pt] +\draw[help lines] (0,0) grid (2,2); +\draw (0,0) -- (1,1.732) -- (2,0) -- cycle ; +\end{tikzpicture} +& +\BS{draw} [\RDD{rounded corners}=0.5cm] (0,0) - - (1,1.732) - - (2,0) - - cycle ; +\\ \hline +\begin{tikzpicture}[scale=.8,blue,baseline=0pt,line width=2pt] +\draw[help lines] (0,0) grid (2,2); +\draw (0,0) -- (1,1.732) [rounded corners=0.5cm] -- (2,0) -- cycle ; +\end{tikzpicture} +& +\BS{draw} (0,0) - - (1,1.732) [\RDD{rounded corners}=0.5cm] - - (2,0) - - cycle ; +\\ \hline +\begin{tikzpicture}[scale=.8,blue,baseline=0pt,line width=2pt] +\draw[help lines] (0,0) grid (2,2); +\draw (0,0) -- (1,1.732) -- (2,0)[rounded corners=0.5cm] -- cycle ; +\end{tikzpicture} +& +\BS{draw} (0,0) - - (1,1.732) - - (2,0)[\RDD{rounded corners}=0.5cm] - - cycle ; +\\ \hline +\begin{tikzpicture}[scale=.8,blue,baseline=0pt,line width=2pt] +\draw[help lines] (0,0) grid (2,2); +\draw [rounded corners=0.5cm] (0,0) -- (1,1.732)[sharp corners] -- (2,0) -- cycle ; +\end{tikzpicture} +& +\BS{draw} [\RDD{rounded corners}=0.5cm] (0,0) - - (1,1.732)[\RDD{sharp corners}] - - (2,0) - - cycle ; +\\ \hline + +\end{tabular} + +\bigskip +\begin{center} +\RRR{14-2-2} +\end{center} + + +\noindent \begin{tabular}{|c|c|} \hline +\begin{tikzpicture}[scale=.8,blue,line width=2pt] +\draw[help lines] (0,0) grid (3,2); +\draw (0,0) -- (2,1) -| cycle ; +\end{tikzpicture} +& +\begin{tikzpicture}[scale=.8,blue,line width=2pt] +\draw[help lines] (0,0) grid (3,2); +\draw (0,0) -- (2,1) |- cycle ; +\end{tikzpicture} +\\ \hline +\BS{draw} (0,0) - - (2,1) \textbf{{\color{red}-|}} cycle ; +& +\BS{draw} (0,0) - - (2,1) \textbf{{\color{red}|-}} cycle ; +\\ +\hline +\end{tabular} + +\bigskip + +\noindent \begin{tabular}{|c|} \hline +\BS{tikz} [{\color{red} c/.style}=\AC{\RDD{insert path}=\AC{circle[radius=3pt]}}] \\ +\BS{draw}(0,0){\color{red}[c]} -- (1,2){\color{red}[c]} -- (3,1) {\color{red}[c]}; +\\ \hline +\begin{tikzpicture}[c/.style={insert path={circle[radius=3pt]}}] +\draw[help lines] (0,0) grid (4,3); +\draw(0,0)[c] -- (1,2)[c] -- (3,1) [c]; +\end{tikzpicture} +\\ \hline +\end{tabular} + + +%TODO 2 commandes pour expert à voir plus tard + +%\tikz \draw node [append after command={(xxx)--(1,1)},draw] (xxx){noeud}; +% +%\tikz \fill [append after command={[blue](0,0) rectangle (2,2)},draw] [red](1,1) rectangle (3,3); +% +%\tikz \draw node [prefix after command={(foo)--(1,1)},draw] (foo){foo}; +% +%\tikz \fill [prefix after command={[blue](0,0) rectangle (2,2)},draw] [red](1,1) rectangle (3,3); +\bigskip + +\bf{\TFRGB{Coupure de chemin}{Path interrupted}} \RRR{14-1} + +\bigskip + +\noindent \begin{tabular}{|c|} \hline +\BS{draw} (0.5,0.5) - -(2.5,0.5) (0.5,1.5) - -(2.5,1.5); +\\ \hline +\begin{tikzpicture}[blue,line width=2pt] +\draw[help lines] (0,0) grid (3,2); +\draw (0.5,0.5) - -(2.5,0.5) (0.5,1.5) - -(2.5,1.5); +\end{tikzpicture} +\\ \hline +\end{tabular} + +\bigskip + +\noindent \begin{tabular}{|c|} \hline +\BS{draw} (0,0) - - (0,1) - - (1,1) (2,0) - - (2,1) +- - (3,1) - - (\RDD{current subpath start}); \\ +\BS{fill}[red] (\RDD{current subpath start}) circle (3pt); +\\ \hline +\begin{tikzpicture}[blue,baseline=0pt,line width=2pt] +\draw[help lines] (0,0) grid (4,2); +\draw (0,0) -- (0,1) -- (1,1) (2,0) -- (2,1) +-- (3,1) -- (current subpath start); +\fill[red] (current subpath start) circle (3pt); +\end{tikzpicture} +\\ \hline +\end{tabular} + +\SbSSCT{Chemins dans un chemin}{Pathes in a path : edge} + +\begin{center} + \RRR{17-12} +\end{center} + + \bigskip + +\begin{tabular}{|c|} \hline +\BS{draw} (0,0) - - (2,1) \RDD{edge}[dotted] (3,0) \RDD{edge}[red] (3,2) - -(1,2) - - (0,1) ; + +\\ \hline +\begin{tikzpicture}[blue,baseline=0pt,line width=2pt] +\draw[help lines] (0,0) grid (3,2); +\draw (0,0) - - (2,1) edge[dotted] (3,0) edge[red] (3,2) --(1,2) -- (0,1) ; +\end{tikzpicture} +\\ \hline +\end{tabular} + + \bigskip + +\begin{tabular}{|c|} \hline +\BS{draw} (0,0) - - (2,1) \RDD{edge}([red,\RDD{to path}=\AC{parabola (3,0)} ] () \\ +\RDD{edge}[red,\RDD{to path}=\AC{arc(-90 : 90 : 0.5)}] () - -(1,2) - - (0,1) ; + +\\ \hline +\begin{tikzpicture}[blue,baseline=0pt,line width=2pt] +\draw[help lines] (0,0) grid (3,2); +\draw (0,0) - - (2,1) edge[red,to path={parabola (3,0)}] () edge[red,to path={arc(-90 :90 :.5)}] () --(1,2) -- (0,1) ; +\end{tikzpicture} +\\ \hline +\end{tabular}
\ No newline at end of file diff --git a/info/visualtikz/Source/tkz2.tex b/info/visualtikz/Source/tkz2.tex new file mode 100644 index 0000000000..c489c93c57 --- /dev/null +++ b/info/visualtikz/Source/tkz2.tex @@ -0,0 +1,759 @@ +\SSCT{Les paramètres disponibles}{Parameters} + +\SbSSCT{\'Epaisseur de ligne}{Line width} +\begin{center} +\RRR{15-3-1} +\end{center} + +\begin{tabular}{|c|c|c|c|} \hline + \multicolumn{4}{|c|}{ \BS{tikz} \BS{draw}[line width=.2cm] (0,0) - - (1,1);} + \\ \hline +\tikz \draw[line width=.2cm,blue] (0,0) - - (1,1) ; + & +\tikz \draw[ultra thin,blue] (0,0) - - (1,1) ; + & +\tikz \draw [very thin,blue] (0,0) - - (1,1) ; + & +\tikz \draw [thin,blue] (0,0) - - (1,1) ; + \\ \hline +[\RDD{line width}=.2cm] & [\RDD{ultra thin}] & [\RDD{very thin}] & [\RDD{thin}] \\ + & (0.1pt) & (0.2pt) & (0.4pt) \\ \hline +\tikz \draw[semithick,blue] (0,0) - - (1,1) ; + & +\tikz \draw[thick,blue] (0,0) - - (1,1) ; + & +\tikz \draw [very thick,blue] (0,0) - - (1,1) ; + & +\tikz \draw [ultra thick,blue] (0,0) - - (1,1) ; + \\ \hline +[\RDD{semithick}] & [\RDD{thick}] & [\RDD{very thick}] & [\RDD{ultra thick}] \\ + (0.6pt) & (0.8pt) & (1.2pt) & (1.6pt) \\ \hline +\end{tabular} + +\SbSSCT{Dimensions disponibles}{Dimensions available} + +\begin{tabular}{|c|c|} \hline +\begin{tikzpicture}[blue,line width=2pt,fill=green,baseline=.5cm] +\draw[use as bounding box][line width=0pt] (0,0)rectangle (4,1) ; +\draw[help lines] (0,0) grid (4,1); +\draw[line width=10pt] (2,0) to (2,1); + \end{tikzpicture} +& +\BS{draw}[line width=10pt] (2,0) to (2,1); +\\ \hline +\begin{tikzpicture}[blue,line width=2pt,fill=green,baseline=.5cm] +\draw[use as bounding box][line width=0pt] (0,0)rectangle (4,1) ; +\draw[help lines] (0,0) grid (4,1); +\draw[line width=10bp] (2,0) to (2,1); + \end{tikzpicture} +& +\BS{draw}[line width=10bp] (2,0) to (2,1); +\\ \hline +\begin{tikzpicture}[blue,line width=2pt,fill=green,baseline=.5cm] +\draw[use as bounding box][line width=0pt] (0,0)rectangle (4,1) ; +\draw[help lines] (0,0) grid (4,1); +\draw[line width=10mm] (2,0) to (2,1); + \end{tikzpicture} +& +\BS{draw}[line width=10mm] (2,0) to (2,1); +\\ \hline +\begin{tikzpicture}[blue,line width=2pt,fill=green,baseline=.5cm] +\draw[use as bounding box][line width=0pt] (0,0)rectangle (4,1) ; +\draw[help lines] (0,0) grid (4,1); +\draw[line width=1cm] (2,0) to (2,1); + \end{tikzpicture} +& +\BS{draw}[line width=1cm] (2,0) to (2,1); +\\ \hline +\begin{tikzpicture}[blue,line width=2pt,fill=green,baseline=.5cm] +\draw[use as bounding box][line width=0pt] (0,0) rectangle (4,1) ; +\draw[help lines] (0,0) grid (4,1); +\draw[line width=1in] (2,0) to (2,1); +\end{tikzpicture} +& +\BS{draw}[line width=1in] (2,0) to (2,1); +\\ \hline +\end{tabular} + +\bigskip + + +\begin{tabular}{|c|c|} \hline +\begin{tikzpicture}[blue,line width=2pt,fill=green,baseline=.5cm] +\draw[use as bounding box][line width=0pt] (0,0) rectangle (4,1) ; +\draw[help lines] (0,0) grid (4,1); +\draw[line width=1ex] (0,0.5) to (4,.5); +\draw[green] (2,.5) node {x}; +\end{tikzpicture} +& +\BS{draw}[line width=1ex] (0,0.5) to (4,.5); +\\ \hline +\begin{tikzpicture}[blue,line width=2pt,fill=green,baseline=.5cm] +\draw[use as bounding box][line width=0pt] (0,0) rectangle (4,1) ; +\draw[help lines] (0,0) grid (4,1); +\Huge \draw[line width=1ex] (0,0.5) to (4,.5); +\draw[green] (2,.5) node {x}; +\end{tikzpicture} +& +\BS{Huge} \BS{draw}[line width=1ex] (0,0.5) to (4,.5); +\\ \hline +\begin{tikzpicture}[blue,line width=2pt,fill=green,baseline=.5cm] +\draw[use as bounding box][line width=0pt] (0,0) rectangle (4,1) ; +\draw[help lines] (0,0) grid (4,1); + \draw[line width=1em] (2,0) to (2,1); +\draw[green] (2,.5) node {m}; +\end{tikzpicture} +& +\BS{draw}[line width=1em] (2,0) to (2,1); +\\ \hline +\begin{tikzpicture}[blue,line width=2pt,fill=green,baseline=.5cm] +\draw[use as bounding box][line width=0pt] (0,0) rectangle (4,1) ; +\draw[help lines] (0,0) grid (4,1); +\Huge \draw[line width=1em] (2,0) to (2,1); +\draw[green] (2,.5) node {m}; +\end{tikzpicture} +& +\BS{Huge} \BS{draw}[line width=1em] (2,0) to (2,1); +\\ \hline +\end{tabular} + + +\SbSSCT{Terminaisons de lignes}{Terminators} + +\begin{tabular}{|c|c|c|} \hline +\begin{tikzpicture}[blue,line width=.5cm] +\draw[line cap=rect] (0,0) - - (2,0); +\draw[red,line width=1pt](0,0) - - (2,0); +\end{tikzpicture} +& +\begin{tikzpicture}[blue,line width=.5cm] +\draw[line cap=butt] (0,0) - - (2,0); +\draw[red,line width=1pt](0,0) - - (2,0); +\end{tikzpicture} +& +\begin{tikzpicture}[blue,line width=.5cm] +\draw[line cap=round] (0,0) - - (2,0); +\draw[red,line width=1pt](0,0) - - (2,0); +\end{tikzpicture} \\ +\hline [\RDD{line cap}=\RDDX{rect}{line cap}] & [\RDD{line cap}=\RDDX{butt}{line cap}] & +[\RDD{line cap}=\RDDX{round}{line cap}]\\ +\hline +\end{tabular} + + +\SbSSCT{Jonction de lignes}{Lines junction} + + +\begin{tabular}{|c|c|c|} \hline + + \multicolumn{3}{|c|}{ \BS{draw}[\RDD{line join}=\RDDX{round}{line join}] (0,0) - - (2,1) - - (0,2);} + \\ \hline +\begin{tikzpicture}[blue,line width=.5cm] +\draw[line join=round] (0,0) -- (2,1) -- (0,2); +\draw[red,line width=1pt](0,0) -- (2,1) -- (0,2); +\end{tikzpicture} +& +\begin{tikzpicture}[,blue,line width=.5cm] +\draw[line join=bevel] (0,0) -- (2,1) -- (0,2); +\draw[red,line width=1pt](0,0) -- (2,1) -- (0,2); +\end{tikzpicture} +& +\begin{tikzpicture}[blue,line width=.5cm] +\draw[line join=miter] (0,0) -- (2,1) -- (0,2); +\draw[red,line width=1pt](0,0) -- (2,1) -- (0,2); +\end{tikzpicture} +\\ \hline +[\RDD{line join}=\RDDX{round}{line join}] & +[\RDD{line join}=\RDDX{bevel}{line join}] & +[\RDD{line join}=\RDDX{miter}{line join}] +\\ \hline +\end{tabular} +\bigskip + +\begin{tabular}{|c|c|c|} \hline + \multicolumn{3}{|c|}{ \BS{draw}[\RDD{miter limit}=1] (0,0) - - (2,1) - - (0,2);} \\ +\multicolumn{3}{|c|}{ (\dft{} : miter limit=10) } + \\ \hline +\begin{tikzpicture}[blue,line width=.5cm] +\draw[miter limit=1] (0,0) -- (2,1) -- (0,2); +\draw[red,line width=1pt](0,0) -- (2,1) -- (0,2); +\end{tikzpicture} +& +\begin{tikzpicture}[blue,line width=.5cm] +\draw[miter limit=2] (0,0) -- (2,1) -- (0,2); +\draw[red,line width=1pt](0,0) -- (2,1) -- (0,2); +\end{tikzpicture} +& +\begin{tikzpicture}[blue,line width=.5cm] +\draw[miter limit=3] (0,0) -- (2,1) -- (0,2); +\draw[red,line width=1pt](0,0) -- (2,1) -- (0,2); +\end{tikzpicture} +\\ \hline miter limit=1 & miter limit=2 & miter limit=3 \\ +\hline +\end{tabular} + +\SbSSCT{Styles de ligne}{Line styles} + +\begin{center} +\RRR{15-3-2} +\end{center} + +\begin{tabular}{|c|c|c|c|} \hline + \multicolumn{3}{|c|}{ \BS{tikz} \BS{draw}[\RDD{solid},line width=2mm] (0,0) - - (2,1);} + \\ \hline +\tikz \draw[solid,line width=2mm,blue] (0,0) - - (2,1) ; +& & + \\ \hline + [\RDD{solid}] & & +\\ \hline + +\tikz \draw[dotted,line width=2mm,blue] (0,0) - - (2,1) ; + & +\tikz \draw [densely dotted,line width=2mm,blue] (0,0) - - (2,1) ; + & +\tikz \draw [loosely dotted,line width=2mm,blue] (0,0) - - (2,1) ; + \\ \hline + [\RDD{dotted}] & [\RDD{densely dotted}] & [\RDD{loosely dotted}] +\\ \hline + +\tikz \draw[dashed,line width=2mm,blue] (0,0) - - (2,1) ; + & +\tikz \draw[densely dashed,line width=2mm,blue] (0,0) - - (2,1) ; + & +\tikz \draw [loosely dashed,line width=2mm,blue] (0,0) - - (2,1) ; +\\ \hline +[\RDD{dashed}] & [\RDD{densely dashed}] & [\RDD{loosely dashed}] +\\ \hline +\tikz \draw [dash dot,line width=2mm,blue] (0,0) - - (2,1) ; +& +\tikz \draw [densely dash dot,line width=2mm,blue] (0,0) - - (2,1) ; +& +\tikz \draw [loosely dash dot,line width=2mm,blue] (0,0) - - (2,1) ; +\\ \hline +[\RDD{dash dot}] & [\RDD{densely dash dot}] & [\RDD{loosely dash dot}] +\\ \hline +\tikz \draw [dash dot dot,line width=2mm,blue] (0,0) - - (2,1) ; +& +\tikz \draw [densely dash dot dot,line width=2mm,blue] (0,0) - - (2,1) ; +& +\tikz \draw [loosely dash dot dot,line width=2mm,blue] (0,0) - - (2,1) ; +\\ \hline +[\RDD{dash dot dot}] & [\RDD{densely dash dot dot}] & [\RDD{loosely dash dot dot}] +\\ \hline +\end{tabular} + +\bigskip +\begin{tabular}{|c|c|} \hline +\begin{tikzpicture}[blue,line width=2pt,fill=green,baseline=.5cm] +\draw[help lines] (0,0) grid (6,1); +\draw[dash pattern=on 1cm off .25cm on .25cm off .5cm,ultra thick,blue] (0,0.5) - - (6,.5) ; + \end{tikzpicture} +\\ \hline +[\RDD{dash pattern}= \BDD{on} 1cm \BDD{off} 0.25cm \BDD{on} 0.25cm \BDD{off} 0.5cm] +\\ \hline +\begin{tikzpicture}[blue,line width=2pt,fill=green,baseline=.5cm] +\draw[help lines] (0,0) grid (6,1); + +\draw[dash pattern=on 1cm off .25cm on .25cm off .5cm,dash phase=1cm,ultra thick,blue] (0,0.5) - - (6,.5) ; + \end{tikzpicture} +\\ \hline + +[dash pattern=on 1cm off .25cm on .25cm off .5cm,\RDD{dash phase}=1cm] +\\ \hline +\end{tabular} + +\bigskip + +\begin{center} +\RRR{15-3-4} +\end{center} + + +\begin{tabular}{|c|c|c|c|} \hline + \multicolumn{4}{|c|}{ \BS{tikz} \BS{draw}[line width=.2cm,\RDD{double}] (0,0) - - (1,1);} + \\ \hline + +\tikz \draw[line width=.2cm,double,blue] (0,0) - - (1,1) ; +& +\tikz \draw[line width=.2cm,draw=blue,double=red] (0,0) - - (1,1) ; +& +\tikz \draw[line width=.2cm,double distance=.3cm] (0,0) - - (1,1) ; +& +\tikz \draw[line width=.2cm,double,double distance between line centers=.3cm] (0,0) - - (1,1) ; +\\ \hline +\RDD{double} & draw=blue,double=red & \RDD{double distance}=.3cm & \RDD{double distance between line centers} \\ +& & & =.3cm +\\ \hline +\end{tabular} + +\bigskip + + +\begin{tabular}{|c|c|} \hline + \multicolumn{2}{|c|}{ \BS{Huge} = \BS{tikz} \BS{draw}[\RDD{double equal sign distance}] (0,0) - - (4,0);} + \\ \hline + \rule[-.3cm]{0pt}{1cm} +{\Huge = \tikz[baseline=-.2cm] \draw[blue,double equal sign distance] (0,0) - - (4,0) ;} +& +{\large = \tikz[baseline=-.1cm] \draw[blue,double equal sign distance] (0,0) - - (4,0) ;} +\\ \hline +\BS{Huge} +& +\BS{large} +\\ \hline +\end{tabular} + +\SbSSCT{Remplissage en motifs}{Fillings} +\label{lib-patterns} + +\begin{center} +\RRR{15-5-1} \RRR{60} +\end{center} + +\maboite{\BS{usetikzlibrary}\AC{patterns}} + + +\begin{tabular}{|c|c|c|} \hline + \multicolumn{3}{|c|}{ \BS{draw}[\RDD{pattern}= \RDDX{dots}{pattern}] (0,0) - - (3,1);} + \\ \hline + +\begin{tikzpicture} +\draw[white] (0,0)--(0,1.2); +\draw[pattern=dots] (0,0) rectangle (3,1); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw[pattern=fivepointed stars] (0,0) rectangle (3,1); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw[pattern=sixpointed stars] (0,0) rectangle (3,1); +\end{tikzpicture} +\\ \hline +\RDDX{dots}{pattern} & \RDDX{fivepointed stars}{pattern} & \RDDX{sixpointed stars}{pattern} +\\ \hline + +\begin{tikzpicture} +\draw[white] (0,0)--(0,1.2); +\draw[pattern=grid] (0,0) rectangle (3,1); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw[pattern=horizontal lines] (0,0) rectangle (3,1); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw[pattern=vertical lines] (0,0) rectangle (3,1); +\end{tikzpicture} +\\ \hline +\RDDX{grid}{pattern} & \RDDX{horizontal lines}{pattern} & \RDDX{vertical lines}{pattern} +\\ \hline + +\begin{tikzpicture} +\draw[white] (0,0)--(0,1.2); +\draw[pattern=north east lines] (0,0) rectangle (3,1); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw[pattern=north west lines] (0,0) rectangle (3,1); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw[pattern=crosshatch] (0,0) rectangle (3,1); +\end{tikzpicture} + +\\ \hline + \RDDX{north east lines}{pattern} & + \RDDX{north west lines}{pattern} & \RDDX{rosshatch}{pattern} +\\ \hline + + +\begin{tikzpicture} +\draw[white] (0,0)--(0,1.2); +\draw[pattern=crosshatch dots] (0,0) rectangle (3,1); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw[pattern=bricks] (0,0) rectangle (3,1); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw[pattern=checkerboard] (0,0) rectangle (3,1); +\end{tikzpicture} + +\\ \hline +\RDDX{crosshatch dots}{pattern} & \RDDX{bricks}{pattern} & \RDDX{checkerboard}{pattern} +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|} \hline +\begin{tikzpicture} +\draw[pattern=fivepointed stars,pattern color=red] (0,0) rectangle (3,1); +\end{tikzpicture} +\\ \hline +\BS{draw}[pattern=fivepointed stars,\RDD{pattern color}=red] (0,0) rectangle (3,1); +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|c|} \hline + \multicolumn{3}{|c|}{ \BS{draw}[pattern=\RDDX{checkerboard light gray}{pattern}] (0,0) - - ((3,2) ;} + \\ \hline +\begin{tikzpicture} +\draw[pattern=checkerboard light gray] (0,0) rectangle (3,1); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw[pattern=horizontal lines light gray] (0,0) rectangle (3,1); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw[pattern=horizontal lines gray] (0,0) rectangle (3,1); +\end{tikzpicture} + \\ \hline +\RDDX{checkerboard light gray}{pattern} & \RDDX{horizontal lines light gray}{pattern} & \RDDX{horizontal lines gray}{pattern} + \\ \hline +\begin{tikzpicture} +\draw[pattern=horizontal lines dark gray] (0,0) rectangle (3,1); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw[pattern=horizontal lines light blue] (0,0) rectangle (3,1); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw[pattern=horizontal lines dark blue] (0,0) rectangle (3,1); +\end{tikzpicture} + \\ \hline +\RDDX{horizontal lines dark gray}{pattern} & \RDDX{horizontal lines light blue}{pattern} & \RDDX{horizontal lines dark blue}{pattern} + \\ \hline + \begin{tikzpicture} + \draw[pattern=crosshatch dots gray] (0,0) rectangle (3,1); + \end{tikzpicture} + & + \begin{tikzpicture} + \draw[pattern=crosshatch dots light steel blue] (0,0) rectangle (3,1); + \end{tikzpicture} + & + \\ \hline +\RDDX{crosshatch dots gray}{pattern} & \RDDX{crosshatch dots light steel blue}{pattern} +& \\ \hline +\end{tabular} + +\SbSSCT{Règle de remplissage}{Filling rule} + +\begin{center} +\RRR{15-5-2} +\end{center} + + +\begin{tabular}{|c|c|} \hline +\multicolumn{2}{|c|}{ nonzero rule (\dft{}) } +\\ \hline +\begin{tikzpicture}[scale=.8,blue,baseline=0pt,line width=2pt] +\filldraw[fill=green!20] (0,0) -- (0,3) -- (3,3) -- (3,0) -- cycle (1,1) -- (1,2) -- (2,2) --(2,1) -- cycle; +\end{tikzpicture} +& +\begin{tikzpicture}[scale=.8,blue,baseline=0pt,line width=2pt] +\filldraw[fill=green!20] (0,0) -- (0,3) -- (3,3) -- (3,0) -- cycle (1,1) -- (2,1) -- (2,2) --(1,2) -- cycle; +\end{tikzpicture} +\\ \hline +\BS{filldraw} [fill=green!20] & \BS{filldraw} [fill=green!20] \\ +(0,0) - - (0,3) - - (3,3) - - (3,0) - - cycle & +(0,0) - - (0,3) - - (3,3) - - (3,0) - - cycle \\ +(1,1) - - {\color{red}(1,2) - - (2,2) - -(2,1)} - - cycle ; & +(1,1) - - {\color{red}(2,1) - - (2,2) - -(1,2)} - - cycle; +\\ \hline +\end{tabular} + + +\begin{tabular}{|c|c||c|c|} \hline +\multicolumn{2}{|c|}{ even odd rule } +\\ \hline + \multicolumn{2}{|c||}{\BS[fill=[green] (0,0) - - (2,1) - - (1,2) circle (.5cm); } & + \multicolumn{2}{|c|}{\BS{filldraw}[fill=green] (0,0) -- (2,1) - - (1,2) circle (.5cm); } + \\ \hline +\begin{tikzpicture} +\fill[green] (0,0) -- (2,1) -- (1,2) circle (.5cm); +\end{tikzpicture} +& +\begin{tikzpicture} +\fill[even odd rule,green] (0,0) -- (2,1) -- (1,2) circle (.5cm); +\end{tikzpicture} +& +\begin{tikzpicture} +\filldraw[fill=green] (0,0) -- (2,1) -- (1,2) circle (.5cm); +\end{tikzpicture} +& +\begin{tikzpicture} +\filldraw[even odd rule,fill=green] (0,0) -- (2,1) -- (1,2) circle (.5cm); +\end{tikzpicture} +\\ \hline +[fill=green] & [\RDD{even odd rule},fill=green] & [fill=green] & [\RDD{even odd rule},fill=green] +\\ \hline +\end{tabular} + +\SbSSCT{Remplissage à l'aide d'une image}{Filling with an image } + +\begin{center} +\RRR{15-6} +\end{center} + + +\begin{tabular}{|c|c|c|} \hline + \multicolumn{3}{|c|}{\BS{draw} [\RDD{path picture}=\{ \BS{node} at (path picture bounding box.center) }\\ + \multicolumn{3}{|c|}{ \AC{\BS{includegraphics}[height=3cm]\AC{tiger}\};}] (0,1) circle (1);} +\\ \hline +\begin{tikzpicture} +\draw [path picture={ +\node at (path picture bounding box.center){\includegraphics[height=3cm]{tiger}};}] (0,1) circle (1); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw [path picture={ +\node at (path picture bounding box.center){\includegraphics[height=3cm]{tiger}};}] (0,0) -- (-1,1) -- (0,2) -- (1,1) -- cycle; +\end{tikzpicture} +& +\begin{tikzpicture} +\draw [path picture={ +\node at (path picture bounding box.center){\includegraphics[height=3cm]{tiger}};}] (1,0) parabola[parabola height=2cm] (3,0); +\end{tikzpicture} +\\ \hline +(0,1) circle (1) & (0,0) - - (-1,1) - - (0,2) - - (1,1) - - cycle & (1,0) parabola[parabola height=2cm] (3,0)\\ +\hline +\end{tabular} +\bigskip + +\begin{tabular}{|c|c|c|c|c|} \hline + \multicolumn{5}{|c|}{\BS{draw} [path picture=\{ \BS{node} at (\RDD{path picture bounding box}.north) }\\ + \multicolumn{5}{|c|}{ \AC{\BS{includegraphics}[height=3cm]\AC{tiger}\};}] (0,1) circle (1);} +\\ \hline +\begin{tikzpicture} +\draw [path picture={ +\node at (path picture bounding box.north){\includegraphics[height=3cm]{tiger}};}] (0,1) circle (1); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw [path picture={ +\node at (path picture bounding box.south){\includegraphics[height=3cm]{tiger}};}] (0,1) circle (1); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw [path picture={ +\node at (path picture bounding box.east){\includegraphics[height=3cm]{tiger}};}] (0,1) circle (1); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw [path picture={ +\node at (path picture bounding box.west){\includegraphics[height=3cm]{tiger}};}] (0,1) circle (1); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw [path picture={ +\node at (path picture bounding box.south east){\includegraphics[height=3cm]{tiger}};}] (0,1) circle (1); +\end{tikzpicture} +\\ \hline +north & south & east & west &south east +\\ \hline +\end{tabular} + +\SbSSCT{Ombrage}{Shading} + + +\SbSbSSCT{Ombrages disponibles}{Shadings available} +\begin{center} +\RRR{15-7} +\end{center} + +\begin{tabular}{|c|c|} \hline +\begin{tikzpicture} +\draw[white] (0,0)--(0,1.2); +\shade (0,0) rectangle (3,1); +\end{tikzpicture} +& +\begin{tikzpicture} +\shadedraw (0,0) rectangle (3,1); +\end{tikzpicture} +\\ \hline +\BSS{shade} (0,0) rectangle (3,1); & \BSS{shadedraw} (0,0) rectangle (3,1);\\ +\hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|c|} \hline + \multicolumn{3}{|c|}{\BS{shadedraw}[\RDD{shading}=\RDDX{axis}{shading}](0,0) rectangle (3,1); } + \\ \hline + +\begin{tikzpicture} +\draw[white] (0,0)--(0,1.2); +\shadedraw[shading=axis] (0,0) rectangle (3,1); +\end{tikzpicture} +& +\begin{tikzpicture} +\shadedraw[shading=radial] (0,0) rectangle (3,1); +\end{tikzpicture} +& +\begin{tikzpicture} +\shadedraw[shading=ball] (0,0) rectangle (3,1); +\end{tikzpicture} + +\\ \hline +\RDDX{axis}{shading} & \RDDX{radial}{shading} & \RDDX{ball}{shading}\\ +\hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|c|} \hline +\begin{tikzpicture} +\draw[white] (0,0)--(0,1.2); +\shadedraw[left color=red] (0,0) rectangle (3,1); +\end{tikzpicture} +& +\begin{tikzpicture} +\shadedraw[right color=green] (0,0) rectangle (3,1); +\end{tikzpicture} +& +\begin{tikzpicture} +\shadedraw[left color=red,right color=green] (0,0) rectangle (3,1); +\end{tikzpicture} +\\ \hline +[\RDD{left color}=red] & [\RDD{right color}=green] & \RDD{left color}=red,\RDD{right color}=green \\ +\hline +\begin{tikzpicture} +\draw[white] (0,0)--(0,1.2); +\shadedraw[top color=red] (0,0) rectangle (3,1); +\end{tikzpicture} +& +\begin{tikzpicture} +\shadedraw[bottom color=green] (0,0) rectangle (3,1); +\end{tikzpicture} +& +\begin{tikzpicture} +\shadedraw[middle color=red] (0,0) rectangle (3,1); +\end{tikzpicture} +\\ \hline +[\RDD{top color}=red] & [\RDD{bottom color}=green] & \RDD{middle color}=red \\ +\hline + +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|c|} \hline +\begin{tikzpicture} +\draw[white] (0,0)--(0,1.2); +\shadedraw[shading angle=90] (0,0) rectangle (3,1); +\end{tikzpicture} +& +\begin{tikzpicture} +\shadedraw[right color=green,shading angle=45] (0,0) rectangle (3,1); +\end{tikzpicture} +& +\begin{tikzpicture} +\shadedraw[left color=red,shading angle=-45] (0,0) rectangle (3,1); +\end{tikzpicture} + +\\ \hline + & \RDD{right color}=green & left color=red \\ +\RDD{shading angle}=90 & [\RDD{shading angle}=45] & \RDD{shading angle}=-45 \\ +\hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|c|} \hline +\begin{tikzpicture} +\draw[white] (0,0)--(0,1.2); +\shadedraw[inner color=red] (0,0) rectangle (3,1); +\end{tikzpicture} +& +\begin{tikzpicture} +\shadedraw[outer color=green] (0,0) rectangle (3,1); +\end{tikzpicture} +& +\begin{tikzpicture} +\shadedraw[outer color=green,inner color=red] (0,0) rectangle (3,1); +\end{tikzpicture} + +\\ \hline + \RDD{inner color}=red & \RDD{outer color}=green & \RDD{inner color}=red \RDD{outer color}=green + \\ \hline +\end{tabular} + +\newpage +\SbSbSSCT{Bibliothèque shadings}{Shading library} +\begin{center} + \RRR{65} +\end{center} + + \maboite{\BS{usetikzlibrary}\AC{shadings}} +\label{lib-shadings} + +\begin{tabular}{|c|c|c|c|c|} \hline + \multicolumn{5}{|c|}{\BS{shadedraw}[\RDD{upper left}=red] (0,0) rectangle (2,2) ; } + \\ \hline +\begin{tikzpicture} +\shadedraw[upper left=red] (0,0) rectangle (2,2); +\end{tikzpicture} +& +\begin{tikzpicture} +\shadedraw[upper right=green] (0,0) rectangle (2,2); +\end{tikzpicture} +& +\begin{tikzpicture} +\shadedraw[lower left=blue] (0,0) rectangle (2,2); +\end{tikzpicture} +& +\begin{tikzpicture} +\shadedraw[lower right=yellow] (0,0) rectangle (2,2); +\end{tikzpicture} +& +\begin{tikzpicture} +\shadedraw[upper left=red,upper right=green, +lower left=blue,lower right=yellow] (0,0) rectangle (2,2); +\end{tikzpicture} +\\ \hline + \RDD{upper left}=red & \RDD{upper right}=green & \RDD{lower left}=blue & \RDD{lower right}=yellow & \\ +\hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|c|} \hline + \multicolumn{3}{|c|}{\BS{shadedraw}[shading=\RDDX{color wheel}{shading}] (0,0) rectangle (2,2) ; } + \\ \hline +\begin{tikzpicture} +\shadedraw[shading=color wheel] (0,0) rectangle (2,2); +\end{tikzpicture} +& +\begin{tikzpicture} +\shadedraw[shading=color wheel black center] (0,0) rectangle (2,2); +\end{tikzpicture} +& +\begin{tikzpicture} +\shadedraw[shading=color wheel white center] (0,0) rectangle (2,2); +\end{tikzpicture} +\\ \hline +shading=\RDDX{color wheel}{shading} & shading=\RDDX{color wheel black center}{shading} & +shading=\RDDX{color wheel white center}{shading} +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|} \hline +\begin{tikzpicture} +\shadedraw[shading=Mandelbrot set] (0,0) rectangle (2,2); +\end{tikzpicture} +\\\hline +shading=\RDDX{Mandelbrot set}{shadingv} +\\ \hline +\end{tabular} + + + diff --git a/info/visualtikz/Source/tkz3.tex b/info/visualtikz/Source/tkz3.tex new file mode 100644 index 0000000000..c5bd6f83ab --- /dev/null +++ b/info/visualtikz/Source/tkz3.tex @@ -0,0 +1,42 @@ +\SbSSCT{Les extrémités}{Extremities} +\label{fleches} + + +\SbSbSSCT{Chargé automatiquement avec TikZ}{TikZ package} + +\begin{tabular}{|c|c|c|c|} \hline + \multicolumn{4}{|c|}{ \BS{tikz} \BS{draw}[->,line width=.2cm,blue] (0,0) - - (1.5,1);} + \\ \hline +\tikz \draw[->,line width=.2cm,blue] (0,0) - - (1.5,1) ; + & +\tikz \draw[->,line width=.2cm,blue] (0,0) - - (1.5,1) ; + & +\tikz \draw [<->,line width=.2cm,blue] (0,0) - - (1.5,1) ; + & +\tikz \draw [>->,line width=.2cm,blue] (0,0) - - (1.5,1) ; + \\ \hline +[\FDD{->}] & [\FDD{<-}] & [\FDD{<->}] & [\FDD{>->}] \\ +\hline +\tikz \draw[-to,line width=.2cm,blue] (0,0) - - (1.5,1) ; + & +\tikz \draw[-to reversed,line width=.2cm,blue] (0,0) - - (1.5,1) ; + & +\tikz \draw[-o,line width=.2cm,blue] (0,0) - - (1.5,1) ; + & +\tikz \draw [-|,line width=.2cm,blue] (0,0) - - (1.5,1) ; + \\ \hline +[\FDD{-to}] & [\FDD{-to reversed}] & [\FDD{-o}] & [\FDD{-|}] \\ + \hline +\tikz \draw[-latex,line width=.2cm,blue] (0,0) - - (1.5,1) ; + & +\tikz \draw[-latex reversed,line width=.2cm,blue] (0,0) - - (1.5,1) ; + & +\tikz \draw[-stealth,line width=.2cm,blue] (0,0) - - (1.5,1) ; +& +\tikz \draw[-stealth reversed ,line width=.2cm,blue] (0,0) - - (1.5,1) ; + + \\ \hline +[\FDD{-latex}] & [\FDD{-latex reversed}] & [\FDD{-stealth}] & [\FDD{-stealth reversed}] \\ + \hline +\end{tabular} + diff --git a/info/visualtikz/Source/tkz3a.tex b/info/visualtikz/Source/tkz3a.tex new file mode 100644 index 0000000000..58d3e0ec3a --- /dev/null +++ b/info/visualtikz/Source/tkz3a.tex @@ -0,0 +1,1876 @@ +\subsubsection{\og library arrow.meta \fg} + + \maboite{\BS{usetikzlibrary}\AC{arrows.meta}} +\label{lib-arrows.meta} + + +\begin{tabular}{|c|c|c|c|c|} \hline + \multicolumn{5}{|c|}{ \BS{tikz} \BS{draw}[ \FDD{-Arc Barb},line width=.2cm,blue ] (0,0) - - (1.5,1) ;} + \\ \hline +\tikz \draw[-Arc Barb,line width=.2cm,blue] (0,0) - - (1.5,1) ; + & +\tikz \draw[-Bar,line width=.2cm,blue] (0,0) - - (1.5,1); + & + \tikz \draw[-Bracket,line width=.2cm,blue] (0,0) - - (1.5,1) ; + & + \tikz \draw[-Hooks,line width=.2cm,blue] (0,0) - - (1.5,1) ; + & + \tikz \draw[-Stealth,line width=.2cm,blue] (0,0) - - (1.5,1) ; + \\ \hline +\FDD{-Arc Barb} & \FDD{-Bar} & \FDD{-Bracket} & \FDD{-Hooks} & \FDD{-Stealth} + \\ \hline +\tikz \draw [-Parenthesis,line width=.2cm,blue] (0,0) - - (1.5,1) ; + & +\tikz \draw [-Straight Barb,line width=.2cm,blue] (0,0) - - (1.5,1) ; + & + \tikz \draw[-Tee Barb,line width=.2cm,blue] (0,0) - - (1.5,1) ; + & + \tikz \draw[-Classical TikZ Rightarrow,line width=.2cm,blue] (0,0) - - (1.5,1); + & + \tikz \draw[-Square,line width=.2cm,blue] (0,0) - - (1.5,1) ; + \\ \hline +\FDD{-Parenthesis} & \FDD{-Straight Barb} &\FDD{-Tee Barb} & \FDD{-Classical TikZ Rightarrow} & \FDD{-Square} + \\ \hline + + \tikz \draw[-Circle,line width=.2cm,blue] (0,0) - - (1.5,1) ; + + & +\tikz \draw [-Implies,double,line width=.2cm,blue] (0,0) - - (1.5,1) ; + & +\tikz \draw [-Rectangle,line width=.2cm,blue] (0,0) - - (1.5,1) ; + & +\tikz \draw [-Computer Modern Rightarrow,line width=.2cm,blue] (0,0) - - (1.5,1) ; +& + \tikz \draw[-Turned Square,line width=.2cm,blue] (0,0) - - (1.5,1) ; + \\ \hline + \FDD{-Circle} & \FDD{-Implies}, double & \FDD{-Rectangle} & \FDD{-Computer Modern Rightarrow} & \FDD{-Turned Square} + \\ \hline + & & & [\FDD{-To}] + \\ \hline +\tikz \draw [-Diamond,line width=.2cm,blue] (0,0) - - (1.5,1) ; + & +\tikz \draw [-Ellipse,line width=.2cm,blue] (0,0) - - (1.5,1) ; + & + \tikz \draw[-Kite,line width=.2cm,blue] (0,0) - - (1.5,1) ; + & + \tikz \draw[-Latex,line width=.2cm,blue] (0,0) - - (1.5,1) ; + & + \tikz \draw [-Triangle,line width=.2cm,blue] (0,0) - - (1.5,1) ; + \\ \hline +\FDD{-Diamond} & \FDD{-Ellipse} &\FDD{-Kite} & [\FDD{-Latex}] & \FDD{-Triangle} + \\ \hline + +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|c|c|c|} \hline + \multicolumn{5}{|c|}{ \BS{tikz} \BS{draw}[\FDD{-Butt Cap},line width=.2cm,blue] (0,0) - - (1.5,1) ;} + \\ \hline +\tikz \draw [-Butt Cap,line width=.5cm,blue] (0,0) - - (1.5,1) ; + & +\tikz \draw [-Fast Round,line width=.5cm,blue] (0,0) - - (1.5,1) ; + & + \tikz \draw[-Fast Triangle,line width=.5cm,blue] (0,0) - - (1.5,1) ; + & + \tikz \draw[-Round Cap,line width=.5cm,blue] (0,0) - - (1.5,1) ; +& +\tikz \draw[-Triangle Cap,line width=.5cm,blue] (0,0) - - (1.5,1) ; + \\ \hline +\FDD{-Butt Cap} &\FDD{-Fast Round} & \FDD{-Fast Triangle} & \FDD{-Round Cap} & \FDD{-Triangle Cap} + \\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|c|} \hline + \multicolumn{3}{|c|}{ \BS{tikz} \BS{draw}[{\color{red} Triangle-Circle},line width=.2cm,blue] (0,0) - - (3.5,1) ;} + \\ \hline +\tikz \draw[Triangle-Circle,line width=.2cm,blue] (0,0) - - (3.5,1); +& +\tikz \draw[-{Circle[] Triangle[]},line width=.2cm,blue] (0,0) - - (3.5,1); +& +\tikz \draw[-{Circle[] . Triangle[] Triangle[] },line width=.2cm,blue] (0,0) - - (3.5,1); +\\ \hline +{\color{red} Triangle-Circle }& {\color{red} \AC{Circle[] Triangle[]}} & {\color{red}\AC{Circle[] . Triangle[] Triangle[] } } +\\ \hline +\end{tabular} +\bigskip + + +\begin{tabular}{|c|c|c|c|c|} \hline + \multicolumn{5}{|c|}{ \BS{tikz} \BS{draw}[\FDD{-Rays}],line width=.1cm,blue] (0,0) - - (1.5,1);} + \\ \hline +\tikz \draw [-Rays,line width=.1cm,blue] (0,0) - -(1.5,1) ; + & +\tikz \draw [-{Rays[n=2]},line width=.1cm,blue] (0,0) - - (1.5,1) ; + & + \tikz \draw[-{Rays[n=3]},line width=.1cm,blue] (0,0) - - (1.5,1) ; + & + \tikz \draw[-{Rays[n=4]},line width=.1cm,blue] (0,0) - - (1.5,1) ; +& +\tikz \draw[-{Rays[n=5]},line width=.1cm,blue] (0,0) - - (1.5,1) ; + \\ \hline +Rays & \AC{Rays[n=2]} & \AC{Rays[n=3]} & \AC{Rays[n=4]} & \AC{Rays[n=5]} + \\ \hline + +\tikz \draw [-{Rays[n=6]},line width=.1cm,blue] (0,0) - - (1.5,1) ; + & +\tikz \draw [-{Rays[n=7]},line width=.1cm,blue] (0,0) - - (1.5,1) ; + & + \tikz \draw[-{Rays[n=8]},line width=.1cm,blue] (0,0) - - (1.5,1) ; + & +\tikz \draw[-{Rays[n=9]},line width=.1cm,blue] (0,0) - - (1.5,1) ; +& +\tikz \draw[-{Rays[n=10]},line width=.1cm,blue] (0,0) - - (1.5,1) ; + \\ \hline +\AC{Rays[n=6]} &\AC{Rays[n=7]} & \AC{Rays[n=8]} & \AC{Rays[n=9]} & \AC{Rays[n=10]} + \\ \hline +\end{tabular} + + + + +\bigskip + +\Par{Paramètre sep}{Parameter sep} + +\RRR{16-4-2} + +\begin{tabular}{|c|c|c|c|c|c|} \hline + \multicolumn{6}{|c|}{ \BS{tikz} \BS{draw}[-\AC{Arc Barb[\RDD{sep}=.25cm] Arc Barb[ ]},line width=.1cm,blue] (0,0) - - (1.5,1);} + \\ \hline +\tikz \draw [-{Arc Barb[sep=.25cm] Arc Barb[]},line width=.1cm,blue] (0,0) - - (1.5,1) ; +& +\tikz \draw [-{Bracket[sep=.25cm] Bracket[]},line width=.1cm,blue] (0,0) - - (1.5,1) ; + & + \tikz \draw[-{Hooks[sep=.25cm] Hooks[]},line width=.1cm,blue] (0,0) - - (1.5,1) ; + & + \tikz \draw[-{Parenthesis[sep=.25cm] Parenthesis[]},line width=.1cm,blue] (0,0) - - (1.5,1) ; +& +\tikz \draw [-{Classical TikZ Rightarrow[sep=.25cm] Classical TikZ Rightarrow[]},line width=.1cm,blue] (0,0) - - (1.5,1) ; +& +\tikz \draw[-{Rays[sep=.25cm] Rays[]},line width=.1cm,blue] (0,0) - - (1.5,1) ; +\\ \hline +Arc Barb & Bracket & Hooks & Parenthesis & Classical TikZ Rightarrow & Rays + \\ \hline + +\tikz \draw[-{Straight Barb[sep=.25cm] Straight Barb[]},line width=.1cm,blue] (0,0) - - (1.5,1) ; +& +\tikz \draw [-{Tee Barb[sep=.25cm] Tee Barb[]},line width=.1cm,blue] (0,0) - - (1.5,1) ; + +& +\tikz \draw[-{Circle[sep=.25cm] Circle[]},line width=.1cm,blue] (0,0) - - (1.5,1) ; +& +\tikz \draw[-{Ellipse[sep=.25cm] Ellipse[]},line width=.1cm,blue] (0,0) - - (1.5,1) ; + & + \tikz \draw[-{Computer Modern Rightarrow[sep=.25cm] Computer Modern Rightarrow[]},line width=.1cm,blue] (0,0) - - (1.5,1) ; +& +\tikz \draw[-{Triangle[sep=.25cm] Triangle[]},line width=.1cm,blue] (0,0) - - (1.5,1) ; + \\ \hline +Straight Barb & Tee Barb & Circle & Ellipse & Computer Modern Rightarrow & Triangle + \\ \hline + +\tikz \draw[-{Latex[sep=.25cm] Latex[]},line width=.1cm,blue] (0,0) - - (1.5,1) ; +& +\tikz \draw[-{Kite[sep=.25cm] Kite[]},line width=.1cm,blue] (0,0) - - (1.5,1) ; +& +\tikz \draw[-{Rectangle[sep=.25cm] Rectangle[]},line width=.1cm,blue] (0,0) - - (1.5,1) ; +& +\tikz \draw[-{Square[sep=.25cm] Square[]},line width=.1cm,blue] (0,0) - - (1.5,1) ; +& +\tikz \draw[-{Stealth[sep=.25cm] Stealth[]},line width=.1cm,blue] (0,0) - - (1.5,1) ; +& +\tikz \draw[-{Turned Square[sep=.25cm] Turned Square[]},line width=.1cm,blue] (0,0) - - (1.5,1) ; + \\ \hline +Latex & Kite & Rectangle & Square & Stealth & Turned Square + \\ \hline +\end{tabular} + +\bigskip + + +\begin{tabular}{|c|c|c|c|c|c|} \hline + \multicolumn{6}{|c|}{ \BS{tikz} \BS{draw}[-\AC{Arc Barb[sep=.25cm] \tikz \fill[red] circle(2pt); Arc Barb[ ]},line width=.1cm,blue] (0,0) - - (1.5,1);} + \\ \hline +\tikz \draw [-{Arc Barb[sep=.25cm]. Arc Barb[]},line width=.1cm,blue] (0,0) - - (1.5,1) ; +& +\tikz \draw [-{Bracket[sep=.25cm] . Bracket[]},line width=.1cm,blue] (0,0) - - (1.5,1) ; + & + \tikz \draw[-{Hooks[sep=.25cm]. Hooks[]},line width=.1cm,blue] (0,0) - - (1.5,1) ; + & + \tikz \draw[-{Parenthesis[sep=.25cm]. Parenthesis[]},line width=.1cm,blue] (0,0) - - (1.5,1) ; +& +\tikz \draw [-{Classical TikZ Rightarrow[sep=.25cm]. Classical TikZ Rightarrow[]},line width=.1cm,blue] (0,0) - - (1.5,1) ; +& +\tikz \draw[-{Rays[sep=.25cm]. Rays[]},line width=.1cm,blue] (0,0) - - (1.5,1) ; +\\ \hline +Arc Barb & Bracket & Hooks & Parenthesis & Classical TikZ Rightarrow & Rays + \\ \hline + +\tikz \draw[-{Straight Barb[sep=.25cm]. Straight Barb[]},line width=.1cm,blue] (0,0) - - (1.5,1) ; +& +\tikz \draw [-{Tee Barb[sep=.25cm]. Tee Barb[]},line width=.1cm,blue] (0,0) - - (1.5,1) ; + +& +\tikz \draw[-{Circle[sep=.25cm]. Circle[]},line width=.1cm,blue] (0,0) - - (1.5,1) ; +& +\tikz \draw[-{Ellipse[sep=.25cm]. Ellipse[]},line width=.1cm,blue] (0,0) - - (1.5,1) ; + & + \tikz \draw[-{Computer Modern Rightarrow[sep=.25cm]. Computer Modern Rightarrow[]},line width=.1cm,blue] (0,0) - - (1.5,1) ; +& +\tikz \draw[-{Triangle[sep=.25cm]. Triangle[]},line width=.1cm,blue] (0,0) - - (1.5,1) ; + \\ \hline +Straight Barb & Tee Barb & Circle & Ellipse & Computer Modern Rightarrow & Triangle + \\ \hline + +\tikz \draw[-{Latex[sep=.25cm]. Latex[]},line width=.1cm,blue] (0,0) - - (1.5,1) ; +& +\tikz \draw[-{Kite[sep=.25cm]. Kite[]},line width=.1cm,blue] (0,0) - - (1.5,1) ; +& +\tikz \draw[-{Rectangle[sep=.25cm]. Rectangle[]},line width=.1cm,blue] (0,0) - - (1.5,1) ; +& +\tikz \draw[-{Square[sep=.25cm]. Square[]},line width=.1cm,blue] (0,0) - - (1.5,1) ; +& +\tikz \draw[-{Stealth[sep=.25cm]. Stealth[]},line width=.1cm,blue] (0,0) - - (1.5,1) ; +& +\tikz \draw[-{Turned Square[sep=.25cm]. Turned Square[]},line width=.1cm,blue] (0,0) - - (1.5,1) ; + \\ \hline +Latex & Kite & Rectangle & Square & Stealth & Turned Square + \\ \hline +\end{tabular} + + + + + + +\newpage + +\Par{Paramètre length}{Parameter length} + +\RRR{16-3-1} + +\begin{tabular}{|c|c|c|c|c|c|} \hline + \multicolumn{6}{|c|}{ \BS{tikz} \BS{draw}[-\AC{Arc Barb[\RDD{length}=1cm]},line width=.2cm,blue] (0,0) - - (1,1);} + \\ \hline + \begin{tikzpicture}[blue,line width=2pt,baseline=.5cm] + \draw[help lines] (0.5,-2) grid (2,2); + \draw [-{Arc Barb[length=1cm]},line width=.2cm,blue] (0.5,0) - - (2,0) ; + \end{tikzpicture} +& +\begin{tikzpicture}[blue,line width=2pt,baseline=.5cm] +\draw[help lines] (0.5,-2) grid (2,2); +\draw [-{Hooks[length=1cm]},line width=.2cm,blue] (0.5,0) - - (2,0) ; +\end{tikzpicture} +& +\begin{tikzpicture}[blue,line width=2pt,baseline=.5cm] +\draw[help lines] (0.5,-2) grid (2,2); +\draw[-{Straight Barb[length=1cm]},line width=.2cm,blue] (0.5,0) - - (2,0) ; +\end{tikzpicture} +& +\begin{tikzpicture}[blue,line width=2pt,baseline=.5cm] +\draw[help lines] (0.5,-2) grid (2,2); +\draw[-{Tee Barb[length=1cm]},line width=.2cm,blue] (0.5,0) - -(2,0) ; +\end{tikzpicture} +& + \begin{tikzpicture}[blue,line width=2pt,baseline=.5cm] + \draw[help lines] (0.5,-2) grid (2,2); +\draw[-{Latex[length=1cm]},line width=.2cm,blue] (0.5,0) - - (2,0) ; + \end{tikzpicture} +& +\begin{tikzpicture}[blue,line width=2pt,baseline=.5cm] +\draw[help lines] (0.5,-2) grid (2,2); +\draw[-{Classical TikZ Rightarrow[length=1cm]},line width=.2cm,blue] (0.5,0) - -(2,0) ; +\end{tikzpicture} +\\ \hline +Arc Barb & Hooks & Straight Barb & Tee Barb & Latex & Classical TikZ Rightarrow + \\ \hline + +\begin{tikzpicture}[blue,line width=2pt,baseline=.5cm] + \draw[help lines] (0.5,-2) grid (2,2); +\draw [-{Straight Barb[length=1cm]},line width=.2cm,blue] (0.5,0) - - (2,0) ; + \end{tikzpicture} +& +\begin{tikzpicture}[blue,line width=2pt,baseline=.5cm] +\draw[help lines] (0.5,-2) grid (2,2); +\draw [-{Diamond[length=1cm]},line width=.2cm,blue] (0.5,0) - - (2,0) ; +\end{tikzpicture} +& + \begin{tikzpicture}[blue,line width=2pt,baseline=.5cm] + \draw[help lines] (0.5,-2) grid (2,2); + \draw[-{Ellipse[length=1cm]},line width=.2cm,blue] (0.5,0) - - (2,0) ; + \end{tikzpicture} +& + \begin{tikzpicture}[blue,line width=2pt,baseline=.5cm] + \draw[help lines] (0.5,-2) grid (2,2); +\draw[-{Kite[length=1cm]},line width=.2cm,blue] (0.5,0) - - (2,0) ; + \end{tikzpicture} + + & + \begin{tikzpicture}[blue,line width=2pt,baseline=.5cm] + \draw[help lines] (0.5,-2) grid (2,2); + \draw[-{Circle[length=1cm]},line width=.2cm,blue] (0.5,0) - - (2,0) ; + \end{tikzpicture} +& + \begin{tikzpicture}[blue,line width=2pt,baseline=.5cm] + \draw[help lines] (0.5,-2) grid (2,2); + \draw[-{Computer Modern Rightarrow[length=1cm]},line width=.2cm,blue] (0.5,0) - - (2,0) ; + \end{tikzpicture} +\\ \hline +Straight Barb & Diamond & Ellipse & Kite & Circle & Computer Modern Rightarrow + \\ \hline +\end{tabular} +\bigskip + +\begin{tabular}{|c|c|} \hline + \multicolumn{2}{|c|}{ \BS{tikz} \BS{draw}[-\AC{Arc Barb[length={\color{green} 0cm} {\color{red} 10}]},line width={\color{blue}.1cm},blue] (0,0) - - (3,1);} + \\ \hline + \begin{tikzpicture}[blue,line width=2pt,baseline=.5cm] + \draw[help lines] (0,-2) grid (3,2); + \draw [-{Arc Barb[length=0cm 10]},line width=.1cm,blue] (0,0) - - (3,0) ; + \end{tikzpicture} +& + \begin{tikzpicture}[blue,line width=2pt,baseline=.5cm] + \draw[help lines] (0,-2) grid (3,2); + \draw [-{Arc Barb[length=.5cm 5]},line width=.1cm,blue] (0,0) - - (3,0) ; + \end{tikzpicture} +\\ \hline +[length={\color{green} 0cm} {\color{red} 10}] & [length={\color{green}.5cm} {\color{red} 5 }] +\\ \hline +{\color{green} 0cm} + {\color{red} 10} x {\color{blue}.1cm} = 1cm & {\color{green}.5cm} + {\color{red} 5 }x {\color{blue}.1cm} = 1cm +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|c|c|} \hline + \multicolumn{2}{|c|}{ \BS{tikz} \BS{draw}[-\AC{Arc Barb[length={\color{green} 0cm} {\color{red} 5 }]},line width={\color{blue}.1cm},blue,double,double distance = {\color{magenta}2 mm}] (0,0) - - (3,1);} + \\ \hline + \begin{tikzpicture}[blue,line width=2pt,baseline=.5cm] + \draw[help lines] (0,-2) grid (3,2); + \draw [-{Arc Barb[length=0cm 5 ]},line width=.1cm,blue,double,double distance =2mm] (0,0) - - (3,0) ; + \end{tikzpicture} +& + \begin{tikzpicture}[blue,line width=2pt,baseline=.5cm] + \draw[help lines] (0,-2) grid (3,2); + \draw [-{Arc Barb[length=0cm 5 .6 ]},line width=.1cm,blue,double,double distance =2mm ] (0,0) - - (3,0) ; + \end{tikzpicture} +\\ \hline + [length={\color{green} 0cm}{\color{red} 5 } ] + & + [length={\color{green} 0cm} {\color{red} 5 } {\color{orange} .6} ] +\\ \hline +{\color{green} 0cm} + {\color{red} 5 } x ({\color{blue}.1cm} + {\color{magenta}2 mm} + {\color{blue}.1cm} ) = 2cm +& +{\color{green} 0cm} + {\color{red} 5 } x (.6 x {\color{blue}.1cm}+ (1-{\color{orange} .6})({\color{blue}.1cm}+ {\color{magenta}2 mm}+{\color{blue}.1cm}) = 11 mm\\ +\hline +\end{tabular} + + + +\newpage +\Par{Paramètre width}{Parameter width} + +\RRR{16-3-1} + + +\begin{tabular}{|c|c|c|c|c|} \hline + \multicolumn{5}{|c|}{ \BS{tikz} \BS{draw}[-\AC{Arc Barb[\RDD{width}=2cm]},line width=.2cm,blue] (0,0) - - (1,1);} + \\ \hline + \begin{tikzpicture}[blue,line width=2pt,baseline=.5cm] + \draw[help lines] (0,-2) grid (2,2); + \draw [-{Arc Barb[width=2cm]},line width=.2cm,blue] (0,0) - - (2,0) ; + \end{tikzpicture} +& +\begin{tikzpicture}[blue,line width=2pt,baseline=.5cm] +\draw[help lines] (0,-2) grid (2,2); +\draw [-{Hooks[width=2cm]},line width=.2cm,blue] (0,0) - - (2,0) ; +\end{tikzpicture} +& +\begin{tikzpicture}[blue,line width=2pt,baseline=.5cm] +\draw[help lines] (0,-2) grid (2,2); +\draw[-{Straight Barb[width=2cm]},line width=.2cm,blue] (0,0) - - (2,0) ; +\end{tikzpicture} +& +\begin{tikzpicture}[blue,line width=2pt,baseline=.5cm] +\draw[help lines] (0,-2) grid (2,2); +\draw[-{Tee Barb[width=2cm]},line width=.2cm,blue] (0,0) - -(2,0) ; +\end{tikzpicture} +& +\begin{tikzpicture}[blue,line width=2pt,baseline=.5cm] +\draw[help lines] (0,-2) grid (2,2); +\draw[-{Classical TikZ Rightarrow[width=2cm]},line width=.2cm,blue] (0,0) - -(2,0) ; +\end{tikzpicture} +\\ \hline +Arc Barb & Hooks & Straight Barb & Tee Barb & Classical TikZ Rightarrow + \\ \hline + +\begin{tikzpicture}[blue,line width=2pt,baseline=.5cm] + \draw[help lines] (0,-2) grid (2,2); +\draw [-{Straight Barb[width=2cm]},line width=.2cm,blue] (0,0) - - (2,0) ; + \end{tikzpicture} +& +\begin{tikzpicture}[blue,line width=2pt,baseline=.5cm] +\draw[help lines] (0,-2) grid (2,2); +\draw [-{Diamond[width=2cm]},line width=.2cm,blue] (0,0) - - (2,0) ; +\end{tikzpicture} +& + \begin{tikzpicture}[blue,line width=2pt,baseline=.5cm] + \draw[help lines] (0,-2) grid (2,2); + \draw[-{Ellipse[width=2cm]},line width=.2cm,blue] (0,0) - - (2,0) ; + \end{tikzpicture} +& + \begin{tikzpicture}[blue,line width=2pt,baseline=.5cm] + \draw[help lines] (0,-2) grid (2,2); +\draw[-{Kite[width=2cm]},line width=.2cm,blue] (0,0) - - (2,0) ; + \end{tikzpicture} +& + \begin{tikzpicture}[blue,line width=2pt,baseline=.5cm] + \draw[help lines] (0,-2) grid (2,2); + \draw[-{Computer Modern Rightarrow[width=2cm]},line width=.2cm,blue] (0,0) - - (2,0) ; + \end{tikzpicture} +\\ \hline +Straight Barb & Diamond & Ellipse & Kite & Computer Modern Rightarrow + \\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|} \hline + \multicolumn{2}{|c|}{ \BS{tikz} \BS{draw}[-\AC{Arc Barb[width={\color{green} 0cm} {\color{red} 10}]},line width={\color{blue}.1cm},blue] (0,0) - - (3,1);} + \\ \hline + \begin{tikzpicture}[blue,line width=2pt,baseline=.5cm] + \draw[help lines,step=.5cm] (0,-1) grid (3,1); + \draw [-{Arc Barb[width=0cm 10]},line width=.1cm,blue] (0,0) - - (3,0) ; + \end{tikzpicture} +& + \begin{tikzpicture}[blue,line width=2pt,baseline=.5cm] + \draw[help lines,step=.5cm] (0,-1) grid (3,1); + \draw [-{Arc Barb[width=.5cm 5]},line width=.1cm,blue] (0,0) - - (3,0) ; + \end{tikzpicture} +\\ \hline +[width={\color{green} 0cm} {\color{red} 10}] & [width={\color{green}.5cm} {\color{red} 5 }] +\\ \hline +{\color{green} 0cm} + {\color{red} 10} x {\color{blue}.1cm} = 1cm & {\color{green}.5cm} + {\color{red} 5 }x {\color{blue}.1cm} = 1cm +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|c|c|} \hline + \multicolumn{2}{|c|}{ \BS{tikz} \BS{draw}[-\AC{Arc Barb[width={\color{green} 0cm} {\color{red} 5 }]},line width={\color{blue}.1cm},blue,double,double distance = {\color{magenta}2 mm}] (0,0) - - (3,1);} + \\ \hline + \begin{tikzpicture}[blue,line width=2pt,baseline=.5cm] + \draw[help lines,step=.5cm] (0,-1) grid (3,1); + \draw [-{Arc Barb[width=0cm 5 ]},line width=.1cm,blue,double,double distance =2mm] (0,0) - - (3,0) ; + \end{tikzpicture} +& + \begin{tikzpicture}[blue,line width=2pt,baseline=.5cm] + \draw[help lines,step=.5cm] (0,-1) grid (3,1); + \draw [-{Arc Barb[width=0cm 5 .6 ]},line width=.1cm,blue,double,double distance =2mm ] (0,0) - - (3,0) ; + \end{tikzpicture} +\\ \hline + [width={\color{green} 0cm}{\color{red} 5 } ] + & + [width={\color{green} 0cm} {\color{red} 5 } {\color{orange} .6} ] +\\ \hline +{\color{green} 0cm} + {\color{red} 5 } x ({\color{blue}.1cm} + {\color{magenta}2 mm} + {\color{blue}.1cm} ) = 2cm +& +{\color{green} 0cm} + {\color{red} 5 } x (.6 x {\color{blue}.1cm}+ (1-{\color{orange} .6})({\color{blue}.1cm}+ {\color{magenta}2 mm}+{\color{blue}=.1cm}) = 11 mm\\ +\hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|} \hline + \multicolumn{2}{|c|}{ \BS{tikz} \BS{draw}[-\AC{Arc Barb[length={\color{blue}1cm},width={\color{green} 0cm} {\color{red} 1.5}]},line width'=.1cm,blue] (0,0) - - (3,1);} + \\ \hline + \begin{tikzpicture}[blue,line width=2pt,baseline=.5cm] + \draw[help lines,step=.5cm] (0,-1) grid (3,1); + \draw [-{Arc Barb[length=1cm,width'=0cm 1.5]},line width=.1cm,blue] (0,0) - - (3,0) ; + \end{tikzpicture} +& + \begin{tikzpicture}[blue,line width=2pt,baseline=.5cm] + \draw[help lines,step=.5cm] (0,-1) grid (3,1); + \draw [-{Arc Barb[length=1cm,width'=.5cm .5]},line width=.1cm,blue] (0,0) - - (3,0) ; + \end{tikzpicture} +\\ \hline +[width'={\color{green} 0cm} {\color{red} 1.5}] & [width'={\color{green}.5cm} {\color{red} .5 }] +\\ \hline +{\color{green} 0cm} + {\color{red} 1.5} x {\color{blue} 1cm} = 1.5cm & +{\color{green}.5cm} + {\color{red} .5 }x {\color{blue}1cm} = 1cm +\\ \hline +\end{tabular} + + + + +\bigskip + +\begin{tabular}{|c|c|c|c|} \hline + \multicolumn{2}{|c|}{ \BS{tikz} \BS{draw}[-\AC{Arc Barb[length={\color{blue}1cm},width'={\color{green} 0cm} {\color{red} 1.5 }]},line width=.1cm,blue,double,double distance = {\color{magenta}2 mm}] (0,0) - - (3,1);} + \\ \hline + \begin{tikzpicture}[blue,line width=2pt,baseline=.5cm] + \draw[help lines,step=.5cm] (0,-1) grid (3,1); + \draw [-{Arc Barb[length=1cm,width'=0cm 1.5 ]},line width=.1cm,blue,double,double distance =2mm] (0,0) - - (3,0) ; + \end{tikzpicture} +& + \begin{tikzpicture}[blue,line width=2pt,baseline=.5cm] + \draw[help lines,step=.5cm] (0,-1) grid (3,1); + \draw [-{Arc Barb[length=1cm,width'=0cm 1.5 .6 ]},line width=.1cm,blue,double,double distance =2mm ] (0,0) - - (3,0) ; + \end{tikzpicture} +\\ \hline + [width'={\color{green} 0cm} {\color{red} 1.5 } ] + & + [width'={\color{green} 0cm} {\color{red} 1.5 } {\color{orange} .6} ] +\\ \hline +{\color{green} 0cm} + \color{red} 1.5 x {\color{blue}1cm} = 1.5cm +& +{\color{green} 0cm} + {\color{red} 1.5 } x (.6 x {\color{blue} 1cm}+ (1-{\color{orange} .6})({\color{blue} 1cm}+ {\color{magenta}2 mm}+{\color{blue} 1cm}) = 11 mm\\ +\hline +\end{tabular} + +% % A VOIR +% +%\bigskip +% +% \begin{tikzpicture}[blue,line width=2pt,baseline=.5cm] +% \draw[help lines,step=.5cm] (0,-1) grid (3,1); +% \draw [-{Arc Barb[length=1cm,width'=0cm 2 0 ]},line width=.1cm,blue,double,double distance =2mm ] (0,0) - - (3,0) ; +% \end{tikzpicture} +% \begin{tikzpicture}[blue,line width=2pt,baseline=.5cm] +% \draw[help lines,step=.5cm] (0,-1) grid (3,1); +% \draw [-{Arc Barb[length=1cm,width'=0cm 2 .5 ]},line width=.1cm,blue,double,double distance =2mm ] (0,0) - - (3,0) ; +% \end{tikzpicture} +% \begin{tikzpicture}[blue,line width=2pt,baseline=.5cm] +% \draw[help lines,step=.5cm] (0,-2) grid (3,2); +% \draw [-{Arc Barb[length=1cm,width'=0cm 1 5 ]},line width=.1cm,blue,double,double distance =2mm ] (0,0) - - (3,0) ; +% \end{tikzpicture} + + \bigskip + \Par{Paramètre inset}{Parameter inset} + + \RRR{16-3-1} + + \begin{tabular}{|c|c|c|} \hline + \multicolumn{3}{|c|}{ \BS{tikz} \BS{draw}[-\AC{Tee Barb[\RDD{inset}=0pt]},line width=.2cm,blue] (0,0) - - (1,1);} + \\ \hline + \begin{tikzpicture}[blue,line width=2pt,baseline=.5cm] + \draw[help lines] (0,-1) grid (2,1); + \draw [-{Tee Barb[inset=0pt]},line width=.2cm,blue] (0,0) - - (2,0) ; + \end{tikzpicture} + & + \begin{tikzpicture}[blue,line width=2pt,baseline=.5cm] + \draw[help lines] (0,-1) grid (2,1); + \draw [-{Kite[inset=0pt]},line width=.2cm,blue] (0,0) - - (2,0) ; + \end{tikzpicture} + & + \begin{tikzpicture}[blue,line width=2pt,baseline=.5cm] + \draw[help lines] (0,-1) grid (2,1); + \draw [-{Stealth[inset=0pt]},line width=.2cm,blue] (0,0) - - (2,0) ; + \end{tikzpicture} + \\ \hline + Tee Barb[inset=0pt] & Kite[inset=0pt] & Stealth[inset=0pt] + \\ \hline + \begin{tikzpicture}[blue,line width=2pt,baseline=.5cm] + \draw[help lines] (0,-1) grid (2,1); + \draw [-{Tee Barb[inset=1cm]},line width=.2cm,blue] (0,0) - - (2,0) ; + \end{tikzpicture} + & + \begin{tikzpicture}[blue,line width=2pt,baseline=.5cm] + \draw[help lines] (0,-1) grid (2,1); + \draw [-{Kite[inset=1cm]},line width=.2cm,blue] (0,0) - - (2,0) ; + \end{tikzpicture} + & + \begin{tikzpicture}[blue,line width=2pt,baseline=.5cm] + \draw[help lines] (0,-1) grid (2,1); + \draw [-{Stealth[inset=.5cm]},line width=.2cm,blue] (0,0) - - (2,0) ; + \end{tikzpicture} + \\ \hline + Tee Barb[inset=1cm] & Kite[inset=1cm] & Stealth[inset=.5cm] + \\ \hline + \end{tabular} + + \bigskip + + \begin{tabular}{|c|c|c|c|} \hline + \multicolumn{4}{|c|}{ \BS{tikz} \BS{draw}[-\AC{Fast Round[inset=1cm]},line width=.2cm,blue] (0,0) - - (1,1);} + \\ \hline + \begin{tikzpicture}[blue,line width=2pt,baseline=.5cm] + \draw[help lines] (0,-1) grid (3,1); + \draw [-{Fast Round[inset=1cm]},line width=.5cm,blue] (0,0) - - (3,0) ; + \end{tikzpicture} + & + \begin{tikzpicture}[blue,line width=2pt,baseline=.5cm] + \draw[help lines] (0,-1) grid (3,1); + \draw [-{Fast Round[inset=2cm]},line width=.5cm,blue] (0,0) - - (3,0) ; + \end{tikzpicture} + & + \begin{tikzpicture}[blue,line width=2pt,baseline=.5cm] + \draw[help lines] (0,-1) grid (3,1); + \draw [-{Fast Triangle[inset=1cm]},line width=.5cm,blue] (0,0) - - (3,0) ; + \end{tikzpicture} + & + \begin{tikzpicture}[blue,line width=2pt,baseline=.5cm] + \draw[help lines] (0,-1) grid (3,1); + \draw [-{Fast Triangle[inset=2cm]},line width=.5cm,blue] (0,0) - - (3,0) ; + \end{tikzpicture} + \\ \hline + Fast Round[inset=1cm] & Fast Round[inset=2cm] & Fast Triangle[inset=1cm] & Fast Triangle[inset=2cm] + \\ \hline + \end{tabular} + + \bigskip + + \begin{tabular}{|c|c|c|c|} \hline + \begin{tikzpicture}[blue,line width=2pt,baseline=.5cm] + \draw[help lines] (0,-1) grid (3,1); + \draw [-{Kite[inset=1cm 1]},line width=.2cm,blue] (0,0) - - (3,0) ; + \end{tikzpicture} + %\tikz \draw[-{Kite[inset=1cm 1]},line width=.2cm,blue] (0,0) - - (3,1) ; + & + \begin{tikzpicture}[blue,line width=2pt,baseline=.5cm] + \draw[help lines] (0,-1) grid (3,1); + \draw [-{Kite[inset=1cm 2]},line width=.2cm,blue] (0,0) - - (3,0) ; + \end{tikzpicture} + & + \begin{tikzpicture}[blue,line width=2pt,baseline=.5cm] + \draw[help lines] (0,-1) grid (3,1); + \draw [-{Kite[inset=1cm 4]},line width=.2cm,blue] (0,0) - - (3,0) ; + \end{tikzpicture} + & + \begin{tikzpicture}[blue,line width=2pt,baseline=.5cm] + \draw[help lines] (0,-1) grid (3,1); + \draw [-{Kite[inset=1cm .2]},line width=.2cm,blue] (0,0) - - (3,0) ; + \end{tikzpicture} + \\ \hline inset=1cm 1 & inset=1cm 2 & inset=1cm 4 & inset=1cm .2 \\ + \hline + \end{tabular} + + + \bigskip + + \begin{tabular}{|c|c|c|c|} \hline + \begin{tikzpicture}[blue,line width=2pt,baseline=.5cm] + \draw[help lines] (0,-1) grid (3,1); + \draw [-{Kite[inset=0cm 1]},line width=.2cm,blue] (0,0) - - (3,0) ; + \end{tikzpicture} + & + \begin{tikzpicture}[blue,line width=2pt,baseline=.5cm] + \draw[help lines] (0,-1) grid (3,1); + \draw [-{Kite[inset=0cm 2]},line width=.2cm,blue] (0,0) - - (3,0) ; + \end{tikzpicture} + & + \begin{tikzpicture}[blue,line width=2pt,baseline=.5cm] + \draw[help lines] (0,-1) grid (3,1); + \draw [-{Kite[inset=0cm 4]},line width=.2cm,blue] (0,0) - - (3,0) ; + \end{tikzpicture} + & + \begin{tikzpicture}[blue,line width=2pt,baseline=.5cm] + \draw[help lines] (0,-1) grid (3,1); + \draw [-{Kite[inset=1cm .2]},line width=.2cm,blue] (0,0) - - (3,0) ; + \end{tikzpicture} + \\ \hline inset=0cm 1 & inset=0cm 2 & inset=0cm 4 & inset=0cm .2 \\ + \hline + \end{tabular} + + + \bigskip + + \begin{tabular}{|c|c|c|c|} \hline + \begin{tikzpicture}[blue,line width=2pt,baseline=.5cm] + \draw[help lines] (0,-1) grid (3,1); + \draw[-{Kite[inset=1cm .2]},line width=.1cm,blue,double,double distance =2mm] (0,0) - - (3,0) ; + \end{tikzpicture} + & + \begin{tikzpicture}[blue,line width=2pt,baseline=.5cm] + \draw[help lines] (0,-1) grid (3,1); + \draw[-{Kite[inset=1cm .2 2]},line width=.1cm,blue,double,double distance =2mm] (0,0) - - (3,0) ; + \end{tikzpicture} + & + \begin{tikzpicture}[blue,line width=2pt,baseline=.5cm] + \draw[help lines] (0,-1) grid (3,1); + \draw[-{Kite[inset=1cm .2 10]},line width=.1cm,blue,double,double distance =2mm] (0,0) - - (3,0) ; + \end{tikzpicture} + & + \begin{tikzpicture}[blue,line width=2pt,baseline=.5cm] + \draw[help lines] (0,-1) grid (3,1); + \draw[-{Kite[inset=1cm 2 .5]},line width=.1cm,blue,double,double distance =2mm] (0,0) - - (3,0) ; + \end{tikzpicture} + \\ \hline + inset=0cm .2 & inset=0cm .2 2 & inset=0cm .2 10 & inset=0cm 2 .5 \\ + \hline + \end{tabular} + \bigskip + + + \begin{tabular}{|c|c|c|c|} \hline + \begin{tikzpicture}[blue,line width=2pt,baseline=.5cm] + \draw[help lines] (0,-1) grid (3,1); + \draw[-{Kite[inset=0cm .2]},line width=.1cm,blue,double,double distance =2mm] (0,0) - - (3,0) ; + \end{tikzpicture} + & + \begin{tikzpicture}[blue,line width=2pt,baseline=.5cm] + \draw[help lines] (0,-1) grid (3,1); + \draw[-{Kite[inset=0cm .2 2]},line width=.1cm,blue,double,double distance =2mm] (0,0) - - (3,0) ; + \end{tikzpicture} + & + \begin{tikzpicture}[blue,line width=2pt,baseline=.5cm] + \draw[help lines] (0,-1) grid (3,1); + \draw[-{Kite[inset=0cm .2 10]},line width=.1cm,blue,double,double distance =2mm] (0,0) - - (3,0) ; + \end{tikzpicture} + & + \begin{tikzpicture}[blue,line width=2pt,baseline=.5cm] + \draw[help lines] (0,-1) grid (3,1); + \draw[-{Kite[inset=0cm 2 .5]},line width=.1cm,blue,double,double distance =2mm] (0,0) - - (3,0) ; + \end{tikzpicture} + \\ \hline + inset=0cm .2 & inset=0cm .2 2 & inset=0cm .2 10 & inset=0cm 2 .5 \\ + \hline + \end{tabular} + +\bigskip + +\Par{Paramètre angle}{Parameter angle} + +\RRR{16-3-1} + + +\begin{tabular}{|c|c|c|c|c|} \hline + \multicolumn{5}{|c|}{ \BS{tikz} \BS{draw}[-\AC{Straight Barb[\RDD{angle}=60:.5cm 1]},line width=.2cm,blue] (0,0) - - (1,1);} + \\ \hline + +\tikz \draw[-{Straight Barb[angle=60:.5cm 1]},line width=1pt,blue] (0,0) - - (1,1) ; +& +\tikz \draw[-{Straight Barb[angle=60:.5cm 5]},line width=1pt,blue] (0,0) - - (1,1) ; +& +\tikz \draw[-{Straight Barb[angle=60:.5cm 20]},line width=1pt,blue] (0,0) - - (1,1) ; +& +\tikz \draw[-{Straight Barb[angle=60:.5cm 5]},line width=3pt,blue] (0,0) - - (1,1) ; +& +\tikz \draw[-{Straight Barb[angle=90:.5cm 5]},line width=3pt,blue] (0,0) - - (1,1) ; +\\ +\hline +[angle=60:.5cm 1] & [angle=60:.5cm 1] & [angle=60:.5cm 20] & [angle=60:.5cm 5] & [angle=90:.5cm 5] \\ +\hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|c|c|c|} \hline + \multicolumn{5}{|c|}{ \BS{tikz} \BS{draw}[-\AC{Triangle[angle=60:.5cm 1]},line width=.2cm,blue] (0,0) - - (1,1);} + \\ \hline + +\tikz \draw[-{Triangle[angle=60:.5cm 1]},line width=1pt,blue] (0,0) - - (1,1) ; +& +\tikz \draw[-{Triangle[angle=60:.5cm 5]},line width=1pt,blue] (0,0) - - (1,1) ; +& +\tikz \draw[-{Triangle[angle=60:.5cm 20]},line width=1pt,blue] (0,0) - - (1,1) ; +& +\tikz \draw[-{Triangle[angle=60:.5cm 5]},line width=3pt,blue] (0,0) - - (1,1) ; +& +\tikz \draw[-{Triangle[angle=90:.5cm 5]},line width=3pt,blue] (0,0) - - (1,1) ; +\\ +\hline +[angle=60:.5cm 1] & [angle=60:.5cm 1] & [angle=60:.5cm 20] & [angle=60:.5cm 5] & [angle=90:.5cm 5] \\ +\hline +\end{tabular} + +\Par{Paramètre scale}{Parameter scale} +\RRR{16-3-2} + + +\begin{tabular}{|c|c|c|} \hline + \multicolumn{3}{|c|}{\BS{tikz} \BS{draw}[-\AC{Arc Barb[\RDD{scale}=4]},li ne width=.1cm,blue] (0,0) - - (3,0) ; } + \\ \hline + \begin{tikzpicture}[blue,line width=2pt,baseline=.5cm] + \draw[help lines,step=.5cm] (0,-1) grid (3,1); + \draw [-{Arc Barb[scale=4]},line width=.1cm,blue] (0,0) - - (3,0) ; + \end{tikzpicture} +& + \begin{tikzpicture}[blue,line width=2pt,baseline=.5cm] + \draw[help lines,step=.5cm] (0,-1) grid (3,1); + \draw [-{Arc Barb[scale length=4]},line width=.1cm,blue] (0,0) - - (3,0) ; + \end{tikzpicture} +& + \begin{tikzpicture}[blue,line width=2pt,baseline=.5cm] + \draw[help lines,step=.5cm] (0,-1) grid (3,1); + \draw [-{Arc Barb[scale width=4]},line width=.1cm,blue] (0,0) - - (3,0) ; + \end{tikzpicture} +\\ \hline +\RDD{scale}=4 & \RDD{scale length}=4 & \RDD{scale width}=4 \\ +\hline +\end{tabular} + +\bigskip + +\Par{Paramètre arc}{Parameter arc} +\RRR{16-3-3} + +\begin{tabular}{|c|c|c|c|} \hline + \multicolumn{4}{|c|}{ \BS{tikz} \BS{draw}[-\AC{Arc Barb[\RDD{arc}=270]},line width=.2cm,blue] (0,0) - - (3,1);} + \\ \hline +\tikz \draw [-{Arc Barb[arc=270]},line width=.2cm,blue] (0,0) - - (3,1) ; + & + + \tikz \draw [-{Arc Barb[arc=360]},line width=.2cm,blue] (0,0) - - (3,1) ; + & +\tikz \draw [-{Hooks[arc=270]},line width=.2cm,blue] (0,0) - - (3,1) ; + & +\tikz \draw [-{Hooks[arc=360]},line width=.2cm,blue] (0,0) - - (3,1) ; + \\ \hline +Arc Barb[arc=270] & Arc Barb[arc=360] & Hooks[arc=270] & Hooks[arc=360] + \\ \hline +\end{tabular} + +\bigskip + +\Par{Paramètre slant}{Parameter slant} +\RRR{16-3-4} + +\begin{tabular}{|c|c|c|c|c|} \hline + \multicolumn{5}{|c|}{ \BS{tikz} \BS{draw}[-\AC{Arc Barb[\RDD{slant}=.3]},line width=.2cm,blue] (0,0) - - (1,1);} + \\ \hline +\tikz \draw [-{Arc Barb[slant=0]},line width=.2cm,blue] (0,0) - - (1,1) ; +& +\tikz \draw [-{Arc Barb[slant=.3]},line width=.2cm,blue] (0,0) - - (1,1) ; +& +\tikz \draw [-{Arc Barb[slant=.5]},line width=.2cm,blue] (0,0) - - (1,1) ; +& +\tikz \draw [-{Arc Barb[slant=.8]},line width=.2cm,blue] (0,0) - - (1,1) ; +& +\tikz \draw [-{Arc Barb[slant=1 +]},line width=.2cm,blue] (0,0) - - (1,1) ; + \\ \hline +slant=0 & slant=0.3 & slant=0.5 & slant=0.8 & slant=1 + \\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|c|c|c|} \hline + \multicolumn{5}{|c|}{ \BS{tikz} \BS{draw}[-\AC{Arc Barb[slant=.5]},line width=.2cm,blue] (0,0) - - (1,1);} + \\ \hline +\tikz \draw [-{Arc Barb[slant=.5]},line width=.2cm,blue] (0,0) - - (1,1) ; + & +\tikz \draw[-{Bracket[slant=.5]},line width=.2cm,blue] (0,0) - - (1,1) ; + & +\tikz \draw [-{Hooks[slant=.5]},line width=.2cm,blue] (0,0) - - (1,1) ; + & +\tikz \draw[-{Parenthesis[slant=.5]},line width=.2cm,blue] (0,0) - - (1,1) ; +& +\tikz \draw[-{Classical TikZ Rightarrow[slant=.5]},line width=.2cm,blue] (0,0) - - (1,1) ; + \\ \hline +Arc Barb & Bracket & Hooks & Parenthesis & Classical TikZ Rightarrow + \\ \hline +\tikz \draw [-{Straight Barb[slant=.5]},line width=.2cm,blue] (0,0) - - (1,1) ; +& +\tikz \draw [-{Tee Barb[slant=.5]},line width=.2cm,blue] (0,0) - - (1,1) ; +& +\tikz \draw[-{Circle[slant=.5]},line width=.2cm,blue] (0,0) - - (1,1) ; +& +\tikz \draw[-{Diamond[slant=.5]},line width=.2cm,blue] (0,0) - - (1,1) ; +& +\tikz \draw[-{Ellipse[slant=.5]},line width=.2cm,blue] (0,0) - - (1,1) ; + \\ \hline +Straight Barb & Tee Barb & Circle & Diamond & Ellipse +\\ \hline + +\tikz \draw[-{Kite[slant=.5]},line width=.2cm,blue] (0,0) - - (1,1) ; +& +\tikz \draw[-{Latex[slant=.5]},line width=.2cm,blue] (0,0) - - (1,1) ; +& +\tikz \draw[-{Rectangle[slant=.5]},line width=.2cm,blue] (0,0) - - (1,1) ; +& +\tikz \draw[-{Square[slant=.5]},line width=.2cm,blue] (0,0) - - (1,1) ; +& +\tikz \draw[-{Stealth[slant=.5]},line width=.2cm,blue] (0,0) - - (1,1) ; +\\ \hline +Kite & Latex & Rectangle & Square & Stealth +\\ \hline + +\tikz \draw[-{Turned Square[slant=.5]},line width=.2cm,blue] (0,0) - - (1,1) ; +& +\tikz \draw[-{Fast Round[slant=.5]},line width=.2cm,blue] (0,0) - - (1,1) ; +& +\tikz \draw[-{Fast Triangle[slant=.5]},line width=.2cm,blue] (0,0) - - (1,1) ; +& +\tikz \draw[-{Round Cap[slant=.5]},line width=.2cm,blue] (0,0) - - (1,1) ; +& +\tikz \draw[-{Triangle Cap[slant=.5]},line width=.2cm,blue] (0,0) - - (1,1) ; +\\ \hline +Turned Square & Fast Round & Fast Triangle & Round Cap & Triangle Cap +\\ \hline +\end{tabular} + +\Par{Paramètre reversed}{Parameter reversed} +\RRR{16-3-5} + +\begin{tabular}{|c|c|c|c|} \hline + \multicolumn{4}{|c|}{ \BS{tikz} \BS{draw}[-\AC{Arc Barb[\RDD{reversed}},line width=.2cm,blue] (0,0) - - (2,1) ;} + \\ \hline +\tikz \draw [-{Arc Barb[reversed]},line width=.2cm,blue] (0,0) - - (2,1) ; + + & + \tikz \draw[-{Bracket[reversed]},line width=.2cm,blue] (0,0) - - (2,1) ; + & + \tikz \draw [-{Hooks[reversed]},line width=.2cm,blue] (0,0) - - (2,1) ; + +& +\tikz \draw[-{Classical TikZ Rightarrow[reversed]},line width=.2cm,blue] (0,0) - - (2,1) ; + \\ \hline +Arc Barb & Bracket & Hooks & Classical TikZ Rightarrow + \\ \hline +\tikz \draw [-{Straight Barb[reversed]},line width=.2cm,blue] (0,0) - - (2,1) ; + & +\tikz \draw [-{Tee Barb[reversed]},line width=.2cm,blue] (0,0) - - (2,1) ; + & +\tikz \draw[-{Parenthesis[reversed]},line width=.2cm,blue] (0,0) - - (2,1) ; + & +\tikz \draw[-{Computer Modern Rightarrow[reversed]},line width=.2cm,blue] (0,0) - - (2,1) ; + \\ \hline +Straight Barb & Tee Barb & Parenthesis & Computer Modern Rightarrow + \\ \hline +\end{tabular} + + +\bigskip + + +\begin{tabular}{|c|c|c|c|} \hline + \multicolumn{4}{|c|}{ \BS{tikz} \BS{draw}[-\AC{Fast Round[reversed]},line width=.5cm,blue] (0,0) - - (2,1);} + \\ \hline + \tikz \draw[-{Fast Round[reversed]},line width=.5cm,blue] (0,0) - - (2,1) ; + & +\tikz \draw[-{Fast Triangle[reversed]},line width=.5cm,blue] (0,0) - - (2,1) ; +& +\tikz \draw[-{Round Cap[reversed]},line width=.5cm,blue] (0,0) - - (2,1) ; +& +\tikz \draw[-{Triangle Cap[reversed]},line width=.5cm,blue] (0,0) - - (2,1) ; +\\ \hline + Fast Round & Fast Triangle & Round Cap & Triangle Cap + \\ \hline +\end{tabular} + +\newpage + +\Par{Paramètre left}{Parameter left} +\RRR{16-3-5} + +\begin{tabular}{|c|c|c|c|c|c|} \hline + \multicolumn{6}{|c|}{ \BS{tikz} \BS{draw}[-\AC{Arc Barb[\RDD{left}]},line width=.2cm,blue] (0,0) - - (1.5,1);} + \\ \hline +\tikz \draw [-{Arc Barb[left]},line width=.2cm,blue] (0,0) - - (1.5,1) ; + & + \tikz \draw[-{Bracket[left]},line width=.2cm,blue] (0,0) - - (1.5,1) ; + & +\tikz \draw [-{Hooks[left]},line width=.2cm,blue] (0,0) - - (1.5,1) ; + + & +\tikz \draw[-{Parenthesis[left]},line width=.2cm,blue] (0,0) - - (1.5,1) ; +& +\tikz \draw[-{Classical TikZ Rightarrow[left]},line width=.2cm,blue] (0,0) - - (1.5,1) ; +& +\tikz \draw[-{Triangle[left]},line width=.2cm,blue] (0,0) - - (1.5,1) ; + \\ \hline +Arc Barb & Bracket & Hooks & Parenthesis & Classical TikZ Rightarrow & Triangle + \\ \hline + +\tikz \draw [-{Straight Barb[left]},line width=.2cm,blue] (0,0) - - (1.5,1) ; +& +\tikz \draw [-{Tee Barb[left]},line width=.2cm,blue] (0,0) - - (1.5,1) ; +& +\tikz \draw[-{Circle[left]},line width=.2cm,blue] (0,0) - - (1.5,1) ; +& +\tikz \draw[-{Diamond[left]},line width=.2cm,blue] (0,0) - - (1.5,1) ; +& +\tikz \draw[-{Ellipse[left]},line width=.2cm,blue] (0,0) - - (1.5,1) ; +& +\tikz \draw[-{Turned Square[left]},line width=.2cm,blue] (0,0) - - (1.5,1) ; +\\ \hline +Straight Barb & Tee Barb & Circle & Diamond & Ellipse & Turned Square + \\ \hline + +\tikz \draw[-{Kite[left]},line width=.2cm,blue] (0,0) - - (1.5,1) ; +& +\tikz \draw[-{Latex[left]},line width=.2cm,blue] (0,0) - - (1.5,1) ; +& +\tikz \draw[-{Rectangle[left]},line width=.2cm,blue] (0,0) - - (1.5,1) ; +& +\tikz \draw[-{Square[left]},line width=.2cm,blue] (0,0) - - (1.5,1) ; +& +\tikz \draw[-{Stealth[left]},line width=.2cm,blue] (0,0) - - (1.5,1) ; +& +\tikz \draw[-{Rays[left]},line width=.2cm,blue] (0,0) - - (1.5,1) ; +\\ \hline +Kite & Latex & Rectangle & Square & Stealth & Rays +\\ \hline +\end{tabular} + +\bigskip + +\Par{Paramètre right}{Parameter right} +\RRR{16-3-5} + + +\begin{tabular}{|c|c|c|c|c|c|} \hline + \multicolumn{6}{|c|}{ \BS{tikz} \BS{draw}[-\AC{Arc Barb[\RDD{right}]},line width=.2cm,blue] (0,0) - - (1.5,1);} + \\ \hline +\tikz \draw [-{Arc Barb[right]},line width=.2cm,blue] (0,0) - - (1.5,1) ; + & + \tikz \draw[-{Bracket[right]},line width=.2cm,blue] (0,0) - - (1.5,1) ; + & +\tikz \draw [-{Hooks[right]},line width=.2cm,blue] (0,0) - - (1.5,1) ; + + & +\tikz \draw[-{Parenthesis[right]},line width=.2cm,blue] (0,0) - - (1.5,1) ; +& +\tikz \draw[-{Classical TikZ Rightarrow[right]},line width=.2cm,blue] (0,0) - - (1.5,1) ; +& +\tikz \draw[-{Triangle[right]},line width=.2cm,blue] (0,0) - - (1.5,1) ; + \\ \hline +Arc Barb & Bracket & Hooks & Parenthesis & Classical TikZ Rightarrow & Triangle + \\ \hline + +\tikz \draw [-{Straight Barb[right]},line width=.2cm,blue] (0,0) - - (1.5,1) ; +& +\tikz \draw [-{Tee Barb[right]},line width=.2cm,blue] (0,0) - - (1.5,1) ; +& +\tikz \draw[-{Circle[right]},line width=.2cm,blue] (0,0) - - (1.5,1) ; +& +\tikz \draw[-{Diamond[right]},line width=.2cm,blue] (0,0) - - (1.5,1) ; +& +\tikz \draw[-{Ellipse[right]},line width=.2cm,blue] (0,0) - - (1.5,1) ; +& +\tikz \draw[-{Turned Square[right]},line width=.2cm,blue] (0,0) - - (1.5,1) ; +\\ \hline +Straight Barb & Tee Barb & Circle & Diamond & Ellipse & Turned Square + \\ \hline + +\tikz \draw[-{Kite[right]},line width=.2cm,blue] (0,0) - - (1.5,1) ; +& +\tikz \draw[-{Latex[right]},line width=.2cm,blue] (0,0) - - (1.5,1) ; +& +\tikz \draw[-{Rectangle[right]},line width=.2cm,blue] (0,0) - - (1.5,1) ; +& +\tikz \draw[-{Square[right]},line width=.2cm,blue] (0,0) - - (1.5,1) ; +& +\tikz \draw[-{Stealth[right]},line width=.2cm,blue] (0,0) - - (1.5,1) ; +& +\tikz \draw[-{Rays[right]},line width=.2cm,blue] (0,0) - - (1.5,1) ; +\\ \hline +Kite & Latex & Rectangle & Square & Stealth & Rays +\\ \hline +\end{tabular} + +\Par{Paramètre harpoon}{Parameter harpoon} +\RRR{16-3-5} + +\begin{tabular}{|c|c|c|c|c|c|c|} \hline + \multicolumn{7}{|c|}{ \BS{tikz} \BS{draw}[-\AC{Arc Barb[\RDD{harpoon}]},line width=.2cm,blue] (0,0) - - (1,1);} + \\ \hline +\tikz \draw [-{Arc Barb[harpoon]},line width=.2cm,blue] (0,0) - - (1,1) ; + & +\tikz \draw[-{Bracket[harpoon]},line width=.2cm,blue] (0,0) - - (1,1) ; + & +\tikz \draw [-{Hooks[harpoon]},line width=.2cm,blue] (0,0) - - (1,1) ; + & +\tikz \draw[-{Parenthesis[harpoon]},line width=.2cm,blue] (0,0) - - (1,1) ; +& +\tikz \draw[-{Classical TikZ Rightarrow[harpoon]},line width=.2cm,blue] (0,0) - - (1,1) ; +& +\tikz \draw [-{Straight Barb[harpoon]},line width=.2cm,blue] (0,0) - - (1,1) ; + & +\tikz \draw [-{Tee Barb[harpoon]},line width=.2cm,blue] (0,0) - - (1,1) ; + \\ \hline +Arc Barb & Bracket& Hooks & Parenthesis & Classical TikZ Rightarrow & Straight Barb & Tee Barb +\\ \hline +\end{tabular} + +\bigskip +\begin{tabular}{|c|c|c|c|c|c|c|} \hline + \multicolumn{7}{|c|}{ \BS{tikz} \BS{draw}[-\AC{Arc Barb[harpoon,\RDD{swap}]},line width=.2cm,blue] (0,0) - - (1,1);} + \\ \hline +\tikz \draw [-{Arc Barb[harpoon,swap]},line width=.2cm,blue] (0,0) - - (1,1) ; + & +\tikz \draw[-{Bracket[harpoon,swap]},line width=.2cm,blue] (0,0) - - (1,1) ; + & +\tikz \draw [-{Hooks[harpoon,swap]},line width=.2cm,blue] (0,0) - - (1,1) ; + & +\tikz \draw[-{Parenthesis[harpoon,swap]},line width=.2cm,blue] (0,0) - - (1,1) ; +& +\tikz \draw[-{Classical TikZ Rightarrow[harpoon,swap]},line width=.2cm,blue] (0,0) - - (1,1) ; +& +\tikz \draw [-{Straight Barb[harpoon,swap]},line width=.2cm,blue] (0,0) - - (1,1) ; + & +\tikz \draw [-{Tee Barb[harpoon,swap]},line width=.2cm,blue] (0,0) - - (1,1) ; + \\ \hline +Arc Barb & Bracket& Hooks & Parenthesis & Classical TikZ Rightarrow & Straight Barb & Tee Barb +\\ \hline +\end{tabular} + +\newpage + +\Par{Paramètre color}{Parameter color} +\RRR{16-3-6} + +\begin{tabular}{|c|c|c|} \hline + \multicolumn{3}{|c|}{ \BS{tikz} \BS{draw}[-\AC{Arc Barb[\RDD{color}=red},line width=.2cm,blue] (0,0) - - (1,1);} + \\ \hline +\tikz \draw[-{Bracket[color=red]},line width=.2cm,blue] (0,0) - - (1,1) ; +& +\tikz \draw[-{Bracket[color=green]},line width=.2cm,blue] (0,0) - - (1,1) ; +& +\tikz \draw[-{Bracket[red]},line width=.2cm,blue] (0,0) - - (1,1) ; +\\ \hline +Bracket[color=red] & Bracket[color=green] &Bracket[red] \\ +\hline +\end{tabular} + + +\bigskip + + + +\begin{tabular}{|c|c|c|c|c|} \hline + \multicolumn{5}{|c|}{ \BS{tikz} \BS{draw}[-\AC{Arc Barb[\RDD{red}},line width=.2cm,blue] (0,0) - - (1,1);} + \\ \hline +\tikz \draw [-{Arc Barb[red]},line width=.2cm,blue] (0,0) - - (1,1) ; + & +\tikz \draw[-{Bracket[red]},line width=.2cm,blue] (0,0) - - (1,1) ; + & +\tikz \draw [-{Hooks[red]},line width=.2cm,blue] (0,0) - - (1,1) ; +& +\tikz \draw[-{Parenthesis[red]},line width=.2cm,blue] (0,0) - - (1,1) ; +& +\tikz \draw[-{Classical TikZ Rightarrow[red]},line width=.2cm,blue] (0,0) - - (1,1) ; + \\ \hline +Arc Barb & Bracket & Hooks & Parenthesis & Classical TikZ Rightarrow + \\ \hline + +\tikz \draw [-{Straight Barb[red][open]},line width=.2cm,blue] (0,0) - - (1,1) ; +& +\tikz \draw [-{Tee Barb[red]},line width=.2cm,blue] (0,0) - - (1,1) ; + & +\tikz \draw[-{Circle[red]},line width=.2cm,blue] (0,0) - - (1,1) ; + & +\tikz \draw[-{Diamond[red]},line width=.2cm,blue] (0,0) - - (1,1) ; +& +\tikz \draw[-{Ellipse[red]},line width=.2cm,blue] (0,0) - - (1,1) ; + \\ \hline +Straight Barb & Tee Barb & Circle & Diamond & Ellipse + \\ \hline + +\tikz \draw[-{Kite[red]},line width=.2cm,blue] (0,0) - - (1,1) ; +& +\tikz \draw[-{Latex[red]},line width=.2cm,blue] (0,0) - - (1,1) ; +& +\tikz \draw[-{Rectangle[red]},line width=.2cm,blue] (0,0) - - (1,1) ; +& +\tikz \draw[-{Square[red]},line width=.2cm,blue] (0,0) - - (1,1) ; +& +\tikz \draw[-{Stealth[red]},line width=.2cm,blue] (0,0) - - (1,1) ; + \\ \hline + Kite & Latex & Rectangle & Square & Stealth + \\ \hline + +\tikz \draw[-{Triangle[red]},line width=.2cm,blue] (0,0) - - (1,1) ; +& +\tikz \draw[-{Turned Square[red]},line width=.2cm,blue] (0,0) - - (1,1) ; +& +\tikz \draw[-{Rays[red]},line width=.2cm,blue] (0,0) - - (1,1) ; +& & + \\ \hline +Triangle & Turned Square & Rays & & + \\ \hline +\end{tabular} + +\bigskip + +\Par{Paramètre fill}{Parameter fill} +\RRR{16-3-6} + +\begin{tabular}{|c|c|c|c|c|} \hline + \multicolumn{5}{|c|}{ \BS{tikz} \BS{draw}[-\AC{Circle[\RDD{fill}=red]},line width=.2cm,blue] (0,0) - - (1,1);} + \\ \hline +\tikz \draw [-{Circle[fill=red]},line width=.2cm,blue] (0,0) - - (1,1) ; + & +\tikz \draw [-{Diamond[fill=red]},line width=.2cm,blue] (0,0) - - (1,1) ; + & + \tikz \draw[-{Ellipse[fill=red]},line width=.2cm,blue] (0,0) - - (1,1) ; + & + \tikz \draw[-{Kite[fill=red]},line width=.2cm,blue] (0,0) - - (1,1) ; +& +\tikz \draw[-{Triangle[fill=red]},line width=.2cm,blue] (0,0) - - (1,1) ; + \\ \hline +Circle & Diamond & Ellipse & Kite & Triangle + \\ \hline + +\tikz \draw [-{Latex[fill=red]},line width=.2cm,blue] (0,0) - - (1,1) ; + & +\tikz \draw [-{Rectangle[fill=red]},line width=.2cm,blue] (0,0) - - (1,1) ; + & + \tikz \draw[-{Square[fill=red]},line width=.2cm,blue] (0,0) - - (1,1) ; + & +\tikz \draw[-{Stealth[fill=red]},line width=.2cm,blue] (0,0) - - (1,1) ; +& +\tikz \draw[-{Turned Square[fill=red]},line width=.2cm,blue] (0,0) - - (1,1) ; + \\ \hline +Latex & Rectangle & Square & Stealth & Turned Square + \\ \hline +\end{tabular} + + + +\bigskip + +\begin{tabular}{|c|c|c|c|c|} \hline + \multicolumn{5}{|c|}{ \BS{tikz} \BS{draw}[-\AC{Circle[\RDD{fill}=none]},line width=.2cm,blue] (0,0) - - (1,1);} + \\ \hline +\tikz \draw [-{Circle[fill=none]},line width=.2cm,blue] (0,0) - - (1,1) ; + & +\tikz \draw [-{Diamond[fill=none]},line width=.2cm,blue] (0,0) - - (1,1) ; + & + \tikz \draw[-{Ellipse[fill=none]},line width=.2cm,blue] (0,0) - - (1,1) ; + & + \tikz \draw[-{Kite[fill=none]},line width=.2cm,blue] (0,0) - - (1,1) ; +& +\tikz \draw[-{Triangle[fill=none]},line width=.2cm,blue] (0,0) - - (1,1) ; + \\ \hline +Circle & Diamond & Ellipse & Kite & Triangle + \\ \hline + +\tikz \draw [-{Latex[fill=none]},line width=.2cm,blue] (0,0) - - (1,1) ; + & +\tikz \draw [-{Rectangle[fill=none]},line width=.2cm,blue] (0,0) - - (1,1) ; + & + \tikz \draw[-{Square[fill=none]},line width=.2cm,blue] (0,0) - - (1,1) ; + & +\tikz \draw[-{Stealth[fill=none]},line width=.2cm,blue] (0,0) - - (1,1) ; +& +\tikz \draw[-{Turned Square[fill=none]},line width=.2cm,blue] (0,0) - - (1,1) ; + \\ \hline +Latex & Rectangle & Square & Stealth & Turned Square + \\ \hline +\end{tabular} + +\newpage + +\Par{Paramètre open}{Parameter open} +\RRR{16-3-6} + +\begin{tabular}{|c|c|c|c|c|} \hline + \multicolumn{5}{|c|}{ \BS{tikz} \BS{draw}[-\AC{Circle[\RDD{open}]},line width=.2cm,blue] (0,0) - - (1.5,1) ;} + \\ \hline +\tikz \draw [-{Circle[open]},line width=.2cm,blue] (0,0) - - (1.5,1) ; + & +\tikz \draw [-{Diamond[open]},line width=.2cm,blue] (0,0) - - (1.5,1) ; + & + \tikz \draw[-{Ellipse[open]},line width=.2cm,blue] (0,0) - - (1.5,1) ; + & + \tikz \draw[-{Kite[open]},line width=.2cm,blue] (0,0) - - (1.5,1) ; +& +\tikz \draw[-{Triangle[open]},line width=.2cm,blue] (0,0) - - (1.5,1) ; + \\ \hline +Circle & Diamond & Ellipse & Kite & Triangle + \\ \hline + +\tikz \draw [-{Latex[open]},line width=.2cm,blue] (0,0) - - (1.5,1) ; + & +\tikz \draw [-{Rectangle[open]},line width=.2cm,blue] (0,0) - - (1.5,1) ; + & + \tikz \draw[-{Square[open]},line width=.2cm,blue] (0,0) - - (1.5,1) ; + & +\tikz \draw[-{Stealth[open]},line width=.2cm,blue] (0,0) - - (1.5,1) ; +& +\tikz \draw[-{Turned Square[open]},line width=.2cm,blue] (0,0) - - (1.5,1) ; + \\ \hline +Latex & Rectangle & Square & Stealth & Turned Square + \\ \hline +\end{tabular} + +\bigskip + +\Par{Paramètre line cap : round or butt}{Parameter line cap : round or butt} +\RRR{16-3-7} + + + + +\begin{tabular}{|c|c|c|c|c|c|c|c|} \hline + \multicolumn{8}{|c|}{ \BS{tikz} \BS{draw}[-\AC{Arc Barb[\RDD{line cap}=\RDDX{butt}{line cap}]},line width=.2cm,blue] (0,0) - - (1,1);} + \\ \hline +\tikz \draw [-{Arc Barb[line cap=butt]},line width=.2cm,blue] (0,0) - - (1,1) ; + & +\tikz \draw[-{Bracket[line cap=butt]},line width=.2cm,blue] (0,0) - - (1,1) ; + & +\tikz \draw [-{Hooks[line cap=butt]},line width=.2cm,blue] (0,0) - - (1,1) ; + + & +\tikz \draw[-{Parenthesis[line cap=butt]},line width=.2cm,blue] (0,0) - - (1,1) ; +& +\tikz \draw[-{Ellipse[line cap=butt]},line width=.2cm,blue] (0,0) - - (1,1) ; +& +\tikz \draw[-{Rectangle[line cap=butt]},line width=.2cm,blue] (0,0) - - (1,1) ; +& +\tikz \draw[-{Square[line cap=butt]},line width=.2cm,blue] (0,0) - - (1,1) ; +& +\tikz \draw[-{Stealth[line cap=butt]},line width=.2cm,blue] (0,0) - - (1,1) ; + \\ \hline +Arc Barb & Bracket & Hooks & Parenthesis & Ellipse +& Rectangle & Square & Stealth +\\ \hline + +\tikz \draw [-{Straight Barb[line cap=butt]},line width=.2cm,blue] (0,0) - - (1,1) ; + & +\tikz \draw [-{Tee Barb[line cap=butt]},line width=.2cm,blue] (0,0) - - (1,1) ; + & + \tikz \draw[-{Diamond[line cap=butt]},line width=.2cm,blue] (0,0) - - (1,1) ; + & +\tikz \draw[-{Kite[line cap=butt]},line width=.2cm,blue] (0,0) - - (1,1) ; +& +\tikz \draw[-{Latex[line cap=butt]},line width=.2cm,blue] (0,0) - - (1,1) ; + +& +\tikz \draw[-{Triangle[line cap=butt]},line width=.2cm,blue] (0,0) - - (1,1) ; +& +\tikz \draw[-{Turned Square[line cap=butt]},line width=.2cm,blue] (0,0) - - (1,1) ; +& +\tikz \draw[-{Rays[line cap=butt]},line width=.2cm,blue] (0,0) - - (1,1) ; +\\ \hline +Straight Barb & Tee Barb & Diamond & Kite & Latex + & Triangle & Turned Square & Rays + \\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|c|c|c|c|c|c|} \hline + \multicolumn{8}{|c|}{ \BS{tikz} \BS{draw}[-\AC{Arc Barb[\RDD{line cap}=\RDDX{round}{line cap}]},line width=.2cm,blue] (0,0) - - (1,1);} + \\ \hline +\tikz \draw [-{Arc Barb[line cap=round]},line width=.2cm,blue] (0,0) - - (1,1) ; + & +\tikz \draw[-{Bracket[line cap=round]},line width=.2cm,blue] (0,0) - - (1,1) ; + & +\tikz \draw [-{Hooks[line cap=round]},line width=.2cm,blue] (0,0) - - (1,1) ; + + & +\tikz \draw[-{Parenthesis[line cap=round]},line width=.2cm,blue] (0,0) - - (1,1) ; +& +\tikz \draw[-{Ellipse[line cap=round]},line width=.2cm,blue] (0,0) - - (1,1) ; +& +\tikz \draw[-{Rectangle[line cap=round]},line width=.2cm,blue] (0,0) - - (1,1) ; +& +\tikz \draw[-{Square[line cap=round]},line width=.2cm,blue] (0,0) - - (1,1) ; +& +\tikz \draw[-{Stealth[line cap=round]},line width=.2cm,blue] (0,0) - - (1,1) ; + \\ \hline +Arc Barb & Bracket & Hooks & Parenthesis & Ellipse +& Rectangle & Square & Stealth +\\ \hline + +\tikz \draw [-{Straight Barb[line cap=round]},line width=.2cm,blue] (0,0) - - (1,1) ; + & +\tikz \draw [-{Tee Barb[line cap=round]},line width=.2cm,blue] (0,0) - - (1,1) ; + & + \tikz \draw[-{Diamond[line cap=round]},line width=.2cm,blue] (0,0) - - (1,1) ; + & +\tikz \draw[-{Kite[line cap=round]},line width=.2cm,blue] (0,0) - - (1,1) ; +& +\tikz \draw[-{Latex[line cap=round]},line width=.2cm,blue] (0,0) - - (1,1) ; + +& +\tikz \draw[-{Triangle[line cap=round]},line width=.2cm,blue] (0,0) - - (1,1) ; +& +\tikz \draw[-{Turned Square[line cap=round]},line width=.2cm,blue] (0,0) - - (1,1) ; +& +\tikz \draw[-{Rays[line cap=round]},line width=.2cm,blue] (0,0) - - (1,1) ; +\\ \hline +Straight Barb & Tee Barb & Diamond & Kite & Latex + & Triangle & Turned Square & Rays + \\ \hline +\end{tabular} + +\bigskip + +\Par{Paramètre line join : round or miter }{Parameter line join : round or miter} +\RRR{16-3-7} + + + + +\begin{tabular}{|c|c|c|c|c|c|c|c|} \hline + \multicolumn{8}{|c|}{ \BS{tikz} \BS{draw}[-\AC{Arc Barb[\RDD{line join}=\RDDX{miter}{line join}]},line width=.2cm,blue] (0,0) - - (1,1);} + \\ \hline +\tikz \draw [-{Arc Barb[line join=miter]},line width=.2cm,blue] (0,0) - - (1,1) ; + & +\tikz \draw[-{Bracket[line join=miter]},line width=.2cm,blue] (0,0) - - (1,1) ; + & +\tikz \draw [-{Hooks[line join=miter]},line width=.2cm,blue] (0,0) - - (1,1) ; + + & +\tikz \draw[-{Parenthesis[line join=miter]},line width=.2cm,blue] (0,0) - - (1,1) ; +& +\tikz \draw[-{Ellipse[line join=miter]},line width=.2cm,blue] (0,0) - - (1,1) ; +& +\tikz \draw[-{Rectangle[line join=miter]},line width=.2cm,blue] (0,0) - - (1,1) ; +& +\tikz \draw[-{Square[line join=miter]},line width=.2cm,blue] (0,0) - - (1,1) ; +& +\tikz \draw[-{Stealth[line join=miter]},line width=.2cm,blue] (0,0) - - (1,1) ; + \\ \hline +Arc Barb & Bracket & Hooks & Parenthesis & Ellipse +& Rectangle & Square & Stealth +\\ \hline + +\tikz \draw [-{Straight Barb[line cap=butt]},line width=.2cm,blue] (0,0) - - (1,1) ; + & +\tikz \draw [-{Tee Barb[line join=miter]},line width=.2cm,blue] (0,0) - - (1,1) ; + & + \tikz \draw[-{Diamond[line join=miter]},line width=.2cm,blue] (0,0) - - (1,1) ; + & +\tikz \draw[-{Kite[line join=miter]},line width=.2cm,blue] (0,0) - - (1,1) ; +& +\tikz \draw[-{Latex[line join=miter]},line width=.2cm,blue] (0,0) - - (1,1) ; + +& +\tikz \draw[-{Triangle[line join=miter]},line width=.2cm,blue] (0,0) - - (1,1) ; +& +\tikz \draw[-{Turned Square[line join=miter]},line width=.2cm,blue] (0,0) - - (1,1) ; +& +\tikz \draw[-{Rays[line join=miter]},line width=.2cm,blue] (0,0) - - (1,1) ; +\\ \hline +Straight Barb & Tee Barb & Diamond & Kite & Latex + & Triangle & Turned Square & Rays + \\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|c|c|c|c|c|c|} \hline + \multicolumn{8}{|c|}{ \BS{tikz} \BS{draw}[-\AC{Arc Barb[\RDD{line cap}=\RDDX{round}{line cap}]},line width=.2cm,blue] (0,0) - - (1,1);} + \\ \hline +\tikz \draw [-{Arc Barb[line join=round]},line width=.2cm,blue] (0,0) - - (1,1) ; + & +\tikz \draw[-{Bracket[line join=round]},line width=.2cm,blue] (0,0) - - (1,1) ; + & +\tikz \draw [-{Hooks[line join=round]},line width=.2cm,blue] (0,0) - - (1,1) ; + + & +\tikz \draw[-{Parenthesis[line join=round]},line width=.2cm,blue] (0,0) - - (1,1) ; +& +\tikz \draw[-{Ellipse[line join=round]},line width=.2cm,blue] (0,0) - - (1,1) ; +& +\tikz \draw[-{Rectangle[line join=round]},line width=.2cm,blue] (0,0) - - (1,1) ; +& +\tikz \draw[-{Square[line join=round]},line width=.2cm,blue] (0,0) - - (1,1) ; +& +\tikz \draw[-{Stealth[line join=round]},line width=.2cm,blue] (0,0) - - (1,1) ; + \\ \hline +Arc Barb & Bracket & Hooks & Parenthesis & Ellipse +& Rectangle & Square & Stealth +\\ \hline + +\tikz \draw [-{Straight Barb[line join=round]},line width=.2cm,blue] (0,0) - - (1,1) ; + & +\tikz \draw [-{Tee Barb[line join=round]},line width=.2cm,blue] (0,0) - - (1,1) ; + & + \tikz \draw[-{Diamond[line join=round]},line width=.2cm,blue] (0,0) - - (1,1) ; + & +\tikz \draw[-{Kite[line join=round]},line width=.2cm,blue] (0,0) - - (1,1) ; +& +\tikz \draw[-{Latex[line join=round]},line width=.2cm,blue] (0,0) - - (1,1) ; + +& +\tikz \draw[-{Triangle[line join=round]},line width=.2cm,blue] (0,0) - - (1,1) ; +& +\tikz \draw[-{Turned Square[line join=round]},line width=.2cm,blue] (0,0) - - (1,1) ; +& +\tikz \draw[-{Rays[line join=round]},line width=.2cm,blue] (0,0) - - (1,1) ; +\\ \hline +Straight Barb & Tee Barb & Diamond & Kite & Latex + & Triangle & Turned Square & Rays + \\ \hline +\end{tabular} + +\Par{Paramètre round}{Parameter round} +\RRR{16-3-7} + +\begin{tabular}{|c|c|c|c|c|c|c|c|} \hline + \multicolumn{8}{|c|}{ \BS{tikz} \BS{draw}[-\AC{Arc Barb[\RDD{round}]},line width=.2cm,blue] (0,0) - - (1,1);} + \\ \hline +\tikz \draw [-{Arc Barb[round]},line width=.2cm,blue] (0,0) - - (1,1) ; + & +\tikz \draw[-{Bracket[round]},line width=.2cm,blue] (0,0) - - (1,1) ; + & +\tikz \draw [-{Hooks[round]},line width=.2cm,blue] (0,0) - - (1,1) ; + + & +\tikz \draw[-{Parenthesis[round]},line width=.2cm,blue] (0,0) - - (1,1) ; +& +\tikz \draw[-{Ellipse[round]},line width=.2cm,blue] (0,0) - - (1,1) ; +& +\tikz \draw[-{Rectangle[round]},line width=.2cm,blue] (0,0) - - (1,1) ; +& +\tikz \draw[-{Square[round]},line width=.2cm,blue] (0,0) - - (1,1) ; +& +\tikz \draw[-{Stealth[round]},line width=.2cm,blue] (0,0) - - (1,1) ; + \\ \hline +Arc Barb & Bracket & Hooks & Parenthesis & Ellipse +& Rectangle & Square & Stealth +\\ \hline + +\tikz \draw [-{Straight Barb[round]},line width=.2cm,blue] (0,0) - - (1,1) ; + & +\tikz \draw [-{Tee Barb[round]},line width=.2cm,blue] (0,0) - - (1,1) ; + & + \tikz \draw[-{Diamond[round]},line width=.2cm,blue] (0,0) - - (1,1) ; + & +\tikz \draw[-{Kite[round]},line width=.2cm,blue] (0,0) - - (1,1) ; +& +\tikz \draw[-{Latex[round]},line width=.2cm,blue] (0,0) - - (1,1) ; + +& +\tikz \draw[-{Triangle[round]},line width=.2cm,blue] (0,0) - - (1,1) ; +& +\tikz \draw[-{Turned Square[round]},line width=.2cm,blue] (0,0) - - (1,1) ; +& +\tikz \draw[-{Rays[round]},line width=.2cm,blue] (0,0) - - (1,1) ; +\\ \hline +Straight Barb & Tee Barb & Diamond & Kite & Latex + & Triangle & Turned Square & Rays + \\ \hline +\end{tabular} + +\Par{Paramètre sharp}{Parameter sharp} +\RRR{16-3-7} + +\begin{tabular}{|c|c||c|c|} \hline + \multicolumn{4}{|c|}{ \BS{tikz} \BS{draw}[-\AC{Classical TikZ Rightarrow[\RDD{sharp}]},line width=.2cm,blue] (0,0) - - (2,0)) ;} + \\ \hline + \multicolumn{2}{|c||}{ -\AC{Classical TikZ Rightarrow[\RDD{sharp}]}} & + \multicolumn{2}{|c|}{ -\AC{Computer Modern Rightarrow[\RDD{sharp}]}} + \\ \hline +\tikz \draw[-{Classical TikZ Rightarrow[sharp]},line width=.5cm,blue] (0,0) - - (2,0) ; +& +\tikz \draw[-{Classical TikZ Rightarrow[]},line width=.5cm,blue] (0,0) - - (2,0) ; +& +\tikz \draw[-{Computer Modern Rightarrow[sharp]},line width=.5cm,blue] (0,0) - - (2,0) ; +& +\tikz \draw[-{Computer Modern Rightarrow[]},line width=.5cm,blue] (0,0) - - (2,0) ; +\\ +\hline \RDD{sharp} & \color{red}{[ ]} & \RDD{sharp} & \color{red}{[ ]} \\ +\hline +\end{tabular} + +\newpage + +\Par{Paramètre line width}{Parameter line width} +\RRR{16-3-7} + +\begin{tabular}{|c|c|c|c|} \hline + \multicolumn{4}{|c|}{ \BS{tikz} \BS{draw}[-\AC{Arc Barb[\RDD{line width}=.2cm]},line width=.4cm,blue] (0,0) - - (2,0);} + \\ \hline + \begin{tikzpicture}[blue,line width=2pt,baseline=.5cm] + \draw[help lines] (0,-1.5) grid (2,1.5); + \draw [-{Arc Barb[line width=.2cm]},line width=.4cm,blue] (0,0) - - (2,0) ; + \end{tikzpicture} +& +\begin{tikzpicture}[blue,line width=2pt,baseline=.5cm] +\draw[help lines] (0,-1.5) grid (2,1.5); +\draw [-{Hooks[line width=.2cm]},line width=.4cm,blue] (0,0) - - (2,0) ; +\end{tikzpicture} + + +& +\begin{tikzpicture}[blue,line width=2pt,baseline=.5cm] +\draw[help lines] (0,-1.5) grid (2,1.5); +\draw[-{Classical TikZ Rightarrow[line width=.2cm]},line width=.4cm,blue] (0,0) - -(2,0) ; +\end{tikzpicture} +& +\begin{tikzpicture}[blue,line width=2pt,baseline=.5cm] +\draw[help lines] (0,-1.5) grid (2,1.5); +\draw[-{Straight Barb[line width=.2cm]},line width=.4cm,blue] (0,0) - - (2,0) ; +\end{tikzpicture} +\\ \hline +Arc Barb & Hooks & Classical TikZ Rightarrow& Straight Barb + \\ \hline + +\begin{tikzpicture}[blue,line width=2pt,baseline=.5cm] + \draw[help lines] (0,-1.5) grid (2,1.5); +\draw [-{Straight Barb[line width=.2cm]},line width=.4cm,blue] (0,0) - - (2,0) ; + \end{tikzpicture} +& +\begin{tikzpicture}[blue,line width=2pt,baseline=.5cm] +\draw[help lines] (0,-1.5) grid (2,1.5); +\draw [-{Tee Barb[line width=.2cm]},line width=.4cm,blue] (0,0) - - (2,0) ; +\end{tikzpicture} +& + \begin{tikzpicture}[blue,line width=2pt,baseline=.5cm] + \draw[help lines] (0,-1.5) grid (2,1.5); + \draw[-{Computer Modern Rightarrow[line width=.2cm]},line width=.4cm,blue] (0,0) - - (2,0) ; + \end{tikzpicture} + & +\\ \hline +Straight Barb & Tee Bar & Computer Modern Rightarrow & + \\ \hline +\end{tabular} +\bigskip + +\begin{tabular}{|c|c|} \hline + \multicolumn{2}{|c|}{ \BS{tikz} \BS{draw}[-\AC{Arc Barb[line width={\color{green} 0cm} {\color{red} 10}]},line width={\color{blue}.1cm},blue] (0,0) - - (3,1);} + \\ \hline + \begin{tikzpicture}[blue,line width=2pt,baseline=.5cm] + \draw[help lines] (0,-1.5) grid (3,1.5); + \draw [-{Arc Barb[line width=0cm .5]},line width=.4cm,blue] (0,0) - - (3,0) ; + \end{tikzpicture} +& + \begin{tikzpicture}[blue,line width=2pt,baseline=.5cm] + \draw[help lines] (0,-1.5) grid (3,1.5); + \draw [-{Arc Barb[line width=.1cm .5]},line width=.4cm,blue] (0,0) - - (3,0) ; + \end{tikzpicture} +\\ \hline +[length={\color{green} 0cm} {\color{red} 10}] & [length={\color{green}.5cm} {\color{red} 5 }] +\\ \hline +{\color{green} 0cm} + {\color{red} 10} x {\color{blue}.1cm} = 1cm & {\color{green}.5cm} + {\color{red} 5 }x {\color{blue}.1cm} = 1cm +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|c|c|} \hline + \multicolumn{2}{|c|}{ \BS{tikz} \BS{draw}[-\AC{Arc Barb[length={\color{green} 0cm} {\color{red} 5 }]},line width={\color{blue}.1cm},blue,double,double distance = {\color{magenta}2 mm}] (0,0) - - (3,1);} + \\ \hline + \begin{tikzpicture}[blue,line width=2pt,baseline=.5cm] + \draw[help lines] (0,-2) grid (3,2); + \draw [-{Arc Barb[line width=0cm 2 ]},line width=.4cm,blue,double,double distance =2mm] (0,0) - - (3,0) ; + \end{tikzpicture} +& + \begin{tikzpicture}[blue,line width=2pt,baseline=.5cm] + \draw[help lines] (0,-2) grid (3,2); + \draw [-{Arc Barb[line width=0cm 2 .6 ]},line width=.4cm,blue,double,double distance =2mm ] (0,0) - - (3,0) ; + \end{tikzpicture} +\\ \hline + [length={\color{green} 0cm}{\color{red} 5 } ] + & + [length={\color{green} 0cm} {\color{red} 5 } {\color{orange} .6} ] +\\ \hline +{\color{green} 0cm} + {\color{red} 5 } x ({\color{blue}.1cm} + {\color{magenta}2 mm} + {\color{blue}.1cm} ) = 2cm +& +{\color{green} 0cm} + {\color{red} 5 } x (.6 x {\color{blue}.1cm}+ (1-{\color{orange} .6})({\color{blue}.1cm}+ {\color{magenta}2 mm}+{\color{blue}.1cm}) = 11 mm\\ +\hline +\end{tabular} + +\newpage + +\Par{Paramètre line width'}{Parameter line width'} +\RRR{16-3-7} + +\begin{tabular}{|c|c|c|c|} \hline + \multicolumn{4}{|c|}{ \BS{tikz} \BS{draw}[-\AC{Arc Barb[\RDD{line width'}=.2cm]},line width=.4cm,blue] (0,0) - - (1,1);} + \\ \hline + \begin{tikzpicture}[blue,line width=2pt,baseline=.5cm] + \draw[help lines] (0,-2) grid (2,2); + \draw [-{Arc Barb[line width'=.2cm]},line width=.4cm,blue] (0,0) - - (2,0) ; + \end{tikzpicture} +& +\begin{tikzpicture}[blue,line width=2pt,baseline=.5cm] +\draw[help lines] (0,-2) grid (2,2); +\draw [-{Hooks[line width'=.2cm]},line width=.4cm,blue] (0,0) - - (2,0) ; +\end{tikzpicture} + + +& +\begin{tikzpicture}[blue,line width=2pt,baseline=.5cm] +\draw[help lines] (0,-2) grid (2,2); +\draw[-{Classical TikZ Rightarrow[line width'=.2cm]},line width=.4cm,blue] (0,0) - -(2,0) ; +\end{tikzpicture} +& +\begin{tikzpicture}[blue,line width=2pt,baseline=.5cm] +\draw[help lines] (0,-2) grid (2,2); +\draw[-{Straight Barb[line width'=.2cm]},line width=.4cm,blue] (0,0) - - (2,0) ; +\end{tikzpicture} +\\ \hline +Arc Barb & Hooks & Classical TikZ Rightarrow & Straight Barb + \\ \hline + +\begin{tikzpicture}[blue,line width=2pt,baseline=.5cm] + \draw[help lines] (0,-2) grid (2,2); +\draw [-{Straight Barb[line width'=.2cm]},line width=.4cm,blue] (0,0) - - (2,0) ; + \end{tikzpicture} +& +\begin{tikzpicture}[blue,line width=2pt,baseline=.5cm] +\draw[help lines] (0,-2) grid (2,2); +\draw [-{Tee Barb[line width'=.2cm]},line width=.4cm,blue] (0,0) - - (2,0) ; +\end{tikzpicture} + + + +& + \begin{tikzpicture}[blue,line width=2pt,baseline=.5cm] + \draw[help lines] (0,-2) grid (2,2); + \draw[-{Computer Modern Rightarrow[line width'=.2cm]},line width=.4cm,blue] (0,0) - - (2,0) ; + \end{tikzpicture} + & +\\ \hline +Straight Barb & Tee Bar & Computer Modern Rightarrow & + \\ \hline +\end{tabular} +\bigskip + +\begin{tabular}{|c|c|} \hline + \multicolumn{2}{|c|}{ \BS{tikz} \BS{draw}[-\AC{Arc Barb[line width={\color{green} 0cm} {\color{red} 10}]},line width'={\color{blue}.1cm},blue] (0,0) - - (3,1);} + \\ \hline + \begin{tikzpicture}[blue,line width=2pt,baseline=.5cm] + \draw[help lines] (0,-2) grid (3,2); + \draw [-{Arc Barb[line width'=0cm .5]},line width=.4cm,blue] (0,0) - - (3,0) ; + \end{tikzpicture} +& + \begin{tikzpicture}[blue,line width=2pt,baseline=.5cm] + \draw[help lines] (0,-2) grid (3,2); + \draw [-{Arc Barb[line width'=.1cm .5]},line width=.4cm,blue] (0,0) - - (3,0) ; + \end{tikzpicture} +\\ \hline +[length={\color{green} 0cm} {\color{red} 10}] & [length={\color{green}.5cm} {\color{red} 5 }] +\\ \hline +{\color{green} 0cm} + {\color{red} 10} x {\color{blue}.1cm} = 1cm & {\color{green}.5cm} + {\color{red} 5 }x {\color{blue}.1cm} = 1cm +\\ \hline +\end{tabular} + +\bigskip + +\Par{Paramètre quick}{Parameter quick} +\RRR{16-3-8} + +\begin{tabular}{|c|c|} \hline + \multicolumn{2}{|c|}{ \BS{tikz} \BS{draw}[-\AC{Stealth[length=1cm,open,\RDD{quick}]}] + (0,0) .. controls (1,-1) and (2,1) .. (3,1);} + \\ \hline + \begin{tikzpicture}[blue,line width=2pt,baseline=.5cm] + \draw[help lines] (0,-1) grid (3,2); +\draw [-{Stealth[length=1cm,open,quick]}] +(0,0) .. controls (1,-1) and (2,1) .. (3,1); + \end{tikzpicture} + & + \begin{tikzpicture}[blue,line width=2pt,baseline=.5cm] + \draw[help lines] (0,-1) grid (3,2); +\draw [-{Stealth[length=1cm,open]}] +(0,0) .. controls (1,-1) and (2,1) .. (3,1); + \end{tikzpicture} + \\ \hline +[-{Stealth[length=1cm,open,\RDD{quick}]}] + & + [-{Stealth[length=1cm,open]}] + \\ \hline +\end{tabular} + +\newpage + +\Par{Paramètre bending}{Parameter bending} +\RRR{16-3-8} + + \maboite{\BS{usetikzlibrary}\AC{bending}} +\label{lib-bending} + + +\begin{tabular}{|c|c|c|} \hline + \multicolumn{3}{|c|}{ \BS{tikz} \BS{draw}[-\AC{Stealth[length=1cm,open,\RDD{flex}=0]}] + (0,0) .. controls (1,-1) and (2,1) .. (3,1);} + \\ \hline + \begin{tikzpicture}[blue,line width=2pt,baseline=.5cm] + \draw[help lines] (0,-1) grid (3,2); +\draw [-{Stealth[length=1cm,open,flex=0]}] +(0,0) .. controls (1,-1) and (2,1) .. (3,1); + \end{tikzpicture} + & + \begin{tikzpicture}[blue,line width=2pt,baseline=.5cm] + \draw[help lines] (0,-1) grid (3,2); +\draw [-{Stealth[length=1cm,open,flex=.5]}] +(0,0) .. controls (1,-1) and (2,1) .. (3,1); + \end{tikzpicture} + & + \begin{tikzpicture}[blue,line width=2pt,baseline=.5cm] + \draw[help lines] (0,-1) grid (3,2); +\draw [-{Stealth[length=1cm,open,flex=1]}] +(0,0) .. controls (1,-1) and (2,1) .. (3,1); + \end{tikzpicture} + \\ \hline +flex=0 & flex=0.5 & flex=1 + \\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|c|} \hline + \multicolumn{3}{|c|}{ \BS{tikz} \BS{draw}[-\AC{Stealth[length=1cm,open,\RDD{flex'}=0]}] + (0,0) .. controls (1,-1) and (2,1) .. (3,1);} + \\ \hline + \begin{tikzpicture}[blue,line width=2pt,baseline=.5cm] + \draw[help lines] (0,-1) grid (3,2); +\draw [-{Stealth[length=1cm,open,flex'=0]}] +(0,0) .. controls (1,-1) and (2,1) .. (3,1); + \end{tikzpicture} + & + \begin{tikzpicture}[blue,line width=2pt,baseline=.5cm] + \draw[help lines] (0,-1) grid (3,2); +\draw [-{Stealth[length=1cm,open,flex'=.5]}] +(0,0) .. controls (1,-1) and (2,1) .. (3,1); + \end{tikzpicture} + & + \begin{tikzpicture}[blue,line width=2pt,baseline=.5cm] + \draw[help lines] (0,-1) grid (3,2); +\draw [-{Stealth[length=1cm,open,flex'=1]}] +(0,0) .. controls (1,-1) and (2,1) .. (3,1); + \end{tikzpicture} + \\ \hline +flex'=0 & flex'=0.5 & flex'=1 + \\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|} \hline + \multicolumn{2}{|c|}{ \BS{tikz} \BS{draw}[-\AC{Stealth[length=1cm,open,\RDD{bend}]}] + (0,0) .. controls (1,-1) and (2,1) .. (3,1);} + \\ \hline + \begin{tikzpicture}[blue,line width=2pt,baseline=.5cm] + \draw[help lines] (0,-1) grid (3,2); +\draw [-{Stealth[length=1cm,open,bend]}] +(0,0) .. controls (1,-1) and (2,1) .. (3,1); + \end{tikzpicture} + & + \begin{tikzpicture}[blue,line width=2pt,baseline=.5cm] + \draw[help lines] (0,-1) grid (3,2); +\draw [-{Stealth[length=1cm,open,bend]Stealth[length=1cm,open,bend,sep]}] +(0,0) .. controls (1,-1) and (2,1) .. (3,1); + \end{tikzpicture} + \\ \hline +[-\AC{Stealth[length=1cm,open,\RDD{bend}]}] & +[-{Stealth[length=1cm,open,bend]Stealth[length=1cm,open,bend,sep]}] + \\ \hline +\end{tabular} + +\Par{Paramètre cap angle}{Parameter cap angle} +\RRR{16-5-4} + +\begin{tabular}{|c|c|c|} \hline + \multicolumn{3}{|c|}{ \BS{tikz} \BS{draw}[-\AC{Fast Round[\RDD{cap angle}=60]},line width=.2cm,blue] (0,0) - - (3,1);} + \\ \hline +\tikz \draw[-{Fast Round[cap angle=20]},line width=.5cm,blue] (0,0) - - (3,1) ; +& +\tikz \draw[-{Fast Round[cap angle=60]},line width=.5cm,blue] (0,0) - - (3,1) ; +& +\tikz \draw[-{Fast Round[cap angle=90]},line width=.5cm,blue] (0,0) - - (3,1) ; +\\ \hline +Fast Round[cap angle=20] & Fast Round[cap angle=60] & Fast Round[cap angle=90] +\\ \hline +\tikz \draw[-{Fast Triangle[cap angle=20]},line width=.5cm,blue] (0,0) - - (3,1) ; +& +\tikz \draw[-{Fast Triangle[cap angle=60]},line width=.5cm,blue] (0,0) - - (3,1) ; +& +\tikz \draw[-{Fast Triangle[cap angle=90]},line width=.5cm,blue] (0,0) - - (3,1) ; +\\ \hline +Fast Triangle[cap angle=20] & Fast Triangle[cap angle=60] & Fast Triangle[cap angle=90] +\\ \hline +\end{tabular} diff --git a/info/visualtikz/Source/tkz4.tex b/info/visualtikz/Source/tkz4.tex new file mode 100644 index 0000000000..81506e7757 --- /dev/null +++ b/info/visualtikz/Source/tkz4.tex @@ -0,0 +1,58 @@ + + +\begin{center} +\RRR{25-3} +\end{center} + + +\begin{tabular}{|c|c|c|c|} \hline +\multicolumn{4}{|c|}{ \BS{draw}[\RDD{rotate},blue] (0,0) rectangle (2,2) ; }\\ +\hline +\begin{tikzpicture} +\draw[dashed,red] (0,0) rectangle (2,2) ; +\draw[rotate=40,blue] (0,0) rectangle (2,2) ; +\end{tikzpicture} +& +\begin{tikzpicture} +\draw[dashed,red] (0,0) rectangle (2,2) ; +\draw[x=1cm,y=.5cm,blue] (0,0) rectangle (2,2); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw[dashed,red] (0,0) rectangle (2,2) ; +\draw[xslant=.75,blue] (0,0) rectangle (2,2); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw[dashed,red] (0,0) rectangle (2,2) ; +\draw[yslant=.75,blue] (0,0) rectangle (2,2); +\end{tikzpicture} +\\ \hline +\RDD{rotate}=40 & \RDD{x}=1cm,\RDD{y}=0.5cm & \RDD{xslant}=0.75 & \RDD{yslant}=0.75\\ +\hline + +\begin{tikzpicture} +\draw[dashed,red] (0,0) rectangle (2,2) ; +\draw[scale=1.5,blue] (0,0) rectangle (2,2) ; +\end{tikzpicture} +& +\begin{tikzpicture} +\draw[dashed,red] (0,0) rectangle (2,2) ; +\draw[scale=-1,y=.5cm,blue] (0,0) rectangle (2,2); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw[dashed,red] (0,0) rectangle (2,2) ; +\draw[xshift=.5cm,blue] (0,0) rectangle (2,2); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw[dashed,red] (0,0) rectangle (2,2) ; +\draw[yshift=.5cm,blue] (0,0) rectangle (2,2); +\end{tikzpicture} +\\ \hline +\RDD{scale}=1.5 & \RDD{scale}=-1 & \RDD{xshift}=0.5cm & \RDD{yshift}=0.5cm +\\ \hline +\end{tabular} + +\bigskip diff --git a/info/visualtikz/Source/tkzalea.tex b/info/visualtikz/Source/tkzalea.tex new file mode 100644 index 0000000000..ad058fba32 --- /dev/null +++ b/info/visualtikz/Source/tkzalea.tex @@ -0,0 +1,35 @@ +\TFRGB{voir page}{see page} \pageref{alea} + + +\begin{tabular}{|c|c|} \hline + +\begin{tikzpicture}[baseline=0pt] +\draw [decorate,blue,ultra thick,red,decoration={random steps,amplitude=1pt,segment length=3pt}] +(0,0) arc (0:320:2.5 and 1.5); +\end{tikzpicture} +& +\parbox{8cm}{ +\BS{draw}[decorate,decoration=\AC {random steps, amplitude=1pt,segment length=3pt}] (0,0) arc (0:320:2.5 and 1.5);} +\\ \hline +\begin{tikzpicture}[baseline=0pt] +\draw[->,blue,ultra thick] (-.1,0) -- (5.5,0); +\draw[->,blue,ultra thick] (0,-0.5) -- (0,2.5); + \draw[decorate,blue,ultra thick,red,decoration={random steps,amplitude=1pt,segment length=3pt}] plot coordinates {(0,0) (1,1) (2,0) (3,1) (4,1) (5,2)}; +\end{tikzpicture} +& +\parbox{8cm}{ +\BS{draw}[decorate,decoration=\AC {random steps, amplitude=1pt,segment length=3pt}] plot coordinates {(0,0) (1,1) (2,0) (3,1) (4,1) (5,2)};} +\\ \hline +\begin{tikzpicture}[domain=0:6.28,ultra thick,x=0.7cm,baseline=0pt] +%\draw[very thin,color=gray] (-0.1,-2.1) grid (4.1,2.1); +\draw[->,blue,ultra thick] (-.1,0) -- (7,0); +\draw[->,blue,ultra thick] (0,-1.5) -- (0,1.5); +\draw[decorate,red,decoration={random steps,amplitude=1pt,segment length=3pt}] plot (\x,{sin(\x r)}); +\end{tikzpicture} +& +\parbox{8cm}{ +\BS{draw}[decorate, decoration=\AC{random steps, amplitude=1pt,segment length=3pt}] plot (\BS{x},{sin(\BS{x} r)});} +\\ \hline +\end{tabular} + + diff --git a/info/visualtikz/Source/tkzangles.tex b/info/visualtikz/Source/tkzangles.tex new file mode 100644 index 0000000000..9796f92c8d --- /dev/null +++ b/info/visualtikz/Source/tkzangles.tex @@ -0,0 +1,137 @@ + +%TODO problème avec "$\alpha$" + + +\SbSSCT{Images prédéfinies : Marquage des angles}{Drawing angles} +\begin{center} +\RRR{39} +\end{center} + + \maboite{\BS{usetikzlibrary}\AC{angles} } +\label{lib-angles} + + +\begin{tabular}{|c|c|} \hline +\multicolumn{2}{|c|}{\BS{tikz} \BS{draw} (2,0) coordinate (A) - - (0,0) coordinate (B) }\\ +\multicolumn{2}{|c|}{ - - (1,1) coordinate (C) \RDD{pic} [draw] \AC{angle};} \\ \hline +\tikz \draw (2,0) coordinate (A) -- (0,0) coordinate (B) -- (1,1) coordinate (C) pic [draw] {angle}; +& +\tikz \draw (2,0) coordinate (A) -- (0,0) coordinate (B) -- (1,1) coordinate (C) pic [fill] {angle}; +\\ \hline +pic [{\color{red} draw}] \AC{angle} +& +pic [{\color{red} fill}] \AC{angle} +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|} \hline +\multicolumn{2}{|c|}{\BS{tikz} \BS{draw} (2,0) coordinate (X) - - (0,0) coordinate (Y) }\\ +\multicolumn{2}{|c|}{ - - (1,1) coordinate (Z) pic [draw] \AC{\RDD{angle}= X- -Y- -Z};} \\ \hline +\tikz \draw (2,0) coordinate (X) -- (0,0) coordinate (Y) -- (1,1) coordinate (Z) pic [draw] {angle= X--Y--Z}; +& +\tikz \draw (2,0) coordinate (X) -- (0,0) coordinate (Y) -- (1,1) coordinate (Z) pic [draw] {angle= Z--Y--X}; +\\ \hline +pic [{\color{red} draw}] \AC{angle= X- -Y- -Z} +& +pic [{\color{red} fill}] \AC{angle = Z- -Y- -X} +\\ \hline +\multicolumn{2}{|c|}{\dft{} : angle= A- -B- -C } +\\ \hline +\end{tabular} + +\bigskip + + +\begin{tabular}{|c|c|} \hline +\multicolumn{2}{|c|}{\BS{tikz} \BS{draw} (2,0) coordinate (A) - - (0,0) coordinate (B) }\\ +\multicolumn{2}{|c|}{ - - (1,1) coordinate (C) pic [draw,->] \AC{angle};} \\ \hline +\tikz \draw (2,0) coordinate (A) -- (0,0) coordinate (B) -- (1,1) coordinate (C) pic [draw=red,->] {angle}; +& +\tikz \draw (2,0) coordinate (A) -- (0,0) coordinate (B) -- (1,1) coordinate (C) pic [fill=red!50] {angle}; +\\ \hline +pic [draw,{\color{red} ->}] \AC{angle} +& +pic [fill,{\color{red} fill=red!50}] \AC{angle} +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|} \hline +\multicolumn{2}{|c|}{\BS{tikz} \BS{draw} (2,0) coordinate (A) - - (0,0) coordinate (B) }\\ +\multicolumn{2}{|c|}{ - - (1,1) coordinate (C) pic [draw,\RDD{angle radius}=1cm] \AC{angle};} \\ \hline +\tikz \draw (2,0) coordinate (A) -- (0,0) coordinate (B) -- (1,1) coordinate (C) pic [draw,angle radius=1cm] {angle}; +& +\tikz \draw (2,0) coordinate (A) -- (0,0) coordinate (B) -- (1,1) coordinate (C) pic [fill,angle radius=1cm] {angle}; +\\ \hline +pic [draw,{\color{red} angle radius=1cm}] \AC{angle} +& +pic [fill,{\color{red} angle radius=1cm}] \AC{angle} +\\ \hline +\multicolumn{2}{|c|}{\dft{} : angle radius=5mm } +\\ \hline +\end{tabular} + +\bigskip + +\maboite{\BS{usetikzlibrary}\AC{quotes}} +\label{quotes} + +\begin{tabular}{|c|} \hline +\BS{tikz} \BS{draw} (3,0) coordinate (A) +- - (0,1) coordinate (B) +- - (1,2) coordinate (C) \\ +pic [draw,{\color{red}\verb|"|\$\BS{alpha}\$ \verb|"|}] \AC{angle}; +\\ \hline +\tikz \draw (3,0) coordinate (A) +-- (0,1) coordinate (B) +-- (1,2) coordinate (C) +pic [draw, "$\alpha$"] {angle}; +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|l|} \hline +\BS{tikz} \BS{draw} (2,0) coordinate (A) \\ - - (0,0) coordinate (B) +- - (1,2) coordinate (C) +\\ +pic [draw, \verb|"| \$\BS{alpha}\$\verb|"|, {\color{red}angle eccentricity}=1]] \AC{angle}; + +\\ \hline +\end{tabular} +\begin{tabular}{|l|c|c|} \hline + \tikz \draw (2,0) coordinate (A) +-- (0,0) coordinate (B) +-- (1,2) coordinate (C) +pic ["$\alpha$", draw, angle eccentricity=1] {angle}; +& +\tikz \draw (2,0) coordinate (A) +-- (0,0) coordinate (B) +-- (1,2) coordinate (C) +pic ["$\alpha$", draw, angle eccentricity=1.5] {angle}; + +\\ \hline +\RDD{angle eccentricity}=1 & \RDD{angle eccentricity}=1.5 +\\ \hline + \multicolumn{2}{|c|}{ \dft{} : angle eccentricity= 0.6 } + \\ \hline +\end{tabular} + +\bigskip + + \begin{tabular}{|c|} \hline + \BS{tikz} \{ \BS{draw} (2,0) coordinate (A) + - - (0,0) coordinate (B) + - - (1,2) coordinate (C) \\ + pic {\color{red}(xxx)} [draw,\verb|"|\$\BS{alpha}\$\verb|"|,angle radius= 1cm ] \AC{angle};\\ +\BS{draw} {\color{red}(xxx)}circle [radius=5pt] ; \} + \\ \hline +\tikz { +\draw (2,0) coordinate (A) -- (0,0) coordinate (B) -- (1,1) coordinate (C) pic (xxx) ["$\alpha$", draw,angle radius= 1cm ] {angle}; +\draw (xxx) circle [radius=5pt]; +} + \\ \hline + \end{tabular} diff --git a/info/visualtikz/Source/tkzanim.tex b/info/visualtikz/Source/tkzanim.tex new file mode 100644 index 0000000000..f464221892 --- /dev/null +++ b/info/visualtikz/Source/tkzanim.tex @@ -0,0 +1,164 @@ +\label{anim} + +%Insérer dans le préambule : + + \maboite{\BS{usepackage}\AC{animate} \cite {animate} } + +\SbSSCT{Animation à partir de fichiers d'image }{Animation from picture files} + +%\begin{verbatim}\animategraphics[<options>]{<frame rate>}{<file basename>}{<first>}{<last>} \end{verbatim} + + +\begin{tabular}{|c|c|} \hline +\TFRGB{première image}{first frame} & \TFRGB{seconde et dernière image}{second and last frame} +\\ \hline +\includegraphics[width=3cm]{XXX1} +& +\includegraphics[width=3cm]{XXX2} +\\ +\hline \BS{includegraphics}\AC{XXX1} & \BS{includegraphics}\AC{XXX2}\\ +\hline +\end{tabular} + + +\begin{minipage}{7cm} +\animategraphics[controls,loop,autoplay]{4}{XXX}{1}{2} +\end{minipage}\hfill +\begin{minipage}{7cm} +\begin{tabular}{|l@{:}l|} +\hline \BSS{animategraphics} & \\ +\hline [ controls, & \TFRGB{boutons de contrôle}{Inserts control buttons} \\ +\hline loop & \TFRGB{en boucle}{animation restarts automatically}\\ +\hline autoplay ] & \TFRGB{auto démarrage}{Start animation automatically } \\ +\hline \AC{4} & \TFRGB{4 fois par seconde}{4 frame per second}\\ +\hline \AC{XXX} & \TFRGB{base du nom fichier}{file base name} \\ +\hline \AC{1} & \TFRGB{numero de début}{number of the first frame} \\ +\hline \AC{2} & \TFRGB{numero de fin}{number of the last frame} \\ +\hline +\end{tabular} + +\end{minipage} + +%-------------------------------------------------------------- +\subsection{Animateinline} + + + + +\begin{minipage}{5cm} +\begin{center} +\begin{animateinline}[ controls,loop,autoplay]{5}% +\begin{tikzpicture} +\fill[blue] (45:2) -- (135:.5)-- (225:2)--(315:.5) -- cycle; +\fill[blue] (45:.5) -- (135:2)-- (225:.5)--(315:2) -- cycle; + \end{tikzpicture} +\newframe% +\begin{tikzpicture} +\fill[blue] (0:2) -- (90:.5)-- (180:2)--(270:.5) -- cycle; +\fill[blue] (0:.5) -- (90:2)-- (180:.5)--(270:2) -- cycle; + \end{tikzpicture} +\end{animateinline}% +\end{center} +\end{minipage}\hfill +\begin{minipage}{12cm} +\ESS{animateinline}[controls,loop,autoplay]\AC{5} \\ + +\emph{\% \TFRGB{première image}{first frame }}\\ +\BS{begin\AC{tikzpicture} } +\BS{fill}[blue] (45:2) - - (135:.5)- - (225:2)- -(315:.5) - - cycle; +\BS{fill}[blue] (45:.5) - - (135:2)- - (225:.5)- -(315:2) - - cycle; + \BS{end\AC{tikzpicture}} + +\emph{\% \TFRGB{deuxième}{second frame }}\\ +\BSS{newframe} \\ +\BS{begin\AC{tikzpicture} } \\ +\BS{fill}[blue] (0:2) - - (90:.5)- - (180:2)- -(270:.5) - - cycle; \\ +\BS{fill}[blue] (0:.5) - - (90:2)- - (180:.5)- -(270:2) - - cycle; \\ + \BS{end\AC{tikzpicture}} \\ + \\ +\BS{end\AC{animateinline}} \\ +\end{minipage} + + + + +\subsection{Multiframe} + +\begin{minipage}{5cm} +\begin{center} +\begin{animateinline}[poster=first, controls, palindrome,autoplay]{12}% +\multiframe{29}{iAngle=80+10,Rdim=2.0+-0.2}{ +\begin{tikzpicture} +\fill[blue] (\iAngle+45:\Rdim) -- (\iAngle+135:.5)-- (\iAngle+225:\Rdim)--(\iAngle+315:.5) -- cycle; +\fill[blue] (\iAngle+45:.5) -- (\iAngle+135:\Rdim)-- (\iAngle+225:.5)--(\iAngle+315:\Rdim) -- cycle; + \end{tikzpicture} +%\end{pspicture} +}% +\end{animateinline}% +\end{center} +\end{minipage}\hfill +\begin{minipage}{12cm} +\BS{begin}\AC{animateinline}[poster=first,controls, palindrome]\AC{12} \\ +\BSS{multiframe}\AC{29}\AC{{\color{red} iAngle}=80+10, {\color{red} Rdim}=2.0+-0.2}\{ \\ +\BS{begin\AC{tikzpicture} } \\ +\BS{fill}[blue] (\BS{iAngle}+45:\BS{Rdim}) - - (\BS{iAngle}+135:.5)- - (\BS{iAngle}+225:\BS{Rdim})- -(\BS{iAngle}+315:.5) - - cycle; \\ +\BS{fill}[blue] (\BS{iAngle}+45:.5) - - (\BS{iAngle}+135:\BS{Rdim})- - (\BS{iAngle}+225:.5)- -(\BS{iAngle}+315:\BS{Rdim}) - - cycle; \\ + \BS{end\AC{tikzpicture}} +\} \\ +\BS{end}\AC{animateinline}% +\end{minipage} +\bigskip + +\TFRGB{L'initiale de la variable définit son type}{The first letter of the variable name determines his type } + +\begin{tabular}{|c|l|} +\hline entier & initiale : i ou I \\ +\hline réelles & initiale : n, N, r ou R \\ +\hline longueurs & initiale : d ou D \\ +\hline +\end{tabular} + + + +\bigskip + +%--------------------------------------------------------------------- +\begin{minipage}{5cm} + +\begin{animateinline}[autoplay,loop]{12}% +\multiframe{24}{iAngle=0+15,icol=0+5}{\begin{tikzpicture}[rotate=90] % + \draw[line width=0pt] (-2,-2) rectangle(6,2); % + \draw (0,0) node[fill=white,circle,rotate=\iAngle] {\includegraphics[width=2cm]{LogoIUT}} (0,0) circle (1); + \draw (0,0) circle (1); + \coordinate (abc) at (${sqrt(9-sin(\iAngle)*sin(\iAngle))+cos(\iAngle)}*(1,0)$) ; + \coordinate (xyz) at (\iAngle:1); + \draw[ultra thick] (0,0) --(xyz); + \draw[ultra thick] (xyz) -- (abc) ; + \fill[color=blue!\icol] (abc)++(0.5,-1) rectangle (5,1) ; + \draw[ultra thick] (abc) ++(0,-1) rectangle ++(.5,2) ; + \draw[ultra thick] (1.5,1) -- (5,1) -- (5,-1) -- (1.5,-1); + \fill[red] (xyz) circle (4pt); + \fill[red] (abc) circle (4pt); + \end{tikzpicture}} +\end{animateinline} +\end{minipage}\hfill +\begin{minipage}{12cm} +\BS{begin\AC{animateinline}}[autoplay,loop]\AC{12}\\ +\BS{multiframe}\AC{24}\AC{iAngle=0+15,icol=0+5}\{\BS{begin\AC{tikzpicture}} \\ + \BS{draw}[line width=0pt] (-2,-3) rectangle(6,3); \\ + \BS{draw} (0,0) node[fill=white,circle,rotate=\BS{iAngle}] \\ + \AC{\BS{includegraphics}[width=2cm]\AC{LogoIUT}} (0,0) circle (1);\\ + \BS{draw} (0,0) circle (1); \\ + \BS{coordinate} (abc) at (\$\AC{sqrt(9-sin(\BS{iAngle})*sin(\BS{iAngle}))+cos(\BS{iAngle})}*(1,0)\$) ; \\ + \BS{coordinate} (xyz) at (\BS{iAngle}:1); \\ + \BS{draw}[ultra thick] (0,0) - -(xyz); \\ + \BS{draw}[ultra thick] (xyz) - - (abc) ; \\ + \BS{fill}[color=blue{}!\BS{icol}] (abc)++(0.5,-1) rectangle (5,1) ; \\ + \BS{draw}[ultra thick] (abc) ++(0,-1) rectangle ++(.5,2) ; \\ + \BS{draw}[ultra thick] (1.5,1) - - (5,1) - - (5,-1) - - (1.5,-1); \\ + \BS{fill}[red] (xyz) circle (4pt); \\ + \BS{fill}[red] (abc) circle (4pt); \\ + \BS{end\AC{tikzpicture}}\} \\ +\BS{end\AC{animateinline}} + +\end{minipage} diff --git a/info/visualtikz/Source/tkzbackground.tex b/info/visualtikz/Source/tkzbackground.tex new file mode 100644 index 0000000000..d55f6226ad --- /dev/null +++ b/info/visualtikz/Source/tkzbackground.tex @@ -0,0 +1,235 @@ + \tikzset{background rectangle/.style={fill=cyan!20,draw=blue,line width=2pt}} + +\SbSSCT{Encadrement}{Framing} +\label{lib-bkgd} + + \begin{tabular}{|c|l|} \hline + \begin{tikzpicture}[baseline=0pt,show background rectangle] + \filldraw[fill=yellow] (0,0) ellipse (1 and .5); + \end{tikzpicture} +& +\parbox{10cm}{ + \footnotemark \\ +\BS{begin}\AC{tikzpicture}[\RDD{show background rectangle}]\\ +\BS{filldraw}[fill=yellow] (0,0) ellipse (1 and .5 );\\ +\BS{end}\AC{tikzpicture}\\ +\\ +\emph{\TFRGB{Autre syntaxe}{Other syntax}} : \\ +\BS{begin}\AC{tikzpicture}[\RDD{framed}]\\ +} +\\ \hline +\end{tabular} + + \footnotetext[1]{ \BS{tikzset}\AC{background rectangle/.style=\AC{fill=cyan!20,draw=blue,line width=2pt}}} + +\bigskip + +\subsubsection{Options} + +\begin{tabular}{|c|c|c|} \hline +\multicolumn{3}{|c|}{ [show background rectangle,\RDD{inner frame xsep}=1cm] } +\\ \hline +\begin{tikzpicture}[show background rectangle,inner frame xsep=1cm] + \filldraw[fill=yellow](0,0) ellipse (1cm and .5cm); +\end{tikzpicture} +& +\begin{tikzpicture}[show background rectangle,inner frame ysep=1cm] + \filldraw[fill=yellow](0,0) ellipse (1cm and .5cm); +\end{tikzpicture} +& +\begin{tikzpicture}[show background rectangle,inner frame sep=1cm] + \filldraw[fill=yellow] (0,0) ellipse (1cm and .5cm); +\end{tikzpicture} +\\ \hline +\RDD{inner frame xsep}=1cm & \RDD{inner frame ysep}=1cm & \RDD{inner frame sep}=1cm +\\ \hline +\multicolumn{3}{|c|}{\dft : inner frame xsep=1ex +, inner frame ysep=1ex +} + +\\ \hline +\begin{tikzpicture}[show background rectangle,tight background] + \filldraw[fill=yellow] (0,0) ellipse (1cm and .5cm); +\end{tikzpicture} +& +\begin{tikzpicture}[show background rectangle,loose background] + \filldraw[fill=yellow](0,0) ellipse (1cm and .5cm); +\end{tikzpicture} +& +\begin{tikzpicture}[show background rectangle,rounded corners] + \filldraw[fill=yellow] (0,0) ellipse (1cm and .5cm); +\end{tikzpicture} +\\ \hline +\RDD{tight background} & \RDD{loose background} & \RDD{rounded corners} \\ \hline +(inner frame sep = 0pt) & (inner frame sep = 2ex) & + \\ \hline + \end{tabular} + + +\subsubsection{Style} + + \begin{tabular}{|c|c|c|c|c|} \hline + \multicolumn{5}{|c|}{ [\RDD{background rectangle/.style}=\AC{double,draw=blue},framed] } + \\ \hline + \begin{tikzpicture}[framed,background rectangle/.style={double,draw=blue}] + \filldraw[fill=yellow] (0,0) ellipse (1cm and .5cm); + \end{tikzpicture} + & + \begin{tikzpicture}[show background rectangle,background rectangle/.style={fill=green,draw=blue}] + \filldraw[fill=yellow] (0,0) ellipse (1cm and .5cm); + \end{tikzpicture} + & + \begin{tikzpicture}[show background rectangle,background rectangle/.style={top color=green,draw=blue}] + \filldraw[fill=yellow](0,0) ellipse (1cm and .5cm); + \end{tikzpicture} + & + \begin{tikzpicture}[show background rectangle,background rectangle/.style={line width=4pt,draw=blue}] + \filldraw[fill=yellow](0,0) ellipse (1cm and .5cm); + \end{tikzpicture} + & + \begin{tikzpicture}[show background rectangle,background rectangle/.style={rounded corners=.5cm,draw=blue}] + \filldraw[fill=yellow](0,0) ellipse (1cm and .5cm); + \end{tikzpicture} + \\ \hline + \RDD{double} & \RDD{fill}=green & \RDD{top color}=green & \RDD{line width}=4pt & \RDD{rounded corners}=0.5cm + \\ \hline + +\end{tabular} + +\SbSSCT{Encadrement partiel}{Partial framing} + + \tikzset{background top/.style={fill=green!20,draw=blue,line width=2pt}} + \tikzset{background bottom/.style={fill=green!20,draw=blue,line width=2pt}} + \tikzset{background left/.style={fill=green!20,draw=blue,line width=2pt}} + \tikzset{background right/.style={fill=green!20,draw=blue,line width=2pt}} + + \begin{tabular}{|c|c|c|c|c|} \hline +\begin{tikzpicture}[show background top] + \filldraw[fill=yellow] (0,0) ellipse (10mm and 5mm); +\end{tikzpicture} +& +\begin{tikzpicture}[show background bottom] + \filldraw[fill=yellow](0,0) ellipse (10mm and 5mm); +\end{tikzpicture} +& +\begin{tikzpicture}[show background left] + \filldraw[fill=yellow] (0,0) ellipse (10mm and 5mm); +\end{tikzpicture} +& +\begin{tikzpicture}[show background right] + \filldraw[fill=yellow] (0,0) ellipse (10mm and 5mm); +\end{tikzpicture} +\\ \hline +\RDD{show background top} & \RDD{show background bottom} & \RDD{show background left} & \RDD{show background right} +\\ \hline +\end{tabular} + +\bigskip + + \begin{tabular}{|c|c|c|} \hline + \multicolumn{3}{|c|}{ [framed,show background top,\RDD{outer frame xsep}=1cm] } + \\ \hline + +\begin{tikzpicture}[framed,show background top,outer frame xsep=1cm] + \filldraw[fill=yellow](0,0) ellipse (1cm and .5cm); +\end{tikzpicture} +& +\begin{tikzpicture}[framed,show background left,outer frame ysep=1cm] + \filldraw[fill=yellow](0,0) ellipse (1cm and .5cm); +\end{tikzpicture} +& +\begin{tikzpicture}[framed,show background left,show background left,show background top,outer frame sep=1cm] + \filldraw[fill=yellow](0,0) ellipse (1cm and .5cm); +\end{tikzpicture} +\\ \hline +\RDD{outer frame xsep}=1cm & \RDD{outer frame ysep}=1cm +& \RDD{outer frame sep}=1cm +\\ \hline +\end{tabular} + +\subsubsection{Style} + + \begin{tabular}{|c|c|c|c|c|} \hline + \multicolumn{4}{|l|}{ \BS{begin}\AC{tikzpicture}[show background left, }\\ + \multicolumn{4}{|l|}{ \hspace{0.5cm} [\RDD{background left/.style}=\AC{double,ultra thick,draw=blue}] } + \\ \hline + + \begin{tikzpicture}[show background left,background left/.style={double,ultra thick,draw=blue}] + \filldraw[fill=yellow] (0,0) ellipse (1cm and .5cm); + \end{tikzpicture} + & + \begin{tikzpicture}[show background left,background left/.style={<->,ultra thick,draw=blue}] + \filldraw[fill=yellow](0,0) ellipse (1cm and .5cm); + \end{tikzpicture} + & + \begin{tikzpicture}[show background left,background left/.style={line width=10pt,draw=blue}] + \filldraw[fill=yellow](0,0) ellipse (1cm and .5cm); + \end{tikzpicture} + & + \begin{tikzpicture}[show background left,background left/.style={dashed,ultra thick,draw=blue}] + \filldraw[fill=yellow] (0,0) ellipse (1cm and .5cm); + \end{tikzpicture} + \\ \hline + \RDD{double} & \RDD{<->} & \RDD{line width}=10pt & \RDD{dashed} + \\ \hline + +\end{tabular} + +\SbSbSSCT{Quadrillage}{Gridding} + + \begin{tabular}{|c|l|} \hline + \begin{tikzpicture}[baseline=0pt,show background grid] + \filldraw [fill=yellow](0,0) ellipse (2 and 1); + \end{tikzpicture} +& +\parbox{8cm}{ +\BS{begin}\AC{tikzpicture}[\RDD{show background grid}]\\ +\BS{filldraw}[fill=yellow] (0,0) ellipse (2 and 1);\\ +\BS{end}\AC{tikzpicture}\\ +\\ +\emph{\TFRGB{Autre syntaxe}{Other syntax}} : \\ +\BS{begin}\AC{tikzpicture}[\RDD{gridded}]\\ +} +\\ \hline +\end{tabular} + +\subsubsection{Style} + + + \begin{tabular}{|c|c|c|} \hline + \multicolumn{3}{|l|}{ [\RDD{background grid/.style}=\AC{ultra thick,draw=blue},show background grid] } + \\ \hline +\begin{tikzpicture}[background grid/.style={ultra thick,draw=blue},show background grid] + \filldraw [fill=yellow](0,0) ellipse (2 and 1); +\end{tikzpicture} +& +\begin{tikzpicture}[background grid/.style={draw=red},show background grid] + \filldraw [fill=yellow](0,0) ellipse (2 and 1); +\end{tikzpicture} +& +\begin{tikzpicture}[background grid/.style={step=.5cm,draw=blue},show background grid] + \filldraw [fill=yellow](0,0) ellipse (2 and 1); +\end{tikzpicture} +\\ \hline +\RDD{ultra thick} ,draw=blue,\RDD{draw}=blue & draw=red & \RDD{step}=.5cm,draw=blue +\\ \hline +\end{tabular} + +\SbSbSSCT{Encadrement et quadrillage}{Framing and gridding} + + \begin{tabular}{|c|l|} \hline + \begin{tikzpicture}[baseline=0pt,framed,gridded] + \filldraw [fill=yellow](0,0) ellipse (2 and 1); + \end{tikzpicture} +& +\parbox{8cm}{ +\BS{begin}\AC{tikzpicture}[\RDD{framed , gridded }]\\ +\BS{filldraw}[fill=yellow] (0,0) ellipse (2 and 1);\\ +\BS{end}\AC{tikzpicture}\\ +\\ + +} +\\ \hline +\end{tabular} + + diff --git a/info/visualtikz/Source/tkzboit1.tex b/info/visualtikz/Source/tkzboit1.tex new file mode 100644 index 0000000000..14ce554b06 --- /dev/null +++ b/info/visualtikz/Source/tkzboit1.tex @@ -0,0 +1,2320 @@ +\label{ndbt} + +\tikzset{blue} + + +\SbSSCT{Dans un n\oe ud de Tikz}{In a TikZ node} +\label{noeudboite} + +\begin{tabular}{|c | c | c | c |} \hline +\multicolumn{4}{|c|}{ \BS{tikz} \BS{draw} (0,0) grid (2,2) (1,1) node[ fill=red!20 ] \AC{texte}; }\\ +\hline +\tikz \draw (0,0) grid (2,2) (1,1) node[fill=red!20] {texte}; +& +\tikz \draw (0,0) grid (2,2) (1,1) node[fill=red!20,draw] {texte}; +& +\tikz \draw (0,0) grid (2,2) (1,1) node[circle,fill=red!20] {texte}; +& +\tikz \draw (0,0) grid (2,2) (1,1) node[circle,fill=red!20,draw] {texte}; +\\ \hline +node[fill=red!20] +& +node[fill=red!20,\RDD{draw}] +& + node[fill=red!20,\RDD{circle}] +& + node[fill=red!20,\RDD{circle},\RDD{draw}] + \\ \hline +\end{tabular} +\bigskip + + +\subsubsection{Options} +\begin{tabular}{|c | c | c | c |c |c |c |c |} \hline +\multicolumn{8}{|c|}{ \BS{tikz} \BS{draw} node[draw,\RDD{double},blue] \AC{texte}; }\\ +\hline + +\tikz \draw node[draw,double,blue] {texte}; +& +\tikz \draw node[draw,rounded corners,blue] {texte}; +& +\tikz \draw node[draw,ultra thick,blue] {texte}; +& +\tikz \draw node[draw,dashed,blue] {texte}; +& +\tikz \draw node[draw,red] {texte}; +& +\tikz \draw node[draw,rotate=45,blue] {texte}; +& +\tikz \draw node[draw,shading=radial,blue] {texte}; +& +\tikz \draw node[draw,blue,text=red] {texte}; +\\ \hline +\RDD{double} & \RDD{rounded corners} & ultra thick & dashed & red & rotate=45 & shading=radial & text=red +\\ \hline +\end{tabular} +\bigskip + + +\begin{tabular}{|c | c | c | c |c |} \hline +\multicolumn{4}{|c|}{ \BS{tikz} \BS{draw} node[draw,\RDD{inner sep}=0pt] \AC{texte}; \RRR{17-2-3} }\\ +\hline +\tikz \draw node[draw,inner sep=0pt,blue] {texte}; +& +\tikz \draw node[draw,inner sep=1cm,blue] {texte}; +& +\tikz \draw node[draw,inner xsep=1cm,blue] {texte}; +& +\tikz \draw node[draw,inner ysep=1cm,blue] {texte}; +\\ \hline + \RDD{inner sep}=0pt & \RDD{inner sep}=1cm & \RDD{inner xsep}=1cm & \RDD{inner ysep}=1cm +\\ \hline +\multicolumn{4}{|c|}{ \dft{} : 0.3333em }\\ +\hline + +\end{tabular} + +\bigskip + +\begin{tabular}{|c | c | c | c |} \hline +\multicolumn{4}{|l|}{ \BS{node} [fill=red!20,\RDD{outer sep}=1cm] (A) at (1,1) \AC{texte}; \RRR{17-2-3} } \\ +\multicolumn{4}{|l|}{ \BS{fill} (node cs:name=A,anchor=east) circle (3pt); }\\ +\multicolumn{4}{|l|}{ \BS{fill} (node cs:name=A,anchor=south) circle (3pt); }\\ +\hline +\begin{tikzpicture} +\draw[help lines] (0,0) grid (3,2); +\node[fill=red!20,outer sep=1cm] (A) at (1,1) {texte}; +\fill[red] (node cs:name=A,anchor=east) circle (3pt); +\fill[red] (node cs:name=A,anchor=south) circle (3pt); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw[help lines] (0,0) grid (3,2); +\node[fill=red!20,outer sep=0pt] (A) at (1,1) {texte}; +\fill[red] (node cs:name=A,anchor=east) circle (3pt); +\fill[red] (node cs:name=A,anchor=south) circle (3pt); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw[help lines] (0,0) grid (3,2); +\node[fill=red!20,outer xsep=1cm] (A) at (1,1){texte}; +\fill[red] (node cs:name=A,anchor=east) circle (3pt); +\fill[red] (node cs:name=A,anchor=south) circle (3pt); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw[help lines] (0,0) grid (3,2); +\node[fill=red!20,outer ysep=1cm] (A) at (1,1) {texte}; +\fill[red] (node cs:name=A,anchor=east) circle (3pt); +\fill[red] (node cs:name=A,anchor=south) circle (3pt); +\end{tikzpicture} +\\ \hline + \RDD{outer sep}=1cm & \RDD{outer sep}=0pt & \RDD{outer xsep}=1cm & \RDD{outer ysep}=1cm +\\ \hline +\multicolumn{4}{|c|}{ \dft{} : 0.5\BS{pgflinewidth} }\\ +\hline +\end{tabular} + +\SbSbSSCT{Taille minimale des noeuds}{Minimum size} + +\begin{tabular}{|c|c|} \hline +\multicolumn{2}{|c|}{ \BS{draw}((0,0) node[fill=blue!20,\RDD{minimum height}=1.5cm,draw] \AC{texte} ; \RRR{17-2-3} }\\ +\hline +\tikz \draw (0,0) node[fill=red!20,minimum height=1.5cm,draw] {texte}; +& +\tikz \draw (0,0) node[fill=red!20,minimum width=3cm,draw] {texte}; + +\\ \hline + +\RDD{minimum height}=1.5cm +& +\RDD{minimum width}=3cm +\\ \hline +\tikz \draw (0,0) node[fill=red!20,minimum size=1.5cm,draw] {texte}; +& +\tikz \draw (0,0) node[fill=red!20,minimum size=1.5cm,draw,circle] {texte}; + +\\ \hline +\RDD{minimum size}=1.5cm,draw +& +\RDD{minimum size}=1.5cm,circle + +\\ \hline +\end{tabular} + +\newpage + +\SbSSCT{Dans un n\oe ud à formes géométriques}{Geometric Shapes nodes} + +\label{lib-geom} +\label{formes} + + + \maboite{\BS{usetikzlibrary}\AC{shapes.geometric}} + + +\begin{center} +\RRR{67-3} +\end{center} + +\SbSbSSCT{Formes disponibles}{Available shapes} + +\label{nd1} + +\begin{tabular}{|c|c|c|c|} \hline +\multicolumn{4}{|l|}{ 2 syntaxes : }\\ +\multicolumn{4}{|l|}{ \BS{tikz} \BS{node}[fill=green!20,\RDD{shape}=diamond,draw,blue] \AC{texte}; }\\ +\multicolumn{4}{|l|}{ \BS{tikz} \BS{node}[fill=green!20,\RDD{diamond},draw] \AC{texte}; }\\ +\hline +\tikz \node[fill=green!20,diamond,draw] {texte}; +& +\tikz \node[fill=green!20,ellipse,draw] {texte}; +& +\tikz \node[fill=green!20,trapezium, regular polygon sides=6,draw] {texte}; +& +\tikz \node[fill=green!20,semicircle,draw] {texte}; +\\ \hline +diamond & ellipse & trapezium & semicircle +\\ \hline +\tikz \node[fill=green!20,star,draw] {texte}; +& +\tikz \node[fill=green!20,regular polygon,draw] {texte}; +& +\tikz \node[fill=green!20,isosceles triangle,draw] {texte}; +& +\tikz \node[fill=green!20,kite,draw] {texte}; +\\ \hline +star & regular polygon & isosceles triangle & kite +\\ \hline +\tikz \node[fill=green!20,dart,draw] {texte}; +& +\tikz \node[fill=green!20,circular sector,draw] {texte}; +& +\tikz \node[fill=green!20,cylinder,draw] {texte}; +& + +\\ \hline +dart & circular sector & cylinder & +\\ \hline +\end{tabular} + +\subsubsection{Options} + +\begin{tabular}{|c|c|c|} \hline +\multicolumn{3}{|c|}{ \BS{node} [trapezium,draw,\RDD{trapezium left angle}=90,draw,blue] \AC{texte}; }\\ +\hline +\begin{tikzpicture} +\node[trapezium,draw,red,dashed] {texte}; +\node[trapezium,draw,trapezium left angle=90,draw,blue] {texte}; +\end{tikzpicture} +& +\begin{tikzpicture} +\node[trapezium,draw,red,dashed] {texte}; +\node[trapezium,draw,trapezium right angle=90,draw,blue] {texte}; +\end{tikzpicture} +& +\begin{tikzpicture} +\node[trapezium,draw,red,dashed] {texte}; +\node[trapezium,draw,trapezium angle=120,draw,blue] {texte}; +\end{tikzpicture} +\\ \hline +\RDD{trapezium left angle}=90 & \RDD{trapezium right angle}=90 & \RDD{trapezium angle}=120 \\ +\hline +\begin{tikzpicture} +\node[trapezium,draw,red,dashed] {texte}; +\node[trapezium,draw,minimum height=1.5cm,trapezium stretches=true,draw,blue] {texte}; +\end{tikzpicture} +& +\begin{tikzpicture} +\node[trapezium,draw,red,dashed] {texte}; +\node[trapezium,draw,minimum height=1.5cm,trapezium stretches=false,draw,blue] {texte}; +\end{tikzpicture} +& +\begin{tikzpicture} +\node[trapezium,draw,red,dashed] {texte}; +\node[trapezium,draw,minimum width=3cm,trapezium stretches =false,draw,blue] {texte}; +\end{tikzpicture} + +\\ \hline +minimum height=1.5cm & minimum height=1.5cm & minimum width=1.5cm \\ +\RDD{trapezium stretches}=true & \RDD{trapezium stretches}=false & \RDD{trapezium stretches} \\ +\hline + +\end{tabular} + + +\bigskip +\begin{tabular}{|c|c|c|} \hline +\multicolumn{3}{|c|}{ \BS{tikz} \BS{node} [fill=green!20,star,\RDD{star points}=6,draw] \AC{texte}; }\\ +\hline +\begin{tikzpicture} +\node[star,draw,red,dashed] {texte}; +\node[star,star points=7,draw,blue] {texte}; +\end{tikzpicture} +& +\begin{tikzpicture} +\node[star,draw,red,dashed] {texte}; +\node[star,star point height = 2cm,draw,blue] {texte}; +\end{tikzpicture} +& +\begin{tikzpicture} +\node[star,draw,red,dashed] {texte}; +\node[star,star point ratio = 3,draw,blue] {texte}; +\end{tikzpicture} +\\ \hline +\RDD{star points}=7 & \RDD{star point height} = 2cm & \RDD{star point ratio} = 3 \\ \hline +\dft{5} & \dft.5cm & \dft{1.5}\\ +\hline +\end{tabular} +\bigskip + +\begin{tabular}{|c|c|c|} \hline +\multicolumn{3}{|c|}{ \BS{node} [isosceles triangle,\RDD{isosceles triangle apex angle}=90,draw,blue] \AC{texte}; }\\ +\multicolumn{3}{|c|}{ \BS{node} [regular polygon, \RDD{regular polygon sides}=6,draw,blue] \AC{texte}; }\\ +\hline +\begin{tikzpicture} +\node[isosceles triangle,draw,red,dashed] {texte}; + \node[isosceles triangle,isosceles triangle apex angle=90,draw,blue] {texte}; +\end{tikzpicture} +& +\begin{tikzpicture} +\node[isosceles triangle,draw,red,dashed] {texte}; + \node[isosceles triangle,isosceles triangle stretches=true,draw,blue] {texte}; +\end{tikzpicture} +& +\begin{tikzpicture} +\node[regular polygon,draw,red,dashed] {texte}; +\node[regular polygon, regular polygon sides=6,draw,blue] {texte}; +\end{tikzpicture} +\\ \hline +\RDD{isosceles triangle apex angle}=90 & \RDD{isosceles triangle stretches} & \RDD{regular polygon sides}=6 \\ +\hline +\end{tabular} +\bigskip + +\begin{tabular}{|c|c|c|} \hline +\multicolumn{3}{|c|}{ \BS{node} [kite,\RDD{kite upper vertex angle}=90,draw,blue] \AC{texte}; }\\ +\hline +\begin{tikzpicture} +\node[red,kite,draw,dashed] {texte} ; + \node[kite,kite upper vertex angle=90,draw,blue] {texte}; +\end{tikzpicture} +& +\begin{tikzpicture} +\node[red,kite,draw,dashed] {texte} ; + \node[kite,kite lower vertex angle=90,draw,blue] {texte}; +\end{tikzpicture} +& +\begin{tikzpicture} +\node[red,kite,draw,dashed] {texte} ; +\node[kite,kite vertex angles=90,draw,blue] {texte}; +\end{tikzpicture} +\\ \hline +\RDD{kite upper vertex angle}=90 & \RDD{kite lower vertex angle}=90 &\RDD{kite vertex angles}=90 +\\ \hline +initially 120 & initially 60 & \\ +\hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|c|} \hline +\multicolumn{3}{|c|}{ \BS{node} [dart,\RDD{dart tip angle}=90,draw,blue] \AC{texte}; }\\ +\hline +\begin{tikzpicture} +\node[dart,draw,red,dashed] {texte}; +\node[dart,dart tip angle=90,draw,blue] {texte}; +\end{tikzpicture} +& +\begin{tikzpicture} +\node[dart,draw,red,dashed] {texte}; +\node[dart,dart tail angle=90,draw,blue] {texte}; +\end{tikzpicture} +& +\begin{tikzpicture} +\node[,circular sector,draw,red,dashed] {texte}; +\node[circular sector,circular sector angle=90,draw,blue] {texte}; +\end{tikzpicture} +\\ \hline +\RDD{dart tip angle}=90 & \RDD{dart tail angle}=90 & \RDD{circular sector angle}=90 +\\ \hline +initially 45 & initially 135 & initially 60 \\ +\hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|} \hline +\multicolumn{2}{|c|}{ \BS{node} [cylinder,\RDD{aspect=2},draw,blue] \AC{texte}; }\\ +\hline +\tikz \node[cylinder,aspect=2,draw,blue] {texte}; +& + \tikz \node[cylinder,aspect=4,draw,blue] {texte}; +\\ \hline +\RDD{aspect}=2 & \RDD{aspect}=4 +\\ \hline +\tikz \node[cylinder,cylinder uses custom fill, cylinder end fill=yellow,draw,blue] {texte}; +& +\tikz \node[cylinder,cylinder uses custom fill, cylinder body fill=yellow,draw,blue] {texte}; +\\ \hline +\RDD{cylinder uses custom fill}, & \RDD{cylinder uses custom fill}, \\ +\RDD{cylinder end fill}=yellow & \RDD{cylinder body fill}=yellow \\ +\hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|c|c|} \hline +\multicolumn{4}{|c|}{ \BS{draw}(0,0) node[\RDD{shape aspect}=1,diamond,draw] \AC{texte} ; } +\\ \hline + +\tikz \draw (0,0) node[shape aspect=1,diamond,draw,blue] {texte}; +& +\tikz \draw (0,-2) node[shape aspect=2,diamond,draw,blue] {texte}; +& +\tikz \draw (0,0) node[shape aspect=3,diamond,draw,blue] {texte}; +& +\tikz \draw (0,0) node[shape aspect=4,diamond,draw,blue] {texte}; +\\ \hline +\RDD{shape aspect}=1 +& +\RDD{shape aspect}=2 +& +\RDD{shape aspect}=3 +& +\RDD{shape aspect}=4 +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|} \hline +\BS{draw} node[\rouge {shape border rotate}=30,shape=dart, draw, \rouge {shape border uses incircle}] \AC{texte}; +\\ \hline +\tikz[] \draw node[shape border rotate=30,shape=dart, draw, shape border uses incircle] {texte}; +\\ \hline +\end{tabular} + +\newpage + +\SbSSCT{Dans un n\oe ud en forme de symboles}{Symbol Shapes nodes} + +\label{lib-symb} + +\maboite{\BS{usetikzlibrary}\AC{shapes.symbols}} + +\begin{center} +\RRR{67-4} +\end{center} + +\SbSbSSCT{Formes disponibles}{Available shapes} + +\label{nd2} + +\begin{tabular}{|c|c|c|} \hline +\tikz \node[fill=green!20,forbidden sign,draw] {texte}; +& +\tikz \node[fill=green!20,magnifying glass,draw] {texte}; +& +\tikz \node[fill=green!20,cloud,draw] {texte}; +\\ \hline +forbidden sign & magnifying glass & cloud +\\ \hline +\tikz \node[fill=green!20,starburst,draw] {texte}; +& +\tikz \node[fill=green!20,signal,draw] {texte}; + +& +\tikz \node[fill=green!20,tape,draw] {texte}; +\\ \hline +starburst & signal & tape +\\ \hline +\end{tabular} +\bigskip + +\subsubsection{Options} + +\begin{tabular}{|c|c|c|} \hline +\multicolumn{3}{|c|}{ \BS{node}[magnifying glass,\RDD{magnifying glass handle angle}=45,draw,blue] \AC{texte} ; } +\\ \hline +\tikz \node[magnifying glass,magnifying glass handle angle=45,draw,blue] {texte}; +& +\tikz \node[,magnifying glass,magnifying glass handle aspect=3,draw,blue] {texte}; +& +\tikz \node[magnifying glass,line width=1ex,draw,blue] {texte}; + +\\ \hline +\RDD{magnifying glass handle angle}=45 & \RDD{magnifying glass handle aspect}=3 & line width=1ex +\\ \hline +\dft{ : -45} & \dft{ : 1.5}& +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|c|c|} \hline +\multicolumn{4}{|c|}{ \BS{node} [cloud,\RDD{cloud puffs}=5,draw,blue] \AC{texte}; }\\ +\hline +\begin{tikzpicture} +\node[cloud,draw,red,dashed] {texte}; +\node[cloud,cloud puffs=5,draw,blue] {texte}; +\end{tikzpicture} +& +\begin{tikzpicture} +\node[cloud,draw,red,dashed] {texte}; +\node[cloud,cloud puff arc=270,draw,blue] {texte}; +\end{tikzpicture} +& +\begin{tikzpicture} +\node[cloud,draw,red,dashed] {texte}; +\node[cloud,cloud ignores aspect=true,draw,blue] {texte}; +\end{tikzpicture} +& +\begin{tikzpicture} +\node[cloud,draw,red,dashed] {texte}; +\node[cloud,cloud ignores aspect=false,draw,blue] {texte}; +\end{tikzpicture} +\\ \hline +\RDD{cloud puffs}=5 & \RDD{cloud puff arc}=270 & \RDD{cloud ignores aspect}=false & \RDD{cloud ignores aspect}=true \\ +\hline +\dft : 10 & \dft : 135 &\multicolumn{2}{|c|}{ \dft : true } \\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|c|c|} \hline +\multicolumn{4}{|c|}{ \BS{node} [starburst,\RDD{starburst points}=5,draw,blue] \AC{texte}; }\\ +\hline +\tikz \node[starburst,starburst points=5,draw,blue] {texte}; +& +\tikz \node[starburst,starburst point height=1cm,draw,blue] {texte}; +& +\tikz \node[starburst,random starburst=50,draw,blue] {texte}; +& +\tikz \node[,starburst,random starburst=0,draw,blue] {texte}; +\\ \hline +\RDD{starburst points}=5 & \RDD{starburst point height}=1cm & \RDD{random starburst}=50 & \RDD{random starburst}=0 \\ +\hline +\end{tabular} + +\bigskip + + +\begin{tabular}{|c|c|c|} \hline +\multicolumn{3}{|c|}{ \BS{node} [signal,\RDD{signal pointer angle}=45,draw,blue] \AC{texte}; }\\ +\hline +\tikz \node[signal,signal pointer angle=45,draw,blue] {texte}; +& +\tikz \node[signal,signal pointer angle=10,draw,blue] {texte}; +& +\tikz \node[signal,signal pointer angle=300,draw,blue] {texte}; +\\ \hline +\RDD{signal pointer angle}=45 +& +signal pointer angle=10 +& +signal pointer angle=300 +\\ \hline +\multicolumn{3}{|c|}{ \dft{ : signal pointer angle= 90} } +\\ \hline + +\end{tabular} +\bigskip + +\begin{tabular}{|c|c|c|c|c|} \hline +\multicolumn{4}{|c|}{ \BS{node} [signal,\RDD{signal to}=above,draw,blue] \AC{texte}; } +\\ \hline +\tikz \node[signal,signal to=above,draw,blue] {texte}; +& +\tikz \node[signal,signal to=below,draw,blue] {texte}; +& +\tikz \node[signal,signal to=right,draw,blue] {texte}; +& +\tikz \node[signal,signal to=above,draw,blue] {texte}; +\\ \hline + \RDD{signal to}=above & \RDD{signal to}=below & \RDD{signal to}=right & \RDD{signal to}=above \\ +\hline +\end{tabular} +\bigskip + +\begin{tabular}{|c|c|c|c|c|} \hline +\multicolumn{4}{|c|}{ \BS{tikz} [signal to=nowhere] \BS{node} [signal,\RDD{signal from=above}=45,draw,blue] \AC{texte}; }\\ +\hline +\tikz [signal to=nowhere] \node[signal,signal from=above,draw,blue] {texte}; +& +\tikz [signal to=nowhere] \node[signal,signal from=below,draw,blue] {texte}; +& +\tikz [signal to=nowhere] \node[signal,signal from=right,draw,blue] {texte}; +& +\tikz [signal to=nowhere] \node[signal,signal from=above,draw,blue] {texte}; +\\ \hline + \RDD{signal from}=above & \RDD{signal from}=below & \RDD{signal from}=right & \RDD{signal from}=above \\ +\hline +\end{tabular} + +\bigskip +\begin{tabular}{|c|c|c|c|} \hline +\multicolumn{2}{|c|}{ \tikz \node[draw,signal, signal from=east , signal to=west,blue] at (0,0) {texte};} +& +\multicolumn{2}{|c|}{ \tikz \node[draw,signal,signal from=south, signal to=north,blue] at (0,0) {texte};} +\\ \hline +\multicolumn{2}{|c|}{ \RDD{signal from}=east , \RDD{signal to}=west} +& +\multicolumn{2}{|c|}{\RDD{signal from}=south, \RDD{signal to}=north} + +\\ \hline +\end{tabular} +\bigskip + +\begin{tabular}{|c | c | c | c |} \hline +\multicolumn{3}{|c|}{ \BS{tikz} \BS{node} [tape, draw,\RDD{tape bend top}=out and in] \AC{texte}; }\\ +\hline +\tikz \node [tape, draw,tape bend top=out and in,blue] {texte}; +& +\tikz \node [tape, draw, tape bend bottom=out and in,blue] {texte}; +& +\tikz \node [tape, draw, tape bend bottom=in and in,blue] {texte}; + \\ \hline + \RDD{tape bend top}=out and in & \RDD{tape bend bottom}=out and in & \RDD{tape bend bottom}=in and in + \\ \hline + \tikz \node [tape, draw, tape bend top=none,blue] {texte}; + & + \tikz \node [tape, draw,tape bend top=out and in,tape bend bottom=out and in,blue] {texte}; + & + \tikz \node [tape, draw,tape bend top=in and out,tape bend bottom=in and out,blue] {texte}; + \\ \hline + \RDD{tape bend top}=none & \RDD{tape bend bottom}=out and in & \RDD{tape bend bottom}=in and out \\ + & \RDD{tape bend top}=out and in & \RDD{tape bend top}=in and out \\ + & & (\dft{} ) + \\ \hline +\end{tabular} +\bigskip + +\begin{tabular}{|c | c | c | c |} \hline +\BS{tikz} \BS{node} [tape, draw, \RDD{tape bend height}=1cm,blue] \AC{texte}; + \\ \hline +\tikz \node [tape, draw, tape bend height=1cm,blue] {texte}; + + \\ \hline +\dft{ : tape bend height = 5pt} + \\ \hline +\end{tabular} + +\newpage + +\SbSSCT{Dans un n\oe ud en forme de flèche}{Arrow Shapes nodes} + +\label{lib-arr} + +\maboite{\BS{usetikzlibrary}\AC{shapes.arrows}} + +\begin{center} +\RRR{67-5} +\end{center} + +\SbSbSSCT{Formes disponibles}{Available shapes} +\label{nd3} + +\begin{tabular}{|c|c|c|} \hline +\tikz \node[fill=green!20,single arrow,draw] {texte}; +& +\tikz \node[fill=green!20,double arrow,draw] {texte}; +& +\tikz \node[fill=green!20,arrow box,draw] {texte}; +\\ \hline +single arrow & double arrow & arrow box \\ +\hline +\end{tabular} + +\subsubsection{Options} + +\begin{tabular}{|c|c|c|c|c|} \hline + \multicolumn{5}{|c|}{ \BS{node}[single arrow,draw,\RDD{single arrow tip angle}=45] \AC{texte}; }\\ + \multicolumn{5}{|c|}{ \BS{node}[single arrow,draw,\RDD{single arrow head extend}=.75cm] \AC{texte}; }\\ + \hline +\begin{tikzpicture} + \node[single arrow,draw,red,dashed,text=black] {texte}; + \node[single arrow,draw,single arrow tip angle=45,blue] {texte}; +\end{tikzpicture} +& +\begin{tikzpicture} + \node[single arrow,draw,red,dashed,text=black] {texte}; +\node[single arrow,draw,single arrow tip angle=120,blue] {texte}; +\end{tikzpicture} +& +\begin{tikzpicture} + \node[single arrow,draw,red,dashed,text=black] {texte}; + \node[single arrow,draw,single arrow head extend=.75cm,blue] {texte}; +\end{tikzpicture} +& +\begin{tikzpicture} + \node[single arrow,draw,red,dashed,text=black] {texte}; + \node[single arrow,draw,single arrow head extend=0cm,blue] {texte}; + \end{tikzpicture} + & + \begin{tikzpicture} + \node[single arrow,draw,red,dashed,text=black] {texte}; + \node[single arrow,draw,single arrow head extend=-1mm,blue] {texte}; + \end{tikzpicture} + +\\ \hline +angle=45 & angle=120 & extend=.75cm] & extend=0cm & extend=-1mm +\\ \hline +\multicolumn{2}{|c|}{ \dft : single arrow tip angle= 90 } +& +\multicolumn{3}{|c|}{ \dft : single arrow head extend=0.5cm } +\\ \hline +\end{tabular} +\bigskip + + +\begin{tabular}{|c|c|c|c|} \hline + \multicolumn{4}{|c|}{ \BS{node}[minimum size=2cm,single arrow,draw,\RDD{single arrow head indent}=1cm,blue] \AC{texte}; }\\ + \hline +\begin{tikzpicture} + \node[minimum size=2cm,single arrow,draw,red,dashed,text=black] {texte}; +\node[minimum size=2cm,single arrow,draw,single arrow head indent=1cm,blue] {texte}; +\end{tikzpicture} +& +\begin{tikzpicture} + \node[minimum size=2cm,single arrow,draw,red,dashed,text=black] {texte}; + \node[minimum size=2cm,single arrow,draw,single arrow head indent=10pt,blue] {texte}; + \end{tikzpicture} +& +\begin{tikzpicture} + \node[minimum size=2cm,single arrow,draw,red,dashed,text=black] {texte}; + \node[minimum size=2cm,single arrow,draw,single arrow head indent=1ex,blue] {texte}; + \end{tikzpicture} + & + \begin{tikzpicture} + \node[minimum size=2cm,single arrow,draw,red,dashed,text=black] {texte}; + \node[minimum size=2cm,single arrow,draw,single arrow head indent=-1ex,blue] {texte}; + \end{tikzpicture} +\\ \hline +indent=1cm & indent=10pt & indent=1ex & indent=-1ex +\\ \hline +\end{tabular} +\bigskip + + + + + +\begin{tabular}{|c|c|c|c|c|} \hline + \multicolumn{5}{|c|}{ \BS{node}[minimum size=2cm,double arrow,draw,\RDD{double arrow tip angle}=45] \AC{texte}; }\\ + \multicolumn{5}{|c|}{ \BS{node}[minimum size=2cm,double arrow,draw,\RDD{double arrow head extend}=1ex] \AC{texte}; }\\ + \multicolumn{5}{|c|}{ \BS{node}[minimum size=2cm,double arrow,draw,\RDD{double arrow head indent}=1ex] \AC{texte}; }\\ + \hline +\begin{tikzpicture} +\node[minimum size=2cm,double arrow,draw,red,dashed,text=black] {texte}; +\node[minimum size=2cm,double arrow,draw,double arrow tip angle=45,blue] {texte}; +\end{tikzpicture} +& +\begin{tikzpicture} +\node[minimum size=2cm,double arrow,draw,red,dashed,text=black] {texte}; +\node[minimum size=2cm,double arrow,draw,double arrow tip angle=120,blue] {texte}; +\end{tikzpicture} +& +\begin{tikzpicture} + \node[minimum size=2cm,double arrow,draw,red,dashed,text=black] {texte}; + \node[minimum size=2cm,double arrow,draw,double arrow head extend=1ex,blue] {texte}; + \end{tikzpicture} +& +\begin{tikzpicture} + \node[minimum size=2cm,double arrow,draw,red,dashed,text=black] {texte}; + \node[minimum size=2cm,double arrow,draw,double arrow head extend=0,blue] {texte}; + \end{tikzpicture} +& +\begin{tikzpicture} + \node[minimum size=2cm,double arrow,draw,red,dashed,text=black] {texte}; + \node[,minimum size=2cm,double arrow,draw,double arrow head indent=1ex,blue] {texte}; + \end{tikzpicture} +\\ \hline +angle=45 & angle=120 & extend=1ex & extend=0 & indent=1ex +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|c|c|c|} \hline +\multicolumn{4}{|c|}{ \BS{node} [arrow box, draw, \RDD{arrow box arrows}=\AC{north:.25cm}] \AC{texte}; }\\ +\hline +\begin{tikzpicture} +\node[arrow box, draw,red,text=white,dashed] {texte}; +\node[arrow box, draw, arrow box arrows={north:.25cm},blue] {texte}; +\end{tikzpicture} +& +\begin{tikzpicture} +\node[arrow box, draw,red,text=white,dashed] {texte}; +\node[arrow box, draw, arrow box arrows={west:.25cm},blue] {texte}; +\end{tikzpicture} + & + \begin{tikzpicture} + \node[arrow box, draw,red,text=white,dashed] {texte}; + \node[arrow box, draw, arrow box arrows={south:.25cm},blue] {texte}; + \end{tikzpicture} +& + \begin{tikzpicture} + \node[arrow box, draw,red,text=white,dashed] {texte}; + \node[arrow box, draw, arrow box arrows={east:.25cm},blue] {texte}; + \end{tikzpicture} + \\ \hline +\AC{north:.25cm} & \AC{west:.25cm} & \AC{south:.25cm}& \AC{east:.25cm} +\\ \hline +\multicolumn{4}{|c|}{ \dft{} : 0.5 cm} + \\ \hline + \end{tabular} + + + \bigskip + + \begin{tabular}{|c|c|} \hline + \multicolumn{2}{|c|}{ \BS{node} [arrow box, draw, \RDD{arrow box tip angle}=45] \AC{texte}; }\\ + \hline + \begin{tikzpicture} + \node[arrow box, draw,red,text=white,dashed] {texte}; + \node[arrow box, draw, arrow box tip angle=45,blue] {texte}; + \end{tikzpicture} + & + \begin{tikzpicture} + \node[arrow box, draw,red,text=white,dashed] {texte}; + \node[arrow box, draw, arrow box head extend=.25cm,blue] {texte}; + \end{tikzpicture} +\\ \hline +\RDD{arrow box tip angle}=45 & \RDD{arrow box head extend}=.25cm +\\ \hline +\dft : 90 & \dft : 0.125cm +\\ \hline + \begin{tikzpicture} + \node[arrow box, draw,red,text=white,dashed] {texte}; + \node[arrow box, draw, arrow box head indent=.25cm,blue] {texte}; + \end{tikzpicture} + & + \begin{tikzpicture} + \node[arrow box, draw,red,text=white,dashed] {texte}; + \node[arrow box, draw,arrow box shaft width=.25cm,blue] {texte}; + \end{tikzpicture} + \\ \hline +\RDD{arrow box head indent}=.25cm & \RDD{arrow box shaft width}=.25cm + \\ \hline + \dft{ : 0cm } & \dft{ : 0.125cm } + \\ \hline + \end{tabular} + +\newpage + +\SbSSCT{Dans un n\oe ud en forme de bulle}{Callout Shapes nodes} +\label{lib-call} + + \maboite{\BS{usetikzlibrary}\AC{shapes.callouts}} + +\begin{center} +\RRR{67-7} +\end{center} + +\SbSbSSCT{Formes disponibles}{Available shapes} + +\begin{tabular}{|c|c|c|} \hline +\tikz \node[fill=green!20,ellipse callout,draw] {texte}; + & + \tikz \node[fill=green!20,rectangle callout,draw] {texte}; + & + \tikz \node[fill=green!20,cloud callout,draw] {texte}; + \\ \hline + ellipse callout & rectangle callout & cloud callout \\ +\hline +\end{tabular} + +\subsubsection{Options} + + +\begin{tabular}{|c | c | c | c |} \hline +\multicolumn{4}{|c|}{ \BS{node} [rectangle callout,draw,\RDD{callout absolute pointer}={(0,1)}] at (2,1) \AC{texte}; }\\ +\hline +\begin{tikzpicture} +\draw [help lines] grid(3,3); +\node [rectangle callout,draw,blue, callout relative pointer={(0,1)}] at (2,1) {texte}; +\end{tikzpicture} +& +\begin{tikzpicture} +\draw [help lines] grid(3,3); +\node [ellipse callout,draw, callout relative pointer={(0,1)},blue] at (2,1) {texte}; +\end{tikzpicture} +& +\begin{tikzpicture} +\draw [help lines] grid(3,3); +\node [rectangle callout,draw,blue,callout absolute pointer={(0,1)}] at (2,1) {texte}; +\end{tikzpicture} +& +\begin{tikzpicture} +\draw [help lines] grid(3,3); +\node [ellipse callout,draw, callout absolute pointer={(0,1)},blue] at (2,1) {texte}; +\end{tikzpicture} + \\ \hline +\multicolumn{2}{|c|}{ \RDD{callout relative pointer}=\AC{(0,1)} } & +\multicolumn{2}{|c|}{ \RDD{callout absolute pointer}=\AC{(0,1)} } + \\ \hline + \begin{tikzpicture} + \draw [help lines] grid(3,3); + \node [rectangle callout,draw, callout relative pointer={(0,1)},callout pointer shorten=.5cm,blue] at (2,1) {texte}; + \end{tikzpicture} + & + \begin{tikzpicture} + \draw [help lines] grid(3,3); + \node [ellipse callout,draw, callout relative pointer={(0,1)},callout pointer shorten=.5cm,blue] at (2,1) {texte}; + \end{tikzpicture} + & + \begin{tikzpicture} + \draw [help lines] grid(3,3); + \node [rectangle callout,draw, callout absolute pointer={(0,1)},callout pointer shorten=.5cm,blue] at (2,1) {texte}; + \end{tikzpicture} + & + \begin{tikzpicture} + \draw [help lines] grid(3,3); + \node [ellipse callout,draw, callout absolute pointer={(0,1)},callout pointer shorten=.5cm,blue] at (2,1) {texte}; + \end{tikzpicture} + \\ \hline +\multicolumn{4}{|c|}{ \RDD{callout pointer shorten}=.5cm} + \\ \hline +\end{tabular} + + +\bigskip + +\begin{tabular}{|c | c | c | c |} \hline +\multicolumn{3}{|c|}{ \BS{node} [ellipse callout,draw,\RDD{callout pointer arc}=1] at (0,1.5) \AC{texte}; }\\ +\hline +\begin{tikzpicture} +\node[ellipse callout,draw, callout pointer arc=1,blue] at (0,1.5) {texte}; +\end{tikzpicture} +& +\begin{tikzpicture} +\node[ellipse callout,draw, callout pointer arc=30,blue] at (0,1.5) {texte}; +\end{tikzpicture} + & +\begin{tikzpicture} +\node[ellipse callout,draw, callout pointer arc=90,blue] at (0,1.5) {texte}; +\end{tikzpicture} + \\ \hline + callout pointer arc=1 & callout pointer arc=30 & callout pointer arc=90 + \\ \hline + \multicolumn{3}{|c|}{ \dft{ : callout pointer arc=15}} + \\ \hline + \end{tabular} + +\bigskip + +\begin{tabular}{|c | c | c | c |} \hline +\multicolumn{3}{|c|}{ \BS{node}[draw,cloud callout, aspect=2.5] \AC{texte}; }\\ +\hline + \begin{tikzpicture} + \node[draw,cloud callout, dashed,red,text=black] {texte}; + \node[draw,cloud callout, cloud puffs=5,blue] {texte}; + \end{tikzpicture} +& + \begin{tikzpicture} + \node[draw,cloud callout, dashed,red,text=black] {texte}; + \node[draw,cloud callout, aspect=2.5,blue] {texte}; + \end{tikzpicture} +& + \begin{tikzpicture} + \node[draw,cloud callout, dashed,red,text=black] {texte}; + \node[draw,cloud callout,cloud puff arc=120,blue] {texte}; + \end{tikzpicture} + \\ \hline +cloud puffs=5 & aspect=2.5 & cloud puff arc=120 +\\ \hline + \end{tabular} + +\bigskip + +\begin{tabular}{|c | c | c | c |c |} \hline +\multicolumn{3}{|c|}{ \BS{node} [draw,cloud callout,\RDD{callout pointer start size}=.1] \AC{texte}; }\\ +\hline + \begin{tikzpicture} + \node[draw,cloud callout, dashed,red,text=black] {texte}; + \node[draw,cloud callout,callout pointer start size=.1,blue] {texte}; + \end{tikzpicture} +& + \begin{tikzpicture} + \node[draw,cloud callout, dashed,red,text=black] {texte}; + \node[draw,cloud callout,callout pointer start size=.8cm,blue] {texte}; + \end{tikzpicture} +& + \begin{tikzpicture} + \node[draw,cloud callout, dashed,red,text=black] {texte}; + \node[draw,cloud callout,callout pointer start size=1cm and 0.1cm,blue] {texte}; + \end{tikzpicture} +\\ \hline +\RDD{callout pointer start size}=.1 &start size=.8cm & start size=20pt and 1pt +\\ \hline +\multicolumn{3}{|c|}{ \dft{} : callout pointer start size =.2 of callout } +\\ +\hline + \begin{tikzpicture} + \node[draw,cloud callout, dashed,red,text=black] {texte}; + \node[draw,cloud callout,callout pointer end size=5,blue] {texte}; + \end{tikzpicture} +& + \begin{tikzpicture} + \node[draw,cloud callout, dashed,red,text=black] {texte}; + \node[draw,cloud callout,callout pointer end size=.8cm,blue] {texte}; + \end{tikzpicture} +& + \begin{tikzpicture} + \node[draw,cloud callout, dashed,red,text=black] {texte}; + \node[draw,cloud callout,callout pointer segments=3,blue] {texte}; + \end{tikzpicture} +\\ \hline +\RDD{callout pointer end size}=.5 & \RDD{callout pointer end size}=.8cm & \RDD{callout pointer segments}=3 +\\ \hline +\multicolumn{2}{|c|}{ \dft{} : callout pointer start size = .1 of callout } +& \dft{} : segments=2 +\\ \hline + + \end{tabular} + +\newpage + + +\SbSSCT{Dans un n\oe ud en diverses formes diverses}{Miscellaneous Shapes nodes} + +\label{lib-misc} + + + \maboite{\BS{usetikzlibrary}\AC{shapes.misc}} + +\begin{center} +\RRR{67-8} +\end{center} + +\SbSbSSCT{Formes disponibles}{Available shapes} + +\begin{tabular}{|c|c|c|c|} \hline +\tikz \node[fill=green!20,cross out,draw] {texte}; +& +\tikz \node[fill=green!20,strike out,draw] {texte}; +& +\tikz \node[fill=green!20,rounded rectangle,draw] {texte}; +& +\tikz \node[fill=green!20,chamfered rectangle,draw] {texte}; +\\ \hline +cross out & strike out & rounded rectangle & chamfered rectangle \\ +\hline +\end{tabular} + + +\subsubsection{Options} + +\paragraph{Options \TFRGB{pour}{for} \og rounded rectangle \fg} : + + +\begin{tabular}{|c|c|c|c|c|} \hline +\multicolumn{5}{|c|}{ \BS{node} [draw, rounded rectangle,\RDD{rounded rectangle arc length}=270] \AC{texte}; }\\ + +\hline + +\tikz \node[draw, rounded rectangle,rounded rectangle arc length=270,blue] {texte}; +& +\tikz \node[draw, rounded rectangle,rounded rectangle arc length=180,blue] {texte}; +& +\tikz \node[draw, rounded rectangle,rounded rectangle arc length=120,blue] {texte}; +& +\tikz \node[draw, rounded rectangle,rounded rectangle arc length=90,blue] {texte}; +& +\tikz \node[draw, rounded rectangle,rounded rectangle arc length=45,blue] {texte}; + \\ \hline +270 & 180 & 120 & 90& 45 +\\ \hline + + +\end{tabular} + +\bigskip + + +\begin{tabular}{|c|c|c|c|} \hline +\multicolumn{4}{|c|}{ \BS{node} [draw, rounded rectangle,\RDD{rounded rectangle west arc}=concave] \AC{texte}; }\\ +\multicolumn{4}{|c|}{ \BS{node} [draw, rounded rectangle,\RDD{rounded rectangle left arc}=concave] \AC{texte}; }\\ +\hline +\tikz \node[draw, rounded rectangle,rounded rectangle west arc=concave,blue] {texte}; +& +\tikz \node[draw, rounded rectangle,rounded rectangle left arc=concave,blue] {texte}; +& +\tikz \node[draw, rounded rectangle,rounded rectangle west arc=convex,blue] {texte}; +& +\tikz \node[draw, rounded rectangle,rounded rectangle left arc=none,blue] {texte}; + \\\hline +concave & convex & none + \\\hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|c|c|} \hline +\multicolumn{3}{|c|}{ \BS{node} [draw, rounded rectangle,\RDD{rounded rectangle east arc}=concave] \AC{texte}; }\\ +\multicolumn{3}{|c|}{ \BS{node} [draw, rounded rectangle,\RDD{rounded rectangle right arc}=concave] \AC{texte}; }\\ + +\hline +\tikz \node[draw, rounded rectangle,rounded rectangle east arc=concave,blue] {texte}; +& +\tikz \node[draw, rounded rectangle,rounded rectangle east arc=convex,blue] {texte}; +& +\tikz \node[draw, rounded rectangle,rounded rectangle right arc=none,blue] {texte}; + \\\hline +concave & convex & none + \\\hline +\end{tabular} + +\paragraph{Options \TFRGB{pour}{for} \og chamfered rectangle \fg} : + + +\begin{tabular}{|c|c|c|c|} \hline +\multicolumn{4}{|c|}{ \BS{node} [draw, chamfered rectangle,\RDD{chamfered rectangle angle}=30] \AC{texte}; }\\ +\hline +\tikz \node[draw, chamfered rectangle,chamfered rectangle angle=10,blue] {texte}; +& +\tikz \node[draw, chamfered rectangle,chamfered rectangle angle=30,blue] {texte}; +& +\tikz \node[draw,chamfered rectangle,chamfered rectangle angle=60,blue] {texte}; +& +\tikz \node[draw,chamfered rectangle,chamfered rectangle angle=80,blue] {texte}; + \\ \hline +10 & 30 & 60 & 80 +\\ \hline +\multicolumn{4}{|c|}{ \dft : 45 } + \\\hline + +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|c|c|c|} \hline +\multicolumn{5}{|c|}{ \BS{node} [draw, chamfered rectangle,\RDD{chamfered rectangle xsep}=10pt] \AC{texte}; }\\ +\hline +\tikz \node[draw, chamfered rectangle,chamfered rectangle xsep=0pt,blue] {texte}; +& +\tikz \node[draw, chamfered rectangle,chamfered rectangle xsep=5pt,blue] {texte}; +& +\tikz \node[draw, chamfered rectangle,chamfered rectangle xsep=10pt,blue] {texte}; +& +\tikz \node[draw,chamfered rectangle,chamfered rectangle xsep=-10pt,blue] {texte}; +& +\tikz \node[draw,chamfered rectangle,chamfered rectangle xsep=2cm,blue] {texte}; + \\\hline + xsep=0pt & xsep=5pt & xsep=10pt & xsep=-10pt & xsep=2cm + \\\hline +\multicolumn{5}{|c|}{ \dft : 0.666ex } + \\\hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|c|c|c|} \hline +\multicolumn{5}{|c|}{ \BS{node} [draw, chamfered rectangle,\RDD{chamfered rectangle ysep}=10pt] \AC{texte}; }\\ +\hline +\tikz \node[draw, chamfered rectangle,chamfered rectangle ysep=0pt,blue] {texte}; +& +\tikz \node[draw, chamfered rectangle,chamfered rectangle ysep=5pt,blue] {texte}; +& +\tikz \node[draw,chamfered rectangle,chamfered rectangle ysep=10pt,blue] {texte}; +& +\tikz \node[draw,chamfered rectangle,chamfered rectangle ysep=-10pt,blue] {texte}; +& +\tikz \node[draw,chamfered rectangle,chamfered rectangle ysep=1cm,blue] {texte}; + \\ \hline + ysep=0pt & ysep=5pt & ysep=10pt & ysep=-10pt & ysep=1cm + \\\hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|c|c|c|} \hline +\multicolumn{5}{|c|}{ \BS{node} [draw, chamfered rectangle,\RDD{chamfered rectangle ysep}=10pt] \AC{texte}; }\\ +\hline +\tikz \node[draw, chamfered rectangle,chamfered rectangle sep=0pt,blue] {texte}; +& +\tikz \node[draw, chamfered rectangle,chamfered rectangle sep=5pt,blue] {texte}; +& +\tikz \node[draw, chamfered rectangle,chamfered rectangle sep=10pt,blue] {texte}; + +& +\tikz \node[draw, chamfered rectangle,chamfered rectangle sep=-10pt,blue] {texte}; +& +\tikz \node[draw,chamfered rectangle,chamfered rectangle sep=1cm,blue] {texte}; + \\\hline + sep=0pt & sep=5pt & sep=10pt& sep=-10pt & sep=1cm + \\\hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|c|c|} \hline +\multicolumn{3}{|c|}{ \BS{node} [draw, chamfered rectangle,\RDD{chamfered rectangle corners}=north west] \AC{texte}; }\\ +\hline +\tikz \node[draw, chamfered rectangle,chamfered rectangle corners=north west,blue] {texte}; +& +\tikz \node[draw, chamfered rectangle,chamfered rectangle corners={north east, south east},blue] {texte}; +& +\tikz \node[draw,chamfered rectangle,chamfered rectangle corners={north east, south west},blue] {texte}; + \\ \hline + north west & \AC{north east, south east} & \AC{north east, south west} + \\ \hline +\end{tabular} + +\newpage + +\SbSSCT{N\oe uds à plusieurs parties}{Shapes with Multiple Text Parts} + +\label{lib-mult} + + + \maboite{\BS{usetikzlibrary}\AC{shapes.multipart}} + +\begin{center} +\RRR{67-6} +\end{center} + + + +\begin{tabular}{|c|c|c|c|} \hline +\multicolumn{4}{|c|}{ \BS{node} [\RDD{circle split},draw,fill=green!20]\AC{haut \BSS{nodepart}\AC{lower} bas }; }\\ +\hline + +\tikz \node [circle split,draw,blue,fill=green!20] {haut \nodepart{lower} bas }; + +& +\tikz \node [circle solidus,draw,blue,fill=green!20]{haut \nodepart{lower} bas }; +& +\tikz \node [ellipse split,draw,blue,fill=green!20]{texte haut \nodepart{lower} texte bas }; +& +\tikz \node [rectangle split,draw,blue,fill=green!20]{haut \nodepart{lower} bas}; + +\\ \hline +\RDD{circle split} & \RDD{circle solidus} & \RDD{ellipse split} & \RDD{rectangle split} \\ +\hline +\end{tabular} + + \bigskip + + \begin{tabular}{|c|c|} \hline + \begin{tikzpicture} [baseline=0pt] + \node[rectangle split,rectangle split parts=5,draw,blue,fill=green!20] at(0,0) + {texte 1 + \nodepart{second} + texte 2 + \nodepart{four} + texte 3}; + \end{tikzpicture} +& +\parbox[c]{10cm}{ + \BS{node}[rectangle split,\RDD{rectangle split parts}=5,\\ + draw] \\ + \AC{texte 1 \\ + \BSS{nodepart}\AC{second} texte 2 \\ + \BSS{nodepart}\AC{four} texte 3}; \\ + \\ +\dft : rectangle split parts=4 } + \\ \hline + \end{tabular} + +\bigskip + +\begin{tabular}{|c|}\hline +\BS{node} [rectangle split,rectangle split parts=3,\RDD{rectangle split horizontal},draw,blue] \\ +\AC{texte1\BSS{nodepart}\AC{two}texte2\BSS{nodepart}\AC{three}texte3}; +\\ \hline +\tikz \node [rectangle split,rectangle split parts=3, rectangle split horizontal,draw,blue] +{texte 1\nodepart{two}texte 2\nodepart{three}texte 3}; +\\ \hline +\end{tabular} + + \bigskip + +% % % <<<<<<<<<<<<<<<<< A Voir rectangle split allocate boxes= >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> + +% \begin{tikzpicture} [baseline=0pt]%[every text node part/.style={text centered}] +% \node[rectangle split,draw,rectangle split parts=5,fill=green!20,rectangle split allocate boxes=3] at(0,0) +% {texte 1 \nodepart{second} texte 2 \nodepart{four} texte 3}; +% \end{tikzpicture} +% + +\bigskip + \begin{tabular}{|c|c|} \hline +\begin{tikzpicture}[baseline=0pt] +\node[rectangle split, rectangle split parts=3, draw,blue, text width=2.75cm] +{texte 1 +\nodepart{two} +texte 2a \\ +texte 2b \\ +texte 2c +\nodepart{three} +texte 3a \\ +texte 3b}; +\end{tikzpicture} +& +\parbox{8cm}{ + \BS{node}[rectangle split,\RDD{rectangle split parts}=5, draw] \\ + \AC{texte 1 \\ + \BSS{nodepart}\AC{second} texte 2a \BS{}\BS{}texte 2b \BS{}\BS{} texte 2c \\ + \BSS{nodepart}\AC{three} texte 3a \BS{}\BS{} texte 3b }; \\ +} + \\ \hline + \end{tabular} +\bigskip + + + \begin{tabular}{|c|c|} \hline + \multicolumn{2}{|c|}{ \BS{node}[rectangle split, draw,blue,minimum size = 2cm,\RDD{rectangle split draw splits}= true] } \\ + \multicolumn{2}{|c|}{ + \AC{texte 1 \BS{nodepart}\AC{two} texte 2 \BS{nodepart}\AC{three} texte 3 \BS{nodepart}\AC{four} texte 4}; }\\ + \hline +\tikz \node[rectangle split, draw,blue,minimum size = 2cm,rectangle split draw splits= true] {texte 1 \nodepart{two} texte 2 \nodepart{three} texte 3 \nodepart{four} texte 4}; +& +\tikz \node[rectangle split, draw,blue,minimum size = 2cm,rectangle split draw splits= false] {texte 1 \nodepart{two} texte 2 \nodepart{three} texte 3 \nodepart{four} texte 4}; + \\ \hline + \RDD{rectangle split draw splits}= true & \RDD{rectangle split draw splits}= false \\ + \dft & + \\ \hline + \end{tabular} + +\bigskip + + \begin{tabular}{|c|c|} \hline +\multicolumn{2}{|c|}{ +\BS{node} [rectangle split,rectangle split parts=3,draw,\RDD{rectangle split ignore empty parts}=false] }\\ + \multicolumn{2}{|c|}{ \AC{texte 1 \BS{nodepart}\AC{second} \BS{nodepart}\AC{third}texte 3};} +\\ \hline +\begin{tikzpicture} +\node[rectangle split,rectangle split parts=3,draw,blue,rectangle split ignore empty parts=false] {texte 1 \nodepart{second} \nodepart{third}texte 3}; +\end{tikzpicture} +& +\begin{tikzpicture} +\node[rectangle split,rectangle split parts=3,draw,blue,rectangle split ignore empty parts] +{texte 1 \nodepart{second} \nodepart{third}texte 3}; +\end{tikzpicture} + \\ \hline +\RDD{rectangle split ignore empty parts}=false & \RDD{rectangle split ignore empty parts}=true +\\ \hline + \end{tabular} + +\bigskip + + \begin{tabular}{|c|c|} \hline +\multicolumn{2}{|c|}{ +\BS{node} [rectangle split,rectangle split parts=3,draw,\RDD{rectangle split empty part depth}=1cm] }\\ + \multicolumn{2}{|c|}{ \AC{texte 1 \BS{nodepart}\AC{second} \BS{nodepart}\AC{third}texte 3};} +\\ \hline +\begin{tikzpicture} +\node[rectangle split,rectangle split parts=3,draw,blue,rectangle split empty part depth=1cm] {texte 1 \nodepart{second} \nodepart{third}texte 3}; +\end{tikzpicture} +& +\begin{tikzpicture} +\node[rectangle split,rectangle split parts=3,draw,blue,text depth=1cm] {texte 1 \nodepart{second} \nodepart{third}texte 3}; +\end{tikzpicture} +\\ \hline +\RDD{rectangle split empty part depth}=1cm & \RDD{text depth}=1cm +\\ \hline +\dft : 0ex & \dft : 0ex +\\ \hline +\begin{tikzpicture} +\node[rectangle split,rectangle split parts=3,draw,blue,rectangle split empty part height=1cm] +{texte 1 \nodepart{second} \nodepart{third}texte 3}; +\end{tikzpicture} +& +\begin{tikzpicture} +\node[rectangle split,rectangle split parts=3,draw,blue,text height=1cm] +{texte 1 \nodepart{second} \nodepart{third}texte 3}; +\end{tikzpicture} +\\ \hline +\RDD{rectangle split empty part height}=1cm & \RDD{text height}=1cm +\\ \hline +\dft : 1ex & \dft : 1ex +\\ \hline + \end{tabular} + +\bigskip + + + + \begin{tabular}{|c|c|} \hline + \multicolumn{2}{|c|}{ + \BS{node} [rectangle split,rectangle split parts=3,draw,\RDD{rectangle split empty part width}=1cm] \AC{}; } + \\ \hline +\begin{tikzpicture} +\node[rectangle split,rectangle split parts=3,draw,blue,rectangle split empty part width=2cm]{}; +\end{tikzpicture} + +& +\begin{tikzpicture} +\node[rectangle split,rectangle split parts=3,draw,blue]{}; +\end{tikzpicture} +\\ \hline + \RDD{rectangle split empty part width}=2cm & \dft : 1ex +\\ \hline + \end{tabular} + + \bigskip + + + +% % % % <<<<<<<<<< A voir /pgf/rectangle split use custom fill= (default true) <<<<<<<<<<<<<<<<<<<<<<<<<<<< + + + + \begin{tabular}{|c|c|} \hline + \tikz[baseline=0pt] \node[rectangle split, draw,blue,minimum size = 2cm,rectangle split part align={center, left,right}] {texte 1 \nodepart{two} texte 2 \nodepart{three} texte 3 \nodepart{four} texte 4}; +& +\parbox{8cm}{ +\BS{node}[rectangle split, draw,blue,minimum size = 2cm,\\ +\RDD{rectangle split part align}=\AC{center, left,right}]\\ + \AC{texte 1 \BS{nodepart}\AC{two} texte 2 \\ + \BS{nodepart}\AC{three} texte 3 \BS{nodepart}\AC{four} texte 4}; +} +\\ \hline + \tikz[baseline=0pt] \node[rectangle split, draw,blue,minimum size = 2cm, rectangle split horizontal,rectangle split part align={center,base, top,bottom}] {texte 1 \nodepart{two} texte 2 \nodepart{three} texte 3 \nodepart{four} texte 4}; + & + \parbox{8cm}{ + \BS{node}[rectangle split, draw,blue,minimum size = 2cm,\\ + rectangle split horizontal,\\ + \RDD{rectangle split part align}=\AC{center,base, top,bottom}]\\ + \AC{texte 1 \BS{nodepart}\AC{two} texte 2 \\ + \BS{nodepart}\AC{three} texte 3 \BS{nodepart}\AC{four} texte 4}; + } + \\ \hline + \end{tabular} + +\bigskip + + + \begin{tabular}{|c|c|} \hline +\tikz[baseline=0pt] \node[rectangle split, draw,blue, minimum width=1cm,rectangle split part fill={red, green,cyan}]{}; +& +\parbox{12cm}{ +\BS{node}[rectangle split, draw,blue, minimum width=1cm,\\ + \RDD{rectangle split part fill}=\AC{red, green,cyan}]\AC{};} +\\ \hline +\end{tabular} + +\newpage + +\SbSSCT{Mise en forme du texte}{Text attributes} + +\subsubsection{Position} + +\begin{center} +\RRR{17-4-3} +\end{center} + +\begin{tabular}{|c|c|c|c|} \hline +\multicolumn{4}{|l|}{ \BS{tikz} \BS{draw} (0,0) node[fill=blue!10,\RDD{text width}=2cm,\RDD{text justified}] }\\ + +\multicolumn{4}{|l|}{ \AC{Ceci est une démonstration d'un texte sur une largeur de 2cm}; }\\ +\hline +\tikz \draw (0,0) node[fill=blue!10,text width=2cm] +{Ceci est une démonstration d'un texte sur une largeur de 2cm.}; +& +\tikz \draw (0,0) node[fill=blue!10,text width=2cm,text justified] +{Ceci est une démonstration d'un texte sur une largeur de 2cm}; +& +\tikz \draw (0,0) node[fill=blue!10,text width=2cm,text centered] +{Ceci est une démonstration d'un texte sur une largeur de 2cm .}; +& +\tikz \draw (0,0) node[fill=blue!10,text width=2cm,text ragged] +{Ceci est une démonstration d'un texte sur une largeur de 2cm .}; +\\ \hline +\TFRGB{sans}{without} option & \RDD{text justified} & \RDD{text centered }& \RDD{text ragged} +\\ \hline +\tikz \draw (0,0) node[fill=blue!10,text width=2cm,text badly ragged] +{Ceci est une démonstration d'un texte sur une largeur de 2cm.}; +& +\tikz \draw (0,0) node[fill=blue!10,text width=2cm,text badly centered] +{Ceci est une démonstration d'un texte sur une largeur de 2cm .}; +& +\tikz \draw (0,0) node[fill=blue!10,text width=2cm,align=center] +{Ceci est une démonstration d'un texte sur une largeur de 2cm .}; +& +\tikz \draw (0,0) node[fill=blue!10,text width=2cm,align=flush center] +{Ceci est une démonstration d'un texte sur une largeur de 2cm .}; +\\ \hline +\RDD{text badly ragged} & \RDD{text badly centered} & \RDD{align}=center & \RDD{align}=flush center +\\ \hline +\tikz \draw (0,0) node[fill=blue!10,text width=2cm,align=justify] +{Ceci est une démonstration d'un texte sur une largeur de 2cm .}; +& +\tikz \draw (0,0) node[fill=blue!10,text width=2cm,align=flush right] +{Ceci est une démonstration d'un texte sur une largeur de 2cm .}; +& +\tikz \draw (0,0) node[fill=blue!10,text width=2cm,align=right] +{Ceci est une démonstration d'un texte sur une largeur de 2cm .}; +& +\tikz \draw (0,0) node[fill=blue!10,text width=2cm,align=flush left] +{Ceci est une démonstration d'un texte sur une largeur de 2cm .}; +\\ \hline +\RDD{align}=justify & \RDD{align}=flush right & \RDD{align}=right & \RDD{align}=flush left +\\ \hline + +\end{tabular} +\bigskip + +\begin{tabular}{|c|c|} \hline +\tikz[baseline=0cm] \node [draw] { +\begin{tabular}{|c|c|} \hline +AAA & BBB \\ \hline +CCC & DDD \\ \hline +\end{tabular} +}; +& +\parbox{8cm}{ +\BS{tikz} \BS{node} [draw] \AC{ +\BS{begin}\AC{tabular}\AC{|c|c|} \BS{hline} \\ +AAA \& BBB \BS{}\BS{} \BS{hline} \\ +CCC \& DDD \BS{}\BS{} \BS{hline} \\ +\BS{end}\AC{tabular} +};} +\\ \hline +\end{tabular} + +\bigskip + + +\begin{tabular}{|c|c|c|} \hline +\multicolumn{3}{|c|}{\BS{tikz}[align=left] \BS{node}[draw] \AC{AAA \rouge{ \BS{}\BS{} } BBBBBBBB \rouge{ \BS{}\BS{} } CC};} \\ \hline +\tikz[align=left] \node[draw] {AAA\\BBBBBBBB\\CC}; +& +\tikz[align=center] \node[draw] {AAA\\BBBBBBBB\\CC}; +& +\tikz[align=right] \node[draw] {AAA\\BBBBBBBB\\CC}; +\\ \hline +[align=left] & [align=center] &[align=right] +\\ \hline +\end{tabular} + + +\bigskip + +\begin{tabular}{|c|c|} \hline +\multicolumn{2}{|c|}{\BS{tikz}[align=left] \BS{node}[draw] \AC{AAA \BS{}\BS{} \rouge{[1cm] } BBBBBBBB };} +\\ \hline +\rule[-1cm]{0pt}{1,5cm} \tikz[align=left] \node[draw] {AAA\\[1cm]BBBBBBBB\\}; +& +\tikz[align=left] \node[draw] {AAA\\[-1cm]BBBBBBBB\\}; +\\ \hline +\rouge{ [1cm] } & \rouge{[ -1cm] } +\\ \hline +\end{tabular} + +\SbSbSSCT{Couleur et fontes }{Colors and Fonts} + +\begin{tabular}{|c|c|c|c|c|c|} \hline +\tikz \draw (0,0) node[text= red]{Texte.}; +& +\tikz \draw (0,0) node[font=\itshape]{Texte.}; +& +\tikz \draw (0,0) node[font=\slshape]{Texte.}; +& +\tikz \draw (0,0) node[font=\scshape]{Texte.}; +& +\tikz \draw (0,0) node[font=\upshape]{Texte.}; +& +\tikz \draw (0,0) node[font=\bfseries]{Texte.}; +\\ \hline + + + +[text= red] & [font=\BS{itshape}] & [font=\BS{slshape}] & [font=\BS{scshape}] & [font=\BS{upshape}] & [font=\BS{bfseries}] +\\ \hline +\end{tabular} + + + +\bigskip + +\SbSbSSCT{Taille des fontes}{Font Sizes} + +\begin{tabular}{|c|c|c|c|c|c|c|}\hline +\multicolumn{7}{|c|}{ \BS{tikz} \BS{draw} (0,0) node[\RDD{font}=\BS{tiny}]\AC{Texte.} } +\\ \hline +\tikz \draw (0,0) node[font=\tiny]{Texte.}; +& +\tikz \draw (0,0) node[font=\footnotesize]{Texte.}; +& +\tikz \draw (0,0) node[font=\small]{Texte.}; +& +\tikz \draw (0,0) node[font=\large]{Texte.}; +& +\tikz \draw (0,0) node[font=\Large]{Texte.}; +& +\tikz \draw (0,0) node[font=\huge]{Texte.}; +& +\tikz \draw (0,0) node[font=\Huge]{Texte.}; +\\ \hline \BS{tiny} & \BS{footnotesize} & \BS{small} & \BS{large} & \BS{Large} & \BS{huge} & \BS{Huge} \\ +\hline +\end{tabular} + +\bigskip +\begin{center} +\RRR{17-4-4} +\end{center} + +\begin{tabular}{|c|c|c|} \hline +\tikz \draw (0,0) node[fill=blue!10,text height=1cm,draw]{Texte.}; +& +\tikz \draw (0,0) node[fill=blue!10,text depth=1cm,draw]{Texte.}; +& +\tikz \draw (0,0) node[fill=blue!10,text depth=0.5cm,,text height=.5cm,draw]{Texte.}; +\\ \hline +\RDD{text height}=1cm +& +\RDD{text depth}=1cm +& +\RDD{text height}=0.5cm, \RDD{text depth}=0.5cm +\\ \hline +\end{tabular} + +\newpage + +\SbSSCT{Positions prédéfinies sur un n\oe ud}{Positions on a node} +\label{nomnoeud} + +\SbSbSSCT{pour l'ensemble des n\oe uds}{For all types of node} +\begin{center} +\RRR{17-5-1} +\end{center} + +\begin{tabular}{|c|c|c|c|} \hline +\begin{tikzpicture} +\node[rectangle,draw,minimum size=3cm] (A) at (1,1) {\Huge texte}; +\fill[red] (node cs:name=A,anchor=north west) circle (3pt); +\end{tikzpicture} +& +\begin{tikzpicture} +\node[rectangle,draw,minimum size=3cm] (A) at (1,1) {\Huge texte}; +\fill[red] (node cs:name=A,anchor=north) circle (3pt); +\end{tikzpicture} +& +\begin{tikzpicture} +\node[rectangle,draw,minimum size=3cm] (A) at (1,1) {\Huge texte}; +\fill[red] (node cs:name=A,anchor=north east) circle (3pt); +\end{tikzpicture} +& +\begin{tikzpicture} +\node[rectangle,draw,minimum size=3cm] (A) at (1,1) {\Huge texte}; +\fill[red] (node cs:name=A,anchor=text) circle (3pt); +\end{tikzpicture} +\\ \hline +north west & north & north east & text +\\ \hline + +\begin{tikzpicture} +\node[rectangle,draw,minimum size=3cm] (A) at (1,1) {\Huge texte}; +\fill[red] (node cs:name=A,anchor= west) circle (3pt); +\end{tikzpicture} +& +\begin{tikzpicture} +\node[rectangle,draw,minimum size=3cm] (A) at (1,1) {\Huge texte}; +\fill[red] (node cs:name=A,anchor=mid west) circle (3pt); +\end{tikzpicture} +& +\begin{tikzpicture} +\node[rectangle,draw,minimum size=3cm] (A) at (1,1) {\Huge texte}; +\fill[red] (node cs:name=A,anchor= base west) circle (3pt); +\end{tikzpicture} +& +\begin{tikzpicture} +\node[rectangle,draw,minimum size=3cm] (A) at (1,1) {\Huge texte}; +\fill[red] (node cs:name=A,anchor= base) circle (3pt); +\end{tikzpicture} +\\ \hline +west & mid west & base west & base +\\ \hline + +\begin{tikzpicture} +\node[rectangle,draw,minimum size=3cm] (A) at (1,1) {\Huge texte}; +\fill[red] (node cs:name=A,anchor=east) circle (3pt); +\end{tikzpicture} +& +\begin{tikzpicture} +\node[rectangle,draw,minimum size=3cm] (A) at (1,1) {\Huge texte}; +\fill[red] (node cs:name=A,anchor=mid east) circle (3pt); +\end{tikzpicture} +& +\begin{tikzpicture} +\node[rectangle,draw,minimum size=3cm] (A) at (1,1) {\Huge texte}; +\fill[red] (node cs:name=A,anchor=base east) circle (3pt); +\end{tikzpicture} +& +\begin{tikzpicture} +\node[rectangle,draw,minimum size=3cm] (A) at (1,1) {\Huge texte}; +\fill[red] (node cs:name=A,anchor= mid) circle (3pt); +\end{tikzpicture} +\\ \hline +east & mid esat & base east & mid +\\ \hline + +\begin{tikzpicture} +\node[rectangle,draw,minimum size=3cm] (A) at (1,1) {\Huge texte}; +\fill[red] (node cs:name=A,anchor= south east) circle (3pt); +\end{tikzpicture} +& +\begin{tikzpicture} +\node[rectangle,draw,minimum size=3cm] (A) at (1,1) {\Huge texte}; +\fill[red] (node cs:name=A,anchor= south) circle (3pt); +\end{tikzpicture} +& +\begin{tikzpicture} +\node[rectangle,draw,minimum size=3cm] (A) at (1,1) {\Huge texte}; +\fill[red] (node cs:name=A,anchor= south west) circle (3pt); +\end{tikzpicture} +& +\begin{tikzpicture} +\node[rectangle,draw,minimum size=3cm] (A) at (1,1) {\Huge texte}; +\fill[red] (node cs:name=A,anchor=center ) circle (3pt); +\end{tikzpicture} +\\ \hline +south east & south & south west & center +\\ \hline + +\begin{tikzpicture} +\node[rectangle,draw,minimum size=3cm] (A) at (1,1) {\Huge texte}; +\fill[red] (node cs:name=A,anchor=0) circle (3pt); +\end{tikzpicture} +& +\begin{tikzpicture} +\node[rectangle,draw,minimum size=3cm] (A) at (1,1) {\Huge texte}; +\fill[red] (node cs:name=A,anchor=120) circle (3pt); +\end{tikzpicture} +& +\begin{tikzpicture} +\node[rectangle,draw,minimum size=3cm] (A) at (1,1) {\Huge texte}; +\fill[red] (node cs:name=A,anchor=-60) circle (3pt); +\end{tikzpicture} +& + + +\\ \hline +0 & 120 & -60 & +\\ \hline +\end{tabular} + +\newpage + +\SbSbSSCT{spécifique à un n\oe ud}{Specific to a node} + +\TFRGB{Consultez }{see} \RRR{67 } + + +\begin{tabular}{|c|c|} \hline +shape=circle & shape=diamond +\\ \hline +\begin{tikzpicture}[] +\node[circle,draw,minimum size=3.5cm] (A) at (1,1) {\Huge XXX}; +\foreach \anchor/\placement in +{north west/above left, north/above, north east/above right, +west/above left, center/above, east/right, +mid west/left, mid/below right, mid east/right, +base west/below left, base/below, base east/below right, +south west/below left, south/below, south east/below right, +text/below, 20/right, 120/above} +\fill[blue,pin position=\placement] (node cs:name=A,anchor= \anchor) circle (2pt) node[blue,pin=\scriptsize{ \anchor} ] {} ; +\end{tikzpicture} +& +\begin{tikzpicture}[] +\node[diamond,draw,minimum size=3.5cm] (A) at (1,1) {\Huge XXX}; +\foreach \anchor/\placement in +{north west/above left, north/above, north east/above right, +west/left, center/above, east/right, +mid/10, +base/below, +south west/below left, south/below, south east/below right, +text/left, 10/right, 120/above} +\fill[blue,pin position=\placement] (node cs:name=A,anchor= \anchor) circle (2pt) node[blue,pin=\scriptsize{ \anchor} ] {} ; +\end{tikzpicture} +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|} \hline +shape=ellipse +\\ \hline +\begin{tikzpicture}[] +\node[ellipse,draw,minimum size=3.5cm] (A) at (1,1) {\Huge XXXXXXX}; +\foreach \anchor/\placement in +{north west/above left, north/above, north east/above right, west/left, center/above, east/right, +mid west/left, mid/-75, mid east/right, +base west/200, base/-105, base east/-20, +south west/below left, south/below, south east/below right, +text/-75, 10/right, 130/above} +\fill[blue,pin position=\placement] (node cs:name=A,anchor= \anchor) circle (2pt) node[blue,pin=\scriptsize{ \anchor} ] {} ; +\end{tikzpicture} +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|} \hline +shape=trapezium +\\ \hline +\begin{tikzpicture}[] +\node[ trapezium,draw,minimum size=3cm] (A) at (1,1) {\Huge XXX}; +\foreach \anchor/\placement in +{center/120, text/below, mid/-45, base/below, mid west/left, base west/-175, mid east/right, base east/-25, +west/175, east/above, north/-75, south/-60, +north west/above, north east/above, +south west/-150, south east/-30, 150/above} +\fill[blue,pin position=\placement] (node cs:name=A,anchor= \anchor) circle (2pt) node[blue,pin=\scriptsize{ \anchor} ] {} ; + +\foreach \anchor/\placement in +{bottom left corner/below, top right corner/right, +top left corner/left, bottom right corner/below, +bottom side/-120, left side/left, right side/right, top side/above} +\fill[red,pin position=\placement] (node cs:name=A,anchor= \anchor) circle (2pt) node[blue,pin=\scriptsize{ \anchor} ] {} ; +\end{tikzpicture} +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|} \hline +shape=semicircle,shape border rotate=0 +\\ \hline +\begin{tikzpicture}[] +\node[ semicircle,shape border rotate=0,draw,minimum size=3cm] (A) at (1,1) {\Huge XXX}; +\foreach \anchor/\placement in +{center/above, base/-160, mid/-40, text/left, base west/-120, base east/-60, mid west/left, mid east/right, north/below, south/-75, east/60, west/120, north west/above left, north east/above right, south west/-140, south east/-60, 30/right} +\fill[blue,pin position=\placement] (node cs:name=A,anchor= \anchor) circle (2pt) node[blue,pin=\scriptsize{ \anchor} ] {} ; +\foreach \anchor/\placement in +{apex/above, arc start/-60, arc end/-120, chord center/-100} +\fill[red,pin position=\placement] (node cs:name=A,anchor= \anchor) circle (2pt) node[blue,pin=\scriptsize{ \anchor} ] {} ; +\end{tikzpicture} +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|} \hline +shape=regular polygon +\\ \hline +\begin{tikzpicture}[] +\node[ regular polygon,draw,minimum size=3cm] (A) at (1,1) {\Huge XXX}; +\foreach \anchor/\placement in +{ center/97, text/97 , mid/-30, base/below, 75/above, +west/left, east/right, north/-87, south/-60, +north east/right, south east/right, north west/left, south west/left} +\fill[blue,pin position=\placement] (node cs:name=A,anchor= \anchor) circle (2pt) node[blue,pin=\scriptsize{ \anchor} ] {} ; + +\foreach \anchor/\placement in +{corner 1/above, corner 2/left, corner 3/left, corner 4/right, corner 5/right, +side 1/above, side 2/left, side 3/-120, side 4/right, side 5/above} +\fill[red,pin position=\placement] (node cs:name=A,anchor= \anchor) circle (2pt) node[blue,pin=\scriptsize{ \anchor} ] {} ; +\end{tikzpicture} +\\ \hline +\end{tabular} + + +\bigskip + +\begin{tabular}{|c|} \hline +shape=star +\\ \hline +\begin{tikzpicture}[] +\node[ shape=star, star points=5, star point ratio=1.65,draw,minimum size=3cm] (A) at (1,1) {\Huge XXX}; +\foreach \anchor/\placement in +{center/above, +text/below, +mid/-30, +base/-80, +75/above, +west/left, +east/right, +north/below, +south/94, +north east/right, +south east/right, +north west/left, +south west/left} +\fill[blue,pin position=\placement] (node cs:name=A,anchor= \anchor) circle (2pt) node[blue,pin=\scriptsize{ \anchor} ] {} ; + +\foreach \anchor/\placement in +{inner point 1/above left, +inner point 2/left, +inner point 3/below, +inner point 4/right, +inner point 5/above right, +outer point 1/above, +outer point 2/left, +outer point 3/left, +outer point 4/right, +outer point 5/right} +\fill[red,pin position=\placement] (node cs:name=A,anchor= \anchor) circle (2pt) node[blue,pin=\scriptsize{ \anchor} ] {} ; +\end{tikzpicture} +\\ \hline +\end{tabular} + + + +\bigskip + +\begin{tabular}{|c|c|} \hline +shape= isosceles triangle & shape= kite +\\ \hline +\begin{tikzpicture}[] +\node[ shape=isosceles triangle,draw,minimum size=3cm] (A) at (1,1) {\Huge XXX}; +\foreach \anchor/\placement in +{center/above,text/above,150/left,mid/-5, mid west/left, mid east/right,base/-120, base west/-150, +base east/below right ,west/left, east/right, north/above, north west/left, north east/above right, +south /-120 , south east/below right} +\fill[blue,pin position=\placement] (node cs:name=A,anchor= \anchor) circle (2pt) node[blue,pin=\scriptsize{ \anchor} ] {} ; +\foreach \anchor/\placement in +{apex/above, left corner/left, right corner/left,left side/above, right side/below, lower side/160} +\fill[red,pin position=\placement] (node cs:name=A,anchor= \anchor) circle (2pt) node[blue,pin=\scriptsize{ \anchor} ] {} ; +\end{tikzpicture} +& +\begin{tikzpicture}[] +\node[ shape=kite,draw,minimum size=3cm] (A) at (1,1) {\Huge XXX}; +\foreach \anchor/\placement in +{center/above, text/85, mid/-85, base/-95,mid west/left, base west/-160, +mid east/right, base east/-20,west/left, east/right, north/80, south/below left,north west/above left, north east/above right,south west/left, south east/right, +110/above left} +\fill[blue,pin position=\placement] (node cs:name=A,anchor= \anchor) circle (2pt) node[blue,pin=\scriptsize{ \anchor} ] {} ; +\foreach \anchor/\placement in +{upper vertex/110, +left vertex/left, +lower vertex/below right, +right vertex/right, +upper left side/left, +upper right side/right, +lower left side/left, +lower right side/below right} +\fill[red,pin position=\placement] (node cs:name=A,anchor= \anchor) circle (2pt) node[blue,pin=\scriptsize{ \anchor} ] {} ; +\end{tikzpicture} +\\ \hline +\end{tabular} + + +\bigskip + +\begin{tabular}{|c|c|} \hline +shape= dart & shape= circular sector +\\ \hline +\begin{tikzpicture}[] +\node[shape=dart, shape border rotate=90,,draw,minimum size=3cm] (A) at (1,1) {\Huge XXX}; +\foreach \anchor/\placement in +{west/left , east/above right , north/below,south/left, +north west/left, north east/right, south west/below, south east/below,110/above left} +\fill[blue,pin position=\placement] (node cs:name=A,anchor= \anchor) circle (2pt) node[blue,pin=\scriptsize{ \anchor} ] {} ; +\foreach \anchor/\placement in +{tip/above, tail center/right, right tail/below, +left tail/below, right tail/below, left side/above left, right side/above right} +\fill[red,pin position=\placement] (node cs:name=A,anchor= \anchor) circle (2pt) node[blue,pin=\scriptsize{ \anchor} ] {} ; +\end{tikzpicture} +& +\begin{tikzpicture}[] +\node[shape=circular sector,draw,minimum size=3cm] (A) at (1,1) {\Huge XXX}; +\foreach \anchor/\placement in +{west/170 , east/right , north/above , south/below, north west/left, north east/above, south west/left, south east/below, 120/left} +\fill[blue,pin position=\placement] (node cs:name=A,anchor= \anchor) circle (2pt) node[blue,pin=\scriptsize{ \anchor} ] {} ; +\foreach \anchor/\placement in +{sector center/above, arc start/above, arc end/below, arc center/190} +\fill[red,pin position=\placement] (node cs:name=A,anchor= \anchor) circle (2pt) node[blue,pin=\scriptsize{ \anchor} ] {} ; +\end{tikzpicture} +\\ \hline +\end{tabular} + + + +\bigskip + +\begin{tabular}{|c|c|} \hline +shape=cylinder & shape=cloud +\\ \hline +\begin{tikzpicture}[] +\node[shape=cylinder,draw,minimum size=3cm] (A) at (1,1) {\Huge XXX}; +\foreach \anchor/\placement in +{west/170 , east/-10 , north/above , south/below, north west/left, north east/above, south west/left, south east/below, 120/left} +\fill[blue,pin position=\placement] (node cs:name=A,anchor= \anchor) circle (2pt) node[blue,pin=\scriptsize{ \anchor} ] {} ; +\foreach \anchor/\placement in +{before top/10 , top/10, after top/below right, before bottom/below left, bottom/190, after bottom/above left} +\fill[red,pin position=\placement] (node cs:name=A,anchor= \anchor) circle (2pt) node[blue,pin=\scriptsize{ \anchor} ] {} ; +\end{tikzpicture} +& +\begin{tikzpicture}[] +\node[shape=cloud,draw,minimum size=3cm] (A) at (1,1) {\Huge XXX}; +\foreach \anchor/\placement in +{west/west , east/east , north/below , south/below left, north west/left, north east/above right, south west/left, south east/right, 110/above} +\fill[blue,pin position=\placement] (node cs:name=A,anchor= \anchor) circle (2pt) node[blue,pin=\scriptsize{ \anchor} ] {} ; +\foreach \anchor/\placement in +{puff 1/above, puff 2/above left , puff 3/left, puff 4/left, +puff 5/below left, puff 6/below right, puff 7/below right, puff 8/right, +puff 9/right, puff 10/above} +\fill[red,pin position=\placement] (node cs:name=A,anchor= \anchor) circle (2pt) node[blue,pin=\scriptsize{ \anchor} ] {} ; +\end{tikzpicture} + +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|} \hline +shape=starburst +\\ \hline +\begin{tikzpicture}[] +\node[shape=starburst, starburst points=9, starburst point height=2cm,draw,minimum size=3cm] (A) at (1,1) {\Huge XXX}; +\foreach \anchor/\placement in +{west/west , east/east , north/70 , south/above, north west/below , north east/below, south west/below left, south east/-85, 30/above right} +\fill[blue,pin position=\placement] (node cs:name=A,anchor= \anchor) circle (2pt) node[blue,pin=\scriptsize{ \anchor} ] {} ; +\foreach \anchor/\placement in +{outer point 1/105, outer point 2/above left , +outer point 3/left, outer point 4/left, +outer point 5/below, outer point 6/below, +outer point 7/below, outer point 8/right, +outer point 9/above, +inner point 1/93, inner point 2/160, +inner point 3/190, inner point 4/below left, +inner point 5/below, inner point 6/-85, +inner point 7/-30, inner point 8/above right, +inner point 9/above} +\fill[red,pin position=\placement] (node cs:name=A,anchor= \anchor) circle (2pt) node[blue,pin=\scriptsize{ \anchor} ] {} ; +\end{tikzpicture} +\\ \hline +\end{tabular} + + +\bigskip + +\begin{tabular}{|c|} \hline +shape=signal +\\ \hline +\begin{tikzpicture}[] +\node[signal,signal from=west,draw,minimum size=3.5cm] (A) at (1,1) {\Huge XXX}; +\foreach \anchor/\placement in +{north west/above left, north/above, north east/above right, +west/left, center/above, east/right, +mid west/left, mid/below right, mid east/right, +base west/-160, base/below, base east/below right, +south west/below left, south/below, south east/below right, +text/below, 20/right, 120/above} +\fill[blue,pin position=\placement] (node cs:name=A,anchor= \anchor) circle (2pt) node[blue,pin=\scriptsize{ \anchor} ] {} ; +\end{tikzpicture} +\\ \hline +\end{tabular} + + +\bigskip + +\begin{tabular}{|c|} \hline +shape=tape +\\ \hline +\begin{tikzpicture}[] +\node[tape, tape bend height=1cm,draw,minimum size=3.5cm] (A) at (1,1) {\Huge XXX}; +\foreach \anchor/\placement in +{north west/above left, north/above, north east/above right, +west/left, center/above, east/right, +mid west/left, mid/below right, mid east/right, +base west/-160, base/110, base east/below right, +south west/below left, south/below, south east/below right, +text/110, 20/right, 120/above} +\fill[blue,pin position=\placement] (node cs:name=A,anchor= \anchor) circle (2pt) node[blue,pin=\scriptsize{ \anchor} ] {} ; +\end{tikzpicture} +\\ \hline +\end{tabular} + +\begin{tabular}{|c|} \hline +shape=magnetic tape +\\ \hline +\begin{tikzpicture}[] +\node[shape=magnetic tape,draw,minimum size=3cm] (A) at (1,1) {\Huge XXX}; +\foreach \anchor/\placement in +{west/west , east/east , north/above , south/below, north west/above left , north east/above right, south west/left, south east/below, 30/above right} +\fill[blue,pin position=\placement] (node cs:name=A,anchor= \anchor) circle (2pt) node[blue,pin=\scriptsize{ \anchor} ] {} ; +\foreach \anchor/\placement in +{tail east/right, tail south east/below right, tail north east/above right} +\fill[red,pin position=\placement] (node cs:name=A,anchor= \anchor) circle (2pt) node[blue,pin=\scriptsize{ \anchor} ] {} ; +\end{tikzpicture} +\\ \hline +\end{tabular} + + + +\bigskip + +\begin{tabular}{|c|} \hline +shape=single arrow +\\ \hline +\begin{tikzpicture}[] +\node[shape=single arrow,draw,minimum size=3cm] (A) at (1,1) {\Huge XXXXXX}; +\foreach \anchor/\placement in +{west/170 , east/below right , north/above , south/below, north west/above left, north east/above right, south west/below left, south east/below right, 30/east} +\fill[blue,pin position=\placement] (node cs:name=A,anchor= \anchor) circle (2pt) node[blue,pin=\scriptsize{ \anchor} ] {} ; +\foreach \anchor/\placement in +{tip/above right, before tip/above, after tip/below, before head/190 , after head/170, after tail/left, before tail/left, tail/190} +\fill[red,pin position=\placement] (node cs:name=A,anchor= \anchor) circle (2pt) node[blue,pin=\scriptsize{ \anchor} ] {} ; +\end{tikzpicture} +\\ \hline +\end{tabular} + + +\bigskip + +\begin{tabular}{|c|} \hline +shape=double arrow +\\ \hline +\begin{tikzpicture}[] +\node[shape=double arrow, double arrow head extend=1.5cm,,draw,minimum size=3cm] (A) at (1,1) {\Huge XXXXXXXXX}; +\foreach \anchor/\placement in +{west/170 , east/-10 , north/above , south/below, north west/above left, north east/above right, south west/below left, south east/below right, 35/above right} +\fill[blue,pin position=\placement] (node cs:name=A,anchor= \anchor) circle (2pt) node[blue,pin=\scriptsize{ \anchor} ] {} ; +\foreach \anchor/\placement in +{before head 1/above right, before tip 1/above, +tip 1/10, after tip 1/below, +after head 1/below right, before head 2/below left, +before tip 2/below left, tip 2/190, +after tip 2/above left, after head 2/above left} +\fill[red,pin position=\placement] (node cs:name=A,anchor= \anchor) circle (2pt) node[blue,pin=\scriptsize{ \anchor} ] {} ; +\end{tikzpicture} +\\ \hline +\end{tabular} + + +\bigskip + +\begin{tabular}{|c|} \hline +shape=arrow box +\\ \hline +\begin{tikzpicture}[] +\node[shape=arrow box,draw,minimum size=3cm,arrow box arrows={north:2cm from border, south, east:2cm from border, west},arrow box shaft width=1cm,arrow box head extend=0.25cm] (A) at (1,1) {\Huge XXXXXXXXX}; +\foreach \anchor/\placement in +{west/right , east/left , north/below , south/above, north west/left, north east/right, south west/left, south east/right} +\fill[blue,pin position=\placement] (node cs:name=A,anchor= \anchor) circle (2pt) node[blue,pin=\scriptsize{ \anchor} ] {} ; +\foreach \anchor/\placement in +{north arrow tip/above, +south arrow tip/below, +east arrow tip/right, +west arrow tip/left, +before north arrow/above left, +before north arrow head/110, +before north arrow tip/left, +after north arrow tip/right, +after north arrow head/70, +after north arrow/above right, +before south arrow/below right, +before south arrow head/-70, +before south arrow tip/right, +after south arrow tip/left, +after south arrow head/-110, +after south arrow/below left, +before east arrow/above right, +before east arrow head/right, +before east arrow tip/right, +after east arrow tip/right, +after east arrow head/right, +after east arrow/below right, +before west arrow/below left, +before west arrow head/left, +before west arrow tip/left, +after west arrow tip/west, +after west arrow head/left, +after west arrow/above left} +\fill[red,pin position=\placement] (node cs:name=A,anchor= \anchor) circle (2pt) node[blue,pin=\scriptsize{ \anchor} ] {} ; +\end{tikzpicture} +\\ \hline +\end{tabular} + + +\bigskip + +\begin{tabular}{|c|} \hline +shape=circle split +\\ \hline +\begin{tikzpicture}[] +\node[shape=circle split,draw,minimum size=3.5cm](A) at (1,1) {XXX\nodepart{lower}YYY} ; +\foreach \anchor/\placement in +{north west/above left, north/above, north east/above right, +west/left, center/above, east/right, +mid west/left, mid/below right, mid east/right, +base west/-160, base/110, base east/below right, +south west/below left, south/below, south east/below right, +text/110, 20/right, 120/above} +\fill[blue,pin position=\placement] (node cs:name=A,anchor= \anchor) circle (2pt) node[blue,pin=\scriptsize{ \anchor} ] {} ; +\foreach \anchor/\placement in +{text/left, lower/left} +\fill[red,pin position=\placement] (node cs:name=A,anchor= \anchor) circle (2pt) node[blue,pin=\scriptsize{ \anchor} ] {} ; +\end{tikzpicture} +\\ \hline +\end{tabular} + +\begin{tabular}{|c|} \hline +shape=circle solidus +\\ \hline +\begin{tikzpicture}[] +\node[shape=circle solidus,draw,minimum size=3.5cm](A) at (1,1) {XXX\nodepart{lower}YYY} ; +\foreach \anchor/\placement in +{north west/above left, north/above, north east/above right, +west/left, center/above, east/right, +mid west/left, mid/below right, mid east/right, +base west/-160, base/110, base east/below right, +south west/below left, south/below, south east/below right, +text/110, 20/right, 120/above} +\fill[blue,pin position=\placement] (node cs:name=A,anchor= \anchor) circle (2pt) node[blue,pin=\scriptsize{ \anchor} ] {} ; +\foreach \anchor/\placement in +{text/left, lower/left} +\fill[red,pin position=\placement] (node cs:name=A,anchor= \anchor) circle (2pt) node[blue,pin=\scriptsize{ \anchor} ] {} ; +\end{tikzpicture} +\\ \hline +\end{tabular} + + +\bigskip + +\begin{tabular}{|c|} \hline +shape=ellipse split +\\ \hline +\begin{tikzpicture}[] +\node[shape=ellipse split,draw,minimum size=3.5cm](A) at (1,1) {XXX\nodepart{lower}YYY} ; +\foreach \anchor/\placement in +{north west/above left, north/above, north east/above right, +west/left, center/above, east/right, +mid west/left, mid/below right, mid east/right, +base west/-160, base/110, base east/below right, +south west/below left, south/below, south east/below right, +text/110, 20/right, 120/above} +\fill[blue,pin position=\placement] (node cs:name=A,anchor= \anchor) circle (2pt) node[blue,pin=\scriptsize{ \anchor} ] {} ; +; +\end{tikzpicture} +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|} \hline +shape=rectangle split +\\ \hline +\begin{tikzpicture}[] +\node[name=s,shape=rectangle split, rectangle split parts=4,draw,inner ysep=0.75cm](A) at (1,1) +{\nodepart{text}XXXXXXXXXXXXXX\nodepart{two}YYY +\nodepart{three}ZZZ\nodepart{four}four}; +\foreach \anchor/\placement in +{north/above, south/below, east/10, west/170, +north west/above, north east/above, south west/below, south east/below, +center/145, 20/right, mid/30, base/-145} +\fill[blue,pin position=\placement] (node cs:name=A,anchor= \anchor) circle (2pt) node[blue,pin=\scriptsize{ \anchor} ] {} ; +\foreach \anchor/\placement in +{text split/10, text split east/0, text split west/180,two split/30, two split east/right, two split west/left, +three split/30, three split east/east, three split west/west,text/-170, text east/east, text west/west, +two/left, two east/east, two west/west, +three/left, three east/east, three west/west, +four/west, four east/east, four west/west +} +\fill[red,pin position=\placement] (node cs:name=A,anchor= \anchor) circle (2pt) node[blue,pin=\scriptsize{ \anchor} ] {} ; +\end{tikzpicture} +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|} \hline +shape=rectangle callout +\\ \hline +\begin{tikzpicture}[] +\node[shape=rectangle callout, callout relative pointer={(1.5cm,-.5cm)},draw, +callout pointer width=2cm, inner xsep=1cm, inner ysep=.5cm] (A) at (1,1) {\Huge XXXXXXX}; +\foreach \anchor/\placement in +{west/west , east/east , north/above , south/below, north west/west , north east/right, south west/left, south east/right, 25/right} +\fill[blue,pin position=\placement] (node cs:name=A,anchor= \anchor) circle (2pt) node[blue,pin=\scriptsize{ \anchor} ] {} ; +\foreach \anchor/\placement in +{pointer/right} +\fill[red,pin position=\placement] (node cs:name=A,anchor= \anchor) circle (2pt) node[blue,pin=\scriptsize{ \anchor} ] {} ; +\end{tikzpicture} +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|} \hline +shape=ellipse callout +\\ \hline +\begin{tikzpicture}[] +\node[shape=ellipse callout,draw] (A) at (1,1) {\Huge XXXXXX}; +\foreach \anchor/\placement in +{west/west , east/right , north/above, south/below, north west/above left, north east/above right, south west/below left, south east/below right} +\fill[blue,pin position=\placement] (node cs:name=A,anchor= \anchor) circle (2pt) node[blue,pin=\scriptsize{ \anchor} ] {} ; +\foreach \anchor/\placement in +{pointer/below right} +\fill[red,pin position=\placement] (node cs:name=A,anchor= \anchor) circle (2pt) node[blue,pin=\scriptsize{ \anchor} ] {} ; +\end{tikzpicture} +\\ \hline +\end{tabular} + + +\bigskip + +\begin{tabular}{|c|} \hline +shape=cloud callout +\\ \hline +\begin{tikzpicture}[] +\node[shape=cloud callout,draw,aspect=1.5] (A) at (1,1) {\Huge XXXXXX}; +\foreach \anchor/\placement in +{west/west , east/right , north/below , south/above, north west/above left, north east/above right, south west/below left, south east/below right} +\fill[blue,pin position=\placement] (node cs:name=A,anchor= \anchor) circle (2pt) node[blue,pin=\scriptsize{ \anchor} ] {} ; +\foreach \anchor/\placement in +{puff 1/above, puff 2/above, puff 3/left, puff 4/left, +puff 5/below left, puff 6/below, puff 7/below right, puff 8/right, +puff 9/right, puff 10/above,pointer/below right} +\fill[red,pin position=\placement] (node cs:name=A,anchor= \anchor) circle (2pt) node[blue,pin=\scriptsize{ \anchor} ] {} ; +\end{tikzpicture} +\\ \hline +\end{tabular} + + +\bigskip + +\begin{tabular}{|c|} \hline +shape=cross out +\\ \hline +\begin{tikzpicture}[] +\node[shape=cross out,draw,minimum size=3cm] (A) at (1,1) {\Huge XXXXXXXXXX}; +\foreach \anchor/\placement in +{west/west , east/right , north/above , south/below, north west/above left, north east/above right, south west/below left, south east/below right} +\fill[blue,pin position=\placement] (node cs:name=A,anchor= \anchor) circle (2pt) node[blue,pin=\scriptsize{ \anchor} ] {} ; +\end{tikzpicture} +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|} \hline +shape=rounded rectangle +\\ \hline +\begin{tikzpicture}[] +\node[shape=rounded rectangle,draw,minimum size=3cm] (A) at (1,1) {\Huge XXXXXXXXXX}; +\foreach \anchor/\placement in +{west/west , east/right , north/above , south/below, north west/above left, north east/above right, south west/below left, south east/below right} +\fill[blue,pin position=\placement] (node cs:name=A,anchor= \anchor) circle (2pt) node[blue,pin=\scriptsize{ \anchor} ] {} ; + +\end{tikzpicture} +\\ \hline +\end{tabular} + + +\bigskip + +\begin{tabular}{|c|} \hline +shape=chamfered rectangle +\\ \hline +\begin{tikzpicture}[] +\node[shape=chamfered rectangle,draw,minimum size=3cm, chamfered rectangle sep=.5cm,] (A) at (1,1) {\Huge XXXXXX}; +\foreach \anchor/\placement in +{west/west , east/right , north/above , south/below, north west/above left, north east/above right, south west/below left, south east/below right} +\fill[blue,pin position=\placement] (node cs:name=A,anchor= \anchor) circle (2pt) node[blue,pin=\scriptsize{ \anchor} ] {} ; +\foreach \anchor/\placement in +{before north east/above right, after north east/above right, before south east/below right,after south east/below right, before north west/above left, after north west/above left, before south west/below left,after south west/below left} +\fill[red,pin position=\placement] (node cs:name=A,anchor= \anchor) circle (2pt) node[blue,pin=\scriptsize{ \anchor} ] {} ; +\end{tikzpicture} +\\ \hline +\end{tabular} + +\normalsize + + + diff --git a/info/visualtikz/Source/tkzcde.tex b/info/visualtikz/Source/tkzcde.tex new file mode 100644 index 0000000000..f241d266a4 --- /dev/null +++ b/info/visualtikz/Source/tkzcde.tex @@ -0,0 +1,45 @@ + + +\maboite{ \TFRGB{Atention : la création de la commande doit être placée avant}{Warning: the creation of the command must be placed before} \BS{begin}\AC{document} ! } + +\TFRGB{syntaxe :\BSS{newcommand}\AC{\BS{}nom}[nombre de variables]\AC{Description}}{syntax :\BSS{newcommand}\AC{\BS{}name}[ +number of variables]\AC{Description}} +\bigskip + + +\textbf{\TFRGB{Exemple : commande avec une variable}{Example : command with one variable} :} + + \emph{\TFRGB{Création}{Creation}} + + +\begin{tabular}{ll} +\BS{newcommand} & \\ +\AC{\BS{}maboite}[1]{\color{red} \{ } & \% \TFRGB{commande nommée maboite et 1 seul d'argument}{command named \og maboite \fg with one variable } \\ +\BS{begin}\AC{center} & \% \TFRGB{centrage sur la ligne}{centering the box } \\ +\BS{tikzpicture} \BS{node}[fill=yellow & \% \TFRGB{un n\oe ud de texte de couleur jaune}{a yellow text box} \\ +,text centered & \% \TFRGB{centrage du texte dans la boite}{centering the text in the box} \\ +,text width=.5\BS{linewidth}] & \% \TFRGB{largeur : la moitié de la ligne}{ to set the width of the box} \\ +\#1\} ; \BS{end}\AC{center} & \% \TFRGB{\#1 correspond à l'argument}{\#1 will be replaced by the variable} \\ +{\color{red} \} } & \\ +\end{tabular} + +\bigskip +\emph{Utilisation} : \BS{maboite}\AC{contenu} + +\maboite{contenu} + + +\bigskip +\label{DFR} + +\textbf{\TFRGB{Exemple : commande sans variable}{Example : command without variable} :} + + \emph{\TFRGB{Création}{ creation}} + +\BS{newcommand}\AC{\BS{DFR}}\AC{ \BS{tikzpicture}[scale=.25] + \BS{draw} [fill=blue](0,0) rectangle (3,1.5); +\BS{draw} [fill=white](1,0) rectangle (2,1.5); +\BS{draw}[fill=red](2,0) rectangle (3,1.5);\BS{endtikzpicture} } + + +\emph{Utilisation} : \BS{DFR} \DFR diff --git a/info/visualtikz/Source/tkzchains.tex b/info/visualtikz/Source/tkzchains.tex new file mode 100644 index 0000000000..09c9e7efee --- /dev/null +++ b/info/visualtikz/Source/tkzchains.tex @@ -0,0 +1,540 @@ +\SbSbSSCT{Création d'une chaine de n\oe euds}{Starting and Continuing a Chain} + + \maboite{\BS{usetikzlibrary}\AC{chains}} +\label{lib-chains} + + +\begin{center} +\RRR{46-2} +\end{center} + +\bigskip + +\begin{tabular}{|l|} \hline +\BS{begin}\AC{tikzpicture}[\RDD{start chain}] \\ +\BS{node} [\RDD{on chain}] \AC{A};\\ +\BS{node} [\RDD{on chain}] \AC{B};\\ +\BS{node} [\RDD{on chain}] \AC{C};\\ +\BS{end}\AC{tikzpicture} \\ \hline +\begin{tikzpicture}[start chain] +\node [on chain] {A}; +\node [on chain] {B}; +\node [on chain] {C}; +\end{tikzpicture} +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|} \hline +\BS{begin}\AC{tikzpicture}[start chain, \RDD{node distance}= 0.5 cm] +\\ \hline +\begin{tikzpicture}[start chain, node distance= .5 cm] +\node [on chain] {A}; +\node [on chain] {B}; +\node [on chain] {C}; +\end{tikzpicture} +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|} \hline +\BS{begin}\AC{tikzpicture}[start chain=\rouge {going below} ] +\\ \hline +\begin{tikzpicture}[start chain=going below] +\node [on chain] {A}; +\node [on chain] {B}; +\node [on chain] {C}; +\end{tikzpicture} +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|} \hline +\BS{begin}\AC{tikzpicture}[start chain=\rouge {going left} ] +\\ \hline +\rule[0cm]{0pt}{.7cm} +\begin{tikzpicture}[start chain=going left] +\node [on chain] {A}; +\node [on chain] {B}; +\node [on chain] {C}; +\end{tikzpicture} +\\ \hline +\end{tabular} + + +\bigskip + +\begin{tabular}{|c|} \hline +\BS{begin}\AC{tikzpicture}[start chain, \rouge{every node/.style=draw} ] +\\ \hline +\rule[0cm]{0pt}{.7cm} +\begin{tikzpicture}[start chain, every node/.style=draw] +\node [on chain] {A}; +\node [on chain] {B}; +\node [on chain] {C}; +\end{tikzpicture} +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|}\hline +\begin{tikzpicture}[start chain=1 going right, +start chain=2 going left] +\node [draw,on chain=1] {A}; +\node [draw,on chain=1] {B}; +\node [draw,on chain=1] {C}; +\node [draw,on chain=2] at (3,1) {0}; +\node [draw,on chain=2] {1}; +\node [draw,on chain=2] {2}; +\node [draw,on chain=1] {D}; +\end{tikzpicture} + & +\parbox{10cm}{ +\BS{begin}\AC{tikzpicture}[\rouge{start chain=1} going right , \\ +\blll{start chain=2} going left] \\ +\BS{node} [draw,\rouge{on chain=1}] \AC{A}; \\ +\BS{node} [draw,\rouge{on chain=1}] \AC{B}; \\ +\BS{node}[draw,\rouge{on chain=1}] \AC{C}; \\ +\BS{node} [draw,\blll{on chain=2}] at (3,1) \AC{0}; \\ +\BS{node} [draw,\blll{on chain=2}] \AC{1}; \\ +\BS{node} [draw,\blll{on chain=2}] \AC{2}; \\ +\BS{node}[draw,\rouge{on chain=1}] \AC{D}; \\ +\BS{end}\AC{tikzpicture}} +\\ \hline +\end{tabular} + +\bigskip + + +\begin{tabular}{|c|c|} \hline +\rule[-2cm]{0pt}{4cm} +\begin{tikzpicture}[start chain=going right,baseline=-1.5cm] +\node [draw,on chain] {A}; +\node [draw,on chain] {B}; +\node [draw,continue chain=going below,on chain] {C}; +\node [draw,on chain] {D}; +\node [draw,continue chain=going right,on chain] {E}; +\end{tikzpicture} +& +\parbox{11cm}{ +\BS{begin}\AC{tikzpicture}[start chain going right] +\BS{node} [draw,on chain] \AC{A}; \\ +\BS{node} [draw,on chain] \AC{B}; \\ +\BS{node} [draw,\RDD{continue chain}=going below,on chain] \AC{C}; \\ +\BS{node}[draw,on chain] \AC{D}; \\ +\BS{node} [draw,\RDD{continue chain}=going right,on chain] \AC{E}; \\ +\BS{end}\AC{tikzpicture}} +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|} \hline +\begin{tikzpicture}[every node/.style=draw,baseline=-1.5cm] +{ [start chain=1] +\node [on chain] {A}; +\node [on chain] {B}; +\node [on chain] {C}; +} +{ [start chain=2 going below] +\node [on chain=2] at (0.5,-.5) {0}; +\node [on chain=2] {1}; +\node [on chain=2] {2}; +} +{ [continue chain=1] +\node [on chain] {D}; +} +\end{tikzpicture} +& +\parbox{10cm}{ +\BS{begin}\AC{tikzpicture}[start chain going right] \\ +\{ [\RDD{start chain}=1] \\ +\BS{node} [draw,on chain] \AC{A}; \\ +\BS{node} [draw,on chain] \AC{B}; \\ +\BS{node} [draw,on chain] \AC{C}; \\ +\} \\ +\{ [\RDD{start chain}=2] \\ +\BS{node}[draw,on chain=2] \AC{0}; \\ +\BS{node}[draw,on chain=2] \AC{1}; \\ +\BS{node}[draw,on chain=2] \AC{2}; \\ +\} \\ +\{ [\RDD{continue chain}=1] \\ +\BS{node} [draw,on chain] \AC{D}; \\ +\} \\ +\BS{end}\AC{tikzpicture}} +\\ \hline +\end{tabular} + +\bigskip + +\SbSbSSCT{N\oe uds sur la chaine}{Nodes on a Chain} + +\begin{center} +\RRR{46-3} +\end{center} + +\bigskip + +\begin{tabular}{|c|c|} \hline + \begin{tikzpicture}[start chain=XXX placed {at=(\tikzchaincount*-30+90:1.5)},baseline=0pt] + \foreach \i in {1,...,12} + \node [on chain] {\i}; + \draw (0,0) -- (XXX-10); + \draw (0,0) -- (XXX-2); + \end{tikzpicture} +& +\parbox{11cm}{ +\BS{begin}\AC{tikzpicture}[start chain=\blll{XXX} \RDD{placed} \\ \AC{at=(\BSS{tikzchaincount}*-30+90:1.5)}] \\ + \BS{foreach} \BS{i} in \AC{1,...,12} \\ +\BS{node} [on chain] \AC{\BS{i}}; \\ +\BS{draw }(0,0) -- \blll{(XXX-10)}; \\ +\BS{draw }(0,0) -- \blll{(XXX-2)}; \\ +\BS{end}\AC{tikzpicture}} +\\ \hline +\end{tabular} + +\bigskip + + +\begin{tabular}{|c|c|} \hline +\begin{tikzpicture}[start chain,baseline=-1cm] +\node [draw,on chain] {A}; +\node [draw,on chain] {B}; +\node [draw,on chain=going below] {C}; +\node [draw,on chain] {D}; +\node [draw,on chain] {E}; +\end{tikzpicture} +& +\parbox{11cm}{ +\BS{begin}\AC{tikzpicture}[start chain] \\ +\BS{node} [draw,on chain] \AC{A}; \\ +\BS{node} [draw,on chain] \AC{B}; \\ +\BS{node} [draw,on chain=\rouge{going below}] \AC{C}; \\ +\BS{node} [draw,on chain] \AC{D}; \\ +\BS{node} [draw,on chain] \AC{E}; \\ +\BS{end}\AC{tikzpicture}} +\\ \hline +\end{tabular} + + +\bigskip + +\begin{tabular}{|c|c|} \hline +\begin{tikzpicture}[start chain=going {at=(\tikzchainprevious),shift=(30:1)},baseline=1cm] +\node [draw,on chain] {A}; +\node [draw,on chain] {B}; +\node [draw,on chain] {C}; +\node [draw,on chain] {D}; +\end{tikzpicture} +& +\parbox{11cm}{ +\BS{begin}\AC{tikzpicture}[start chain=going \\ \AC{at=(\BSS{tikzchainprevious},shift=(30:1)}] \\ +\BS{node} [draw,on chain] \AC{A}; \\ +\BS{node} [draw,on chain] \AC{B}; \\ +\BS{node} [draw,on chain] \AC{C}; \\ +\BS{node} [draw,on chain] \AC{D}; \\ +\BS{end}\AC{tikzpicture}} +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|} \hline +\begin{tikzpicture}[baseline=1cm] +\node[draw,red] (A) at (0,2) {A}; +{ [start chain] +\node [draw,on chain] {B}; +\node [draw,on chain] {C}; +\chainin (A) [join]; +\node [draw,on chain] {D}; +\node [draw,on chain] {E}; +} +\end{tikzpicture} +& +\parbox{11cm}{ +\BS{begin}\AC{tikzpicture} \\ +\BS{node} [draw,red] (A) at (0,2) \AC{A}; \\ +\{ [start chain] \\ +\BS{node} [draw,on chain] \AC{B}; \\ +\BS{node} [draw,on chain] \AC{C}; \\ +\BSS{chainin} (A) [join]; \\ +\BS{node} [draw,on chain] \AC{D}; \\ +\BS{node} [draw,on chain] \AC{E}; \\ +\} \\ +\BS{end}\AC{tikzpicture}} +\\ \hline +\end{tabular} + + + +\bigskip + +\begin{tabular}{|c|c|} \hline +\begin{tikzpicture}[baseline=-1cm] +\matrix [matrix of nodes,column sep=1cm,row sep=1cm,every node/.style=draw] +{ +|(a) | A & |(b) | B & |(c) | C \\ +|(d) | D & |(e) | E & |(f) | F \\ +}; +{ [start chain,every on chain/.style={join=by ->}] +\chainin (a); +\chainin (b); +\chainin (d); +\chainin (c); +\chainin (f); +\chainin (e); +} +\end{tikzpicture} +& +\parbox{11cm}{ +\BS{begin}\AC{tikzpicture} \\ +\BS{matrix} [matrix of nodes,column sep=5mm,row sep=5mm] ,every node/.style=draw \\ +\{ \\ +|(a) | A \& |(b) | B \& |(c) | C \BS{}\BS{} \\ +|(d) | D \& |(e) | E \& |(f) | F \BS{}\BS{} \\ +\}; \\ +\{ [start chain,every on chain/.style=\AC{join=by ->}] \\ +\BSS{chainin} (a); +\BSS{chainin}(b); +\BSS{chainin}(d); \\ +\BSS{chainin} (c); +\BSS{chainin}(f); +\BSS{chainin}(e); +\} +\BS{end}\AC{tikzpicture} +} +\\ \hline +\end{tabular} + +\bigskip + +\SbSbSSCT{Jonction de n\oe uds}{Joining Nodes on a Chain} + +\begin{center} +\RRR{46-4} +\end{center} + +\bigskip + +\begin{tabular}{|c|c|} \hline +\begin{tikzpicture}[start chain] +\node [draw,on chain] {A}; +\node [draw,on chain,join] {B}; +\node [draw,on chain] {C}; +\node [draw,on chain,join] {D}; +\end{tikzpicture} +& +\parbox{11cm}{ +\BS{begin}\AC{tikzpicture}[start chain] \\ +\BS{node} [draw,on chain] \AC{A}; \\ +\BS{node} [draw,on chain,\RDD{join}] \AC{B}; \\ +\BS{node} [draw,on chain] \AC{C}; \\ +\BS{node} [draw,on chain,\RDD{join}] \AC{D}; \\ +\BS{end}\AC{tikzpicture}} +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|} \hline +\begin{tikzpicture}[start chain, every on chain/.style=join, every join/.style=->] +\node [draw,on chain] {A}; +\node [draw,on chain] {B}; +\node [draw,on chain] {C}; +\node [draw,on chain] {D}; +\end{tikzpicture} +& +\parbox{11cm}{ +\BS{begin}\AC{tikzpicture}[start chain, \RDD{every on chain}/.style=join, \\ \RDD{every join}/.style=->] \\ +\BS{node} [draw,on chain] \AC{A}; \\ +\BS{node} [draw,on chain,\RDD{join}] \AC{B}; \\ +\BS{node} [draw,on chain] \AC{C}; \\ +\BS{node} [draw,on chain,\RDD{join}] \AC{D}; \\ +\BS{end}\AC{tikzpicture}} +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|} \hline +\begin{tikzpicture}[start chain,baseline=-1cm] +\node [draw,on chain] {A}; +\node [draw,on chain] {B}; +\node [draw,on chain] {C}; +\node [draw,on chain=going below,join=with chain-2 ] {D}; +\end{tikzpicture} +& +\parbox{11cm}{ +\BS{begin}\AC{tikzpicture}[start chain] \\ +\BS{node} [draw,on chain] \AC{A}; \\ +\BS{node} [draw,on chain] \AC{B}; \\ +\BS{node} [draw,on chain] \AC{C}; \\ +\BS{node} [draw,on chain=going below,\rouge{join=with chain-2} ] \AC{D}; \\ +\BS{end}\AC{tikzpicture}} +\\ \hline +\begin{tikzpicture}[start chain,baseline=-1cm] +\node [draw,on chain] {A}; +\node [draw,on chain] {B}; +\node [draw,on chain] {C}; +\node [draw,on chain=going below,join=with chain-1 by {blue,<-}] {D}; +\end{tikzpicture} +& +\parbox{12cm}{ +\BS{begin}\AC{tikzpicture}[start chain] \\ +\BS{node} [draw,on chain] \AC{A}; \\ +\BS{node} [draw,on chain] \AC{B}; \\ +\BS{node} [draw,on chain] \AC{C}; \\ +\BS{node} [draw,on chain=going below,join=with chain-1 \rouge{ by \AC{blue,<-}} ] \AC{D}; \\ +\BS{end}\AC{tikzpicture}} +\\ \hline +\end{tabular} + + + +\bigskip + +\SbSbSSCT{Branches}{Branches} + +\begin{center} +\RRR{46-5} +\end{center} + + +\bigskip + +\begin{tabular}{|c|c|} \hline +\begin{tikzpicture} [baseline=-2cm] +{ [start chain=XXX] +\node [draw,on chain] {A}; +\node [draw,on chain] {B}; +{ [start branch=YYY going below] +\node [draw,on chain] {1}; +\node [draw,on chain] {2}; +\node [draw,on chain] {3}; +} +\node [draw,on chain,join=with XXX/YYY-end,join=with XXX/YYY-2 ] {C}; +} +\end{tikzpicture} +& +\parbox{12cm}{ +\BS{begin}\AC{tikzpicture}\\ +\{ [start chain=\blll{XXX}] \\ +\BS{node} [draw,on chain] \AC{A}; \\ +\BS{node} [draw,on chain] \AC{B}; \\ +\{ [\RDD{start branch}=\blll{YYY} going below] \\ +\BS{node} [draw,on chain] \AC{1}; \\ +\BS{node} [draw,on chain] \AC{2}; \\ +\BS{node} [draw,on chain] \AC{3}; \\ +\} \\ +\BS{node} [ draw,on chain,join=with \blll{XXX/YYY}\rouge{-end}, \\ join=with \blll{XXX/YYY}\rouge{-2}] \AC{C}; \\ +\} \\ +\BS{end}\AC{tikzpicture} } + +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|} \hline +\BS{begin}\AC{tikzpicture}[ \RDD{node distance}=.2cm and 3cm] +\\ \hline +\begin{tikzpicture}[ node distance=.2cm and 3cm] +{ [start chain=XXX] +\node [on chain] {A}; +\node [on chain] {B}; +{ [start branch=YYY going below] +\node [on chain] {1}; +\node [on chain] {2}; +\node [on chain] {3}; +} +\node [on chain,join=with XXX/YYY-end] {C}; +} +\end{tikzpicture} +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|} \hline +\begin{tikzpicture}[ node distance=2mm and 1cm,baseline=-2cm] +{ [start chain=XXX] +\node [draw,on chain] {A}; +\node [draw,on chain] {B}; +{ [start branch=YYY going below] +\node [draw,on chain] {1}; +\node [draw,on chain] {2}; +\node [draw,on chain] {3}; +} +\node [draw,on chain,join=with XXX/YYY-end] {C}; +{ +[continue branch=YYY] +\node [draw,on chain] {4}; +\node [draw,on chain] {5}; +} +} +\end{tikzpicture} +& +\parbox{12cm}{ +\BS{begin}\AC{tikzpicture}[ node distance=2mm and 1cm]\\ +\{ [start chain=\blll{XXX}] \\ +\BS{node} [draw,on chain] \AC{A}; \\ +\BS{node} [draw,on chain] \AC{B}; \\ +\{ [start branch=\blll{YYY} going below] \\ +\BS{node} [draw,on chain] \AC{1}; \\ +\BS{node} [draw,on chain] \AC{2}; \\ +\BS{node} [draw,on chain] \AC{3}; \} \\ +\BS{node} [draw,on chain,join=with \blll{XXX/YYY}-end] \AC{C}; \\ +\{ [\RDD{continue branch}=\blll{YYY}]\\ +\BS{node} [on chain] \AC{4}; \\ +\BS{node} [on chain] \AC{5}; \} \\ +\} \\ +\BS{end}\AC{tikzpicture} } +\\ \hline +\end{tabular} + + +\bigskip + +\begin{tabular}{|c|c|} \hline +\begin{tikzpicture}[node distance=2mm and 1cm, every node/.style=draw,baseline=-1cm] +{ [start chain] +\node [on chain] {1}; +\node [on chain] {2}; +{ [start branch=XXX going below] } +\node [on chain] {3}; +{ [start branch=YYY going above] } +\node [on chain] {4}; +{ [continue branch=XXX] +\node [on chain] {a}; +\node [on chain] {b}; +}{ +[continue branch=YYY] +\node [on chain] {A}; +\node [on chain] {B}; +} +} +\end{tikzpicture} +& +\parbox{12cm}{ +\BS{begin}\AC{tikzpicture}[node distance=2mm and 1cm, every node/.style=draw]\\ +\{ [start chain] \\ +\BS{node} [on chain] \AC{1}; \\ +\BS{node} [on chain] \AC{2}; \\ +\{ [\RDD{start branch}=\blll{XXX} going below] \} \\ +\BS{node} [on chain] \AC{3}; \\ +\{ [\RDD{start branch}=\blll{YYY} going above] \} \\ +\BS{node} [on chain] \AC{4}; \\ +\{ [\RDD{continue branch}=\blll{XXX} ] \\ +\BS{node} [on chain] \AC{a}; \\ +\BS{node} [on chain] \AC{b};\} \\ +\{ [\RDD{continue branch}=\blll{YYY} ] \\ +\BS{node} [on chain] \AC{A}; \\ +\BS{node} [on chain] \AC{B}; \} } +\\ \hline +\end{tabular} + + diff --git a/info/visualtikz/Source/tkzcoord.tex b/info/visualtikz/Source/tkzcoord.tex new file mode 100644 index 0000000000..30708a5db5 --- /dev/null +++ b/info/visualtikz/Source/tkzcoord.tex @@ -0,0 +1,964 @@ + +\SbSSCT{Coordonnées}{Coordinates} +\begin{center} +\RRR{13-2-1} +\end{center} + + +\SbSbSSCT{Système de coordonnées \og canvas \fg}{Canvas coordinates} + +\noindent + + +\tikzset{every picture/.style=blue,very thick,inner sep=0pt} + +\begin{tabular}{|c|c|} \hline +\TFRGB{Explicite}{explicit} & \TFRGB{Implicite}{implicit} +\\ \hline +\begin{tikzpicture} +\draw[help lines] (0,0) grid (3,2); +\fill (canvas cs:x=2cm,y=1.5cm) circle (2pt); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw[help lines] (0,0) grid (3,2); +\fill (2,1.5) circle (2pt); +\end{tikzpicture} + +\\ \hline + \BS{fill} (\RDD{canvas cs}:\blll{x=2cm,y=1.5cm}) circle (2pt); +& \BS{fill} {\color{blue}(2cm,1.5cm)} circle (2pt); +\\ \hline +\end{tabular} + + +\SbSbSSCT{Système de coordonnées polaire \og canvas \fg}{Polar coordinates} + +\noindent + + +\begin{tabular}{|c|c|c|} \hline +\TFRGB{Explicite}{explicit} & \TFRGB{Implicite}{implicit} +\\ \hline +\begin{tikzpicture} +\draw[help lines] (0,0) grid (3,2); +\draw [dotted](0,2) arc (90 :0 :2); +\draw [dotted](0,0) --(2,2); +\fill (canvas polar cs:angle=45,radius=2cm) circle (2pt); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw[help lines] (0,0) grid (3,2); +\draw [dotted](0,2) arc (90 :0 :2); +\draw [dotted](0,0) --(2,2); +\fill (45:2cm) circle (2pt); +\end{tikzpicture} +\\ \hline +\BS{fill} (\RDD{canvas polar cs}:\RDD{angle}=45,\RDD{radius}=2cm) circle (2pt); +& +\BS{fill} {\color{blue}(45:2cm)} circle (2pt); +\\ \hline +\end{tabular} + +\bigskip +\begin{tabular}{|c|} \hline +\begin{tikzpicture} +\draw[help lines] (0,0) grid (3,2); +\draw [dotted](0,2) arc (90 :0 :3 and 2); +\draw [dotted](0,0) --(3,2); +\fill (canvas polar cs:angle=45,x radius=3cm,y radius=2cm) circle (2pt); +\end{tikzpicture} +\\ \hline +\BS{fill} (canvas polar cs:angle=45,\RDD{x radius}=3cm,\RDD{y radius}=2cm) circle (2pt); +\\ \hline +\end{tabular} + + +\SbSbSSCT{Système de coordonnées xyz}{xyz coordinates} + +\noindent + + +\begin{tabular}{|c|c|c|} \hline +\begin{tikzpicture}[->] +\draw (0,0) -- (xyz cs:x=1); +\draw[red] (0,0) -- (xyz cs:y=1); +\draw[magenta] (0,0) -- (xyz cs:z=1); +\end{tikzpicture} +& +\begin{tikzpicture}[->] +\draw (0,0) -- (1,0,0); +\draw[red] (0,0) -- (0,1,0); +\draw[magenta] (0,0) -- (0,0,1); +\end{tikzpicture} +\\ \hline +\BS{draw} (0,0) - - (\RDD{xyz cs}:x=1); & \BS{draw} (0,0) - - (1,0,0); \\ +\BS{draw}[red] (0,0) - - (\RDD{xyz cs}:y=1); & \BS{draw}[red] (0,0) - - (0,1,0); \\ +\BS{draw}[magenta] (0,0) - - (\RDD{xyz cs}:z=1); & \BS{draw}[magenta] (0,0) - - (0,0,1); +\\ \hline + +\end{tabular} + + +\newpage + +\SbSbSSCT{Coordinate system xyz polar}{Coordinate system xyz polar} + +\noindent + +\begin{tabular}{|c|c|c|} \hline +\TFRGB{Explicite}{explicit} & \TFRGB{Implicite}{implicit} +\\ \hline +\begin{tikzpicture} +\draw[help lines] (0,0) grid (3,2); +\draw [dotted](0,2) arc (90 :0 :2); +\draw [dotted](0,0) --(2,2); +\fill (xyz polar cs:angle=45,radius=2) circle (2pt); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw[help lines] (0,0) grid (3,2); +\draw [dotted](0,2) arc (90 :0 :2); +\draw [dotted](0,0) --(2,2); +\fill (45:2) circle (2pt); +\end{tikzpicture} +\\ \hline +\BS{fill} (\RDD{xyz polar cs}:\RDD{angle}=45,\RDD{radius}=2) circle (2pt); +& +\BS{fill} {\color{blue}(45:2cm)} circle (2pt); +\\ \hline +\end{tabular} + +\bigskip +\begin{tabular}{|c|} \hline +\begin{tikzpicture} +\draw[help lines] (0,0) grid (3,2); +\draw [dotted](0,2) arc (90 :0 :3 and 2); +\draw [dotted](0,0) --(3,2); +\fill (xyz polar cs:angle=45,x radius=3,y radius=2) circle (2pt); +\end{tikzpicture} +\\ \hline +\BS{fill} (xyz polar cs:angle=45,\RDD{x radius}=3,\RDD{y radius}=2) circle (2pt); +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|c|} \hline +\multicolumn{2}{|c|}{\BS{begin}\AC{tikzpicture}{\color{red}[x=1.5cm,y=1cm]} } +\\ \hline +\begin{tikzpicture}[x=1.5cm,y=1cm] +\draw[help lines] (0,0) grid (3,2); +\draw [dotted](0,2) arc (90 :0 :2); +\draw [dotted](0,0) --(2,2); +\fill (xyz polar cs:angle=45,radius=2) circle (2pt); +\end{tikzpicture} +& +\begin{tikzpicture}[x=1.5cm,y=1cm] +\draw[help lines] (0,0) grid (3,2); +\draw [dotted](0,2) arc (90 :0 :2); +\draw [dotted](0,0) --(2,2); +\fill (45:2) circle (2pt); +\end{tikzpicture} +\\ \hline +\BS{fill} (\RDD{xyz polar cs}:\RDD{angle}=45,\RDD{radius}=2) circle (2pt); +& +\BS{fill} {\color{blue}(45:2cm)} circle (2pt); +\\ \hline +\end{tabular} +\bigskip + +\begin{tabular}{|c|c|c|} \hline +\multicolumn{2}{|c|}{\BS{begin}\AC{tikzpicture}{\color{red}[x=\AC{(0cm,1cm)},y=\AC{(-1cm,0cm)}]} } +\\ \hline +\begin{tikzpicture}[x={(0cm,1cm)},y={(-1cm,0cm)}] +\draw[help lines] (0,0) grid (3,2); +\draw [dotted](0,2) arc (90 :0 :2); +\draw [dotted](0,0) --(2,2); +\fill (xyz polar cs:angle=45,radius=2) circle (2pt); +\end{tikzpicture} +& +\begin{tikzpicture}[x={(0cm,1cm)},y={(-1cm,0cm)}] +\draw[help lines] (0,0) grid (3,2); +\draw [dotted](0,2) arc (90 :0 :2); +\draw [dotted](0,0) --(2,2); +\fill (45:2) circle (2pt); +\end{tikzpicture} +\\ \hline +\BS{fill} (\RDD{xyz polar cs}:\RDD{angle}=45,\RDD{radius}=2) circle (2pt); +& +\BS{fill} {\color{blue}(45:2cm)} circle (2pt); +\\ \hline +\end{tabular} + +\SbSbSSCT{Coordonnées barycentriques}{Barycentric coordinates} + +\begin{center} +\RRR{13-2-2} +\end{center} + +\begin{tabular}{|c|c|c|} \hline +\multicolumn{3}{|c|}{ \BS{node} [circle,fill=red!20] at (\RDD{barycentric cs}:A=0.6,B=0.3 ) \AC{X}; }\\ +\hline +\begin{tikzpicture}[scale=.6] +\draw[help lines] (0,0) grid (4,4); +\node[circle,fill=green!20,] (A) at (0,0) {A}; +\node[circle,fill=green!20,] (B) at (4,0) {B}; +\node[circle,fill=red!20] at (barycentric cs:A=0.3,B=0.3 ) {X}; +\end{tikzpicture} +& +\begin{tikzpicture}[scale=.6] +\draw[help lines] (0,0) grid (4,4); +\node[circle,fill=green!20,] (A) at (0,0) {A}; +\node[circle,fill=green!20,] (B) at (4,0) {B}; +\node[circle,fill=green!20,] (C) at (4,4) {C}; +\node[circle,fill=red!20] at (barycentric cs:A=0.4,B=0.4 ,C=.4) {X}; +\end{tikzpicture} +& +\begin{tikzpicture}[scale=.6] +\draw[help lines] (0,0) grid (4,4); +\node[circle,fill=green!20,] (A) at (0,0) {A}; +\node[circle,fill=green!20,] (B) at (4,0) {B}; +\node[circle,fill=green!20,] (C) at (1,4) {C}; +\node[circle,fill=green!20,] (D) at (4,4) {D}; +\node[circle,fill=red!20] at (barycentric cs:A=0.5,B=0.5,C=.5,D=.5 ) {X}; +\end{tikzpicture} +\\ \hline +A=0.3,B=0.3 & A=0.4,B=0.4 ,C=.4 & A=0.5,B=0.5,C=.5,D=.5 +\\ \hline +\begin{tikzpicture}[scale=.6] +\draw[help lines] (0,0) grid (4,4); +\node[circle,fill=green!20,] (A) at (0,0) {A}; +\node[circle,fill=green!20,] (B) at (4,0) {B}; +\node[circle,fill=red!20] at (barycentric cs:A=0.6,B=0.3 ) {X}; +\end{tikzpicture} +& +\begin{tikzpicture}[scale=.6] +\draw[help lines] (0,0) grid (4,4); +\node[circle,fill=green!20,] (A) at (0,0) {A}; +\node[circle,fill=green!20,] (B) at (4,0) {B}; +\node[circle,fill=green!20,] (C) at (4,4) {C}; +\node[circle,fill=red!20] at (barycentric cs:A=0.2,B=0.4 ,C=.6) {X}; +\end{tikzpicture} +& +\begin{tikzpicture}[scale=.6] +\draw[help lines] (0,0) grid (4,4); +\node[circle,fill=green!20,] (A) at (0,0) {A}; +\node[circle,fill=green!20,] (B) at (4,0) {B}; +\node[circle,fill=green!20,] (C) at (1,4) {C}; +\node[circle,fill=green!20,] (D) at (4,4) {D}; +\node[circle,fill=red!20] at (barycentric cs:A=0.2,B=0.4,C=.6,D=.8 ) {X}; +\end{tikzpicture} +\\ \hline +A=0.6,B=0.3 & A=0.2,B=0.4 ,C=.6 & A=0.2,B=0.4,C=.6,D=.8 +\\ \hline +\end{tabular} + +\SbSbSSCT{Coordonnées nominatives : n\oe ud}{Named coordinates: nodes} + +\begin{center} +\RRR{13-2-3} +\end{center} + +\begin{tabular}{|c|c|} \hline +\begin{tikzpicture}[blue,very thick,baseline=1cm] +\draw[help lines] (0,0) grid (3,3); +\coordinate (centre) at (1.5,1.5) ; +\coordinate (A) at (.5,.5) ; +\coordinate (B) at (2.5,2.5) ; +\fill (centre) circle (3pt); +\draw[red] (A) rectangle (B) ; +\end{tikzpicture} +& +\parbox[c]{8cm}{ +\BSS{coordinate} {\color{blue}(centre)} at(1.5,1.5) ; \\ +\BSS{coordinate} {\color{blue}(A)} at (.5,.5) ;\\ +\BSS{coordinate} {\color{blue}(B)} at (2.5,2.5) ;\\ +\\ +\BS{fill} {\color{blue}(centre)} circle (3pt);\\ +\BS{draw}[red] {\color{blue}(A)} rectangle {\color{blue}(B)} ;\\ +} +\\ \hline +\end{tabular} + + +\TFRGB{voir aussi}{see also} page \pageref{noeuds} + + +\SbSbSSCT{Coordonnées relatives à un noeud}{Coordinates relative to a node} + +\noindent + +\begin{tabular}{|c|c|c|c|} \hline +\multicolumn{4}{|l|}{ \BS{node} [draw,fill=green!20,] (A) at (1,1) \AC{\BS{huge} noeud}; }\\ +\multicolumn{4}{|l|}{ \BS{fill}[red] (\RDD{node cs}:\RDD{name}=A,\RDD{anchor}=south) circle (3pt); }\\ +\hline + +\begin{tikzpicture} +\draw[help lines] (0,0) grid (2,2); +\node[draw,fill=green!20,] (A) at (1,1) {\huge noeud}; +\fill[red] (node cs:name=A,anchor=south) circle (3pt); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw[help lines] (0,0) grid (2,2); +\node[draw,fill=green!20,] (A) at (1,1) {\huge noeud}; +\fill[red] (node cs:name=A,anchor=west) circle (3pt); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw[help lines] (0,0) grid (2,2); +\node[draw,fill=green!20,] (A) at (1,1) {\huge noeud}; +\fill[red] (node cs:name=A,anchor=north) circle (3pt); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw[help lines] (0,0) grid (2,2); +\node[draw,fill=green!20,] (A) at (1,1) {\huge noeud}; +\fill[red] (node cs:name=A,anchor=east) circle (3pt); +\end{tikzpicture} +\\ \hline +name=A,anchor=south & name=A,anchor=west & name=A,anchor=north & name=A,anchor=east +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|c|c|} \hline +\multicolumn{4}{|l|}{ \BS{node} [draw,fill=green!20,] \blll{(A)} at (1,1) \AC{\BS{huge} noeud}; }\\ +\multicolumn{4}{|l|}{ \BS{fill}[red] (\blll{A}.south) circle (3pt); }\\ +\hline + +\begin{tikzpicture} +\draw[help lines] (0,0) grid (2,2); +\node[draw,fill=green!20,] (A) at (1,1) {\huge noeud}; +\fill[red] (A.south) circle (3pt); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw[help lines] (0,0) grid (2,2); +\node[draw,fill=green!20,] (A) at (1,1) {\huge noeud}; +\fill[red] (A.west) circle (3pt); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw[help lines] (0,0) grid (2,2); +\node[draw,fill=green!20,] (A) at (1,1) {\huge noeud}; +\fill[red] (A.north) circle (3pt); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw[help lines] (0,0) grid (2,2); +\node[draw,fill=green!20,] (A) at (1,1) {\huge noeud}; +\fill[red] (A.east) circle (3pt); +\end{tikzpicture} +\\ \hline +A.south & A.west & A.north & A.east +\\ \hline +\end{tabular} + + + +\bigskip +\begin{tabular}{|c|c|c|c|} \hline +\multicolumn{4}{|c|}{ \BS{fill}[red] (node cs:\RDD{name}=A,\RDD{angle}=0) circle (3pt); }\\ +\hline + +\begin{tikzpicture} +\draw[help lines] (0,0) grid (2,2); +\node[draw,fill=green!20,] (A) at (1,1) {\huge noeud}; +\fill[red] (node cs:name=A,angle=0) circle (3pt); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw[help lines] (0,0) grid (2,2); +\node[draw,fill=green!20,] (A) at (1,1) {\huge noeud}; +\fill[red] (node cs:name=A,angle=-30) circle (3pt); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw[help lines] (0,0) grid (2,2); +\node[draw,fill=green!20,] (A) at (1,1) {\huge noeud}; +\fill[red] (node cs:name=A,angle=-90) circle (3pt); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw[help lines] (0,0) grid (2,2); +\node[draw,fill=green!20,] (A) at (1,1) {\huge noeud}; +\fill[red] (node cs:name=A,angle=-150) circle (3pt); +\end{tikzpicture} +\\ \hline +name=A,angle=0 & name=A,angle=-30 & nname=A,angle=-90 & name=A,angle=-150 +\\ \hline +\end{tabular} + +\bigskip + + +\begin{tabular}{|c|c|c|c|} \hline +\multicolumn{4}{|c|}{ \BS{fill}[red] (A.0) circle (3pt); }\\ +\hline + +\begin{tikzpicture} +\draw[help lines] (0,0) grid (2,2); +\node[draw,fill=green!20,] (A) at (1,1) {\huge noeud}; +\fill[red] (A.0) circle (3pt); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw[help lines] (0,0) grid (2,2); +\node[draw,fill=green!20,] (A) at (1,1) {\huge noeud}; +\fill[red] (A.-30) circle (3pt); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw[help lines] (0,0) grid (2,2); +\node[draw,fill=green!20,] (A) at (1,1) {\huge noeud}; +\fill[red] (A.-90) circle (3pt); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw[help lines] (0,0) grid (2,2); +\node[draw,fill=green!20,] (A) at (1,1) {\huge noeud}; +\fill[red] (A.-150) circle (3pt); +\end{tikzpicture} +\\ \hline +A.0 & A.-30 & A.-90 & A.-150 +\\ \hline +\end{tabular} + +\TFRGB{voir aussi}{see also} page \pageref{nomnoeud} + + +\newpage + +\SbSbSSCT{Coordonnées relatives à deux points}{Coordinates relative to two points} +\begin{center} +\RRR{13-3-1} +\end{center} + +\begin{tabular}{|c|c|} \hline +\multicolumn{2}{|c|}{ \BS{node} [circle,fill=red!20] at (1,1 {\color{red}|-} 3,3) \AC{X} }\\ +\hline +\begin{tikzpicture} +\draw[help lines] (0,0) grid (4,4); +\node[circle,fill=green!20,] (A) at (1,1) {A}; +\node[circle,fill=green!20,] (B) at (3,3) {B}; +\node[circle,fill=red!20] at (1,1 |- 3,3) {X}; +\end{tikzpicture} +& +\begin{tikzpicture} +\draw[help lines] (0,0) grid (4,4); +\node[circle,fill=green!20,] (A) at (1,1) {A}; +\node[circle,fill=green!20,] (B) at (3,3) {B}; +\node[circle,fill=red!20] at (1,1 -| 3,3) {X}; +\end{tikzpicture} +\\ \hline +at (1,1 {\color{red}|-} 3,3) +& +at (1,1 {\color{red}-|} 3,3) +\\ \hline +\end{tabular} + + + +\SbSbSSCT{Coordonnée relative à une intersection}{Coordinates relative to an intersection} +\begin{center} +\RRR{13-3-2} +\end{center} + + \maboite{\BS{usetikzlibrary}\AC{intersections}} +\label{lib-intersections} + + +\begin{tabular}{|c|c|c|c|} \hline +\multicolumn{4}{|l|}{ \BS{draw} [\RDD{name path}=XXX] (2,1) circle (1cm); }\\ +\multicolumn{4}{|l|}{ \BS{draw} [\RDD{name path}=YYY] (0.5,0.5) rectangle +(3,1); }\\ +\multicolumn{4}{|l|}{ \BS{fill} [red,\RDD{ name intersections}=\AC{of=xxx and YYY}] +(\RDD{intersection}-1) circle (2pt) }\\ +\hline +\begin{tikzpicture}[scale=.8] +\draw [help lines] grid (4,2); +\draw [name path=XXX] (2,1) circle (1cm); +\draw [name path=YYY] (0.5,0.5) rectangle +(3,1); +\fill [red, name intersections={of=XXX and YYY}] +(intersection-1) circle (2pt) ; +\end{tikzpicture} +& +\begin{tikzpicture}[scale=.8] +\draw [help lines] grid (4,2); +\draw [name path=XXX] (2,1) circle (1cm); +\draw [name path=YYY] (0.5,0.5) rectangle +(3,1); +\fill [red, name intersections={of=XXX and YYY}] (intersection-2) circle (2pt) ; +\end{tikzpicture} +& +\begin{tikzpicture}[scale=.8] +\draw [help lines] grid (4,2); +\draw [name path=XXX] (2,1) circle (1cm); +\draw [name path=YYY] (0.5,0.5) rectangle +(3,1); +\fill [red, name intersections={of=XXX and YYY}] (intersection-3) circle (2pt) ; +\end{tikzpicture} +& +\begin{tikzpicture}[scale=.8] +\draw [help lines] grid (4,2); +\draw [name path=XXX] (2,1) circle (1cm); +\draw [name path=YYY] (0.5,0.5) rectangle +(3,1); +\fill [red, name intersections={of=XXX and YYY}] (intersection-4) circle (2pt) ; +\end{tikzpicture} +\\ +\hline intersection-1 & intersection-2 &intersection-3 & intersection-4 \\ +\hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|} \hline +\BS{fill} [red, name intersections=\AC{of=XXX and YYY}] \\ +(intersection-1) circle (2pt) {\color{red} node[black,above right] \AC{point a}} ; +\\ \hline +\begin{tikzpicture} +\draw [help lines] grid (4,2); +\draw [name path=XXX] (2,1) circle (1cm); +\draw [name path=YYY] (0.5,0.5) rectangle +(3,1); +\fill [red, name intersections={of=XXX and YYY}] +(intersection-1) circle (2pt) node[black,above right] {point a} ; +\end{tikzpicture} +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|} \hline +\BS{fill} [red, name intersections=\AC{of=XXX and YYY, \RDD{name}=ZZZ}]; \\ +\BS{draw} [red] (ZZZ-1) - - (ZZZ-3); \BS{draw} [green] (ZZZ-2) - - (ZZZ-4); +\\ \hline +\begin{tikzpicture} +\draw [help lines] grid (4,2); +\draw [name path=XXX] (2,1) circle (1cm); +\draw [name path=YYY] (0.5,0.5) rectangle +(3,1); +\fill [red, name intersections={of=XXX and YYY, name=ZZZ}]; +\draw [red] (ZZZ-1) -- (ZZZ-3); +\draw [green] (ZZZ-2) -- (ZZZ-4); +\end{tikzpicture} +\\ \hline +\end{tabular} + +\bigskip +\begin{tabular}{|c|} \hline +\BS{fill} [red, name intersections=\AC{of=XXX and YYY , \RDD{by}=\AC{a,b,c,d}}]; \\ +\BS{draw} [red] (a) - - (c); \hspace{1cm} \BS{draw} [green] (b) - - (d); +\\ \hline +\begin{tikzpicture} +\draw [help lines] grid (4,2); +\draw [name path=XXX] (2,1) circle (1cm); +\draw [name path=YYY] (0.5,0.5) rectangle +(3,1); +\fill [red, name intersections={of=XXX and YYY, by={a,b,c,d}}]; +\draw [red] (a) -- (c); +\draw [green] (b) -- (d); +\end{tikzpicture} +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|} \hline +\BS{fill} [name intersections=\AC{of=XXX and YYY, name=i, \RDD{total}=\BS{t}}] [red] \\ +\BS{foreach} \BS{s} in \AC{1,...,\BS{t}} \AC{(i-\BS{s}) circle (2pt) node[black,above right] \AC{\BS{s}}} +\\ \hline +\begin{tikzpicture} +\draw [help lines] grid (4,2); +\draw [name path=XXX] (2,1) circle (1cm); +\draw [name path=YYY] (0.5,0.5) rectangle +(3,1); +\fill [name intersections={of=XXX and YYY , name=i, total=\t}] +[red] +\foreach \s in {1,...,\t}{(i-\s) circle (2pt) node[black,above right] {\s}}; +\end{tikzpicture} +\\ \hline +\end{tabular} + + + +\newpage + +\SbSbSSCT{Position calculée avec le module \og pgfmath \fg}{Calculated positions with \og pgfmath \fg } + +\begin{center} +\RRR{13-2-1} +\end{center} + +\TFRGB{Ce module est chargé automatiquement avec le module Tikz}{Package automatically loaded with Tikz} + +\begin{tabular}{|c|} \hline +\begin{tikzpicture} +\draw[help lines] (0,0) grid (4,2); +\fill [red] (canvas cs:x=2cm+1.5cm,y=1.5cm-1cm) circle (3pt); +\fill [blue] (2cm,1.5cm) circle (3pt); +\draw[dashed] (2,1.5) -| (3.5,.5); +\end{tikzpicture} +\\ \hline +\emph{\TFRGB{Explicite}{explicit}} + : \BS{fill} [red] (\RDD{canvas cs}:x=2cm+1.5cm,y=1.5cm-1cm) circle (3pt); + \\ \hline +\emph{\TFRGB{Implicite}{implicit}} : \BS{fill} [red] {\color{red}(2cm+1.5cm,1.5cm-1cm)} circle (3pt); +\\ \hline +\end{tabular} + +\bigskip +\begin{tabular}{|c|c|c|} \hline +\begin{tikzpicture}[baseline=0pt] +\draw[help lines] (0,0) grid (4,4); + \draw[dashed] (2,2) circle (2); +\fill[red](2+ 2*cos 30,2+2*sin 30) circle (3pt); +\fill[magenta](2+ 2*cos{(120)},2+2*sin{(120)}) circle (3pt); +\end{tikzpicture} +& +\parbox[c]{8cm}{ + \BS{draw}[dashed] (2,2) circle (2);\\ + \smallskip + \BS{fill} [red]{\color{red}(2+ 2*cos 30 , 2+2*sin 30)} circle (3pt);\\ + \smallskip + \BS{fill}[magenta] {\color{red}(2+2*cos\AC{(120)} , 2+2*sin\AC{(120)})} circle (3pt); + } +\\ \hline +\end{tabular} + +\SbSbSSCT{Position calculée avec \og library calc \fg}{Calculated positions with \og calc library calc \fg} + +\begin{center} +\RRR{13-5} +\end{center} +\label{lib-calc} + + \maboite{\BS{usetikzlibrary}\AC{calc}} + +\begin{tabular}{|c|c|} \hline +\begin{tikzpicture}[baseline=0pt] +\draw [help lines] (0,0) grid (3,2); +\node (a) at (1,1) {A}; +\fill [red] ($(a) + 2/3*(1cm,0)$) circle (2pt); +\fill [red] ($(a) + 4/3*(1cm,0)$) circle (2pt); +\end{tikzpicture} +& +\parbox{8cm}{ +\BS{node} (a) at (1,1) \AC{A}; \\ +\BS{fill} [red] {\color{red} (\$(a) + 2/3*(1cm,0)\$)} circle (2pt); \\ +\BS{fill} [red] {\color{red}(\$(a) + 4/3*(1cm,0)\$)} circle (2pt); \\ +} +\\ +\hline +\end{tabular} + +\SbSbSSCT{Tangentes avec \og library calc \fg}{Tangents with \og calc library \fg} + +\begin{center} +\RRR{13-2-4} +\end{center} + +\begin{tabular}{|c|c|} \hline +\multicolumn{2}{|l|}{\BS{node}[fill=green!20] (a) at (3,1.5) \AC{A}; } \\ +\multicolumn{2}{|l|}{\BS{fill}[red] (\RDD{tangent cs}:\RDD{node}=c,\RDD{point}=\AC{(A)},\RDD{solution}=1); }\\ +\hline +\begin{tikzpicture} +\draw[help lines] (0,0) grid (4,2); +\node[fill=green!20] (A) at (3,1.5) {A}; +\node [circle,draw] (c) at (1,1) [minimum size=1.5cm] {$c$}; +\draw[red,dashed] (A) - -(tangent cs:node=c,point={(A)},solution=1) ; +\draw[red,dashed] (1,1) - -(tangent cs:node=c,point={(3,1.5)},solution=1) ; +\fill[red] (tangent cs:node=c,point={(A)},solution=1) circle (3pt); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw[help lines] (0,0) grid (4,2); +\node[fill=green!20] (A) at (3,1.5) {A}; +\node [circle,draw] (c) at (1,1) [minimum size=1.5cm] {$c$}; +\draw[red,dashed] (A) - -(tangent cs:node=c,point={(A)},solution=2) ; +\draw[red,dashed] (1,1) - -(tangent cs:node=c,point={(A)},solution=2) ; +\fill[red] (tangent cs:node=c,point={(A)},solution=2) circle (3pt); +\end{tikzpicture} +\\ \hline +\RDD{solution}=1 & \RDD{solution}=2 +\\ \hline +\end{tabular} + +\newpage + +\SbSbSSCT{Point à pourcentage donné }{Percentage position } + +\begin{center} +\RRR{13-5-3} +\end{center} + + +\begin{tabular}{|c|c|} \hline +\multicolumn{2}{|c|}{\BS{fill}[red] ({\color{red}\$(0,1)!.25!(4,1)\$}) circle (4pt); } \\ \hline + +\begin{tikzpicture} +\draw [help lines] (0,0) grid (4,2); +\draw [line width= 3pt] (0,1) -- (4,1); +\fill[red] ($(0,1)!.25!(4,1)$) circle (4pt); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw [help lines] (0,0) grid (4,2); +\draw [line width= 3pt] (0,1) -- (4,1); +\fill[red] ($(0,1)!.75!(4,1)$) circle (4pt); +\end{tikzpicture} +\\ \hline (0,1)!{\color{red}0.25}!(4,1) & (0,1)!{\color{red}0.75}!(4,1) \\ +\hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|} \hline +\begin{tikzpicture} +\draw [help lines] (0,0) grid (4,3); +\draw [line width=2pt ](0,2) -- (4,2); +\draw[red] ($(0,2)!.75!(4,2)$) -- (0,0); +\fill[red] ($(0,2)!.75!(4,2)!.66!(0,0)$) circle (4pt); +\end{tikzpicture} +\\ \hline +\BS{fill}[red] (\${\color{blue}(0,2)!0.75!(4,2)}!{\color{red}0.66!(0,0)}\$) circle (2pt); +\\ \hline +\end{tabular} + + +\SbSbSSCT{Point à distance donnée}{Position at a given distance } + +\begin{center} +\RRR{13-5-4} +\end{center} + +\begin{tabular}{|c|c|} \hline +\multicolumn{2}{|c|}{\BS{fill}[red] ({\color{red}\$(0,1)!1.5cm!(4,1)\$}) circle (4pt); } \\ \hline + +\begin{tikzpicture} +\draw [help lines] (0,0) grid (4,2); +\draw [line width= 2pt] (0,1) -- (4,1); +\fill[red] ($(0,1)!1.5cm!(4,1)$) circle (4pt); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw [help lines] (0,0) grid (4,2); +\draw [line width= 2pt] (0,1) -- (4,1); +\fill[red] ($(0,1)!3cm!(4,1)$) circle (4pt); +\end{tikzpicture} +\\ \hline (0,1)!{\color{red}1.5cm}!(4,1) & (0,1)!{\color{red}3cm}!(4,1) \\ +\hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|} \hline +\begin{tikzpicture} +\draw [help lines] (0,0) grid (4,4); +\coordinate (a) at (1,0); +\coordinate (b) at (4,1); +\draw [line width= 3pt] (0,0) -- (4,1); +\draw [line width= 2pt,red](2,.5) -- ($ (2,.5)!2cm!90:(4,1) $); +\end{tikzpicture} +\\ \hline +\BS{draw} (2,.05) - - (\$ (2,0.5)!{\color{red}2cm!90:(4,1)} \$); +\\ \hline +\end{tabular} + +\newpage + +\SbSbSSCT{Coordonnées relatives}{Relative coordinates} + + +\Par{Cartésienne}{Cartesian coordinates} + +\begin{center} +\RRR{13-4-1} +\end{center} + +\begin{tabular}{|c|c|c|} \hline +\TFRGB{relative à l'origine}{relative to the origin} & \TFRGB{relative à une position}{relative to a position} & \TFRGB{relative à la dernière position}{relative to the last position} +\\ \hline + +\begin{tikzpicture} +\draw[help lines] (0,-1) grid (3,1); + \draw[blue,very thick] (0,0) -- (1,0) - - (2,1) - - (2,-1); + \fill[red] (0,0) circle (4pt); +\end{tikzpicture} +& +\begin{tikzpicture} %[scale=.8] +\draw[help lines] (0,-1) grid (4,1); + \draw[blue,very thick] (0,0) - - (1,0) -- +(2,1) -- +(2,-1) ; %–- +(2,-1) ; + \fill[red] (1,0) circle (4pt); +\end{tikzpicture} +& +\begin{tikzpicture} %[scale=.8] +\draw[help lines] (0,-1) grid (5,1); + \draw[blue,very thick] (0,0) -- (1,0) - - ++(2,1) - - ++(2,-1); + \fill[red] (1,0) circle (4pt); + \fill[red] (3,1) circle (4pt); +\end{tikzpicture} +\\ \hline +\tikz \fill node[fill=green!20,inner sep=0pt]{(0,0)}; - - (1,0) & + (0,0) - - \tikz \fill node[fill=green!20,inner sep=0pt]{(1,0)}; & (0,0) - - \tikz \fill node[fill=green!20,inner sep=0pt]{(1,0)}; \\ + - - (2,1) - - (2,-1) & + - - +(2,1) - - +(2,-1) & - - ++\tikz \fill node[fill=green!20,inner sep=0pt]{(2,1)}; - - ++(2,-1) +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|c|} \hline +\begin{tikzpicture} [scale=.5] +\draw[help lines] (0,-1) grid (6,6); + \draw[red,dotted,line width=2pt] (0,0) rectangle (2,2) ; + \draw[green,dotted,line width=2pt] (0,0) rectangle (3,3) ; + \draw[blue,line width=2pt] (0,0) rectangle (1,1) rectangle (2,2) rectangle (3,3); + +\end{tikzpicture} + +& +\begin{tikzpicture} [scale=.5] +\draw[help lines] (0,-1) grid (6,6); + \draw[green,dotted,line width=2pt] (1,1) rectangle (4,4) ; + \draw[blue,line width=2pt] (0,0) rectangle (1,1) rectangle +(2,2) rectangle +(3,3); + \fill[red] (1,1) circle (4pt); +\end{tikzpicture} +& +\begin{tikzpicture} [scale=.5] +\draw[help lines] (0,-1) grid (6,6); + \draw[blue,line width=2pt] (0,0) rectangle (1,1) rectangle ++(2,2) rectangle ++(3,3); + \fill[red] (1,1) circle (4pt); + \fill[green] (3,3) circle (4pt); +\end{tikzpicture} +\\ +\hline +\BS{draw} (0,0) rectangle (1,1) & +\BS{draw} (0,0) rectangle (1,1) & +\BS{draw} (0,0) rectangle (1,1) \\ +rectangle (2,2) rectangle (3,3); & +rectangle +(2,2) rectangle +(3,3); & +rectangle ++(2,2) rectangle ++(3,3); \\ +\hline +\end{tabular} + + +\Par{Polaire }{Polar} {} + +\bigskip + + +\noindent + +\begin{tabular}{|c|c|c|c|} \hline +\TFRGB{relative à l'origine}{relative to the origin} & \TFRGB{relative à une position}{relative to a position} & \TFRGB{relative à la dernière position}{relative to the last position} +\\ \hline +\begin{tikzpicture} %[scale=.8] +\draw[help lines] (0,-1) grid (3,1); + \fill[red] (0:0) circle (4pt); + \draw[blue,very thick] (0:0)-- (0:1) -- (30:2) -- (-30:2); +\end{tikzpicture} +& +\begin{tikzpicture} %[scale=.8] +\draw[help lines] (0,-1) grid (4,1); + \fill[red] (1,0) circle (4pt); + \draw[blue,very thick] (0:0) -- (0:1) -- +(30:2) -- +(-30:2); +\end{tikzpicture} +& +\begin{tikzpicture} %[scale=.8] +\draw[help lines] (0,-1) grid (5,1); + \fill[red] (1,0) circle (4pt); + \fill[red] (2.732,1) circle (4pt); + \draw[blue,very thick] (0:0)-- (0:1) -- ++(30:2) -- ++(-30:2); +\end{tikzpicture} +\\ \hline +\tikz \fill node[fill=green!20,inner sep=0pt] {(0:0)}; - - (0:1)& + (0:0) - - \tikz \fill node[fill=green!20,inner sep=0pt] {(0:1)}; & (0:0)- - \tikz \fill node[fill=green!20,inner sep=0pt] {(0:1)}; \\ + - - (30:2) - - (-30:2) & - - +(30:2) - - +(-30:2) & - - ++\tikz \fill node[fill=green!20,inner sep=0pt] {(30:2)}; - - ++(-30:2) +\\ \hline +\end{tabular} + +%\subsubsection{coordonnée relative en polaire} +\Par{coordonnée relative en polaire}{Relative polar coordinate} + +\begin{center} +\RRR{13-4-2} +\end{center} +\bigskip + +\begin{tabular}{|c|c|} \hline +\multicolumn{2}{|c|}{ \BS{draw}[blue,very thick] (0,0) -- (2,1) -- ([turn]-45:1cm);} + \\ \hline +\begin{tikzpicture} %[scale=.8] +\draw[help lines] (0,0) grid (4,2); + \draw[dotted] (0,0) -- (4,2); + \draw[blue,very thick] (0,0) -- (2,1) -- ([turn]-45:1cm); +\end{tikzpicture} +& +\begin{tikzpicture} %[scale=.8] +\draw[help lines] (0,0) grid (4,2); + \draw[dotted] (0,0) -- (4,2); + \draw[blue,very thick] (0,0) -- (2,1) -- ([turn]45:1cm); +\end{tikzpicture} +\\ \hline ([\RDD{turn}]-45:1cm) & ([\RDD{turn}]45:1cm) \\ +\hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|} \hline +\begin{tikzpicture} +\draw[help lines] (-1,0) grid (4,3); +\draw [line width=2pt] (4,0) arc (0 :120 :2) -- ([turn]90:2cm) ; + +\end{tikzpicture} +& +\begin{tikzpicture} %[scale=.8] +\draw[help lines] (0,0) grid (4,3); +\draw [line width=2pt] (0,0) to [bend left] (2,2) -- ([turn]0:2cm); +\fill [red](2,2) circle (4pt); +\end{tikzpicture} +\\ \hline +\BS{draw} (4,0) arc (0 :120 :2) - - ([\RDD{turn}]90:2cm) ; +& \BS{draw} (0,0) to [bend left] (2,2) - - ([\RDD{turn}]0:2cm); \\ + +\hline +\end{tabular} + + +%\bigskip +% +% +%\tikz [delta angle=30, radius=1cm] +%\draw (0,0) arc [start angle=0] -- ([turn]0:1cm) +%arc [start angle=30] -- ([turn]0:1cm) +%arc [start angle=60] -- ([turn]30:1cm); + + + +\bigskip + +\begin{tabular}{|c|c|c|} \hline +\multicolumn{3}{|c|}{ \BS{draw}(1,2) +.. controls ([turn]0:2cm) .. ([turn]-90:2cm); } +\\ \hline +\begin{tikzpicture} %[scale=.8] +\draw[help lines] (0,0) grid (4,4); + \draw [line width=2pt] (1,2) +.. controls ([turn]0:2cm) .. ([turn]-90:2cm); +\end{tikzpicture} +& +\begin{tikzpicture} %[scale=.8] +\draw[help lines] (0,0) grid (4,4); + \draw [line width=2pt] (1,2) +.. controls ([turn]30:2cm) .. ([turn]-90:2cm); +\end{tikzpicture} +& +\begin{tikzpicture} %[scale=.8] +\draw[help lines] (-2,0) grid (2,4); + \draw [line width=2pt] (1,2) +.. controls ([turn]0:2cm) .. ([turn]90:2cm); + +\end{tikzpicture} +\\ \hline ([turn]0:2cm) .. ([turn]-90:2cm) & ([turn]30:2cm) .. ([turn]-90:2cm) & ([turn]0:2cm) .. ([turn]90:2cm) \\ +\hline +\end{tabular} + + +\tikzset{every picture/.style=blue,very thick,inner sep=.3333em} diff --git a/info/visualtikz/Source/tkzcoul.tex b/info/visualtikz/Source/tkzcoul.tex new file mode 100644 index 0000000000..702d772cc5 --- /dev/null +++ b/info/visualtikz/Source/tkzcoul.tex @@ -0,0 +1,808 @@ + +\SbSSCT{Couleurs de base }{Basic colors} + +\begin{tabular}{|c|c|c|c|c|} \hline +\fbox{\tikz \fill [black] (0,0)rectangle (2,1);} +& +\fbox{\tikz \fill [blue] (0,0)rectangle (2,1);} +& +\fbox{\tikz \fill [brown] (0,0)rectangle (2,1);} +& +\fbox{\tikz \fill [cyan] (0,0)rectangle (2,1);} +& +\fbox{\tikz \fill [darkgray] (0,0)rectangle (2,1);} +\\ \hline +black & blue & brown & cyan & darkgray +\\ \hline +\fbox{\tikz \fill [gray] (0,0)rectangle (2,1);} +& +\fbox{\tikz \fill [green] (0,0)rectangle (2,1);} +& +\fbox{\tikz \fill [lightgray] (0,0)rectangle (2,1);} +& +\fbox{\tikz \fill [lime] (0,0)rectangle (2,1);} +& +\fbox{\tikz \fill [magenta] (0,0)rectangle (2,1);} +\\ \hline +gray & green & lightgray & lime & magenta +\\ \hline +\fbox{\tikz \fill [olive] (0,0)rectangle (2,1);} +& +\fbox{\tikz \fill [orange] (0,0)rectangle (2,1);} +& +\fbox{\tikz \fill [pink] (0,0)rectangle (2,1);} +& +\fbox{\tikz \fill [purple] (0,0)rectangle (2,1);} +& +\fbox{\tikz \fill [red] (0,0)rectangle (2,1);} +\\ \hline +olive & orange & pink & purple & red +\\ \hline +\fbox{\tikz \fill [teal] (0,0)rectangle (2,1);} +& +\fbox{\tikz \fill [violet] (0,0)rectangle (2,1);} +& +\fbox{\tikz \fill [white] (0,0)rectangle (2,1);} +& +\fbox{\tikz \fill [yellow] (0,0)rectangle (2,1);} +& +\\ \hline +teal & violet & white & yellow & +\\ \hline +\end{tabular} + +\bigskip + +\noindent +\begin{tabular}{|c|c|c|c|c|} \hline +\fbox{\begin{tikzpicture}[baseline=-.5] + \fill [blue!10](0,0)rectangle (2,1); + \end{tikzpicture}} +& +\fbox{\begin{tikzpicture}[baseline=-.5] + \fill [blue!30](0,0)rectangle (2,1); + \end{tikzpicture}} + & +\fbox{\begin{tikzpicture}[baseline=-.5] + \fill [blue!50](0,0)rectangle (2,1); + \end{tikzpicture}} + & + \fbox{\begin{tikzpicture}[baseline=-.5] + \fill [blue!70](0,0)rectangle (2,1); + \end{tikzpicture}} + & + \fbox{\begin{tikzpicture}[baseline=-.5] + \fill [blue!70](0,0)rectangle (2,1); + \end{tikzpicture}} + \\ +\hline [blue!10] & [blue!30] &[blue!50] & [blue!70] & [blue!90]\\ +\hline +\end{tabular} + +\SbSSCT{Mélange de couleurs}{Colors mixing} + + +\begin{tabular}{|c|c|c|c|} \hline +\fbox{\begin{tikzpicture}[baseline=-.5] + \fill [blue!30!red](0,0)rectangle (2,1); + \end{tikzpicture}} +& +\fbox{\begin{tikzpicture}[baseline=-.5] + \fill [red!80!blue!20](0,0)rectangle (2,1); + \end{tikzpicture}} + & +\fbox{\begin{tikzpicture}[baseline=-.5] + \fill [red!80!blue!50](0,0)rectangle (2,1); + \end{tikzpicture}} + & + \fbox{\begin{tikzpicture}[baseline=-.5] + \fill [red!80!blue!50!black!40](0,0)rectangle (2,1); + \end{tikzpicture}} + \\ +\hline [blue!30!red] & [red!80!blue!20] &[red!80!blue!50] & [red!80!blue!50!black!40] \\ +\hline +\end{tabular} + +\SbSSCT{Créer son nom de couleur}{Naming a color} + +\begin{center} +\RRR{15-2} +\end{center} + +\SbSbSSCT{A pourcentage de rouge vert et bleue}{Percentage of red , green and blue} + + +\begin{tabular}{|c|c|} \hline +\definecolor{macouleur}{rgb}{.75,0.5,0.25} + +\fbox{\begin{tikzpicture}[baseline=-.5] +\fill [macouleur] (0,0)rectangle (2,1); +\end{tikzpicture}} +& +\parbox[b]{8cm}{ +\BSS{definecolor}\AC{{\color{red} macouleur}}\AC{rgb}\AC{.75,0.5,0.25}\\ +(75\% de rouge 50\% de vert 25\% de bleu)\\ + \BS{fill} [{\color{red} macouleur}] (0,0) rectangle (2,1); +} +\\ \hline +\end{tabular} + +\SbSbSSCT{A partir d'une couleur existante}{From existing color} + +\begin{tabular}{|c|c|} \hline +\colorlet{monrouge}{red!25} + +\fbox{\begin{tikzpicture}[baseline=-.5] + \fill [monrouge] (0,0)rectangle (2,1); + \end{tikzpicture}} +& +\parbox[b]{8cm}{ +\BSS{colorlet}\AC{{\color{red} monrouge}}\AC{red!25} + \\ + \BS{fill} [{\color{red} monrouge}] (0,0) rectangle (2,1); +} +\\ \hline +\colorlet{monviolet}{red!25!blue} +\fbox{\begin{tikzpicture}[baseline=-.5] + \fill [monviolet] (0,0)rectangle (2,1); + \end{tikzpicture}} +& +\parbox[b]{8cm}{ +\BSS{colorlet}\AC{{\color{red} monviolet}}\AC{red!25!blue} + \\ + \BS{fill} [{\color{red} monviolet}] (0,0) rectangle (2,1); +} +\\ \hline +\end{tabular} + +\newpage + +\SSCT{Opacité}{Opacity} + +\begin{center} +\RRR{23-2} +\end{center} + +\begin{tabular}{|c|c|c|c|c|} \hline +\multicolumn{5}{|c|}{\BS{draw}[red] (0,0) -- (2,1);\hspace{.5cm} \BS{draw} [blue,\RDD{draw opacity}=0] (0,1) - - (2,0);} + \\ \hline +\begin{tikzpicture}[line width=.5cm] +\draw[red] (0,0) -- (2,1); +\draw [blue,draw opacity=0] (0,1) -- (2,0); +\end{tikzpicture} +& +\begin{tikzpicture}[line width=.5cm] +\draw[red] (0,0) -- (2,1); +\draw [blue,draw opacity=0.25] (0,1) -- (2,0); +\end{tikzpicture} +& +\begin{tikzpicture}[line width=.5cm] +\draw[red] (0,0) -- (2,1); +\draw [blue,draw opacity=0.5] (0,1) -- (2,0); +\end{tikzpicture} +& +\begin{tikzpicture}[line width=.5cm] +\draw[red] (0,0) -- (2,1); +\draw [blue,draw opacity=0.75] (0,1) -- (2,0); +\end{tikzpicture} +& +\begin{tikzpicture}[line width=.5cm] +\draw[red] (0,0) -- (2,1); +\draw [blue,draw opacity=1] (0,1) -- (2,0); +\end{tikzpicture} + +\\ \hline +draw opacity=0 & draw opacity=0.25 & draw opacity=0.5 & draw opacity=0.75 & draw opacity=1\\ +\hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|c|c|} \hline +\multicolumn{4}{|c|}{\BS{fill}[red] (0,0) rectangle (1,1);\hspace{.5cm} \BS{fill}[blue,\RDD{transparent}] (0.5,0) rectangle (1.5,1);} + \\ \hline +\fbox{\begin{tikzpicture} +\fill[red] (0,0) rectangle (1,1); +\fill[blue,transparent] (0.5,0) rectangle (1.5,1); +\end{tikzpicture}} +& +\fbox{\begin{tikzpicture} +\fill[red] (0,0) rectangle (1,1); +\fill[blue,ultra nearly transparent] (0.5,0) rectangle (1.5,1); +\end{tikzpicture}} +& +\fbox{\begin{tikzpicture} +\fill[red] (0,0) rectangle (1,1); +\fill[blue,very nearly transparent] (0.5,0) rectangle (1.5,1); +\end{tikzpicture}} + +& +\fbox{\begin{tikzpicture} +\fill[red] (0,0) rectangle (1,1); +\fill[blue,nearly transparent] (0.5,0) rectangle (1.5,1); +\end{tikzpicture}} + +\\ \hline +\RDD{transparent} & \RDD{ultra nearly transparent} & \RDD{very nearly transparent} & \RDD{nearly transparent} \\ +\hline +\fbox{\begin{tikzpicture} +\fill[red] (0,0) rectangle (1,1); +\fill[blue,semitransparent] (0.5,0) rectangle (1.5,1); +\end{tikzpicture}} + +& +\fbox{\begin{tikzpicture} +\fill[red] (0,0) rectangle (1,1); +\fill[blue,nearly opaque] (0.5,0) rectangle (1.5,1); +\end{tikzpicture}} + +& +\fbox{\begin{tikzpicture} +\fill[red] (0,0) rectangle (1,1); +\fill[blue,very nearly opaque] (0.5,0) rectangle (1.5,1); +\end{tikzpicture}} + +& +\fbox{\begin{tikzpicture} +\fill[red] (0,0) rectangle (1,1); +\fill[blue,ultra nearly opaque] (0.5,0) rectangle (1.5,1); +\end{tikzpicture}} + +\\ \hline +\RDD{semitransparent} & \RDD{nearly opaque} & \RDD{very nearly opaque} & \RDD{ultra nearly opaque} +\\ \hline +\fbox{\begin{tikzpicture} +\fill[red] (0,0) rectangle (1,1); +\fill[blue,opaque] (0.5,0) rectangle (1.5,1); +\end{tikzpicture}} + +& +\fbox{\begin{tikzpicture} +\fill[red] (0,0) rectangle (1,1); +\fill[blue,fill opacity=.25] (0.5,0) rectangle (1.5,1); +\end{tikzpicture}} +& +\fbox{\begin{tikzpicture} +\fill[red] (0,0) rectangle (1,1); +\fill[blue,fill opacity=.5] (0.5,0) rectangle (1.5,1); +\end{tikzpicture}} +& +\fbox{\begin{tikzpicture} +\fill[red] (0,0) rectangle (1,1); +\fill[blue,fill opacity=.75] (0.5,0) rectangle (1.5,1); +\end{tikzpicture}} + +\\ \hline +\RDD{opaque} & \RDD{fill opacity}=.25 & \RDD{fill opacity}=.5 & \RDD{fill opacity}=.75 +\\ \hline +\end{tabular} + +\bigskip + + +\begin{tabular}{|c|c|c|c|c|} \hline +\multicolumn{5}{|c|}{\BS{node} at (1,1) [\RDD{text opacity}=1] \AC{ \BS{Huge} texte} ;} + \\ \hline +\fbox{\tikz{ +\node at (1,1) [text opacity=1] {\Huge texte} ; }} +& +\fbox{\tikz{ +\node at (1,1) [text opacity=.75] {\Huge texte} ; }} +& +\fbox{\tikz{ +\node at (1,1) [text opacity=.5] {\Huge texte} ; }} +& +\fbox{\tikz{ +\node at (1,1) [draw,text opacity=.25] {\Huge texte} ; }} +& +\fbox{\tikz{ +\node at (1,1) [draw,text opacity=0] {\Huge texte} ;= }} +\\ \hline +text opacity=1 & text opacity=0.75 & text opacity=0.5 & opacity=0.25 & text opacity=0 +\\ \hline +\end{tabular} + +\newpage + +\subsection{Blend Modes} + +\begin{center} +\RRR{23-3} +\end{center} + +\begin{tabular}{|c|c|c|} \hline +\tikz [blend group=normal] { +\fill[red!50] ( 90:.6) circle (1); +\fill[green!50] (210:.6) circle (1); +\fill[blue!50] (330:.6) circle (1); +} +& +\tikz [blend group=multiply ] { +\fill[red!50] ( 90:.6) circle (1); +\fill[green!50] (210:.6) circle (1); +\fill[blue!50] (330:.6) circle (1); +} +& +\tikz [blend group=screen] { +\fill[red!50] ( 90:.6) circle (1); +\fill[green!50] (210:.6) circle (1); +\fill[blue!50] (330:.6) circle (1); +} +\\ \hline +blend group=\BDD{normal} & blend group=\BDD{multiply} & blend group=\BDD{screen} +\\ \hline +\tikz [blend group=overlay] { +\fill[red!50] ( 90:.6) circle (1); +\fill[green!50] (210:.6) circle (1); +\fill[blue!50] (330:.6) circle (1); +} +& +\tikz [blend group=darken] { +\fill[red!50] ( 90:.6) circle (1); +\fill[green!50] (210:.6) circle (1); +\fill[blue!50] (330:.6) circle (1); +} +& +\tikz [blend group=lighten] { +\fill[red!50] ( 90:.6) circle (1); +\fill[green!50] (210:.6) circle (1); +\fill[blue!50] (330:.6) circle (1); +} +\\ \hline + blend group=\BDD{overlay} & blend group=\BDD{darken} & blend group=\BDD{lighten} +\\ \hline +\tikz [blend group=difference] { +\fill[red!50] ( 90:.6) circle (1); +\fill[green!50] (210:.6) circle (1); +\fill[blue!50] (330:.6) circle (1);} +& +\tikz [blend group=exclusion] { +\fill[red!50] ( 90:.6) circle (1); +\fill[green!50] (210:.6) circle (1); +\fill[blue!50] (330:.6) circle (1);} +& +\tikz [blend group=hue] { +\fill[red!50] ( 90:.6) circle (1); +\fill[green!50] (210:.6) circle (1); +\fill[blue!50] (330:.6) circle (1); +} +\\ \hline + blend group=\BDD{difference} & blend group=\BDD{exclusion} & blend group=\BDD{hue} +\\ \hline +\tikz [blend group=saturation] { +\fill[red!50] ( 90:.6) circle (1); +\fill[green!50] (210:.6) circle (1); +\fill[blue!50] (330:.6) circle (1); +} +& +\tikz [blend group=color] { +\fill[red!50] ( 90:.6) circle (1); +\fill[green!50] (210:.6) circle (1); +\fill[blue!50] (330:.6) circle (1); +} +& +\tikz [blend group=luminosity] { +\fill[red!50] ( 90:.6) circle (1); +\fill[green!50] (210:.6) circle (1); +\fill[blue!50] (330:.6) circle (1);} +\\ \hline + blend group=\BDD{saturation} & blend group=\BDD{color} & blend group=\BDD{luminosity} +\\ \hline +\end{tabular} + +\bigskip +\begin{tabular}{|c|c|c|c|} \hline +\multicolumn{4}{|c|}{\TFRGB{A revoir message d'erreur}{Error message } Unknow blend mode ! } +\\ \hline +%\tikz [blend group=colordodge] { +%\fill[red!50] ( 90:.6) circle (1); +%\fill[green!50] (210:.6) circle (1); +%\fill[blue!50] (330:.6) circle (1); +%} +& +%\tikz [blend group=colorburn] { +%\fill[red!50] ( 90:.6) circle (1); +%\fill[green!50] (210:.6) circle (1); +%\fill[blue!50] (330:.6) circle (1); +%} + +& +%\tikz [blend group=hardlight] { +%\fill[red] ( 90:.6) circle (1); +%\fill[green] (210:.6) circle (1); +%\fill[blue] (330:.6) circle (1); +%} +& +%\tikz [blend group=softlight] { +%\fill[red] ( 90:.6) circle (1); +%\fill[green] (210:.6) circle (1); +%\fill[blue] (330:.6) circle (1); +%} +\\ \hline +blend group=colordodge & blend group=colorburn & blend group=hardlight & blend group=softlight \\ +\hline +\end{tabular} + +\newpage + +%================== +\subsection{Fading} + + + \maboite{\BS{usetikzlibrary}\AC{fadings}} + +\label{lib-fadings} + +\SbSbSSCT{Modèles prédéfinis }{Preset patterns} + +\begin{center} + \RRR{51} +\end{center} + +\begin{tabular}{|c|c|c|c|} \hline +\multicolumn{4}{|l|}{ \BS{fill} [blue,\RDD{path fading}=north] (-1,-1) rectangle (1,1);} +\\ \hline +\begin{tikzpicture} + \draw (-1,-1) rectangle (1,1); +\fill [blue,path fading=north] (-1,-1) rectangle (1,1); +\end{tikzpicture} +& +\begin{tikzpicture} + \draw (-1,-1) rectangle (1,1); +\fill [blue,path fading=south] (-1,-1) rectangle (1,1); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw (-1.2,-1.2) rectangle (1.2,1.2); +\fill [path fading=east] (-1,-1) rectangle (1,1); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw (-1.2,-1.2) rectangle (1.2,1.2); +\fill [path fading=west] (-1,-1) rectangle (1,1); +\end{tikzpicture} +\\ \hline +path fading=north & path fading=south & path fading=east & path fading=west +\\ \hline +\end{tabular} + +\begin{tabular}{|c|c|} \hline +\begin{tikzpicture} + \draw (-1,-1) rectangle (1,1); +\fill [blue,path fading=circle with fuzzy edge 10 percent] (-1,-1) rectangle (1,1); +\end{tikzpicture} +& +\begin{tikzpicture} + \draw (-1,-1) rectangle (1,1); +\fill [blue,path fading=circle with fuzzy edge 15 percent] (-1,-1) rectangle (1,1); +\end{tikzpicture} +\\ \hline +path fading=circle with fuzzy edge 10 percent & path fading=circle with fuzzy edge 15 percent +\\ \hline +\begin{tikzpicture} + \draw (-1,-1) rectangle (1,1); +\fill [blue,path fading=circle with fuzzy edge 20 percent] (-1,-1) rectangle (1,1); +\end{tikzpicture} +& +\begin{tikzpicture} + \draw (-1,-1) rectangle (1,1); +\fill [blue,path fading=fuzzy ring 15 percent] (-1,-1) rectangle (1,1); +\end{tikzpicture} +\\ \hline +path fading=circle with fuzzy edge 20 percent & path fading=fuzzy ring 15 percent +\\ \hline +\end{tabular} + +%\subsubsection{Création de décoloration avec tikzfadingfrompicture} +\SbSbSSCT{Création de décoloration avec tikzfadingfrompicture}{Own patterns of fading with tikzfadingfrompicture} + +\begin{center} + \RRR{23-4-1} +\end{center} + +\noindent +\begin{tabular}{|c|c|} \hline +\emph{\TFRGB{Création}{Creation}} & \emph{\TFRGB{Visualisation}{Visualization}} +\\ \hline +\parbox[c]{11cm}{ +\ESS{tikzfadingfrompicture}[\RDD{name}=filtre] \\ +\BS{shade}[left color=yellow,right color=blue!100] (0,0) rectangle (2,2); \\ +\BS{fill}[blue!50] (1,1) circle (0.7);\\ +\BS{end\AC{tikzfadingfrompicture}} } +& +\begin{tikzpicture}[baseline=1cm] +\shade[left color=yellow,right color=blue!100] (0,0) rectangle (2,2); +\fill[blue!50] (1,1) circle (0.7); +\end{tikzpicture} +\\ \hline +\parbox[c]{11cm}{ +\ESS{tikzfadingfrompicture}[\RDD{name}=tikz] \\ +\BS{node} [draw,text=transparent!20] \\ +\AC{\BS{fontfamily}\AC{ptm}\BS{fontsize}\AC{25}\AC{25}\BS{bfseries}\BS{selectfont} TikZ};\\ +\BS{end\AC{tikzfadingfrompicture}} } +& +\begin{tikzpicture}[baseline=-.3cm] +\node [draw,text=transparent!20] +{\fontfamily{ptm}\fontsize{25}{25}\bfseries\selectfont TikZ}; +\end{tikzpicture} + \\ \hline +\end{tabular} + +%\begin{tabular}{|c|c|c|} \hline +\begin{tikzfadingfrompicture}[name=filtre] +\shade[left color=yellow,right color=blue!100] (0,0) rectangle (2,2); +\fill[blue!50] (1,1) circle (0.7); +\end{tikzfadingfrompicture} + + +\begin{tikzfadingfrompicture}[name=tikz] +\node [text=transparent!20] +{\fontfamily{ptm}\fontsize{25}{25}\bfseries\selectfont Ti\emph{k}Z}; +\end{tikzfadingfrompicture} + +\bigskip + +\begin{tabular}{|c|c|} \hline +\multicolumn{2}{|c|}{ \TFRGB{Utilisation dans un rectangle}{Use in a frame}} + \\ \hline +\multicolumn{2}{|c|}{\BS{fill}[\RDD{path fading}=filtre] (-2,-1) rectangle (2,1); } + +\\ \hline +\begin{tikzpicture} +\draw(-2,-1) rectangle (2,1); +\fill[path fading=filtre] (-2,-1) rectangle (2,1); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw(-2,-1) rectangle (2,1); +\fill[path fading=tikz] (-2,-1) rectangle (2,1); +\end{tikzpicture} +\\ \hline +[\RDD{path fading}=filtre] & [\RDD{path fading}=tikz] +\\ \hline +\begin{tikzpicture} +\draw(-2,-1) rectangle (2,1); +\fill[path fading=filtre ,fit fading=false] (-2,-1) rectangle (2,1); +\end{tikzpicture} +& +\begin{tikzpicture} +% Background +\draw(-2,-1) rectangle (2,1); +\fill[path fading=tikz,fit fading=false] (-2,-1) rectangle (2,1); +\end{tikzpicture} +\\ \hline +[path fading=filtre ,\RDD{fit fading}=false] & [path fading=tikz,\RDD{fit fading}=false] +\\ +\hline +\begin{tikzpicture} +% Background +\draw(-2,-1) rectangle (2,1); +\fill[path fading=filtre ,left color=blue,right color=red] (-2,-1) rectangle (2,1); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw(-2,-1) rectangle (2,1); +\fill[path fading=tikz,left color=blue,right color=red] (-2,-1) rectangle (2,1); +\end{tikzpicture} +\\ \hline left color=blue,right color=red & [path left color=blue,right color=red \\ +\hline + +\begin{tikzpicture} + Background +\draw(-2,-1) rectangle (2,1); +\fill[path fading=filtre ,red] (-2,-1) rectangle (2,1); +\end{tikzpicture} +& +\begin{tikzpicture} + Background +\draw(-2,-1) rectangle (2,1); +\fill[path fading=tikz,red] (-2,-1) rectangle (2,1); +\end{tikzpicture} +\\ \hline +[path fading=filtre ,red] & [path fading=tikz,red] \\ +\hline +\end{tabular} + +\bigskip + + +\begin{tabular}{|c|c|} \hline +\multicolumn{2}{|c|}{\TFRGB{Utilisation dans un ellipse}{Use in an ellipse}} + \\ \hline +\multicolumn{2}{|c|}{\BS{fill}[\RDD{path fading}=filtre] (-2,-1) ellipse (2 and 1); } +\\ \hline +\begin{tikzpicture} +\draw (-2,-1) ellipse (2 and 1); +\fill[path fading=filtre] (-2,-1) ellipse (2 and 1); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw (-2,-1) ellipse (2 and 1 ); +\fill[path fading=tikz] (-2,-1) ellipse (2 and 1); +\end{tikzpicture} +\\ \hline +[\RDD{path fading}=filtre] & [\RDD{path fading}=tikz] +\\ \hline +\end{tabular} + + + +%\subsection{Création de décoloration avec tikzfading} +\SbSSCT{Création de décoloration avec tikzfading}{Creating fading patterns with tikzfading} + +\begin{tabular}{|c|c|} \hline +\parbox[c]{11cm}{ +\BSS{tikzfading}[\RDD{name}={\color{purple} fade right}, +left color=transparent!0, +right color=transparent!100]\\ \\ +\BS{tikz} \BS{filldraw} [red,\RDD{path fading}={\color{purple} fade right}] (-1,-1) rectangle (1,1);} +& +\tikzfading[name=fade right, +left color=transparent!0, +right color=transparent!100] + +\tikz[baseline=0pt] \filldraw [red,path fading=fade right] (-1,-1) rectangle (1,1); +\\ \hline +\parbox[c]{11cm}{ +\BSS{tikzfading}[\RDD{name}={\color{purple}fade out}, +inner color=transparent!0, +outer color=transparent!100]\\ \\ +\BS{tikz} \BS{filldraw} [blue,\RDD{path fading}={\color{purple} fade out}] (-1,-1) rectangle (1,1);} +& +\tikzfading[name=fade out, +inner color=transparent!0, +outer color=transparent!100] + +\tikz[baseline=0pt] \filldraw [blue,path fading=fade out] (-1,-1) rectangle (1,1); + +\\ \hline +\parbox[c]{11cm}{ +\BSS{tikzfading}[\RDD{name}={\color{purple}fade inside}, +inner color=transparent!80, +outer color=transparent!10]\\ \\ +\BS{tikz} \BS{filldraw} [blue,\RDD{path fading}={\color{purple} fade inside}] (-1,-1) rectangle (1,1);} +& +\tikzfading[name=fade inside, +inner color=transparent!80, +outer color=transparent!10] + +\tikz[baseline=0pt] \filldraw [blue,path fading= fade inside] (-1,-1) rectangle (1,1); +\\ \hline +\parbox[c]{11cm}{ +\BSS{tikzfading}[\RDD{name}={\color{purple}middle}, +top color=transparent!80, +bottom color=transparent!80, +middle color=transparent!20]\\ \\ +\BS{tikz} \BS{filldraw} [blue,\RDD{path fading}={\color{purple} middle}] (-1,-1) rectangle (1,1);} +& +\tikzfading[name=middle, +top color=transparent!80, +bottom color=transparent!80, +middle color=transparent!20] + +\tikz[baseline=0pt] \filldraw [blue,path fading= middle] (-1,-1) rectangle (1,1); + +\\ \hline +\end{tabular} + +\SbSbSSCT{Modification de la décoloration }{Modification of the fading pattern} + +\begin{center} +\RRR{23-4-2} +\end{center} + + +\begin{tabular}{|c|c|c|} \hline +\multicolumn{3}{|l|}{ \BS{fill} [blue,path fading=north,fading transform=\AC{yshift=-.5cm}] (-1,-1) rectangle (1,1);} +\\ \hline +\begin{tikzpicture} + \draw (-1,-1) rectangle (1,1); +\fill [blue,path fading=north,fading transform={yshift=-.5cm}](-1,-1) rectangle (1,1); +\end{tikzpicture} +& +\begin{tikzpicture} + \draw (-1,-1) rectangle (1,1); +\fill [blue,path fading=north,fading transform={rotate=30}](-1,-1) rectangle (1,1); +\end{tikzpicture} +& +\begin{tikzpicture} + \draw (-1,-1) rectangle (1,1); +\fill [blue,path fading=north,fading angle=30](-1,-1) rectangle (1,1); +\end{tikzpicture} +\\ \hline +\RDD{fading transform}=\AC{yshift=-.5cm} & \RDD{fading transform}=\AC{yshift=-.5cm} & \RDD{fading angle}=30 +\\ \hline +\end{tabular} + +\bigskip + +\begin{center} +\RRR{23-4-3} +\end{center} + +\begin{tabular}{|c|c|} \hline +\parbox[b]{10cm}{ + \BS{begin}\AC{tikzpicture} \\ + \BS{draw} (-1,-1) rectangle (1,1);\\ + \BS{path} [\RDD{scope fading}=east] (-1,-1) rectangle (1,1);\\ + \BS{fill}[red] ( 90:1) circle (1);\\ + \BS{fill}[green] (210:1) circle (1);\\ + \BS{fill}[blue] (330:1) circle (1); \\ + \BS{end}\AC{tikzpicture} \\ + } +& + \begin{tikzpicture} + \draw (-1,-1) rectangle (1,1); + \path [scope fading=east] (-1,-1) rectangle (1,1); + \fill[red] ( 90:1) circle (1); + \fill[green] (210:1) circle (1); + \fill[blue] (330:1) circle (1); + \end{tikzpicture} + \\ \hline +\end{tabular} + + +\bigskip +\begin{tabular}{|c|c|} \hline +\parbox[c]{8cm}{ +\BS{tikz} \BS{node} [black,\RDD{scope fading}=south,fading angle=45,text width=5cm] \\ +\AC{ +VisualTIKZ VisualTIKZ VisualTIKZ VisualTIKZ VisualTIKZ VisualTIKZ VisualTIKZ VisualTIKZ VisualTIKZ VisualTIKZ VisualTIKZ VisualTIKZ VisualTIKZ +}; + } +& +\tikz \node [black,scope fading=south,fading angle=45,text width=5cm] +{ +VisualTIKZ VisualTIKZ VisualTIKZ VisualTIKZ VisualTIKZ VisualTIKZ VisualTIKZ VisualTIKZ VisualTIKZ VisualTIKZ VisualTIKZ VisualTIKZ VisualTIKZ +}; + \\ \hline +\end{tabular} + +\subsection{Transparency Groups} + +\begin{center} +\RRR{23-5} +\end{center} + +\begin{tabular}{|c|c|} \hline +\multicolumn{2}{|l|}{\BS{begin}\AC{tikzpicture}[opacity=.5]} \\ +\multicolumn{2}{|l|}{ \BS{draw} [line width=1cm] (0,0) -- (2,2); }\\ +\multicolumn{2}{|l|}{ \BS{draw} [line width=1cm] (0,2) -- (2,0); }\\ +\multicolumn{2}{|l|}{\BS{end}\AC{tikzpicture}} + \\ \hline +\begin{tikzpicture}[opacity=.5] +\draw [line width=1cm] (0,0) -- (2,2); +\draw [line width=1cm] (0,2) -- (2,0); +\end{tikzpicture} +& +\begin{tikzpicture}[opacity=.5,transparency group] +\draw [line width=1cm] (0,0) -- (2,2); +\draw [line width=1cm] (0,2) -- (2,0); +\end{tikzpicture} + \\ +\hline [opacity=.5] & [opacity=.5,\RDD{transparency group}] \\ +\hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|} \hline +\multicolumn{2}{|c|}{\TFRGB{A revoir : ne fonctionne pas}{Not working !} } +\\ \hline +\parbox[c]{9cm}{ +\BS{begin}\AC{tikzpicture} \\ +\BS{shade} [left color=red,right color=blue] (-2,-1) rectangle (2,1); \\ +\BS{begin}\AC{scope}[transparency group=knockout] \\ +\BS{fill]}[white] (-1.9,-.9) rectangle (1.9,.9); \\ +\BS{node} [opacity=0] {TikZ}; \\ +\BS{end}\AC{scope} \\ +\BS{end}\AC{tikzpicture} +} +& +\begin{tikzpicture}[baseline=0pt] +\shade [left color=red,right color=blue] (-2,-1) rectangle (2,1); +\fill [white] (-1.9,-.9) rectangle (1.9,.9); +\node [opacity=0,transparency group=knockout]{TikZ}; +\end{tikzpicture} +\\ \hline +\end{tabular} diff --git a/info/visualtikz/Source/tkzdatavisual.tex b/info/visualtikz/Source/tkzdatavisual.tex new file mode 100644 index 0000000000..3de1fdd0af --- /dev/null +++ b/info/visualtikz/Source/tkzdatavisual.tex @@ -0,0 +1,263 @@ +\RRR{75-2 = Concept: Data Points and Data Formats} + +\begin{tikzpicture} +\datavisualization [school book axes, visualize as smooth line] +data { +x, y +-1.5, 2.25 +-1, 1 +-.5, .25 +0, 0 +.5, .25 +1, 1 +1.5, 2.25 +}; +\end{tikzpicture} + + +\begin{tikzpicture} +\datavisualization [school book axes, visualize as smooth line] +data [format=function] { +var x : interval [-1.5:1.5] samples 7; +func y = \value x*\value x; +}; +\end{tikzpicture} + + +\begin{tikzpicture} +\datavisualization [school book axes, visualize as smooth line] +data [format=function] { +var x : interval [-1.5:1.5] samples 3; +func y = \value x*\value x; +}; +\end{tikzpicture} + +Section 76 gives an in-depth coverage of the available data formats and explains how new data formats +can be defined. + + +\RRR{75-3 = Concept: Axes, Ticks, and Grids} + + +\begin{tikzpicture} +\datavisualization [ +scientific axes, +x axis={length=3cm, ticks=few}, +visualize as smooth line +] +data [format=function] { +var x : interval [-1.5:1.5] samples 20; +func y = \value x*\value x; +}; +\end{tikzpicture} + +\begin{tikzpicture} +\datavisualization [ +scientific axes=clean, +x axis={length=3cm, ticks=few}, +all axes={grid}, +visualize as smooth line +] +data [format=function] { +var x : interval [-1.5:1.5] samples 7; +func y = \value x*\value x; +}; +\end{tikzpicture} + +Section 77 explains in more detail how axes, ticks, and grid lines can be chosen and configured. + + +\RRR {75-4 = Concept: Visualizers} + +\begin{tikzpicture} +\datavisualization [ +scientific axes=clean, +x axis={length=3cm, ticks=few}, +visualize as smooth line +] +data [format=function] { +var x : interval [-1.5:1.5] samples 7; +func y = \value x*\value x; +}; +\end{tikzpicture} + +\begin{tikzpicture} +\datavisualization [ +scientific axes=clean, +x axis={length=3cm, ticks=few}, +visualize as scatter +] +data [format=function] { +var x : interval [-1.5:1.5] samples 7; +func y = \value x*\value x; +}; +\end{tikzpicture} + +Section 78 provides more information on visualizers as well as reference lists. + +\RRR{75-5 = Concept: Style Sheets and Legends } + +\begin{tikzpicture}[baseline] +\datavisualization [ scientific axes=clean, +y axis=grid, +visualize as smooth line/.list={sin,cos,tan}, +style sheet=strong colors, +style sheet=vary dashing, +sin={label in legend={text=$\sin x$}}, +cos={label in legend={text=$\cos x$}}, +tan={label in legend={text=$\tan x$}}, +data/format=function ] +data [set=sin] { +var x : interval [-0.5*pi:4]; +func y = sin(\value x r); +} +data [set=cos] { +var x : interval [-0.5*pi:4]; +func y = cos(\value x r); +} +data [set=tan] { +var x : interval [-0.3*pi:.3*pi]; +func y = tan(\value x r); +}; +\end{tikzpicture} + + +Section 79 details style sheets and legends. + +\RRR{75-6 = Usage} + +\subsection{/pgf/data/read from file=filename} (no default, initially empty) + +If you set the source attribute to a non-empty hfilenamei, the data will be read from this file. In +this case, no hinline datai may be present, not even empty curly braces should be provided. +%\datavisualization ... +data [read from file=file1.csv] +data [read from file=file2.csv]; +The other way round, if read from file is empty, the data must directly follow as hinline datai. +%\datavisualization ... +data { +x, y +1, 2 +2, 3 +}; + +The second important key is format, which is used to specify the data format: + +\subsection{/pgf/data/format} + +Use this key to locally set the format used for parsing the data, see Section 76 for a list of predefined +formats. + +\tikz +\datavisualization [school book axes, visualize as line] +data [/data point/x=1] { +y +1 +2 +} +data [/data point/x=2] { +y +2 +0 +.5 +}; + +\BS{datavisualization} . . . data point[options] . . . ; + +\tikz \datavisualization [school book axes, visualize as line] +data point [x=1, y=1] data point [x=1, y=2] +data point [x=2, y=2] data point [x=2, y=0.5]; + +/tikz/data visualization/data point=options + +\tikzdatavisualizationset{ +horizontal/.style={ +data point={x=#1, y=1}, data point={x=#1, y=2}}, +} +\tikz \datavisualization +[ school book axes, visualize as line, +horizontal=1, +horizontal=2 ]; + +\BS{datavisualization} . . . data group[options]\AC{name}+=\AC{data specifications} . . . ; + + +\tikz \datavisualization data group {points} = { +data { +x, y +0, 1 +1, 2 +2, 2 +5, 1 +2, 0 +1, 1 +} +}; + +\tikz \datavisualization [school book axes, visualize as line] data group {points}; +\qquad +\tikz \datavisualization [scientific axes=clean, visualize as line] data group {points}; + + +\BS{datavisualization} . . . scope[options]{data specification} . . . ; + +%\datavisualization... +%scope [/data point/experiment=7] +%{ +%data [read from file=experiment007-part1.csv] +%data [read from file=experiment007-part2.csv] +%data [read from file=experiment007-part3.csv] +%} +%scope [/data point/experiment=23, format=foo] +%{ +%data [read from file=experiment023-part1.foo] +%data [read from file=experiment023-part2.foo] +%}; + + +\BS{datavisualization} . . . info[options]{code} . . . ; + +\begin{tikzpicture}[baseline] +\datavisualization [ school book axes, visualize as line ] +data [format=function] { +var x : interval [-0.1*pi:2]; +func y = sin(\value x r); +} +info { +\draw [red] (visualization cs: x={(.5*pi)}, y=1) circle [radius=1pt] +node [above,font=\footnotesize] {extremal point}; +}; +\end{tikzpicture} + +\subsection{Coordinate system visualization} + +\BS{datavisualization} . . . info’[options]{code} . . . ; + +\begin{tikzpicture}[baseline] +\datavisualization [ school book axes, visualize as line ] +data [format=function] { +var x : interval [-0.1*pi:2]; +func y = sin(\value x r); +} +info' { +\fill [red] (visualization cs: x={(.5*pi)}, y=1) circle [radius=2mm]; +}; +\end{tikzpicture} + + +\subsection{Predefined node data visualization bounding box} +This rectangle node stores a bounding box of the data visualization that is currently being constructed. +This node can be useful inside info commands or when labels need to be added. + +\subsection{Predefined node data bounding box} +This rectangle node is similar to data visualization bounding box, but it keeps track only of the actual +data. The spaces needed for grid lines, ticks, axis labels, tick labels, and other all other information +that is not part of the actual data is not part of this box. + + +\RRR{75-7 = Advanced: Executing User Code During a Data Visualization} + +\RRR{75-8 = Advanced: Creating New Objects} + + +\section{76 Providing Data for a Data Visualization} diff --git a/info/visualtikz/Source/tkzdeco.tex b/info/visualtikz/Source/tkzdeco.tex new file mode 100644 index 0000000000..46684f232f --- /dev/null +++ b/info/visualtikz/Source/tkzdeco.tex @@ -0,0 +1,2933 @@ + + +\subsection{Library \og decorations.pathmorphing \fg} + +\label{lib-morph} +\begin{center} +\RRR{48-2} +\end{center} + +\subsubsection{\og lineto \fg} + +\begin{tabular}{|c|c|c|} \hline +\begin{tikzpicture} +\draw [dotted,red](0,0) -- (2,2) ; +\draw [decorate,decoration=lineto] +(0,0) -- (2,2) ; +\end{tikzpicture} +& +\begin{tikzpicture} +\draw [dotted,red] (1,1) circle (1); +\draw [decorate,decoration=lineto] +(1,1) circle (1); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw [dotted,red] +(0,0) arc (0:180:3 and 2) ; +\draw [decorate,decoration=lineto] +(0,0) arc (0:180:3 and 2); +\end{tikzpicture} +\\ \hline +(0,0) - - (2,2) & (1,1) circle (1) & (0,0) arc (0:180:3 and 2)\\ \hline +\end{tabular} + +\subsubsection{ \og straight zigzag \fg} + +\begin{tabular}{|c|c|c|} \hline +\multicolumn{3}{|c|}{\BSS{draw}[decorate,\RDD{decoration}=\RDDX{straight zigzag}{decoration}] (0,0) - - (2,2) ;} +\\ \hline +\begin{tikzpicture} +\draw [dotted,red](0,0) -- (2,2) ; +\draw [decorate,decoration=straight zigzag](0,0) -- (2,2) ; +\end{tikzpicture} +& +\begin{tikzpicture} +\draw [dotted,red] (1,1) circle (1); +\draw [decorate,decoration=straight zigzag](1,1) circle (1); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw [dotted,red] +(0,0) arc (0:180:3 and 2); +\draw [decorate,decoration=straight zigzag] +(0,0) arc (0:180:3 and 2); +\end{tikzpicture} +\\ \hline +(0,0) - - (2,2) & (1,1) circle (1) & (0,0) arc (0:180:3 and 2); \\ +\hline +\end{tabular} + +\bigskip + +\begin{tabular}{|l|c|c|} \hline +\multicolumn{2}{|c|}{\BSS{draw}[decorate,decoration=\AC{straight zigzag,\RDD{meta-segment length}=2cm}] (0,0) - - (10,0);}& \dft + \\ \hline +\RDD{meta-segment length}=2cm +& +\begin{tikzpicture}[baseline=0pt] +\draw[red!20] (0,-0.5) grid (10,0.5); +\draw[dotted,red] (0,0) -- (10,0); +\draw[decorate,decoration={straight zigzag,meta-segment length=2cm}] (0,0) -- (10,0); +\end{tikzpicture} +& 1cm +\\ \hline +\RDD{amplitude}=0.5cm +& +\begin{tikzpicture}[baseline=0pt] +\draw[red!20] (0,-0.5) grid (10,0.5); +\draw[dotted,red] (0,0) -- (10,0); +\draw[decorate,decoration={straight zigzag,amplitude=0.5cm}] (0,0) -- (10,0); +\end{tikzpicture} +& 2.5pt +\\ \hline +\RDD{segment length}=1cm +& +\begin{tikzpicture}[baseline=0pt] +\draw[red!20] (0,-0.5) grid (10,0.5); +\draw[dotted,red] (0,0) -- (10,0); +\draw[decorate,decoration={straight zigzag,segment length=1cm}] (0,0) -- (10,0); +\end{tikzpicture} +& 10pt +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|c|} \hline +\multicolumn{3}{|c|}{ \BSS{draw}[decorate,decoration=}\\ +\multicolumn{3}{|c|}{\AC{straight zigzag,\RDD{meta-segment length}=0.5cm}] (1,1) circle (1); } + \\ \hline +\begin{tikzpicture}[baseline=0pt] +\draw [dotted,red](1,1) circle (1); +\draw [decorate,decoration={straight zigzag,meta-segment length=0.5cm}] +(1,1) circle (1); +\end{tikzpicture} +& +\begin{tikzpicture}[baseline=0pt] +\draw [dotted,red](1,1) circle (1); +\draw [decorate,decoration={straight zigzag,amplitude=0.5cm}] +(1,1) circle (1); +\end{tikzpicture} +& +\begin{tikzpicture}[baseline=0pt] +\draw [dotted,red](1,1) circle (1); +\draw [decorate,decoration={straight zigzag,segment length=5pt}] +(1,1) circle (1); +\end{tikzpicture} +\\ \hline + \RDD{meta-segment length}=2cm & \RDD{amplitude}=0.5cm & \RDD{segment length}=5pt +\\ \hline +\end{tabular} + +\subsubsection{\og random steps \fg } +\label{alea} + +\begin{tabular}{|c|c|c|} \hline +\multicolumn{3}{|c|}{\BSS{draw}[decorate,\RDD{decoration}=\RDDX{random steps}{decoration}] (0,0) - - (2,2) ;} +\\ \hline +\begin{tikzpicture} +\draw [dotted,red](0,0) -- (2,2) ; +\draw [decorate,decoration=random steps] +(0,0) -- (2,2) ; +\end{tikzpicture} +& +\begin{tikzpicture} +\draw [dotted,red] (1,1) circle (1); +\draw [decorate,decoration=random steps] +(1,1) circle (1); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw [dotted,red] +(0,0) arc (0:180:3 and 2); +\draw [decorate,decoration=random steps] +(0,0) arc (0:180:3 and 2); +\end{tikzpicture} +\\ \hline +(0,0) -- (2,2) & (1,1) circle (1) & (0,0) arc (0:180:3 and 2)\\ +\hline +\end{tabular} + +\bigskip + +\begin{tabular}{|l|c|c|} \hline +\multicolumn{2}{|c|}{\BSS{draw}[decorate,decoration=\AC{random steps,\RDD{segment length}=2cm}] (0,0) - - (10,0);} & \dft +\\ \hline +\RDD{segment length}=2pt +& +\begin{tikzpicture}[baseline=0pt] +\draw[red!20] (0,-.5) grid (10,.5); +\draw[dotted,red] (0,0) -- (10,0); \draw[decorate,decoration={random steps,segment length=2pt}] (0,0) -- (10,0); +\end{tikzpicture} +& 10pt \\ +\RDD{segment length}=1cm +& +\begin{tikzpicture}[baseline=0pt] +\draw[red!20] (0,-.5) grid (10,.5); +\draw[dotted,red] (0,0) -- (10,0); \draw[decorate,decoration={random steps,segment length=1cm}] (0,0) -- (10,0); +\end{tikzpicture} +& +\\ \hline +\RDD{amplitude}=0.5cm +& +\begin{tikzpicture}[baseline=0pt] +\draw[red!20] (0,-.5) grid (10,.5); +\draw[dotted,red] (0,0) -- (10,0); \draw[decorate,decoration={random steps,amplitude=0.5cm}] (0,0) -- (10,0); +\end{tikzpicture} +& 2.5pt +\\ \hline +\parbox{4cm}{ +\RDD{amplitude}=0.5cm\\ +,\RDD{segment length}=1cm} +& +\begin{tikzpicture}[baseline=0pt] +\draw[red!20] (0,-.5) grid (10,.5); +\draw[dotted,red] (0,0) -- (10,0); \draw[decorate,decoration={random steps,amplitude=0.5cm,segment length=1cm}] (0,0) -- (10,0); +\end{tikzpicture} +& +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|c|} \hline +\multicolumn{3}{|c|}{ \BSS{draw}[decorate,decoration= +\AC{random steps,\RDD{segment length}=2cm}] (1,1) circle (1); } + \\ \hline +\begin{tikzpicture} +\draw [dotted,red](1,1) circle (1); +\draw [decorate,decoration={random steps,meta-segment length=2cm}] +(1,1) circle (1); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw [decorate,decoration={random steps,amplitude=0.5cm}] +(1,1) circle (1); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw [dotted,red](1,1) circle (1); +\draw [decorate,decoration={random steps,segment length=5pt}] +(1,1) circle (1); +\end{tikzpicture} +\\ \hline + \RDD{meta-segment length}=2cm & \RDD{amplitude}=0.5cm & \RDD{segment length}=5pt +\\ \hline +\end{tabular} + +\subsubsection{\og saw \fg } + +\begin{tabular}{|c|c|c|} \hline +\multicolumn{3}{|c|}{\BSS{draw}[decorate,\RDD{decoration}=\RDDX{saw}{decoration}] (0,0) - - (2,2) ;} + \\ \hline +\begin{tikzpicture} +\draw [dotted,red](0,0) -- (2,2) ; +\draw [decorate,decoration=saw] +(0,0) -- (2,2) ; +\end{tikzpicture} +& +\begin{tikzpicture} +\draw [dotted,red] (1,1) circle (1); +\draw [decorate,decoration=saw] +(1,1) circle (1); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw [dotted,red] +(0,0) arc (0:180:3 and 2); +\draw [decorate,decoration=saw] +(0,0) arc (0:180:3 and 2); +\end{tikzpicture} +\\ \hline +(0,0) - - (2,2) & (1,1) circle (1) & (0,0) arc (0:180:3 and 2);\\ +\hline +\end{tabular} + +\bigskip + +\begin{tabular}{|l|c|c|} \hline +\multicolumn{2}{|c|}{\BSS{draw}[decorate,decoration=\AC{saw,\RDD{meta-segment length}=0.5cm}] (0,0) - - (10,0);} & \dft + \\ \hline +\RDD{segment length}=0.5cm +& +\begin{tikzpicture}[baseline=0pt] +\draw[red!20] (0,-0.5) grid (10,0.5); +\draw[dotted,red] (0,0) -- (10,0); \draw[decorate,decoration={saw,segment length=0.5cm}] (0,0) -- (10,0); +\end{tikzpicture} +& 10 pt \\ +\RDD{segment length}=2cm +& +\begin{tikzpicture}[baseline=0pt] +\draw[red!20] (0,-0.5) grid (10,0.5); +\draw[dotted,red] (0,0) -- (10,0); \draw[decorate,decoration={saw,segment length=2cm}] (0,0) -- (10,0); +\end{tikzpicture} +& \\ \hline +\RDD{amplitude}=0.5cm +& +\begin{tikzpicture}[baseline=0pt] +\draw[red!20] (0,-0.5) grid (10,0.5); +\draw[dotted,red] (0,0) -- (10,0);\draw[decorate,decoration={saw,amplitude=0.5cm}] (0,0) -- (10,0); +\end{tikzpicture} +& 2.5 pt \\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|c|} \hline +\multicolumn{3}{|c|}{ \BSS{draw}[decorate,decoration=\AC{saw,\RDD{segment length}=20pt}] (1,1) circle (1); } + \\ \hline +\begin{tikzpicture} +\draw [dotted,red](1,1) circle (1); +\draw [decorate,decoration={saw,segment length=20pt}] +(1,1) circle (1); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw [dotted,red](1,1) circle (1); +\draw [decorate,decoration={saw,segment length=5pt}] +(1,1) circle (1); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw [decorate,decoration={saw,amplitude=0.5cm}] +(1,1) circle (1); +\end{tikzpicture} +\\ \hline +\RDD{segment length}=20pt & \RDD{segment length}=5pt & \RDD{amplitude}=0.5cm +\\ \hline +\end{tabular} + +\subsubsection{\og zigzag \fg } + +\begin{tabular}{|c|c|c|} \hline +\multicolumn{3}{|c|}{\BSS{draw}[decorate,\RDD{decoration}=\RDDX{zigzag}{decoration}] (0,0) - - (2,2) ;} +\\ \hline +\begin{tikzpicture} +\draw [dotted,red](0,0) -- (2,2) ; +\draw [decorate,decoration=zigzag] +(0,0) -- (2,2) ; +\end{tikzpicture} +& +\begin{tikzpicture} +\draw [dotted,red] (1,1) circle (1); +\draw [decorate,decoration=zigzag] +(1,1) circle (1); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw [dotted,red] +(0,0) arc (0:180:3 and 2); +\draw [decorate,decoration=zigzag] +(0,0) arc (0:180:3 and 2); +\end{tikzpicture} +\\ \hline +(0,0) - - (2,2) & (1,1) circle (1) & (0,0) arc (0:180:3 and 2);\\ +\hline +\end{tabular} + +\bigskip + +\begin{tabular}{|l|c|c|} \hline +\multicolumn{2}{|c|}{\BSS{draw}[decorate,decoration=\AC{zigzag,\RDD{meta-segment length}=2cm}] (0,0) - - (10,0);} & \dft + \\ \hline +\RDD{segment length}=0.5cm +& +\begin{tikzpicture}[baseline=0pt] +\draw[red!20] (0,-0.5) grid (10,0.5); +\draw[dotted,red] (0,0) -- (10,0); +\draw[decorate,decoration={zigzag,segment length=0.5cm}] (0,0) -- (10,0); +\end{tikzpicture} +& 10pt +\\ +\RDD{segment length}=2cm +& +\begin{tikzpicture}[baseline=0pt] +\draw[red!20] (0,-0.5) grid (10,0.5); +\draw[dotted,red] (0,0) -- (10,0); \draw[decorate,decoration={zigzag,segment length=2cm}] (0,0) -- (10,0); +\end{tikzpicture} +& +\\ \hline +\RDD{amplitude}=0.5cm +& +\begin{tikzpicture}[baseline=0pt] +\draw[red!20] (0,-0.5) grid (10,0.5); +\draw[dotted,red] (0,0) -- (10,0); \draw[decorate,decoration={zigzag,amplitude=0.5cm}] (0,0) -- (10,0); +\end{tikzpicture} +& 2.5 pt +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|c|} \hline + \multicolumn{3}{|c|}{ \BSS{draw}[decorate,decoration= + \AC{saw,\RDD{segment length}=20pt }] (1,1) circle (1);} + \\ \hline +\begin{tikzpicture} +\draw [dotted,red](1,1) circle (1); +\draw [decorate,decoration={zigzag,segment length=20pt}] +(1,1) circle (1); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw [dotted,red](1,1) circle (1); +\draw [decorate,decoration={zigzag,segment length=5pt}] +(1,1) circle (1); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw [dotted,red](1,1) circle (1); +\draw [decorate,decoration={zigzag,amplitude=0.5cm}] +(1,1) circle (1); +\end{tikzpicture} +\\ \hline +\RDD{segment length}=20pt & \RDD{segment length}=5pt & \RDD{amplitude}=0.5cm +\\ \hline +\end{tabular} + + +\subsubsection{\og bent \fg } + +\begin{tabular}{|c|c|c|} \hline +\begin{tikzpicture} +\draw [dotted,red](0,0) -- (2,2) ; +\draw [decorate,decoration=bent] +(0,0) -- (2,2) ; +\end{tikzpicture} +& +\begin{tikzpicture} +\draw [dotted,red] (1,1) circle (1); +\draw [decorate,decoration=bent] +(1,1) circle (1); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw [dotted,red] +(0,0) arc (0:180:3 and 2); +\draw [decorate,decoration=bent] +(0,0) arc (0:180:3 and 2); +\end{tikzpicture} +\\ \hline +(0,0) - - (2,2) & (1,1) circle (1) & (0,0) arc (0:180:3 and 2); \\ +\hline +\end{tabular} + +\bigskip + +\begin{tabular}{|l|c|c|} \hline +\multicolumn{2}{|c|}{\BSS{draw}[decorate,decoration=\AC{bent,\RDD{amplitude}=0.5cm}] (0,0) -- (10,0);} & \dft + \\ \hline +\RDD{amplitude}=0.5cm +& +\begin{tikzpicture}[baseline=0pt] +\draw[red!20] (0,-0.5) grid (10,0.5); +\draw[dotted,red] (0,0) -- (10,0); \draw[decorate,decoration={bent,amplitude=0.5cm}] (0,0) -- (10,0); +\end{tikzpicture} +& 2.5 pt +\\ \hline +\parbox{4cm}{ +\RDD{aspect}=0.1 (en bleue)\\ +\RDD{aspect}=0.9 (en vert)\\ +amplitude=0.5cm\\ +} +& +\begin{tikzpicture}[baseline=0pt] +\draw[red!20] (0,-0.5) grid (10,0.5); +\draw[dotted,red] (0,0) -- (10,0); \draw[decorate,blue,decoration={bent,aspect=0.1,amplitude=0.5cm}] (0,0) -- (10,0); +\draw[decorate,green,decoration={bent,aspect=0.9,amplitude=0.5cm}] (0,0) -- (10,0); +\end{tikzpicture} +& 0.5 +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|c|} \hline +\begin{tikzpicture} +\draw [dotted,red](1,1) circle (1); +\draw [decorate,decoration={bent,amplitude=1cm}] +(1,1) circle (1); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw [dotted,red](1,1) circle (1); +\draw [decorate,decoration={bent,amplitude=0.5cm}] +(1,1) circle (1); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw [dotted,red](1,1) circle (1); +\draw [decorate,decoration={bent,aspect=.25}] +(1,1) circle (1); +\end{tikzpicture} +\\ \hline +amplitude=1cm & amplitude=0.5cm & aspect=0.25 +\\ \hline +\end{tabular} + + +\subsubsection{\og bumps \fg } + +\begin{tabular}{|c|c|c|} \hline +\multicolumn{3}{|c|}{\BSS{draw}[decorate,\RDD{decoration}=\RDDX{bumps}{decoration}] (0,0) - - (2,2) ;} + \\ \hline +\begin{tikzpicture} +\draw [dotted,red](0,0) -- (2,2) ; +\draw [decorate,decoration=bumps] +(0,0) -- (2,2) ; +\end{tikzpicture} +& +\begin{tikzpicture} +\draw [dotted,red] (1,1) circle (1); +\draw [decorate,decoration=bumps] +(1,1) circle (1); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw [dotted,red] +(0,0) arc (0:180:3 and 2); +\draw [decorate,decoration=bumps] +(0,0) arc (0:180:3 and 2); +\end{tikzpicture} +\\ \hline +(0,0) - - (2,2) & (1,1) circle (1) & (0,0) arc (0:180:3 and 2) \\ +\hline +\end{tabular} + +\bigskip + +\begin{tabular}{|l|c|c|} \hline +\multicolumn{2}{|c|}{\BSS{draw}[decorate,decoration=\AC{bumps,\RDD{amplitude}=0.5cm}] (0,0) - - (10,0);} & \dft + \\ \hline +\RDD{amplitude}=0.5cm +& +\begin{tikzpicture}[baseline=0pt] +\draw[red!20] (0,-0.5) grid (10,0.5); +\draw[dotted,red] (0,0) -- (10,0); \draw[decorate,decoration={bumps,amplitude=0.5cm}] (0,0) -- (10,0); +\end{tikzpicture} +& 2.5 pt +\\ \hline +\RDD{segment length}=1cm +& +\begin{tikzpicture}[baseline=0pt] +\draw[red!20] (0,-0.5) grid (10,0.5); +\draw[dotted,red] (0,0) -- (10,0); \draw[decorate,decoration={bumps,segment length=1cm}] (0,0) -- (10,0); +\end{tikzpicture} +& 10 pt +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|c|} \hline +\multicolumn{3}{|c|}{ \BSS{draw}[decorate,decoration= +\AC{bumps,\RDD{amplitude}=10pt}] (1,1) circle (1);} + \\ \hline +\begin{tikzpicture} +\draw [dotted,red](1,1) circle (1); +\draw [decorate,decoration={bumps,amplitude=10pt}] +(1,1) circle (1); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw [dotted,red](1,1) circle (1); +\draw [decorate,decoration={bumps,amplitude=0.5cm}] +(1,1) circle (1); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw [dotted,red](1,1) circle (1); +\draw [decorate,decoration={bumps,segment length=20pt}] (1,1) circle (1); +\end{tikzpicture} +\\ \hline +\RDD{amplitude}=10pt & \RDD{amplitude}=0.5cm & \RDD{segment length}=20pt +\\ \hline +\end{tabular} + + +\subsubsection{\og coil \fg } + +\begin{tabular}{|c|c|c|} \hline +\multicolumn{3}{|c|}{\BSS{draw}[decorate,\RDD{decoration}=\RDDX{coil}{decoration}] (0,0) - - (2,2) ;} + \\ \hline +\begin{tikzpicture} +\draw [dotted,red](0,0) -- (2,2) ; +\draw [decorate,decoration=coil] +(0,0) -- (2,2) ; +\end{tikzpicture} +& +\begin{tikzpicture} +\draw [dotted,red] (1,1) circle (1); +\draw [decorate,decoration=coil] +(1,1) circle (1); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw [dotted,red] +(0,0) arc (0:180:3 and 2); +\draw [decorate,decoration=coil] +(0,0) arc (0:180:3 and 2); +\end{tikzpicture} +\\ \hline +(0,0) - - (2,2) & (1,1) circle (1) & (0,0) arc (0:180:3 and 2) \\ +\hline +\end{tabular} + +\bigskip + +\begin{tabular}{|l|c|c|} \hline +\multicolumn{2}{|c|}{\BSS{draw}[decorate,decoration=\AC{coil,\RDD{amplitude}=0.5cm}] (0,0) - - (10,0);} & \dft + \\ \hline +\RDD{amplitude}=0.5cm +& +\begin{tikzpicture}[baseline=0pt] +\draw[red!20] (0,-0.5) grid (10,0.5); +\draw[dotted,red] (0,0) -- (10,0); \draw[decorate,decoration={coil,amplitude=0.5cm}] (0,0) -- (10,0); +\end{tikzpicture} +& 2.5 pt +\\ \hline +\RDD{segment length}=1cm +& +\begin{tikzpicture}[baseline=0pt] +\draw[red!20] (0,-0.5) grid (10,0.5); +\draw[dotted,red] (0,0) -- (10,0); +\draw[decorate,decoration={coil,segment length=1cm}] (0,0) -- (10,0); +\end{tikzpicture} +& 10 pt +\\ \hline +\parbox{4cm}{ + +\RDD{aspect}=0.1\\ +(amplitude=0.5cm)\\ +} +& +\begin{tikzpicture}[baseline=0pt] +\draw[red!20] (0,-0.5) grid (10,0.5); +\draw[dotted,red] (0,0) -- (10,0); +\draw[decorate,decoration={coil,aspect=0.1,amplitude=0.5cm}] (0,0) -- (10,0); +\end{tikzpicture} +& +\\ +\RDD{aspect}=0.3 +& +\begin{tikzpicture}[baseline=0pt] +\draw[red!20] (0,-0.5) grid (10,0.5); +\draw[dotted,red] (0,0) -- (10,0); +\draw[decorate,decoration={coil,aspect=0.3,amplitude=0.5cm}] (0,0) -- (10,0); +\end{tikzpicture} +& 0.5 +\\ +\RDD{aspect}=0.9 +& +\begin{tikzpicture}[baseline=0pt] +\draw[red!20] (0,-0.5) grid (10,0.5); +\draw[dotted,red] (0,0) -- (10,0); +\draw[decorate,decoration={coil,aspect=0.9,amplitude=0.5cm}] (0,0) -- (10,0); +\end{tikzpicture} +& +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|c|} \hline +\multicolumn{3}{|c|}{ \BSS{draw}[decorate,decoration= \AC{coil,\RDD{amplitude}=0.5cm}] (1,1) circle (1);} + \\ \hline +\begin{tikzpicture} +\draw [dotted,red](1,1) circle (1); +\draw [decorate,decoration={coil,amplitude=0.5cm}] +(1,1) circle (1); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw [dotted,red](1,1) circle (1); +\draw[decorate,decoration={coil,segment length=1cm,amplitude=0.5cm}] +(1,1) circle (1); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw [dotted,red](1,1) circle (1); +\draw [decorate,decoration={coil,aspect=.25,amplitude=0.5cm}] +(1,1) circle (1); +\end{tikzpicture} +\\ \hline +\RDD{amplitude}=0.5 cm & \RDD{segment length}=1cm & \RDD{aspect}=0.25 \\ +& amplitude=0.5cm & amplitude=0.5cm +\\ \hline +\end{tabular} + +\subsubsection{\og curveto \fg } + +\begin{tabular}{|c|c|c|} \hline +\begin{tikzpicture} +\draw [dotted,red](0,0) -- (2,2) ; +\draw [decorate,decoration=curveto] +(0,0) -- (2,2) ; +\end{tikzpicture} +& +\begin{tikzpicture} +\draw [dotted,red] (1,1) circle (1); +\draw [decorate,decoration=curveto] +(1,1) circle (1); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw [dotted,red]; +\draw [decorate,decoration=curveto] (0,0) arc (0:180:3 and 2); +\end{tikzpicture} +\\ \hline +(0,0) - - (2,2) & (1,1) circle (1) & (0,0) arc (0:180:3 and 2) +\\ \hline +\end{tabular} + + +\subsubsection{\og snake \fg } + +\begin{tabular}{|c|c|c|} \hline +\multicolumn{3}{|c|}{\BSS{draw}[decorate,\RDD{decoration}=\RDDX{snake}{decoration}] (0,0) - - (2,2) ;} + \\ \hline +\begin{tikzpicture} +\draw [dotted,red](0,0) -- (2,2) ; +\draw [decorate,decoration=snake] +(0,0) -- (2,2) ; +\end{tikzpicture} +& +\begin{tikzpicture} +\draw [dotted,red] (1,1) circle (1); +\draw [decorate,decoration=snake] +(1,1) circle (1); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw [dotted,red] +(0,0) arc (0:180:3 and 2); +\draw [decorate,decoration=snake] +(0,0) arc (0:180:3 and 2); +\end{tikzpicture} +\\ \hline +(0,0) - - (2,2) & (1,1) circle (1) &(0,0) arc (0:180:3 and 2) \\ +\hline +\end{tabular} + +\bigskip + +\begin{tabular}{|l|c|c|} \hline +\multicolumn{2}{|c|}{\BSS{draw}[decorate,decoration=\AC{snake,\RDD{segment length}=2cm}] (0,0) - - (10,0);} & \dft + \\ \hline +\RDD{amplitude}=0.5cm +& +\begin{tikzpicture}[baseline=0pt] +\draw[red!20] (0,-0.5) grid (10,0.5); +\draw[dotted,red] (0,0) -- (10,0); \draw[decorate,decoration={snake,amplitude=0.5cm}] (0,0) -- (10,0); +\end{tikzpicture} +& 2.5 pt +\\ \hline +\RDD{segment length}=1cm +& +\begin{tikzpicture}[baseline=0pt] +\draw[red!20] (0,-0.5) grid (10,0.5); +\draw[dotted,red] (0,0) -- (10,0); +\draw[decorate,decoration={snake,segment length=1cm}] (0,0) -- (10,0); +\end{tikzpicture} +& 10 pt +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|c|} \hline +\multicolumn{3}{|c|}{ \BSS{draw}[decorate,decoration= +snake, +\RDD{amplitude}=5pt] (1,1) circle (1);} + \\ \hline +\begin{tikzpicture} +\draw [dotted,red](1,1) circle (1); +\draw [decorate,decoration={snake,amplitude=5pt}] +(1,1) circle (1); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw [dotted,red](1,1) circle (1); +\draw [decorate,decoration={snake,amplitude=0.5cm}] +(1,1) circle (1); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw [dotted,red](1,1) circle (1); +\draw [decorate,decoration={snake,,segment length=1cm}] +(1,1) circle (1); +\end{tikzpicture} +\\ \hline +\RDD{amplitude}=5pt & \RDD{amplitude}=0.5cm & \RDD{segment length}=5pt +\\ \hline +\end{tabular} + +\newpage +\subsection{Library \og decorations.pathreplacing \fg} + + + \maboite{\BS{usetikzlibrary}\AC{decorations.pathreplacing}} +\label{lib-replac} + +\begin{center} +\RRR{48-3} +\end{center} + +\subsubsection{\og border \fg } + +\begin{tabular}{|c|c|c|} \hline +\multicolumn{3}{|c|}{\BSS{draw}[decorate,\RDD{decoration}=\RDDX{border}{decoration}] (0,0) - - (2,2) ;} + \\ \hline +\begin{tikzpicture} +\draw [dotted,red](0,0) -- (2,2) ; +\draw [decorate,decoration=border] +(0,0) -- (2,2) ; +\end{tikzpicture} +& +\begin{tikzpicture} +\draw [dotted,red] (1,1) circle (1); +\draw [decorate,decoration=border] +(1,1) circle (1); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw [dotted,red] +(0,0) arc (0:180:3 and 2); +\draw [decorate,decoration=border] +(0,0) arc (0:180:3 and 2); +\end{tikzpicture} +\\ \hline +(0,0) - - (2,2) & (1,1) circle (1) & (0,0) arc (0:180:3 and 2) \\ +\hline +\end{tabular} + +\bigskip + +\begin{tabular}{|l|c|c|} \hline +\multicolumn{2}{|c|}{\BSS{draw}[decorate,decoration=\AC{border,\RDD{amplitude}=0.5cm}] (0,0) - - (10,0);} & \dft + \\ \hline +\RDD{amplitude}=0.5cm +& +\begin{tikzpicture}[baseline=0pt] +\draw[red!20] (0,-0.5) grid (10,0.5); +\draw[dotted,red] (0,0) -- (10,0); \draw[decorate,decoration={border,amplitude=0.5cm}] (0,0) -- (10,0); +\end{tikzpicture} +& 2.5 pt +\\ \hline +\parbox{4cm}{ +\RDD{segment length}=1cm ,\\ +amplitude=0.5cm} +& +\begin{tikzpicture}[baseline=0pt] +\draw[red!20] (0,-0.5) grid (10,0.5); +\draw[dotted,red] (0,0) -- (10,0); \draw[decorate,decoration={border,segment length=1cm,amplitude=0.5cm}] (0,0) -- (10,0); +\end{tikzpicture} +& 10 pt +\\ \hline +\parbox{4cm}{ +\RDD{angle}=90 ,\\ +amplitude=0.5cm +} +& +\begin{tikzpicture}[baseline=0pt] +\draw[red!20] (0,-1) grid (10,1); +\draw[dotted,red] (0,0) -- (10,0); \draw[decorate,decoration={border,angle=90,amplitude=0.5cm}] (0,0) -- (10,0); +\end{tikzpicture} +& 45 +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|c|} \hline +\multicolumn{3}{|c|}{ \BSS{draw}[decorate,decoration= +\AC{border,\RDD{amplitude}=0.5cm}] (1,1) circle (1);} +\\ \hline +\begin{tikzpicture} +\draw [decorate,decoration={border,amplitude=0.5cm}] + (1,1) circle (1); +\end{tikzpicture} + & +\begin{tikzpicture} +\draw [dotted,red](1,1) circle (1); +\draw [decorate,decoration={border,segment length=1cm,amplitude=0.5cm}] +(1,1) circle (1); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw [dotted,red](1,1) circle (1); +\draw [decorate,decoration={border,angle=90,amplitude=0.5cm}] +(1,1) circle (1); +\end{tikzpicture} +\\ \hline + \RDD{amplitude}=0.5cm & \RDD{segment length}=1cm &\RDD{angle}=90 \\ + & ,amplitude=0.5cm & ,amplitude=0.5cm +\\ \hline + +\end{tabular} + +\subsubsection{\og brace \fg } + +\begin{tabular}{|c|c|} \hline +\begin{tikzpicture}[baseline=0pt] +\draw [decorate,decoration=brace] (0,0) -- (3,0); +\end{tikzpicture} + & + \BS{draw} [decorate,\RDD{decoration}=\RDDX{brace}{decoration}] (0,0) - - (3,1); + \\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|c|c|} \hline +\multicolumn{3}{|c|}{ \BSS{draw}[decorate,decoration= +\AC{brace,\RDD{amplitude}=0.5cm}] (1,1) circle (1); ;} +\\ \hline +\begin{tikzpicture} +\draw [dotted,red](0,0) -- (2,2) ; +\draw [decorate,decoration={brace,amplitude=0.5cm}](0,0) -- (2,2) ; +\end{tikzpicture} +& +\begin{tikzpicture} +\draw [dotted,red](0,0) -- (2,2) ; +\draw [decorate,decoration={brace,aspect=.65,amplitude=0.5cm}] +(0,0) -- (2,2) ; +\end{tikzpicture} +& +\begin{tikzpicture} +\draw [dotted,red](0,0) -- (2,2) ; +\draw [decorate,decoration={brace,raise=0.25cm,amplitude=0.5cm}] +(0,0) -- (2,2) ; +\end{tikzpicture} +& +\begin{tikzpicture} +\draw [dotted,red](0,0) -- (2,2) ; +\draw [decorate,decoration={brace,mirror,amplitude=0.5cm}] +(0,0) -- (2,2) ; +\end{tikzpicture} +\\ \hline +\RDD{amplitude}=0.5cm & \RDD{aspect}=0.65 & \RDD{raise}= 0.25cm & \RDD{mirror} +\\ + & ,amplitude = 0.5cm & ,amplitude = 0.5cm& ,amplitude = 0.5cm +\\ \hline +\dft : 2.5 & \dft : 0.5 & \dft : 0 & \\ +\hline +\end{tabular} + +\subsubsection{\fg expanding waves \fg } + +\begin{tabular}{|c|c|} \hline +\begin{tikzpicture}[baseline=0pt] +\draw [dotted,red](0,0) -- (2,0) ; +\draw [dashed,red](0,0) -- (20:2) ; +\draw [dashed,red](0,0) -- (-20:2) ; +\draw [decorate,decoration={expanding waves}](0,0) -- (2,0) ; +\end{tikzpicture} +& +\parbox{10cm}{ +\BS{draw} [dashed,red](0,0) - - (20:2) ;\\ +\BS{draw} [dashed,red](0,0) - - (-20:2) ;\\ +\BS{draw} [decorate,decoration=\AC{\RDD{expanding waves}}](0,0) - - (2,0) ; +} +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|} \hline +\multicolumn{2}{|c|}{ \BSS{draw}[decorate,decoration= +\AC{expanding waves,\RDD{segment length}=0.5cm}] (1,1) circle (1);} +\\ \hline +\begin{tikzpicture} +\draw [dotted,red](0,0) -- (2,2) ; +\draw [decorate,decoration={expanding waves,segment length=0.5cm}](0,0) -- (2,2) ; +\end{tikzpicture} +& +\begin{tikzpicture} +\draw [dotted,red](0,0) -- (2,2) ; +\draw [decorate,decoration={expanding waves,angle=45}] +(0,0) -- (2,2) ; +\end{tikzpicture} +\\ \hline +\RDD{segment length}=0.5cm & \RDD{angle}=45 +\\ \hline + +\dft : 10pt & \dft : 20\\ +\hline +\end{tabular} + +\subsubsection{\og moveto \fg } + + \TFRGB{voir}{see} page \pageref{moveto} + +\subsubsection{\og ticks \fg } + +\begin{tabular}{|c|c|c|} \hline +\multicolumn{3}{|c|}{\BSS{draw}[decorate,\RDD{decoration}=\RDDX{ticks}{decoration}] (0,0) - - (2,2) ;} + \\ \hline +\begin{tikzpicture} +\draw [dotted,red](0,0) -- (2,2) ; +\draw [decorate,decoration=ticks] +(0,0) -- (2,2) ; +\end{tikzpicture} +& +\begin{tikzpicture} +\draw [dotted,red] (1,1) circle (1); +\draw [decorate,decoration=ticks] +(1,1) circle (1); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw [dotted,red] +(0,0) arc (0:180:3 and 2); +\draw [decorate,decoration=ticks] +(0,0) arc (0:180:3 and 2); +\end{tikzpicture} +\\ \hline +(0,0) - - (2,2) & (1,1) circle (1) & (0,0) arc (0:180:3 and 2) \\ +\hline +\end{tabular} + \bigskip + +\begin{tabular}{|l|c|c|} \hline +\multicolumn{2}{|c|}{\BSS{draw}[decorate,decoration=\AC{ticks,\RDD{amplitude}=0.5cm}] (0,0) - - (10,0);} & \dft + \\ \hline +\RDD{amplitude}=0.5cm +& +\begin{tikzpicture}[baseline=0pt] +\draw[red!20] (0,-1) grid (10,1); +\draw[dotted,red] (0,0) -- (10,0); \draw[decorate,decoration={ticks,amplitude=0.5cm}] (0,0) -- (10,0); +\end{tikzpicture} +& 2.5 pt +\\ \hline +\RDD{segment length}=1cm +& +\begin{tikzpicture}[baseline=0pt] +\draw[red!20] (0,-0.5) grid (10,0.5); +\draw[dotted,red] (0,0) -- (10,0); \draw[decorate,decoration={ticks,segment length=1cm}] (0,0) -- (10,0); +\end{tikzpicture} +& 10 pt +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|c|} \hline +\multicolumn{3}{|c|}{ \BSS{draw}[decorate,decoration= +\AC{ticks,\RDD{segment length}=1cm}] (1,1) circle (1); } + \\ \hline +\begin{tikzpicture} +\draw [dotted,red] (1,1) circle (1); +\draw [decorate,decoration={ticks,segment length=1cm}](1,1) circle (1); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw [dotted,red](1,1) circle (32pt); +\draw [decorate,decoration={ticks,segment length=pi*8}](1,1) circle (32pt); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw [dotted,red](1,1) circle (1); +\draw [decorate,decoration={ticks,amplitude=0.5cm}] +(1,1) circle (1); +\end{tikzpicture} +\\ \hline +\RDD{segment length}=1cm & segment length=\RDD{pi*8} & \RDD{amplitude}=0.5cm \\ +(1,1) circle (1) & (1,1) circle (32pt) & (1,1) circle (1) +\\ \hline +\end{tabular} + +\subsubsection{\fg waves \fg } + +\begin{tabular}{|c|c|c|} \hline +\multicolumn{3}{|c|}{\BSS{draw}[decorate,\RDD{decoration}=\RDDX{waves}{decoration}] (0,0) - - (2,2) ;} + \\ \hline +\begin{tikzpicture} +\draw [dotted,red](0,0) -- (2,2) ; +\draw [decorate,decoration=waves] +(0,0) -- (2,2) ; +\end{tikzpicture} +& +\begin{tikzpicture} +\draw [dotted,red] (1,1) circle (1); +\draw [decorate,decoration=waves] +(1,1) circle (1); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw [dotted,red] +(0,0) arc (0:180:3 and 2); +\draw [decorate,decoration=waves] +(0,0) arc (0:180:3 and 2); +\end{tikzpicture} +\\ \hline +(0,0) - - (2,2) & (1,1) circle (1) & (0,0) arc (0:180:3 and 2)\\ +\hline +\end{tabular} + +\bigskip + +\begin{tabular}{|l|c|c|} \hline +\multicolumn{2}{|c|}{\BSS{draw}[decorate,decoration=\AC{waves,\RDD{angle}=60,radius=1cm}] (0,0) - - (10,0);} & \dft + \\ \hline +\RDD{angle}=60 +& +\begin{tikzpicture}[baseline=0pt] +\draw[red!20] (0,-0.5) grid (10,0.5); +\draw[dotted,red] (0,0) -- (10,0); \draw[decorate,decoration={waves,angle=60,radius=1cm}] (0,0) -- (10,0); +\end{tikzpicture} +& 45 +\\ \hline +\RDD{segment length}=1cm +& +\begin{tikzpicture}[baseline=0pt] +\draw[red!20] (0,-0.5) grid (10,0.5); +\draw[dotted,red] (0,0) -- (10,0); \draw[decorate,decoration={waves,segment length=1cm,radius=1cm}] (0,0) -- (10,0); +\end{tikzpicture} +& 10 pt +\\ \hline +\RDD{radius}=2cm +& +\begin{tikzpicture}[baseline=0pt] +\draw[red!20] (0,-0.5) grid (10,0.5); +\draw[dotted,red] (0,0) -- (10,0); \draw[decorate,decoration={waves,radius=2cm}] (0,0) -- (10,0); +\end{tikzpicture} +& 10 pt +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|c|} \hline +\multicolumn{3}{|c|}{ \BSS{draw}[decorate,decoration= +\{waves,\RDD{segment length}=pi*8,} \\ +\multicolumn{3}{|c|}{radius=1cm\}] (1,1) circle (32pt); } + \\ \hline +\begin{tikzpicture} +\draw [dotted,red](1,1) circle (32pt); +\draw [decorate,decoration={waves,segment length=pi*8,radius=1cm}] +(1,1) circle (32pt); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw [dotted,red](1,1) circle (32pt); +\draw [decorate,decoration={waves,angle=60,segment length=pi*8,radius=1cm}] +(1,1) circle (32pt); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw [dotted,red](1,1) circle (32pt); +\draw [decorate,decoration={waves,segment length=pi*8,radius=2cm}] +(1,1) circle (32pt); +\end{tikzpicture} +\\ \hline +\RDD{segment length} = pi*8 & \RDD{angle}=60 & \RDD{radius}=2cm \\ +& , segment length = pi*8 & , segment length = pi*8 +\\ \hline +\end{tabular} + +\subsubsection{\og show path construction \fg } + + +\begin{tabular}{|l|} \hline +\multicolumn{1}{|c|}{ \emph{\TFRGB{Chemin à décorer}{path to decorate}} } +\\ \hline +\BS{draw} [blue,dashed] (0,0) - - (2,1) arc (-20:135:1) - - cycle \\ +(3,2) .. controls (7,0) and (2,0) .. (5,2) - - (6,2) sin (7.57,0) - - (8,3) ; +\\ \hline +\begin{tikzpicture} +\draw [blue,dashed] (0,0) -- (2,1) arc (-20:135:1) -- cycle (3,2) .. controls (7,0) and (2,0) .. (5,2) -- (6,2) sin (7.57,0) -- (8,3) ; +\end{tikzpicture} +\\ \hline +\end{tabular} + +\bigskip + + +\begin{tabular}{|l|} \hline +\multicolumn{1}{|c|}{ \textbf{\TFRGB{composantes linéaires }{ Linear components} : \og lineto \fg } } +\\ \hline + +decoration=\{ \RDD{show path construction},\\ +\RDD{lineto code}=\AC{ \BS{draw} [red,ultra thick,->] \\ (\BSS{tikzinputsegmentfirst}) - - (\BSS{tikzinputsegmentlast}); +},\} +\\ \hline +\begin{tikzpicture} +\draw [blue,dashed] (0,0) -- (2,1) arc (-20:135:1) -- cycle (3,2) .. controls (7,0) and (2,0) .. (5,2) -- (6,2) sin (7.57,0) -- (8,3) ; +\path [decorate,decoration={show path construction,lineto code={ +\draw [red,ultra thick,->] (\tikzinputsegmentfirst) -- (\tikzinputsegmentlast); +},} ] (0,0) -- (2,1) arc (-20:135:1) -- cycle (3,2) .. controls (7,0) and (2,0) .. (5,2) -- (6,2) sin (7.57,0) -- (8,3) ;; +\end{tikzpicture} +\\ \hline +\end{tabular} + +\bigskip + + +\begin{tabular}{|l|} \hline +\multicolumn{1}{|c|}{ \textbf{\TFRGB{Fermetures de chemin }{ Path terminations} : \og closepath \fg } } +\\ \hline +decoration=\{ \RDD{show path construction},\\ +\RDD{closepath code}=\AC{ \BS{draw} [red,ultra thick,->] \\ (\BSS{tikzinputsegmentfirst}) - - (\BSS{tikzinputsegmentlast}); +},\} +\\ \hline +\begin{tikzpicture} +\draw [blue,dashed] (0,0) -- (2,1) arc (-20:135:1) -- cycle (3,2) .. controls (7,0) and (2,0) .. (5,2) -- (6,2) sin (7.57,0) -- (8,3) ; +\path [decorate,decoration={show path construction,closepath code={ +\draw [red,ultra thick,->] (\tikzinputsegmentfirst) -- (\tikzinputsegmentlast); +},} ] (0,0) -- (2,1) arc (-20:135:1) -- cycle (3,2) .. controls (7,0) and (2,0) .. (5,2) -- (6,2) sin (7.57,0) -- (8,3) ; +\end{tikzpicture} +\\ \hline +\end{tabular} + +\bigskip + + +\begin{tabular}{|l|} \hline +\multicolumn{1}{|c|}{ \textbf{\TFRGB{coupure de chemin }{ Broken paths} : \og moveto \fg } } +\\ \hline +decoration=\{ \RDD{show path construction},\\ +\RDD{moveto code}=\AC{ \BS{draw} [red,ultra thick,->] \\ (\BSS{tikzinputsegmentfirst}) - - (\BSS{tikzinputsegmentlast}); +},\} +\\ \hline +\begin{tikzpicture} +\draw [blue,dashed] (0,0) -- (2,1) arc (-20:135:1) -- cycle (3,2) .. controls (7,0) and (2,0) .. (5,2) -- (6,2) sin (7.57,0) -- (8,3) ; +\path [decorate,decoration={show path construction,moveto code={ +\draw [red,ultra thick,->] (\tikzinputsegmentfirst) -- (\tikzinputsegmentlast); +},} ] (0,0) -- (2,1) arc (-20:135:1) -- cycle (3,2) .. controls (7,0) and (2,0) .. (5,2) -- (6,2) sin (7.57,0) -- (8,3) ; +\end{tikzpicture} +\\ \hline +\end{tabular} + +\newpage + + +\begin{tabular}{|l|} \hline +\multicolumn{1}{|c|}{ \textbf{\TFRGB{composants courbes }{ Curved segments} : \og curveto \fg } } +\\ \hline +decoration=\{ \RDD{show path construction},\\ +\RDD{curveto code}=\AC{ \BS{draw} [red,ultra thick,->] \\ (\BSS{tikzinputsegmentfirst}) - - (\BSS{tikzinputsegmentlast}); +},\} +\\ \hline +\begin{tikzpicture} +\draw [blue,dashed] (0,0) -- (2,1) arc (-20:135:1) -- cycle (3,2) .. controls (7,0) and (2,0) .. (5,2) -- (6,2) sin (7.57,0) -- (8,3) ; +\path [decorate,decoration={show path construction,curveto code={ +\draw [red,ultra thick,->] (\tikzinputsegmentfirst) -- (\tikzinputsegmentlast); +},} ] (0,0) -- (2,1) arc (-20:135:1) -- cycle (3,2) .. controls (7,0) and (2,0) .. (5,2) -- (6,2) sin (7.57,0) -- (8,3) ; +\end{tikzpicture} +\\ \hline + +\hline +decoration=\{ \RDD{show path construction},\\ +\RDD{curveto code}=\AC{ \BS{draw} [red,ultra thick,->] \\ (\BSS{tikzinputsegmentfirst}) - - (\BSS{tikzinputsegmentsupporta}); +},\} +\\ \hline +\begin{tikzpicture} +\draw [blue,dashed] (0,0) -- (2,1) arc (-20:135:1) -- cycle (3,2) .. controls (7,0) and (2,0) .. (5,2) -- (6,2) sin (7.57,0) -- (8,3) ; +\path [decorate,decoration={show path construction,curveto code={ +\draw [red,ultra thick,->] (\tikzinputsegmentfirst) -- (\tikzinputsegmentsupporta); +},} ] (0,0) -- (2,1) arc (-20:135:1) -- cycle (3,2) .. controls (7,0) and (2,0) .. (5,2) -- (6,2) sin (7.57,0) -- (8,3) ; +\end{tikzpicture} +\\ \hline + +\hline +decoration=\{ \RDD{show path construction},\\ +\RDD{curveto code}=\AC{ \BS{draw} [red,ultra thick,->] \\ (\BSS{tikzinputsegmentlast}) - - (\BSS{tikzinputsegmentsupportb}); +},\} +\\ \hline +\begin{tikzpicture} +\draw [blue,dashed] (0,0) -- (2,1) arc (-20:135:1) -- cycle (3,2) .. controls (7,0) and (2,0) .. (5,2) -- (6,2) sin (7.57,0) -- (8,3) ; +\path [decorate,decoration={show path construction,curveto code={ +\draw [red,ultra thick,->] (\tikzinputsegmentlast) -- (\tikzinputsegmentsupportb); +},} ] (0,0) -- (2,1) arc (-20:135:1) -- cycle (3,2) .. controls (7,0) and (2,0) .. (5,2) -- (6,2) sin (7.57,0) -- (8,3) ; +\end{tikzpicture} +\\ \hline +\hline +decoration=\{ \RDD{show path construction},\\ +\RDD{curveto code}=\AC{ \BS{draw} [red,ultra thick,->] \\ (\BSS{tikzinputsegmentfirst}) .. controls (\BSS{tikzinputsegmentsupporta}) \\ +and (\BSS{tikzinputsegmentsupportb}) .. (\BSS{tikzinputsegmentlast}) +; +},\} +\\ \hline +\begin{tikzpicture} +\draw [blue,dashed] (0,0) -- (2,1) arc (-20:135:1) -- cycle (3,2) .. controls (7,0) and (2,0) .. (5,2) -- (6,2) sin (7.57,0) -- (8,3) ; +\path [decorate,decoration={show path construction,curveto code={ +\draw [red,ultra thick,->] (\tikzinputsegmentfirst) .. controls (\tikzinputsegmentsupporta) and (\tikzinputsegmentsupportb) .. (\tikzinputsegmentlast);} } ] +(0,0) -- (2,1) arc (-20:135:1) -- cycle (3,2) -- (6,2) sin (7.57,0) -- (8,3) ; +\end{tikzpicture} +\\ \hline +.. controls (7,0) and (2,0) .. (5,2) \DW{} +\\ \hline +\end{tabular} + + +\newpage + + +\subsection{Library \og decorations.markings \fg } + + \maboite{\BS{usetikzlibrary}\AC{decorations.markings}} +\label{lib-mark} + +\begin{center} +\RRR{48-4} +\end{center} + +\SbSbSSCT{Sa marque à une position}{Personal mark at one position} + +\begin{tabular}{|c|} \hline +\BS{draw} [decorate,decoration=\{markings,\RDD{mark}=\RDDX{at position}{mark} 1cm \\ \RDD{ with} \{ +\textbf{\BS{draw}[red] (-2pt,-2pt) - - (2pt,2pt);} +\textbf{\BS{draw}[red](2pt,-2pt) - - (-2pt,2pt);}\\ +\textbf{\BS{draw}[red] (-2pt,-2pt) rectangle (2pt,2pt); } +\}\}] (1,1) circle (1); +\\ \hline +\begin{tikzpicture} +\draw[dotted] (1,1) circle (1); +\draw [decorate,decoration={markings,mark=at position 1cm with { +\draw[red] (-2pt,-2pt) -- (2pt,2pt); +\draw[red] (2pt,-2pt) -- (-2pt,2pt); +\draw[red] (-2pt,-2pt) rectangle (2pt,2pt); +}}] +(1,1) circle (1); +\end{tikzpicture} +\\ \hline +\end{tabular} + +\SbSbSSCT{Ses marques : origine, fin et pas }{Marks between positions with step size} + + +\begin{tabular}{|c|c|} \hline +\multicolumn{2}{|c|}{\BSS{draw}[decorate,\{markings,mark=\RDD{between positions} 0 \RDD{and} 1 \RDD{step} 5mm with ... \}] (1,1) circle (1);;} +\\ \hline +\begin{tikzpicture} +\draw[dotted] (1,1) circle (1); +\draw [decorate,decoration={markings,mark=between positions 0 and 1 step 5mm with { +\draw[red] (-2pt,-2pt) -- (2pt,2pt); +\draw[red] (2pt,-2pt) -- (-2pt,2pt); +\draw[red] (-2pt,-2pt) rectangle (2pt,2pt); +}}] +(1,1) circle (1); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw[dotted] (1,1) circle (1); +\draw [decorate,decoration={markings,mark=between positions 0 and 0.5 step 5mm with { +\draw[red] (-2pt,-2pt) -- (2pt,2pt); +\draw[red] (2pt,-2pt) -- (-2pt,2pt); +\draw[red] (-2pt,-2pt) rectangle (2pt,2pt); +}}] +(1,1) circle (1); +\end{tikzpicture} +\\ \hline +mark=\RDD{between positions} 0 \RDD{and} 1 \RDD{step} 5mm & + \RDD{between positions} 0 \RDD{and} 0.5 \RDD{step} 5mm +\\ \hline +\begin{tikzpicture} +\draw[dotted] (1,1) circle (1); +\draw [decorate,decoration={markings,mark=between positions 0 and 1 step 1/10 with { +\draw[red] (-2pt,-2pt) -- (2pt,2pt); +\draw[red] (2pt,-2pt) -- (-2pt,2pt); +\draw[red] (-2pt,-2pt) rectangle (2pt,2pt); +}}] +(1,1) circle (1); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw[dotted] (1,1) circle (1); +\draw [decorate,decoration={markings,mark=between positions 0 and 1 step .1 with { +\draw[red] (-2pt,-2pt) -- (2pt,2pt); +\draw[red] (2pt,-2pt) -- (-2pt,2pt); +\draw[red] (-2pt,-2pt) rectangle (2pt,2pt); +}}] +(1,1) circle (1); +\end{tikzpicture} +\\ \hline +mark= \RDD{between positions} 0 \RDD{and} 1 \RDD{step} 1/10 & + \RDD{between positions} 0 \RDD{and} 1 \RDD{step}0.1 +\\ \hline + +\end{tabular} + +\bigskip + +\SbSbSSCT{Marque avec un n\oe ud contenant du texte}{Marks with a text node} + +\begin{tabular}{|c|c|c|} \hline +\multicolumn{3}{|c|}{ +decoration=\AC{markings,mark=at position 1cm with {\color{red}{\BS{node}[red]}\AC{texte}}}} +\\ \hline +\begin{tikzpicture} +\draw[dotted] (1,1) circle (1); +\draw [decorate,decoration={markings,mark=at position 1cm with \node[red]{texte}; +}] +(1,1) circle (1); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw[dotted] (1,1) circle (1); +\draw [decorate,decoration={markings,mark=at position 0.5 with \node[red]{texte}; +}] +(1,1) circle (1); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw[dotted] (1,1) circle (1); +\draw [decorate,decoration={markings,mark=at position -1cm with \node[red]{texte}; +}] +(1,1) circle (1); +\end{tikzpicture} +\\ \hline +at position 1cm & at position 0.5 & at position -1cm +\\ \hline +\begin{tikzpicture} +\draw[dotted] (1,1) circle (1); +\draw [decorate,decoration={markings,mark=at position 1cm/2 with \node[red]{texte}; +}] +(1,1) circle (1); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw[dotted] (1,1) circle (1); +\draw [decorate,decoration={markings,mark=at position 0.5/2 with \node[red]{texte}; +}] +(1,1) circle (1); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw[dotted] (1,1) circle (1); +\draw [decorate,decoration={markings,mark=at position -.3 with \node[red]{texte}; +}] +(1,1) circle (1); +\end{tikzpicture} +\\ \hline +at position 1cm/2 & at position 0.5/2 & at position -0.5/2 +\\ \hline + +\end{tabular} + \bigskip + +\SbSbSSCT{Marque avec un n\oe ud contenant une image} +{Mark with a picture node} + +\begin{tabular}{|c|c|} \hline +\multicolumn{2}{|c|}{ +\BS{draw} [decorate,decoration=\AC{markings,mark=at position 1cm with {\color{red}{\BS{node}\AC{\BS{DFR}}}}; +}] +(1,1) circle (1);} +\\ \hline +\begin{tikzpicture} +\draw[dotted] (1,1) circle (1); +\draw [decorate,decoration={markings,mark=at position 1cm with \node{\DFR}; +}] +(1,1) circle (1); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw[dotted] (1,1) circle (1); +\draw [decorate,decoration={markings,mark=at position 1cm with \node[transform shape]{\DFR}; +}] +(1,1) circle (1); +\end{tikzpicture} + +\\ \hline +\BS{node}\AC{\BS{DFR}} & \BS{node}[\RDD{transform shape}]\AC{\BS{DFR}} +\\ \hline +\begin{tikzpicture} +\draw[dotted] (1,1) circle (1); +\draw [decorate,decoration={markings,mark=at position 1cm with \node{\includegraphics[width=0.5cm]{tiger}}; +}] +(1,1) circle (1); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw[dotted] (1,1) circle (1); +\draw [decorate,decoration={markings,mark=at position 1cm with \node[transform shape]{\includegraphics[width=0.5cm]{tiger}}; +}] +(1,1) circle (1); +\end{tikzpicture} + +\\ \hline + \BS{node}\{ +& +\BS{node}[transform shape]\{ \\ +\BS{includegraphics}[width=0.5cm]\AC{tiger} \} +& +\BS{includegraphics}[width=0.5cm]\AC{tiger} \} +\\ \hline +\end{tabular} + +\bigskip + +\SbSbSSCT{Numérotation des marques et affectation d'un nom }{ Numbered marks} + +\begin{tabular}{|c|c|}\hline +\begin{tikzpicture}[baseline=0pt,decoration={markings, +mark=between positions 0 and 1 step 0.2 with { +\node [red,draw,circle,fill=white, +name=marque-\pgfkeysvalueof{/pgf/decoration/mark info/sequence number}, +transform shape] +{\pgfkeysvalueof{/pgf/decoration/mark info/sequence number}};}}] +\draw [postaction={decorate}] (0,0) arc (180:0:2 and 1.5); +\end{tikzpicture} +& +\parbox[c]{11cm}{ +decoration=\{markings,\\ +mark=between positions 0 and 1 step 0.2 \\ +with \{ \BS{node} [draw , circle ,fill=white, name= \\ +{\color{blue} marque-}\BSS{pgfkeysvalueof}\AC{{\color{red}/pgf/decoration/mark info/sequence number}},\\ +transform shape] \\ +\AC{\BSS{pgfkeysvalueof}\AC{{\color{red}/pgf/decoration/mark info/sequence number}}};\}\} +} +\\ \hline +\begin{tikzpicture}[baseline=0pt,decoration={markings, +mark=between positions 0 and 1 step 0.2 with { +\node [draw,circle,fill=white, +name=marque-\pgfkeysvalueof{/pgf/decoration/mark info/sequence number}, +transform shape] +{\pgfkeysvalueof{/pgf/decoration/mark info/sequence number}};}}] +\draw [postaction={decorate}] (0,0) arc (180:0:2 and 1.5); +\draw [red,ultra thick] (marque-3) -- (marque-5); +\end{tikzpicture} +& +\parbox[c]{11cm}{ +\BS{draw} [red,ultra thick] ({\color{blue} marque-3}) - - ({\color{blue} marque-5}); +} +\\ \hline +\end{tabular} + +\SbSbSSCT{Distance des n\oe uds }{Marks info} + +\begin{tabular}{|c|} \hline +\begin{tikzpicture}[baseline=0pt,decoration={markings, +mark=between positions 0 and 1 step 40pt with { +\node [red,draw,ellipse,fill=white,font=\tiny] +{ \pgfkeysvalueof{/pgf/decoration/mark info/distance from start} +\pgfkeysvalueof{/pgf/decoration/mark info/mark info/distance from start} +};}}] +\draw [postaction={decorate}] (0,0) arc (180:0:3 and 2); +\end{tikzpicture} +\\ \hline +decoration=\{markings,\\ +mark=between positions 0 and 1 step 40pt with \\ +\{ \BS{node} [red,draw,ellipse,fill=white,font=\BS{tiny}] \\ +\AC{\BSS{pgfkeysvalueof}\AC{{\color{red}/pgf/decoration/mark info/distance from start}} +};\} \} +\\ \hline +\end{tabular} + +\bigskip + +/pgf/decoration/reset marks (no value) + +/pgf/decoration/mark connection node=node name (no default, initially empty) + +\SbSbSSCT{N\oe ud sur une liaison}{Mark with a connection node} + +\begin{tabular}{|c|c|} \hline +\begin{tikzpicture}[baseline=0pt] + +\draw [decorate,decoration={markings, +mark connection node=noeud, +mark=at position 0.4 with +{\node [draw,ellipse,blue,transform shape] (noeud) {texte};}}] (0,0) -- (3,2) ; +\end{tikzpicture} +& +\parbox[b]{11cm}{ +\BS{draw} [decorate,decoration=\{markings,\\ +\RDD{mark connection node}={\color{blue} mon noeud},mark=at position 0.4 with \\ +\AC{\BSS{node} [draw,ellipse,blue,transform shape] ({\color{blue} mon noeud}) \AC{texte};}\}] \\ + (0,0) -- (3,2) ;} +\\ \hline +\end{tabular} + +\subsubsection{Arrow Tip Markings} + +\begin{tabular}{|c|c|c|c|} \hline +\multicolumn{4}{|c|}{ \BS{draw}[decorate,decoration=\{ markings,mark=at position 1cm with } \\ +\multicolumn{4}{|c|}{\AC{\BSS{arrow}[blue,line width=2mm]{\color{red}\AC{>}}};\}] (1,1) circle (1); } +\\ \hline +\begin{tikzpicture} +\draw [white] (-0.5,-0.5) rectangle (2.5,2.5); +\draw[dotted] (1,1) circle (1); +\draw [decorate,decoration={markings,mark=at position 1cm with {\arrow[blue,line width=2mm]{>}};}] (1,1) circle (1); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw [white] (-0.5,-0.5) rectangle (2.5,2.5); +\draw[dotted] (1,1) circle (1); +\draw [decorate,decoration={markings,mark=at position 1cm with {\arrow[blue,line width=2mm]{stealth}};}] (1,1) circle (1); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw [white] (-0.5,-0.5) rectangle (2.5,2.5); +\draw[dotted] (1,1) circle (1); +\draw [decorate,decoration={markings,mark=at position 1cm with {\arrow[blue,line width=2mm]{|}}; +}] (1,1) circle (1); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw [white] (-0.5,-0.5) rectangle (2.5,2.5); +\draw[dotted] (1,1) circle (1); +\draw [decorate,decoration={markings,mark=at position 1cm with {\arrow[blue,line width=2mm]{diamond}}; +}] (1,1) circle (1); +\end{tikzpicture} +\\ \hline +{\color{red}\AC{>}} & {\color{red}\AC{stealth }} &{\color{red}\AC{|}} &{\color{red}\AC{diamond}} \\ +\hline +\multicolumn{4}{|c|}{ \TFRGB{Autres possibilités et paramètres voir page \pageref{fleches} et suivantes}{Other possibilities see page \pageref{fleches} } } +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|c|c|} \hline +\multicolumn{4}{|c|}{ \BS{draw}[decorate,decoration=\{markings,mark=at position 1cm with } \\ +\multicolumn{4}{|c|}{ \AC{\BSS{arrowreversed}[blue,line width=2mm]{\color{red}\AC{>}}};\}] (1,1) circle (1);} +\\ \hline +\begin{tikzpicture} +\draw [white] (-.5,-.5) rectangle (2.5,2.5); +\draw[dotted] (1,1) circle (1); +\draw [decorate,decoration={markings,mark=at position 1cm with {\arrowreversed[blue,line width=2mm]{>}}; }] (1,1) circle (1); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw [white] (-.5,-.5) rectangle (2.5,2.5); +\draw[dotted] (1,1) circle (1); +\draw [decorate,decoration={markings,mark=at position 1cm with {\arrowreversed[blue,line width=2mm]{stealth}}; }] (1,1) circle (1); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw [white] (-.5,-.5) rectangle (2.5,2.5); +\draw[dotted] (1,1) circle (1); +\draw [decorate,decoration={markings,mark=at position 1cm with {\arrowreversed[blue,line width=2mm]{|}}; }] (1,1) circle (1); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw [white] (-.5,-.5) rectangle (2.5,2.5); +\draw[dotted] (1,1) circle (1); +\draw [decorate,decoration={markings,mark=at position 1cm with {\arrowreversed[blue,line width=2mm]{diamond}}; }] (1,1) circle (1); +\end{tikzpicture} +\\ \hline +{\color{red}\AC{>}} & {\color{red}\AC{stealth }} &{\color{red}\AC{|}} &{\color{red}\AC{diamond}} +\\ \hline +\end{tabular} + + + +\newpage +\subsection{Library \og decorations.footprints \fg } + + + \maboite{\BS{usetikzlibrary}\AC{decorations.footprints}} +\label{lib-footprints} + +\begin{center} +\RRR{48-5-2} +\end{center} + + \bigskip +\begin{tabular}{|c|} \hline +\BS{tikz} \BS{draw}[decorate,\RDD{decoration}=\RDDX{footprints}{decoration}] (0,0) -- (10,0); + +\\ \hline +\tikz \draw[decorate,decoration=footprints] (0,0) -- (10,0); + +\\ \hline +\end{tabular} + + \bigskip + +\begin{tabular}{|c|c|c|c|} \hline +\multicolumn{4}{|c|}{\BSS{draw}[decorate,decoration=\AC{footprints,\RDD{foot of} = \RDDX{gnome}{foot of}}] (0,2.5) - - (3,2.5);} + \\ \hline +\tikz \draw[decorate,decoration={footprints,foot of = gnome}] (0,2.5) -- (3,2.5); +& +\tikz \draw[decorate,decoration={footprints,foot of = human}](0,2.5) -- (3,2.5); +& +\tikz \draw[decorate,decoration={footprints,foot of = bird}] (0,2.5) -- (3,2.5); +& + +\tikz \draw[decorate,decoration={footprints,foot of = felis silvestris}] (0,2.5) -- (3,2.5); +\\ \hline +foot of = \RDDX{gnome}{foot of} & foot of = \RDDX{human}{foot of} & foot of = \RDDX{bird}{foot of} & foot of = \RDDX{felis silvestris}{foot of} \\ + & (\dft) & & \\ +\hline +\end{tabular} + + \bigskip + +\begin{tabular}{|c|c|c|c|} \hline +\multicolumn{4}{|c|}{\BSS{fill}[decorate,decoration=\AC{footprints,foot of = gnome}] (0,2.5) - - (3,2.5);} + \\ \hline +\tikz \fill[decorate,decoration={footprints,foot of = gnome}] (0,2.5) -- (3,2.5); +& +\tikz \fill[decorate,decoration={footprints,foot of = human}](0,2.5) -- (3,2.5); +& +\tikz \fill[decorate,decoration={footprints,foot of = bird}] (0,2.5) -- (3,2.5); +& + +\tikz \fill[decorate,decoration={footprints,foot of = felis silvestris}] (0,2.5) -- (3,2.5); +\\ \hline +foot of = gnome & foot of = human & foot of = bird & foot of = felis silvestris \\ +\hline +\end{tabular} + + \bigskip +\begin{tabular}{|c|c|}\hline +\multicolumn{2}{|c|}{\BS{fill}[decorate,decoration=\AC{footprints,\RDD{foot length}=20pt}] (0,2.5) - - (3,2.5);} + \\ \hline +\begin{tikzpicture}[baseline=0pt] +\draw[red!20] (0,-1) grid (6,1); +\draw[decorate,decoration={footprints,foot length=1cm}] (0,0) -- (6,0); +\end{tikzpicture} +& +\begin{tikzpicture}[baseline=0pt] +\draw[red!20] (0,-1) grid (6,1); +\draw[decorate,decoration={footprints,stride length=2cm}] (0,0) -- (6,0); +\end{tikzpicture} + +\\ \hline + \RDD{foot length}=1cm & \RDD{stride length}=2cm \\ +\hline +\dft{} : 10pt & \dft{} : 30pt + \\ \hline +\begin{tikzpicture}[baseline=0pt] +\draw[red!20] (0,-1) grid (6,1); + \draw[decorate,decoration={footprints,foot sep=1cm}] (0,0) -- (6,0); + \end{tikzpicture} +& +\begin{tikzpicture}[baseline=0pt] +\draw[red!20] (0,-1) grid (6,1); + \draw[decorate,decoration={footprints,foot angle =45}] (0,0) -- (6,0); +\end{tikzpicture} +\\ \hline +\RDD{foot sep}=1cm & \RDD{foot angle} = 45 \\ +\hline +\dft{} : 4pt & \dft{} : 10 + \\ \hline +\end{tabular} + + \bigskip + + +\begin{tabular}{|c|c|c|c|}\hline +\multicolumn{4}{|c|}{\BS{fill}[decorate,decoration=\AC{footprints,\RDD{foot length}=20pt}] (0,2.5) - - (3,2.5);} + \\ \hline +\begin{tikzpicture}[baseline=0pt] +\draw[red!20] (0,-0.5) grid (3,0.5); +\draw[decorate,decoration={footprints,foot length=20pt}] (0,0) -- (3,0); +\end{tikzpicture} +& +\begin{tikzpicture}[baseline=0pt] +\draw[red!20] (0,-0.5) grid (3,0.5); +\draw[decorate,decoration={footprints,foot length=1cm}] (0,0) -- (3,0); +\end{tikzpicture} +& +\begin{tikzpicture}[baseline=0pt] +\draw[red!20] (0,-0.5) grid (3,0.5); +\draw[decorate,decoration={footprints,stride length=15pt}] (0,0) -- (3,0); +\end{tikzpicture} +& +\begin{tikzpicture}[baseline=0pt] +\draw[red!20] (0,-0.5) grid (3,0.5); +\draw[decorate,decoration={footprints,stride length=2cm}] (0,0) -- (3,0); +\end{tikzpicture} + +\\ \hline +\RDD{foot length}=20pt & \RDD{foot length}=1cm & \RDD{stride length}=15pt & \RDD{stride length}=2cm \\ +\hline +\multicolumn{2}{|c|}{\dft{} : foot length=10pt} & +\multicolumn{2}{|c|}{\dft{} : stride length=30pt} + \\ \hline +\tikz \draw[decorate,decoration={footprints,foot sep=10pt}] (0,2.5) -- (3,2.5); +& +\tikz \draw[decorate,decoration={footprints,foot sep=1cm}] (0,2.5) -- (3,2.5); +& +\tikz \draw[decorate,decoration={footprints,foot angle = -45}] (0,2.5) -- (3,2.5); +& +\tikz \draw[decorate,decoration={footprints,foot angle =45}] (0,2.5) -- (3,2.5); + +\\ \hline +\RDD{foot sep}=10pt & \RDD{foot sep}=1cm & \RDD{foot angle} = -45 & \RDD{foot angle} = 45 \\ +\hline +\multicolumn{2}{|c|}{\dft{} : foot sep=4pt} & +\multicolumn{2}{|c|}{\dft{} : foot angle=10} + \\ \hline +\end{tabular} + + +\newpage +\subsection{Library \og decorations.shapes \fg } +\subsubsection{Introduction} + + + \maboite{\BS{usetikzlibrary}\AC{decorations.shapes}} +\label{lib-shapes} + +\begin{center} +\RRR{48-5-3} +\end{center} + \bigskip + +\begin{center} +\begin{tabular}{|c|c|c|c|} \hline +\multicolumn{3}{|c|}{\BSS{draw}[decorate,\RDD{decoration}=\RDDX{crosses}{decoration}] (0,0) - - (3,0);} + \\ \hline +\tikz \draw[decorate,decoration=crosses] (0,0) -- (3,0); +& +\tikz \draw[decorate,decoration=triangles] (0,0) -- (3,0); +& +\tikz \draw[decorate,decoration=shape backgrounds] (0,0) -- (3,0); +\\ \hline +\RDD{crosses} & \RDD{triangles} & \RDD{shape backgrounds} \\ +\hline +\end{tabular} +\end{center} + + \bigskip + +\begin{tabular}{|l|c|} \hline +\multicolumn{2}{|c|}{\BSS{draw}[decorate,decoration=\AC{crosses,\RDD{segment length}=1cm}](0,0) - - (10,0);} +\\ \hline + +\RDD{segment length} = 1cm +& +\tikz \draw[decorate,decoration={crosses,segment length=1cm}] (0,0) -- (10,0); +\\ \hline +\RDD{shape width} = 1cm +& +\tikz \draw[decorate,decoration={crosses,shape width=1cm}] (0,0) -- (10,0); +\\ \hline +\RDD{shape height} = 1cm +& +\tikz \draw[decorate,decoration={crosses,shape + height=1cm}] (0,0) -- (10,0); +\\ \hline +\RDD{shape size} = 1cm +& +\tikz \draw[decorate,decoration={crosses,shape size=1cm}] (0,0) -- (10,0); +\\ \hline +\multicolumn{2}{|c|}{\dft : shape width = shape height = 2.5pt} + \\ \hline +\end{tabular} + + + +\subsubsection{\og shape backgrounds \fg } + + + +\tikzset{paint/.style={ draw=#1!50!black, fill=#1!50 }, +decorate with/.style= +{decorate,decoration={shape backgrounds,shape=#1,shape size=2mm}}} + +\begin{tabular}{|c|c|c|c|} \hline + \multicolumn{4}{|c|}{\BS{draw}[\RDD{decorate with}=dart] (0,2.5) - - (3,2.5); } + \\ \hline +\tikz \draw[decorate with=dart] (0,2.5) -- (3,2.5); +& +\tikz \draw[decorate with=diamond] (0,2.5) -- (3,2.5); +& +\tikz \draw[decorate with=rectangle] (0,2.5) -- (3,2.5); +& +\tikz \draw[decorate with=circle] (0,2.5) -- (3,2.5); +\\ \hline +dart & diamond & rectangle & circle\\ +\hline +\tikz \draw[decorate with=star] (0,2.5) -- (3,2.5); +& +\tikz \draw[decorate with=regular polygon] (0,2.5) -- (3,2.5); +& +\tikz \draw[decorate with=signal] (0,2.5) -- (3,2.5); +& +\tikz \draw[decorate with=kite] (0,2.5) -- (3,2.5); +\\ \hline +star & regular polygon & signal & kite +\\ \hline +\multicolumn{4}{|c|}{\TFRGB{Autres possibilités et paramètres voir page \pageref{formes} et suivantes}{Other possibilities or parameters see from page \pageref{formes} }} + +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|l|c|}\hline +\multicolumn{2}{|c|}{ \TFRGB{Formes disponibles}{Shapes available} } +\\ \hline +\emph{\TFRGB{Syntaxe}{Syntax}} &\BSS{draw}[decorate,decoration=\{ \RDD{shape backgrounds},\RDD{shape}=dart,\\ + & shape size=.5cm,shape sep=1cm\}] (0,0) - - (10,0); + \\ \hline +\emph{\TFRGB{Autre syntaxe}{Other syntax}} + & +\BS{draw}[\RDD{decorate with}=dart,decoration=\AC{shape size=.5cm,shape sep=1cm}] \\ + & (0,0) -- (10,0); + + \\ \hline \hline +\RDD{dart} +& +\tikz \draw[decorate,decoration={shape backgrounds, shape=dart,shape size=.5cm,shape sep=1cm}] (0,2.5) -- (10,2.5); +\\ \hline +\RDD{rectangle} +& +\tikz \draw[decorate,decoration={shape backgrounds, shape=rectangle,shape size=.5cm,shape sep=1cm}] (0,2.5) -- (10,2.5); +\\ \hline +\RDD{cloud} +& +\tikz \draw[decorate,decoration={shape backgrounds, shape=cloud,shape size=.5cm,shape sep={1cm}}] (0,2.5) -- (10,2.5); +\\ \hline +\RDD{star} +& +\tikz \draw[decorate,decoration={shape backgrounds, shape=star,shape size=.5cm,shape sep={1cm}}] (0,2.5) -- (10,2.5); +\\ \hline +\RDD{starburst} +& +\tikz \draw[decorate,decoration={shape backgrounds, shape=starburst,shape size=.5cm,shape sep={1cm}}] (0,2.5) -- (10,2.5); +\\ \hline +\RDD{tape} +& +\tikz \draw[decorate,decoration={shape backgrounds, shape=tape,shape size=.5cm,shape sep={1cm}}] (0,2.5) -- (10,2.5); +\\ \hline +\RDD{kite} +& +\tikz \draw[decorate,decoration={shape backgrounds, shape=kite,shape size=.5cm,shape sep={1cm}}] (0,2.5) -- (10,2.5); +\\ \hline +\RDD{signal} +& +\tikz \draw[decorate,decoration={shape backgrounds, shape=signal,shape size=.5cm,shape sep={1cm}}] (0,2.5) -- (10,2.5); +\\ \hline +\multicolumn{2}{|c|}{\dft : shape= circle } + \\ \hline + \multicolumn{2}{|c|}{ \TFRGB{Autres possibilités voir page \pageref{formes} et suivantes} {Other possibilities see page \pageref{formes} }} + \\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|c|c|} \hline +\multicolumn{2}{|c|}{ \TFRGB{Paramètres}{Parameters} } +\\ \hline + \multicolumn{4}{|l|}{\BS{draw}[decorate with=star,\RDD{star points}=3,decoration=\AC{shape size=.5cm,shape sep=1cm}] }\\ + \multicolumn{4}{|l|}{ (0,2.5) - - (3,2.5); } + \\ \hline +\tikz \draw[decorate with=star,star points=3,decoration={shape size=.5cm,shape sep=1cm}] (0,2.5) -- (3,2.5); +& +\tikz \draw[decorate with=star,star points=4,decoration={shape size=.5cm,shape sep=1cm}] (0,2.5) -- (3,2.5); +& +\tikz \draw[decorate with=star,star points=5,,decoration={shape size=.5cm,shape sep=1cm}] (0,2.5) -- (3,2.5); +& +\tikz \draw[decorate with=star,star points=8,decoration={shape size=.5cm,shape sep=1cm}] (0,2.5) -- (3,2.5); +\\ \hline +star points=3 & star points=4 & star points=5 & star points=8\\ \hline + + \hline + \multicolumn{4}{|c|}{\BS{draw}[decorate with=star,\RDD{paint}=green,decoration=\AC{shape size=.5cm,shape sep=1cm}] } \\ +\\ + \multicolumn{4}{|l|}{ (0,2.5) - - (3,2.5); } + \\ \hline +\tikz \draw[decorate with=star,paint=green,decoration={shape size=.5cm,shape sep=1cm}] (0,2.5) -- (3,2.5); +& +\tikz \draw[decorate with=star,double,decoration={shape size=.5cm,shape sep=1cm}] (0,2.5) -- (3,2.5); +& +\tikz \draw[decorate with=star,star points=8,ultra thick,decoration={shape size=.5cm,shape sep=1cm}] (0,2.5) -- (3,2.5); +& +\tikz \draw[decorate with=star,star point ratio = 3,decoration={shape size=.5cm,shape sep=1cm}] (0,2.5) -- (3,2.5); +\\ \hline +\RDD{paint}=green +& +\RDD{double} +& +\RDD{ultra thick} +& +\RDD{star point ratio} = 3 +\\ \hline +\end{tabular} + +\bigskip + + +\begin{tabular}{|c|c|} \hline +\multicolumn{2}{|c|}{ \TFRGB{Espacement}{Spacing} } +\\ \hline + +\multicolumn{2}{|c|}{\BSS{draw}[decorate with=dart,decoration=\{shape size=.5cm,}\\ +\multicolumn{2}{|c|}{\RDD{shape sep}=1cm\}] (0,2.5) - - (10,2.5);} + \\ \hline + +shape sep=\AC{1cm} +& +\tikz \draw[decorate with=dart,decoration={shape size=.5cm,shape sep=1cm}] (0,2.5) -- (10,2.5); +\\ \hline +shape sep=\AC{2cm} +& +\tikz \draw[decorate with=dart,decoration={shape size=.5cm ,shape sep=2cm}] (0,2.5) -- (10,2.5); +\\ \hline +\multicolumn{2}{|c|}{\dft : shape sep= 0.25cm} + \\ \hline +\end{tabular} + +\bigskip + + +\begin{tabular}{|l|c|} \hline +\multicolumn{2}{|c|}{ \TFRGB{Type d'espacement}{Type of spacing} } +\\ \hline + +\multicolumn{2}{|c|}{\BSS{draw}[decorate with=dart,decoration=\{shape size=.5cm,}\\ +\multicolumn{2}{|c|}{ +shape sep=\AC{1cm,\RDD{between centers}}\}] (0,2.5) - - (10,2.5);} + \\ \hline +\RDD{between centers} +& +\begin{tikzpicture} +\draw[dotted,red] (0,2.5) -- (10,2.5) ; +\draw[decorate with=dart,decoration={shape size=.5cm,shape sep={1cm,between centers}}] (0,2.5) -- (10,2.5); +\end{tikzpicture} +\\ \hline +\RDD{between borders} +& +\begin{tikzpicture} +\draw[dotted,red] (0,2.5) -- (10,2.5) ; +\draw[decorate with=dart,decoration={shape size=.5cm ,shape sep={1cm,between borders}}] (0,2.5) -- (10,2.5); +\end{tikzpicture} +\\ \hline +\multicolumn{2}{|c|}{\dft : between centers } + \\ \hline +\end{tabular} + +\bigskip + + +\begin{tabular}{|l|c|} \hline +\multicolumn{2}{|c|}{ \TFRGB{Espacement automatique}{Automatic spacing } } +\\ \hline + +\multicolumn{2}{|c|}{\BSS{draw}[decorate with=dart,decoration=\{shape size=.5cm,}\\ +\multicolumn{2}{|c|}{\RDD{shape evenly spread}=5\}] (0,0) - - (10,0);} + \\ \hline +shape evenly spread=5 +& +\begin{tikzpicture} +\draw[dotted,red] (0,0) -- (10,0) ; \draw[decorate with=dart,decoration={shape size=.5cm,shape evenly spread=5}] (0,0) -- (10,0); +\end{tikzpicture} +\\ \hline +shape evenly spread=10 +& +\begin{tikzpicture} +\draw[dotted,red] (0,2.5) -- (10,2.5) ; +\draw[decorate with=dart,decoration={shape size=.5cm,shape evenly spread=10}] (0,2.5) -- (10,2.5); +\end{tikzpicture} + +\\ \hline +\end{tabular} + + +\paragraph{Orientation}: + + +\begin{tabular}{|c|c|} \hline +\multicolumn{2}{|c|}{ '' shape border rotate `` } +\\ \hline +shape border rotate=90 +& +\tikz \draw[decorate with=dart,shape border rotate=90,decoration={shape sep=1cm,shape width=.5cm}] (0,0) -- (10,0); +\\ \hline +shape border rotate=45 +& +\tikz \draw[decorate with=dart,shape border rotate=45,decoration={shape sep=1cm,shape width=.5cm}] (0,0) -- (10,0); +\\ \hline +shape border rotate=180 +& +\tikz \draw[decorate with=dart,shape border rotate=180,decoration={shape sep=1cm,shape width=.5cm}] (0,0) -- (10,0); +\\ \hline +\end{tabular} + + \bigskip + + +\begin{tabular}{|c|c|} \hline +\multicolumn{2}{|c|}{ \og shape sloped \fg } +\\ \hline + \multicolumn{2}{|c|}{\BSS{draw}[decorate with=dart,decoration=\{shape width=.5cm,shape sep=1cm, }\\ + \multicolumn{2}{|c|}{ \RDD{shape sloped}=true \}] (0,0) - - (3,3);} + \\ \hline +\begin{tikzpicture} +\draw[dotted,red] (0,0) -- (3,3); +\draw[decorate with=dart,decoration={shape width=.5cm ,shape sep=1cm,shape sloped=true}] (0,0) -- (3,3); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw[dotted,red] (0,0) -- (3,3); + \draw[decorate with=dart,decoration={shape width=.5cm ,shape sep=1cm,shape sloped=false}] (0,0) -- (3,3); +\end{tikzpicture} +\\ \hline +shape sloped=true +& +shape sloped=false +\\ \hline +\multicolumn{2}{|c|}{\dft : shape sloped=true } + \\ \hline +\end{tabular} + \bigskip + +\begin{tabular}{|c|c|} \hline + \multicolumn{2}{|c|}{\BSS{draw}[decorate with=dart,decoration=\{shape width=.5cm,shape sep=1cm, }\\ + \multicolumn{2}{|c|}{ \RDD{shape sloped}=true\}] (0,0) arc (0:180:3 and 2);} + \\ \hline +\begin{tikzpicture} +\draw[dotted,red] (0,0) arc (0:180:3 and 2); +\draw[decorate with=dart,decoration={shape width=.5cm ,shape sep=1cm,shape sloped=true}] (0,0) arc (0:180:3 and 2); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw[dotted,red] (0,0) arc (0:180:3 and 2); + \draw[decorate with=dart,decoration={shape width=.5cm ,shape sep=1cm,shape sloped=false}] (0,0) arc (0:180:3 and 2); +\end{tikzpicture} +\\ \hline +shape sloped=true +& +shape sloped=false +\\ \hline +\multicolumn{2}{|c|}{\dft : shape sloped=true } + \\ \hline +\end{tabular} + + \bigskip + +\begin{tabular}{|c|c|} \hline + \multicolumn{2}{|c|}{\BSS{draw}[decorate with=dart,decoration=\{shape width=.5cm,shape sep=1cm, }\\ + \multicolumn{2}{|c|}{ \RDD{shape border rotate}=90,shape sloped=true \}] (0,0) - - (3,3);} + \\ \hline + +\begin{tikzpicture} +\draw[dotted,red] (0,0) -- (3,3); +\tikz \draw[decorate with=dart,shape border rotate=90,decoration={shape sep=1cm,shape sloped=true,shape width=.5cm}] (0,0) -- (3,3); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw[dotted,red] (0,0) -- (3,3); +\draw[decorate with=dart,shape border rotate=90,decoration={shape sep=1cm,shape sloped=false,shape width=.5cm}] (0,0) -- (3,3); +\end{tikzpicture} +\\ \hline +shape sloped=true +& +shape sloped=false +\\ \hline +\end{tabular} + + \bigskip + + + +\begin{tabular}{|c|c|}\hline +\multicolumn{2}{|c|}{ \og shift only \fg } +\\ \hline + \multicolumn{2}{|c|}{ decoration={ + {\color{red}transform=\AC{shift only}},shape width=5mm,segment length=.5cm,shape sep=1cm}} + \\ \hline +\begin{tikzpicture} +\draw (0,0) arc (0:180:3 and 2); +\draw[decorate with=dart,decoration={ +transform={shift only},shape width=5mm,segment length=.5cm,shape sep=1cm}] +(0,0) arc (0:180:3 and 2); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw (0,0) arc (0:180:3 and 2); +\draw[decorate with=dart,decoration={ +shape width=5mm,segment length=.5cm,shape sep=1cm}] +(0,0) arc (0:180:3 and 2); +\end{tikzpicture} +\\ \hline +avec & sans\\ +\hline +\end{tabular} + + +\bigskip + +\begin{tabular}{|c|c|} \hline +\multicolumn{2}{|c|}{ Dimensions } +\\ \hline +\multicolumn{2}{|c|}{\BSS{draw}[decorate with=dart,decoration=\{shape size=.5cm,}\\ +\multicolumn{2}{|c|}{\RDD{shape height}= 1cm \}] (0,0) - - (10,0);} +\\ \hline +\RDD{shape height}=1cm +& +\begin{tikzpicture} [baseline=0pt] +\draw[decorate with=dart,decoration={shape sep=1cm,shape height=1cm}] (0,0) -- (10,0); +\end{tikzpicture} +\\ \hline +\RDD{shape width}=1cm +& +\begin{tikzpicture} [baseline=0pt] +\draw[decorate with=dart,decoration={shape sep=1cm,shape width=1cm,shape scaled}] (0,0) -- (10,0); +\end{tikzpicture} +\\ \hline +\RDD{shape size}=1cm +& +\begin{tikzpicture} [baseline=0pt] +\draw[decorate with=dart,decoration={shape sep=1cm,shape size=1cm,shape scaled}] (0,0) -- (10,0); +\end{tikzpicture} +\\ \hline +\end{tabular} + + + \bigskip + + +\begin{tabular}{|l|c|} \hline +\multicolumn{2}{|c|}{\BSS{draw}[decorate with=dart,decoration=\{shape size=.5cm,}\\ +\multicolumn{2}{|c|}{\RDD{shape start size}=1cm,\RDD{shape scaled} \}] (0,2.5) - - (10,2.5);} + \\ \hline + +\RDD{shape start size}=1cm +& +\tikz \draw[decorate with=dart,decoration={shape sep=1cm,shape start size=1cm,shape scaled}] (0,0) -- (10,0); +\\ \hline +\RDD{shape start height}=1cm +& +\tikz \draw[decorate with=dart,decoration={shape sep=1cm,shape start height=1cm,shape scaled}] (0,0) -- (10,0); + +\\ \hline +\RDD{shape start width}=1cm +& +\tikz \draw[decorate with=dart,decoration={shape sep=1cm,shape start width=1cm,shape scaled}] (0,0) -- (10,0); +\\ \hline +\RDD{shape end size}=1cm +& +\tikz \draw[decorate with=dart,decoration={shape sep=1cm,shape end size=1cm,shape scaled}] (0,0) -- (10,0); + +\\ \hline +\RDD{shape end height}=1cm +& +\tikz \draw[decorate with=dart,decoration={shape sep=1cm,shape end height=1cm,shape scaled}] (0,0) -- (10,0); +\\ \hline +\RDD{shape end width}=1cm +& +\tikz \draw[decorate with=dart,decoration={shape sep=1cm,shape end width=1cm,shape scaled}] (0,0) -- (10,0); +\\ \hline +\end{tabular} + + +\newpage +\subsection{Library \og decorations.text \fg } + + + \maboite{\BS{usetikzlibrary}\AC{decorations.text}} +\label{lib-text} + +\begin{center} +\RRR{48-6} +\end{center} + + +\begin{tabular}{|c|} \hline + \BS{draw}[decorate,decoration=\AC{{\color{red}text along path,text=\AC{texte}}}] (1,1) circle (1); +\\ \hline +\begin{tikzpicture} +\draw[dotted] (1,1) circle (1); +\draw[decorate,decoration={text along path,text={texte}}] (1,1) circle (1); +\end{tikzpicture} +\\ \hline +\end{tabular} + + +\begin{tabular}{|c|} \hline +\multicolumn{1}{|c|}{ \TFRGB{Texte trop long}{Text too long} } +\\ \hline + + \BS{draw}[decorate,decoration=\AC{text along path,\\ + text=\AC{Un Deux Trois Quatre Cinq Six sept Huit Neuf Dix}}] (1,1) circle (1); +\\ \hline +\begin{tikzpicture} +\draw[dotted] (1,1) circle (1); + \draw[decorate,decoration={text along path,text={Un Deux Trois Quatre Cinq Six sept Huit Neuf Dix}}] (1,1) circle (1); +\end{tikzpicture} +\\ \hline +\end{tabular} + + +\begin{tabular}{|c|c|c|} \hline +\multicolumn{3}{|c|}{ \TFRGB{Format du texte}{Text format}} +\\ \hline +\multicolumn{3}{|c|}{\BS{draw} [decorate,decoration=\AC{text along path, +text={avant {\color{red}|\BS{red} | texte | |} après }}]} +\\ \hline +\begin{tikzpicture} +\draw[dotted] (1,1) circle (1); +\draw [decorate,decoration={text along path, +text={avant |\color{red} |texte|| après }}] +(1,1) circle (1); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw[dotted] (1,1) circle (1); +\draw [decorate,decoration={text along path, +text={|\color{red} |texte|| }}] +(1,1) circle (1); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw[dotted] (1,1) circle (1); +\draw [decorate,decoration={text along path, +text={|\color{red} |texte|| {} }}] +(1,1) circle (1); +\end{tikzpicture} +\\ \hline +text=\AC{avant |\BS{red}|texte|| après } +& +text=\AC{ |\BS{red}|texte|| } +& +text=\AC{ |\BS{red}|texte|| \AC{} } +\\ \hline +\end{tabular} + +\bigskip +\begin{tabular}{|c|c|c|} \hline + +\begin{tikzpicture} +\draw[dotted] (1,1) circle (1); +\draw [decorate,decoration={text along path, +text={ avant |\color{red} | texte || après }}] +(1,1) circle (1); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw[dotted] (1,1) circle (1); +\draw [decorate,decoration={text along path, +text={ avant |\it| texte || après }}] +(1,1) circle (1); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw[dotted] (1,1) circle (1); +\draw [decorate,decoration={text along path, +text={ avant |\Huge| texte || après }}] +(1,1) circle (1); +\end{tikzpicture} +\\ \hline +avant | {\color{red} \BS{red}}| texte || après +& avant | {\color{red}\BS{it}}| texte || après +& avant | {\color{red}\BS{Huge}}| texte || après \\ +\hline +\end{tabular} + +\bigskip + + +\begin{tabular}{|c|} \hline +\BS{draw} [decorate,decoration=\AC{text along path,\\ +text=\AC{avant |{\color{red}\BS{Large}}|Visual |{\color{red}+\BS{bf}\BS{color}}\AC{red}|Tikz|| après }}] +(1,1) circle (1); +\\ \hline +\begin{tikzpicture} +\draw[dotted] (1,1) circle (1); +\draw [decorate,decoration={text along path, +text={avant |\Large|Visual |+\bf\color{red}|Tikz|| après }}] +(1,1) circle (1); +\end{tikzpicture} +\\ \hline +\end{tabular} + + +\bigskip + +\begin{tabular}{|c|} \hline +\BS{draw} [decorate,decoration=\AC{text along path,{\color{red}text format delimiters=\AC{[}\AC{]}},\\ +text=\AC{ {\color{red} [} \BS{red} {\color{red} ]} texte {\color{red} [ ]} }}] +(1,1) circle (1); +\\ \hline +\begin{tikzpicture} +\draw[dotted] (1,1) circle (1); +\draw [decorate,decoration={text along path,text format delimiters={[}{]}, +text={ [ \color{red} ] texte [] }}] +(1,1) circle (1); +\end{tikzpicture} +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|} \hline +\multicolumn{1}{|c|}{ \TFRGB{Sens du texte}{Text orientation} } +\\ \hline +\BS{draw}[decorate,decoration=\AC{text along path,text=\AC{texte},\\ +text color=blue, \RDD{reverse path} }] (1,1) circle (1); +\\ \hline +\begin{tikzpicture} +\draw[dotted] (1,1) circle (1); +\draw[decorate,decoration={text along path,text={texte},text color=red}] (1,1) circle (1); +\draw[decorate,decoration={text along path,text={texte},text color=blue, reverse path}] (1,1) circle (1); +\end{tikzpicture} +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|c|} \hline +\multicolumn{3}{|c|}{ \TFRGB{Position du texte}{Text position} } +\\ \hline +\multicolumn{3}{|c|}{ \BS{draw}[decorate,decoration=\{ text along path,text=\AC{texte},}\\ +\multicolumn{3}{|c|}{ {\color{red}text align=\AC{align=left}}\}] (1,1) circle (1);} +\\ \hline +\begin{tikzpicture} +\draw[dotted] (1,1) circle (1); + \draw[decorate,decoration={text along path,text={texte},text align={align=left}}] (1,1) circle (1); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw[dotted] (1,1) circle (1); + \draw[decorate,decoration={text along path,text={texte},text align={align=center}}] (1,1) circle (1); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw[dotted] (1,1) circle (1); +\draw[decorate,decoration={text along path,text={texte},text align={align=right}}] (1,1) circle (1); +\end{tikzpicture} +\\ \hline + +align=\AC{\RDD{align}=\RDDX{left}{align}} & align=\AC{\RDD{align}=\RDDX{center}{align}} & align=\AC{\RDD{align}=\RDDX{right}{align}} \\ +\hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|} \hline + \multicolumn{2}{|c|}{ \BS{draw}[ decorate,decoration=\{text along path,text=\AC{texte},} \\ + \multicolumn{2}{|c|}{ text align=\AC{align=left,\RDD{left indent}=1cm} \} ] (1,1) circle (1);} + \\ \hline +\begin{tikzpicture} +\draw[dotted] (1,1) circle (1); +\tikz \draw[decorate,decoration={text along path,text={texte},text align={align=left,left indent=1cm}}] (1,1) circle (1); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw[dotted] (1,1) circle (1); +\tikz \draw[decorate,decoration={text along path,text={texte},text align={align=right,right indent=1cm}}] (1,1) circle (1); +\end{tikzpicture} +\\ \hline + align=\AC{align=left,\RDD{left indent}=1cm} +& +align=\AC{align=right,\RDD{right indent}=1cm} + \\ \hline +\end{tabular} + + +\begin{tabular}{|c|} \hline +\multicolumn{1}{|c|}{ \TFRGB{Justification du texte}{Fit to path} } +\\ \hline + +\BS{draw} [decoration=\AC{text along path, text=\AC{Un deux trois quatre },\\ +text align=\AC{\RDD{fit to path}}}, decorate] +(1,1) circle (1); +\\ \hline +\begin{tikzpicture} +\draw[dotted] (1,1) circle (1); +\draw [decoration={text along path, text={Un deux trois quatre },text align={fit to path}}, decorate] +(1,1) circle (1); +\end{tikzpicture} +\\ \hline +\end{tabular} + + + +\begin{tabular}{|c|} \hline +\multicolumn{1}{|c|}{ \TFRGB{Justification des espaces}{Fit to path stretching spaces} } +\\ \hline +\BS{draw} [decoration=\AC{text along path, text=\AC{Un deux trois quatre },\\ +text align=\AC{\RDD{fit to path stretching spaces}}}, decorate] +(1,1) circle (1); + \\ \hline +\begin{tikzpicture} +\draw[dotted] (1,1) circle (1); +\draw [decoration={text along path, text={Un deux trois quatre },text align={fit to path stretching spaces}}, decorate] +(1,1) circle (1); +\end{tikzpicture} + \\ \hline +\end{tabular} + +\newpage + +\subsection{Library \og decorations.fractals \fg } + + + \maboite{\BS{usetikzlibrary}\AC{decorations.fractals}} +\label{lib-fractals} + +\begin{center} +\RRR{48-7} +\end{center} + \bigskip + +\begin{tabular}{|c|c|c|c|} \hline +\multicolumn{4}{|c|}{\BSS{draw}[decorate,decoration=\RDD{Koch curve type 1}] (0,0) - - (3,0);} + \\ \hline +\tikz \draw[decorate,decoration=Koch curve type 1] (0,0) -- (3,0); + & +\tikz \draw[decorate,decoration=Koch curve type 2] (0,0) -- (3,0); + & +\tikz \draw[decorate,decoration=Koch snowflake] (0,0) -- (3,0); + & +\tikz \draw[decorate,decoration=Cantor set] (0,0) -- (3,0); + \\ \hline + +\RDD{Koch curve type 1} & \RDD{Koch curve type 2} & \RDD{Koch snowflake} & \RDD{Cantor set} \\ +\hline +\end{tabular} + + \bigskip + + +\begin{tabular}{|c|c|c|c|} \hline +\multicolumn{4}{|c|}{\BS{begin}\AC{tikzpicture}[decoration=Koch curve type 1] } + \\ +\multicolumn{4}{|c|}{\BS{draw} \color{green} decorate \AC{ \color{red} decorate \AC{ \color{black} (0,0) -- (3,0) \color{red} }\color{green} };} + \\ +\multicolumn{4}{|c|}{\BS{end}\AC{tikzpicture}} \\ \hline +\begin{tikzpicture}[decoration=Koch curve type 1] +\draw decorate{ decorate{ (0,0) -- (3,0) }}; +\end{tikzpicture} +& +\begin{tikzpicture}[decoration=Koch curve type 2] +\draw decorate{ decorate{ (0,0) -- (3,0) }}; +\end{tikzpicture} +& +\begin{tikzpicture}[decoration=Koch snowflake] +\draw decorate{ decorate{ ((0,0) -- (3,0) }}; +\end{tikzpicture} +& +\begin{tikzpicture}[decoration=Cantor set] +\draw decorate{ decorate{ (0,0) -- (3,0)}}; +\end{tikzpicture} +\\ \hline & & & \\ +\hline +Koch curve type 1 & Koch curve type 2 & Koch snowflake & Cantor set \\ +\hline +\end{tabular} + + \bigskip + + + +\begin{tabular}{|c|c|c|c|} \hline +\multicolumn{4}{|c|}{\BSS{draw} \color{green} decorate \AC{ \color{red} decorate \AC{ \color{blue} decorate \AC{ \color{black} (0,0) - - (3,0) \color{blue} } \color{red} } \color{green}};} + \\ \hline + +\begin{tikzpicture}[decoration=Koch curve type 1] +\draw decorate{ decorate{ decorate{ (0,0) -- (3,0) }}}; +\end{tikzpicture} +& +\begin{tikzpicture}[decoration=Koch curve type 2] +\draw decorate{ decorate{ decorate{ (0,0) -- (3,0) }}}; +\end{tikzpicture} +& +\begin{tikzpicture}[decoration=Koch snowflake ] +\draw decorate{ decorate{ decorate{ (0,0) -- (3,0) }}}; +\end{tikzpicture} +& +\begin{tikzpicture}[decoration=Cantor set] +\draw decorate{ decorate{ decorate{ (0,0) -- (3,0) }}}; +\end{tikzpicture} +\\ \hline +Koch curve type 1 & Koch curve type 2 & Koch snowflake & Cantor set \\ +\hline +\end{tabular} + + \bigskip + +\begin{tabular}{|c|c|c|c|} \hline +\begin{tikzpicture}[decoration=Koch snowflake,draw=blue,fill=blue!20,thick] +\filldraw (0,0) -- ++(60:3) -- ++(-60:3) -- cycle ; +\end{tikzpicture} +& + +\begin{tikzpicture}[decoration=Koch snowflake,draw=blue,fill=blue!20,thick] +\filldraw decorate{ (0,0) -- ++(60:3) -- ++(-60:3) -- cycle }; + +\end{tikzpicture} +& +\begin{tikzpicture}[decoration=Koch snowflake,draw=blue,fill=blue!20,thick] +\filldraw decorate{ decorate{ (0,0) -- ++(60:3) -- ++(-60:3) -- cycle }}; +\end{tikzpicture} +& +\begin{tikzpicture}[decoration=Koch snowflake,draw=blue,fill=blue!20,thick] +\filldraw decorate{ decorate{ decorate{ (0,0) -- ++(60:3) -- ++(-60:3) -- cycle }}}; +\end{tikzpicture} +\\ \hline +sans & 1 decorate +& 2 decorate & 3 decorate \\ \hline +\end{tabular} + +\newpage + + +\subsection{Applications} + + +\SbSbSSCT{Décoration d'un n\oe ud}{Node decoration} + +\begin{tabular}{|c|c|} \hline + \multicolumn{2}{|c|}{ \BS{node} [draw,decorate,decoration=\{bumps, + minimum height=2cm, minimum width=3cm\}] + \AC{texte}; } + \\ \hline +\begin{tikzpicture} +\node [fill=green,draw,decorate,decoration={bumps}, + minimum height=2cm, minimum width=3cm,] +{texte}; +\end{tikzpicture} +& +\begin{tikzpicture} +\node [fill=green,draw,decorate,decoration=footprints, + minimum height=2cm, minimum width=3cm] +{texte}; +\end{tikzpicture} +\\ \hline +decoration=\RDD{bumps}& decoration=\RDD{footprints} \\ \hline + +\begin{tikzpicture} +\node [fill=green,draw,thick, minimum height=2cm, minimum width=3cm,decorate, decoration={random steps, amplitude=1pt}] {texte}; +\end{tikzpicture} +& +\begin{tikzpicture}[decoration={random steps,segment length=3pt , amplitude=2pt}] +\node at (0,0) [fill=green,decorate,starburst, + minimum height=2cm, minimum width=3cm] {Texte}; +\end{tikzpicture} +\\ \hline + decoration=\{random steps , amplitude = 1pt \} + & + starburst,decoration=\{random steps, \\ + & + segment length=3pt , amplitude=2pt\} +\\ \hline +\begin{tikzpicture} +\node at (0,0) [fill=green,decorate,ellipse,decoration=zigzag, + minimum height=2cm, minimum width=3cm] {Texte}; +\end{tikzpicture} +& +\begin{tikzpicture} +\node at (0,0) [inner sep=6mm,fill=green,decorate,ellipse,decoration= +{text along path,text={Un Deux Trois Quatre Cinq Six Sept Huit Neuf}}] {texte}; +\end{tikzpicture} +\\ \hline + ellipse,decoration=zigzag & decoration= \{text along path,text= \\ + + & \AC{Un Deux Trois Quatre Cinq Six Sept Huit Neuf} \} +\\ \hline +\end{tabular} + +\SbSbSSCT{Décoration de liaisons de noeuds}{Node link decoration} + +\begin{tabular}{|c|c|c|} \hline +\multicolumn{3}{|c|}{\BS{draw} [decorate,decoration=snake](A) -- (B);} + \\ \hline +\begin{tikzpicture}[blue] +\node[draw] (A) at (0,0) {A}; +\node[draw] (B) at (2,2) {B}; +\draw [decorate,decoration=snake](A) -- (B); +\end{tikzpicture} +& +\begin{tikzpicture}[blue] +\node[draw] (A) at (0,0) {A}; +\node[draw] (B) at (2,2) {B}; +\draw [decorate,decoration=coil](A) |- (B); +\end{tikzpicture} +& +\begin{tikzpicture}[blue] +\node[draw] (A) at (0,0) {A}; +\node[draw] (B) at (2,2) {B}; +\draw [decorate,decoration=footprints](A) -| (B); +\end{tikzpicture} +\\ \hline +decoration=snake & decoration=coil & decoration=footprints \\ +(A){\color{red} - -} (B) & (A) {\color{red}|-} (B) & (A) {\color{red}-|} (B) +\\ \hline +\begin{tikzpicture}[blue] +\node[draw] (A) at (0,0) {A}; +\node[draw] (B) at (2,2) {B}; +\draw [decorate,decoration=coil] (A) to [bend right] (B); +\end{tikzpicture} +& +\begin{tikzpicture}[blue] +\node[draw] (A) at (0,0) {A}; +\node[draw] (B) at (2,2) {B}; +\draw[decorate,decoration=zigzag] (A) to[bend left=120] (B); +\end{tikzpicture} +& +\begin{tikzpicture}[blue] +\node[draw] (A) at (0,0) {A}; +\node[draw] (B) at (2,2) {B}; +\draw [decorate,decoration=ticks](A) to[out=30] (B); +\end{tikzpicture} +\\ \hline +decoration=coil & decoration=zigzag & decoration=ticks \\ +(A) to [bend right] (B) & (A) to[bend left=120] (B) & (A) to[out=30] (B) +\\ \hline + +\end{tabular} + + \bigskip + + +\SbSbSSCT{Décoration d'un graphe}{Graph decoration} + +\begin{tabular}{|c|c|}\hline +\multicolumn{2}{|c|}{\BSS{draw}[ +\RDD{decorate},decoration=footprints] plot coordinates {(0,0) (2,1) (4,-2) (6,1) };} + \\ \hline +\begin{tikzpicture}[baseline=0pt] +\draw[->,blue] (-.1,0) -- (6,0); +\draw[->,blue] (0,-2.5) -- (0,2.5); + \draw[red,dashed] plot coordinates {(0,0) (2,1) (4,-2) (6,1) }; + \draw[decorate,decoration=footprints] plot coordinates {(0,0) (2,1) (4,-2) (6,1) }; +\end{tikzpicture} +& +\begin{tikzpicture}[domain=0:6.28,x=0.7cm,baseline=0pt] +\draw[->,blue] (-.1,0) -- (7,0); +\draw[->,blue] (0,-2.5) -- (0,2.5); +\draw[red,dashed] plot (\x,{sin(\x r)}); +\draw[decorate,decoration=footprints] plot (\x,{sin(\x r)}); +\end{tikzpicture} +\\ \hline +plot coordinates {(0,0) (2,1) (4,-2) (6,1) } +& + plot (\BS{x},\AC{sin(\BS{x} r)}) +\\ \hline +\end{tabular} + + +\SbSbSSCT{Décorations variables}{Various decoration} + +\begin{tabular}{|c|} \hline +\BS{draw} [decorate, +decoration=\AC{zigzag,\RDD{pre}=footprints,\RDD{pre length}=5cm}](0,0) -- (10,0); +\\ \hline +\begin{tikzpicture}[baseline=0pt] +\draw[red!20] (0,-0.5) grid (10,0.5); +\draw[dotted,red] (0,0) -- (10,0); +\draw [decorate,decoration={zigzag,pre=footprints,pre length=5cm}] (0,0) -- (10,0); +\end{tikzpicture} +\\ \hline +decoration=\AC{zigzag,\RDD{pre}=footprints,\RDD{pre length}=5cm} +\\ \hline +\begin{tikzpicture}[baseline=0pt] +\draw[red!20] (0,-0.5) grid (10,0.5); +\draw[dotted,red] (0,0) -- (10,0); +\draw [decorate,decoration={zigzag,post=footprints,post length=5cm}] (0,0) -- (10,0); +\end{tikzpicture} +\\ \hline +decoration=\AC{zigzag,\RDD{post}=footprints,\RDD{post length}=5cm} +\\ \hline +\begin{tikzpicture}[baseline=0pt] +\draw[red!20] (0,-0.5) grid (10,0.5); +\draw[dotted,red] (0,0) -- (10,0); +\draw [decorate,decoration={zigzag,pre=footprints,pre length=3cm,post=expanding waves,post length=3cm}] (0,0) -- (10,0); +\end{tikzpicture} +\\ \hline +decoration=\AC{zigzag,\RDD{pre}=footprints,\RDD{pre length}=3cm, +,\RDD{post}=expanding waves,\RDD{post length}=3cm} +\\ \hline +\end{tabular} + + +\SbSbSSCT{Décoration partielle}{Partial decoration} + +\begin{tabular}{|c|l|} \hline +\begin{tikzpicture}[baseline=0pt] +\draw [decorate,decoration={zigzag}] + (0,0) -- (2,0) -- (2,1) -- (0,1)-- cycle; + \end{tikzpicture} +& +\BS{draw} [decorate,decoration=zigzag] + (0,0) -- (2,0) -- (2,1) -- (0,1)-- cycle; +\\ +\hline + +\begin{tikzpicture}[baseline=0pt] + \draw [decoration=zigzag] + (0,0) -- (2,0) decorate{ -- (2,1)} -- (0,1)-- cycle; + \end{tikzpicture} +& +\BS{draw} [decoration=zigzag] + (0,0) -- (2,0) \RDD{decorate}\AC{-- (2,1)} -- (0,1)-- cycle; +\\ +\hline +\begin{tikzpicture}[baseline=0pt] + \draw [decoration={zigzag}] + (0,0) -- (2,0) -- (2,1) decorate{-- (0,1)}-- cycle; + \end{tikzpicture} +& +\BS{draw} [decorate,decoration=zigzag] + (0,0) -- (2,0) -- (2,1) -- \RDD{decorate}\AC{(0,1)}-- cycle; +\\ \hline +\begin{tikzpicture}[baseline=0pt] + \draw [decoration={zigzag}] + (0,0) decorate{-- (2,0)} -- (2,1) decorate{-- (0,1)}-- cycle; + \end{tikzpicture} +& +\BS{draw} [decorate,decoration=zigzag] + (0,0) \RDD{decorate}\AC{-- (2,0)} -- (2,1) -- \RDD{decorate}\AC{(0,1)}-- cycle; +\\ \hline + +\end{tabular} + + \newpage + + + +\begin{tabular}{|c|} \hline +\og lineto \fg +\textbf{} +\BS{draw} [decorate, +decoration=\AC{zigzag,lineto,\RDD{pre length}=5cm}](0,0) -- (10,0); +\\ \hline +\begin{tikzpicture}[baseline=0pt] +\draw[red!20] (0,-0.5) grid (10,0.5); +\draw[dotted,red] (0,0) -- (10,0);] +\draw [decorate,decoration={zigzag,pre=lineto,pre length}=5cm] (0,0) -- (10,0); +\end{tikzpicture} +\\ \hline +decoration=\AC{ zigzag,\RDD{pre}=lineto,\RDD{pre length}=5cm } +\\ \hline +\begin{tikzpicture}[baseline=0pt] +\draw[red!20] (0,-0.5) grid (10,0.5); +\draw[dotted,red] (0,0) -- (10,0); +\draw [decorate,decoration={zigzag,post=lineto,post length=5cm}] (0,0) -- (10,0); +\end{tikzpicture} +\\ \hline +decoration=\AC{zigzag,\RDD{post}=lineto,\RDD{post length}=5cm} +\\ \hline +\begin{tikzpicture}[baseline=0pt] +\draw[red!20] (0,-0.5) grid (10,0.5); +\draw[dotted,red] (0,0) -- (10,0); +\draw [decorate,decoration={zigzag,pre=lineto,pre length=3cm,post=lineto,post length=3cm}] (0,0) -- (10,0); +\end{tikzpicture} +\\ \hline +decoration=\AC{zigzag,\RDD{pre}=lineto,\RDD{pre length}=3cm, +,\RDD{post}=curveto,\RDD{post length}=3cm} +\\ \hline +\end{tabular} + + + \bigskip + + + +\begin{tabular}{|c|} \hline +\og curveto \fg +\\ \hline +\BS{draw} [decorate, +decoration=\AC{zigzag,\RDD{pre}=curveto,\RDD{pre length}=5cm}](0,0) -- (10,0); +\\ \hline +\begin{tikzpicture}[baseline=0pt] +\draw[red!20] (0,-0.5) grid (10,0.5); +\draw[dotted,red] (0,0) -- (10,0);] +\draw [decorate,decoration={zigzag,pre=curveto,pre length=5cm}] (0,0) -- (10,0); +\end{tikzpicture} +\\ \hline +decoration=\AC{zigzag,\RDD{pre}=curveto,\RDD{pre length}=5cm} +\\ \hline +\begin{tikzpicture}[baseline=0pt] +\draw[red!20] (0,-0.5) grid (10,0.5); +\draw[dotted,red] (0,0) -- (10,0); +\draw [decorate,decoration={zigzag,post=curveto,post length=5cm}] (0,0) -- (10,0); +\end{tikzpicture} +\\ \hline +decoration=\AC{zigzag,\RDD{post}=curveto,\RDD{post length}=5cm} +\\ \hline +\begin{tikzpicture}[baseline=0pt] +\draw[red!20] (0,-0.5) grid (10,0.5); +\draw[dotted,red] (0,0) -- (10,0); +\draw [decorate,decoration={zigzag,pre=curveto,pre length=3cm,post=curveto,post length=3cm}] (0,0) -- (10,0); +\end{tikzpicture} +\\ \hline +decoration=\AC{zigzag,\RDD{pre}=curveto,\RDD{pre length}=3cm, +,\RDD{post}=curveto,\RDD{post length}=3cm} +\\ \hline +\end{tabular} + + \bigskip + + + +\label{moveto} +\begin{tabular}{|c|} \hline +\og moveto \fg +\\ \hline +\BS{draw} [decorate, +decoration=\AC{zigzag,\RDD{pre}=moveto,\RDD{pre length}=5cm}](0,0) -- (10,0); +\\ \hline +\begin{tikzpicture}[baseline=0pt] +\draw[red!20] (0,-0.5) grid (10,0.5); +\draw[dotted,red] (0,0) -- (10,0);] +\draw [decorate,decoration={zigzag,pre=moveto,pre length=5cm}] (0,0) -- (10,0); +\end{tikzpicture} +\\ \hline +decoration=\AC{zigzag,\RDD{pre}=moveto,\RDD{pre length}=5cm} +\\ \hline +\begin{tikzpicture}[baseline=0pt] +\draw[red!20] (0,-0.5) grid (10,0.5); +\draw[dotted,red] (0,0) -- (10,0); +\draw [decorate,decoration={zigzag,post=moveto,post length=5cm}] (0,0) -- (10,0); +\end{tikzpicture} +\\ \hline +decoration=\AC{zigzag,\RDD{post}=moveto,\RDD{post length}=5cm} +\\ \hline +\begin{tikzpicture}[baseline=0pt] +\draw[red!20] (0,-0.5) grid (10,0.5); +\draw[dotted,red] (0,0) -- (10,0); +\draw [decorate,decoration={zigzag,pre=moveto,pre length=3cm,post=moveto,post length=3cm}] (0,0) -- (10,0); +\end{tikzpicture} +\\ \hline +decoration=\AC{zigzag,\RDD{pre}=moveto,\RDD{pre length}=3cm, +,\RDD{post}=moveto,\RDD{post length}=3cm} +\\ \hline +\end{tabular} + +\SbSbSSCT{Paramètres globaux ou particuliers}{Global and partial parameters } + +\begin{tabular}{|l|} \hline +\begin{tikzpicture}[baseline=0pt,ultra thick,decoration={straight zigzag,amplitude=0.5cm,segment length=1cm}] +\draw[red!20,ultra thin] (0,-2) grid (10,3); +\draw[magenta] (0,2) -- (10,2); +\draw[blue,decorate] (0,1) -- (10,1); +\draw[red,decorate,decoration=saw] (0,0) -- (10,0); +\draw[cyan,decorate,decoration={meta-segment length=2cm}] (0,-1) -- (10,-1); +\end{tikzpicture} + +\\ \hline +\BS{begin}\AC{tikzpicture}[baseline=0pt,ultra thick,\\ +{\color{red}decoration=\AC{straight zigzag,amplitude=0.5cm,segment length=1cm}}] \\ +\BS{draw}[red!20,ultra thin] (0,-2) grid (10,3); \\ +\BS{draw}[magenta] (0,2) -- (10,2); \\ +\BS{draw}[blue,\RDD{decorate}] (0,1) -- (10,1); \\ +\BS{draw}[red,\AC{\color{red}decorate,decoration=saw}] (0,0) -- (10,0); \\ +\BS{draw}[cyan,{\color{red}decorate,decoration={meta-segment length=2cm}}] (0,-1) -- (10,-1); \\ +\BS{end}\AC{tikzpicture} + + \\ \hline +\end{tabular} + + +\SbSbSSCT{Tracer le chemin et sa décoration avec \og Postaction \fg }{Path and its decoration \og Postaction \fg } + +\begin{tabular}{|c|c|}\hline +\begin{tikzpicture}[baseline=0pt] +\draw [postaction={decorate,blue,draw,ultra thick,decoration={straight zigzag,amplitude=0.5cm}}][red,line width=10pt] (0,0) arc (0:180:3 and 2); +\end{tikzpicture} +& +\parbox[b]{8cm}{ +\BS{draw} [\RDD{postaction}=\{decorate,blue,draw,ultra thick, \\ +decoration=\AC{straight zigzag,amplitude=0.5cm}\}] \\ + +$[$red,line width = 10pt $]$ (0,0) arc (0:180:3 and 2); + + } +\\ \hline +\end{tabular} + + + +\newpage
\ No newline at end of file diff --git a/info/visualtikz/Source/tkzdepend.tex b/info/visualtikz/Source/tkzdepend.tex new file mode 100644 index 0000000000..b6c0268d26 --- /dev/null +++ b/info/visualtikz/Source/tkzdepend.tex @@ -0,0 +1,64 @@ +\begin{dependency} +\begin{deptext} +CH$_4$ \& + \& 2O$_2$ \& ---> \& CO$_2$ \& + \& 2H$_2$0 \\ +\end{deptext} +\depedge{1}{5}{ +1C} +\depedge{1}{7}{ +4H} +%\depedge{4}{3}{advmod} +%\depedge{4}{5}{xcomp} +%\depedge{5}{6}{dobj} +\end{dependency} + + +\begin{dependency} +\begin{deptext} +CH$_4$ \& + \& 2O$_2$ \& ---> \& CO$_2$ \& + \& 2H$_2$0 \\ + (16g) \& + \& (64g) \& ---> \& (44g) \& + \& (36g) \\ +\end{deptext} +\end{dependency} + +\begin{dependency} +\begin{deptext} +CH$_4$ \& + \& 2O$_2$ \& ---> \& CO$_2$ \& + \& 2H$_2$0 \\ \\ + (16g) \& + \& (64g) \& ---> \& (44g) \& + \& (36g) \\ +\end{deptext} +\wordgroup{1}{1}{7}{a} +\wordgroup{3}{1}{3}{a0} +\wordgroup{3}{5}{7}{a1} +\groupedge[edge below]{a0}{a1}{80g}{4ex} +\end{dependency} + +\begin{dependency}[theme=brazil] +\begin{deptext} +CH$_4$ \& + \& 2O$_2$ \& ---> \& CO$_2$ \& + \& 2H$_2$0 \\ \\ + (16g) \& + \& (64g) \& ---> \& (44g) \& + \& (36g) \\ +\end{deptext} +\wordgroup{1}{1}{7}{a} +\wordgroup{3}{1}{3}{a0} +\wordgroup{3}{5}{7}{a1} +\groupedge[edge below]{a0}{a1}{80g}{4ex} +\end{dependency} + +\begin{dependency}[theme=iron, label theme=copper] +\begin{deptext} +CH$_4$ \& + \& 2O$_2$ \& ---> \& CO$_2$ \& + \& 2H$_2$0 \\ \\ + (16g) \& + \& (64g) \& ---> \& (44g) \& + \& (36g) \\ +\end{deptext} +\wordgroup{1}{1}{7}{a} +\wordgroup{3}{1}{3}{a0} +\wordgroup{3}{5}{7}{a1} +\groupedge[edge below]{a0}{a1}{80g}{4ex} +\end{dependency} + +\begin{dependency}[label style = {circle}] +\begin{deptext} +CH$_4$ \& + \& 2O$_2$ \& ---> \& CO$_2$ \& + \& 2H$_2$0 \\ \\ + (16g) \& + \& (64g) \& ---> \& (44g) \& + \& (36g) \\ +\end{deptext} +\wordgroup{1}{1}{7}{a} +\wordgroup{3}{1}{3}{a0} +\wordgroup{3}{5}{7}{a1} +\groupedge[edge below]{a0}{a1}{80g}{4ex} +\end{dependency}
\ No newline at end of file diff --git a/info/visualtikz/Source/tkzducks.tex b/info/visualtikz/Source/tkzducks.tex new file mode 100644 index 0000000000..60a3483693 --- /dev/null +++ b/info/visualtikz/Source/tkzducks.tex @@ -0,0 +1,549 @@ +\label{ducks} + + \maboite{\BS{usepackage}\AC{tikzducks} \cite {tikzducks}} + + +\begin{center} +\begin{tabular}{|c|}\hline +\BS{tikz} \BSS{duck} ; +\\ \hline +\tikz \duck ; +\\ \hline +\end{tabular} +\end{center} + + +\subsubsection{Options} + +\noindent + +\begin{tabular}{|c|c|c|c|c|} \hline +\multicolumn{4}{|c|}{\BS{tikz} \BS{duck}[\RDD{body}=red] ;} +\\ \hline +\tikz \duck[body=red] ; +& +\tikz \duck[head=red] ; +& +\tikz \duck[bill=red] ; + & + \tikz \duck[eye=red] ; + \\ +\hline +[\RDD{body}=red] & [\RDD{head}=red] & [\RDD{bill}=red] & [\RDD{eye}=red] \\ +\hline +\end{tabular} +\begin{tabular}{|c|} \hline +\BS{tikz} \BS{duck}[\RDD{grumpy}] ; +\\ \hline +\tikz \duck[grumpy] ; +\\ \hline + +\end{tabular} + + + +\bigskip + +\begin{tabular}{|c|c|c|c|c|c|} \hline +\tikz \duck[longhair] ; +& +\tikz \duck[shorthair] ; +& +\tikz \duck[crazyhair] ; +& +\tikz \duck[recedinghair] ; +& +\tikz \duck[mohican] ; +& +\tikz \duck[mullet] ; +\\ \hline +[\RDD{longhair}] & [\RDD{shorthair}] & [\RDD{crazyhair}] & [\RDD{recedinghair}] & [\RDD{mohican}] & [\RDD{mullet}]\\ +\hline +\tikz \duck[longhair=red] ; +& +\tikz \duck[shorthair=red] ; +& +\tikz \duck[crazyhair=red] ; + & + \tikz \duck[recedinghair=red] ; + & + \tikz \duck[mohican=red] ; + & + \tikz \duck[mullet=red] ; + \\ +\hline +[longhair=red] & [shorthair=red] & [crazyhair=red] & [recedinghair=red] & [mohican=red] & [mullet=red] \\ +\hline +\end{tabular} + +\bigskip + + + + + +\begin{tabular}{|c|c|c|c|c|} \hline +\tikz \duck[eyebrow] ; +& +\tikz \duck[eyebrow=red] ; +& +\tikz \duck[beard] ; + & + \tikz \duck[beard=red] ; + \\ +\hline +[\RDD{eyebrow}] & [eyebrow=red] & [\RDD{beard}] & [beard=red] \\ +\hline + +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|c|c|c|} \hline +\tikz \duck[tshirt] ; +& +\tikz \duck[tie] ; +& +\tikz \duck[jacket] ; +& +\tikz \duck[cape] ; +& +\tikz \duck[tshirt,tie ,jacket ,cape] ; +\\ \hline +[\RDD{tshirt}] & [\RDD{tie}] & [\RDD{jacket}] & [\RDD{cape}]& [tshirt,tie ,jacket ,cape] +\\ \hline +\dft{white} & \dft{blue} & \dft{blue} & \dft{red}& +\\ \hline +\tikz \duck[tshirt=red] ; +& +\tikz \duck[tie=red] ; +& +\tikz \duck[jacket=red] ; +& +\tikz \duck[cape=blue] ; +& + +\\ \hline +[tshirt=red] & [tie=red] & [jacket=red] & [cape=blue]& +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|c|c|c|} \hline +\tikz \duck[water]; +& +\tikz \duck[alien]; +& +\tikz \duck[hat]; +& +\tikz \duck[tophat]; +& +\tikz \duck[cap]; +\\ \hline +[\RDD{water}] & [\RDD{alien}] & [\RDD{hat}]& [\RDD{tophat}] & [\RDD{cap}] +\\ \hline +\tikz \duck[santa]; +& +\tikz \duck[graduate]; +& +\tikz \duck[graduate,tassel]; +& +\tikz \duck[beret]; +& +\tikz \duck[peakedcap]; +\\ \hline +[\RDD{santa}] & [\RDD{graduate}] & [graduate,\RDD{tassel}] & [\RDD{beret}] & [\RDD{peakedcap}] +\\ \hline +\tikz \duck[crown]; +& +\tikz \duck[queencrown]; +& +\tikz \duck[kingcrown]; +& +\tikz \duck[sheep]; +& +\tikz \duck[horsetail]; +\\ \hline +[\RDD{crown}] &[\RDD{queencrown}]&[\RDD{kingcrown}] & [\RDD{sheep}] &[\RDD{horsetail}] +\\ \hline + +\tikz \duck[crozier]; +& +\tikz \duck[unicorn]; +& + +\tikz \duck[bunny]; +& +\tikz \duck[bunny=red,inear=blue]; +& +\tikz \duck[witch]; +\\ \hline + [\RDD{crozier}] & [\RDD{unicorn}] &[\RDD{bunny}] & [bunny=red,\RDD{inear}=blue] & [\RDD{witch}] +\\ \hline +\tikz \duck[magicwand]; +& +\tikz \duck[magichat]; +& +\tikz \duck[magichat=teal, +magicstars=blue!30!cyan, +magicwand]; +& +\tikz \duck[glasses]; +& +\tikz \duck[sunglasses]; +\\ \hline +[\RDD{magicwand}] & [\RDD{magichat}] & \parbox{3cm}{[magichat,\\ \RDD{magicstars}]} & [\RDD{glasses}] & [\RDD{sunglasses}] +\\ \hline +\end{tabular} + + +\begin{tabular}{|c|c|c|c|c|} \hline + +\tikz \duck[squareglasses]; +& +\tikz \duck[signpost=42]; +& +\tikz \duck[signpost=XXX,signcolour=green]; +& +\tikz \duck[signpost=XXX,signback=green]; +& +\tikz \duck[speech={XXX}]; +\\ \hline +[\RDD{squareglasses}] & [\RDD{signpost}=42] & \parbox{3cm}{[signpost=XXX,\\ \RDD{signcolour}=green]} & \parbox{3cm}{[signpost=XXX, \\ \RDD{signback}=green]} & [\RDD{speech}=\AC{XXX}] +\\ \hline +\end{tabular} + + +\begin{tabular}{|c|c|c|c|c|} \hline +\tikz \duck[speech={XXX},bubblecolour=green]; +& +\tikz \duck[think={XXX}]; +& +\tikz \duck[think=XXX,bubblecolour=green]; +& +\tikz \duck[book={XXX}]; +\\ \hline +\parbox{3cm}{[speech={XXX},\\ \RDD{bubblecolour}=green]} & [\RDD{think}=\AC{XXX}] & +\parbox{3cm}{[think={XXX},\\ \RDD{bubblecolour}=green]} +&[\RDD{book}=\AC{XXX}] +\\ \hline +%\end{tabular} +% +%\begin{tabular}{|c|c|c|c|c|} \hline +\tikz \duck[book=XXX,bookcolour=green]; +& +\tikz \duck[book=\scalebox{0.5}{XXX}]; +& +\multicolumn{2}{|c|}{\tikz +\duck[signpost=\scalebox{0.4}{ +\parbox{2cm}{ +\centering XXX \\ XXXXX}}] +;} +\\ \hline + +\parbox{3cm}{[book={XXX},\\ \RDD{bookcolour}=green]} +& +\parbox{3.5cm}{\BS{tikz} \BS{duck}[book=\\ \BS{scalebox}\AC{0.5}\AC{XXX}]; } +& +\multicolumn{2}{|c|}{ \parbox{7cm}{ \BS{tikz} +\BS{duck}[signpost=\BS{scalebox}\AC{0.4}\AC{ \\ +\BS{parbox}\AC{2cm}{ +\BS{centering} XXX \ XXXXX}}]} +;} +\\ \hline +\end{tabular} + + +\begin{tabular}{|c|c|c|c|c|} \hline +\tikz \duck[cricket]; +& +\tikz \duck[hockey]; +& +\tikz \duck[football]; +& +\tikz \duck[lightsaber]; +& +\tikz \duck[torch]; +\\ \hline +[\RDD{cricket}]& [\RDD{hockey}] & [\RDD{football}] & [\RDD{lightsaber}] & [\RDD{torch}] +\\ \hline +\tikz \duck[prison]; +& +\tikz \duck[necklace]; +& +\tikz \duck[icecream]; +& +\tikz \duck[icecream,flavoura=green]; +& +\tikz \duck[icecream,flavourb=green]; +\\ \hline +[\RDD{prison}] & [\RDD{necklace}] & [\RDD{icecream}] & +\parbox{3cm}{[icecream,\\ \RDD{flavoura}=green]} & +\parbox{3cm}{[icecream,\\ \RDD{flavourb}=green]} +\\ \hline +\tikz \duck[icecream,flavourc=green]; +& +\tikz \duck[chef]; +& +\tikz \duck[rollingpin]; +& +\tikz \duck[cake]; +& +\tikz \duck[pizza]; +\\ \hline +\parbox{3cm}{[icecream,\\ \RDD{flavourc}=green]} & + [\RDD{chef}] & [\RDD{rollingpin}] & [\RDD{cake}] & [\RDD{pizza}] +\\ \hline +\tikz \duck[baguette]; +& +\tikz \duck[milkshake]; +& +\tikz \duck[wine]; +& +\tikz \duck[mask]; +& +\tikz \duck[buttons]; +\\ \hline + [\RDD{baguette}] & [\RDD{milkshake}] & [\RDD{wine}] & [\RDD{mask}] & [\RDD{buttons}] +\\ \hline +\end{tabular} + +\begin{tabular}{|c|c|c|c|c|} \hline +\tikz \duck[basket]; +& +\tikz \duck[easter]; +& +\tikz \duck[easter,egga=red]; +& +\tikz \duck[easter,eggb=red]; +& +\tikz \duck[easter,eggc=red]; +\\ \hline +[\RDD{basket}]& [\RDD{easter}] & [easter,\RDD{egga}=red] & [easter,\RDD{eggb}=red] & [easter,\RDD{eggc}=red] +\\ \hline + +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|c|c|} \hline +\multicolumn{4}{|c|}{\BS{tikz} \BS{duck} \BS{path}[preaction=\AC{fill,green},pattern=dots, pattern color=red] \BSS{duckpathbody} ;} +\\ \hline +\tikz \duck +\path[preaction={fill,green},pattern=dots, pattern color=red] \duckpathbody; +& +\tikz \duck +\path[preaction={fill,green},pattern=dots, pattern color=red] \duckpathgrumpybill; +& +\tikz \duck +\path[preaction={fill,green},pattern=dots, pattern color=red] \duckpathbill; +& +\tikz \duck +\path[preaction={fill,green},pattern=dots, pattern color=red] \duckpathtshirt; +\\ \hline +\BSS{duckpathbody } & \BSS{duckpathgrumpybill} & \BSS{duckpathbill} & \BSS{duckpathtshirt} +\\ \hline +\tikz \duck +\path[preaction={fill,green},pattern=dots, pattern color=red] \duckpathjacket; +& +\tikz \duck +\path[preaction={fill,green},pattern=dots, pattern color=red] \duckpathcape ; +& +\tikz \duck +\path[preaction={fill,green},pattern=dots, pattern color=red] \duckpathshorthair ; +& +\tikz \duck +\path[preaction={fill,green},pattern=dots, pattern color=red] \duckpathlonghair; +\\ \hline +\BSS{duckpathjacket} & \BSS{duckpathcape} & \BSS{duckpathshorthair} & \BSS{duckpathlonghair} +\\ \hline +\tikz \duck +\path[preaction={fill,green},pattern=dots, pattern color=red] \duckpathcrazyhair; +& +\tikz \duck +\path[preaction={fill,green},pattern=dots, pattern color=red] \duckpathrecedinghair; +& +\tikz \duck +\path[preaction={fill,green},pattern=dots, pattern color=red] \duckpathcrown ; +& +\tikz \duck +\path[preaction={fill,green},pattern=dots, pattern color=red] \duckpathmohican ; +\\ \hline +\BSS{duckpathcrazyhair} & \BSS{duckpathrecedinghair} & \BSS{duckpathcrown} & \BSS{duckpathmohican} +\\ \hline +\tikz \duck +\path[preaction={fill,green},pattern=dots, pattern color=red] \duckpathmullet; +& +\tikz \duck +\path[preaction={fill,green},pattern=dots, pattern color=red] \duckpathqueencrown ; +& +\tikz \duck +\path[preaction={fill,green},pattern=dots, pattern color=red] \duckpathkingcrown ; +& +\tikz \duck +\path[preaction={fill,green},pattern=dots, pattern color=red] \duckpathdarthvader ; +\\ \hline +\BSS{duckpathmullet} & \BSS{duckpathqueencrown} & \BSS{duckpathkingcrown} & \BSS{duckpathdarthvader} +\\ \hline +\tikz \duck +\path[preaction={fill,green},pattern=dots, pattern color=red] \duckpathhorsetail ; +& & & +\\ \hline +\BSS{duckpathhorsetail}& & & +\\ \hline +\end{tabular} + + +\SbSbSSCT{Canards aléatoires}{Random ducks} + +\noindent + +\begin{tabular}{|c|}\hline +\BS{tikz} \BSS{randuck} ; \BS{tikz} \BSS{randuck} ; \BS{tikz} \BSS{randuck} ; \BS{tikz} \BSS{randuck} ; \BS{tikz} \BSS{randuck} ; +\\ \hline +\tikz \randuck ; \tikz \randuck ; \tikz \randuck ; \tikz \randuck ; \tikz \randuck ; +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|} \hline +\BS{tikz} \BSS{shuffleducks} \BS{duck}[\BSS{randomhead}] ; +\\ \hline +\tikz \shuffleducks \duck[\randomhead] ; \tikz \shuffleducks \duck[\randomhead] ; \tikz \shuffleducks \duck[\randomhead] ; \tikz \shuffleducks \duck[\randomhead] ; +\tikz \shuffleducks \duck[\randomhead] ; +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|} \hline +\BS{tikz} \BSS{shuffleducks} \BS{duck}[\BSS{randomaccessories}] ; +\\ \hline +\tikz \shuffleducks \duck[\randomaccessories] ; \tikz \shuffleducks \duck[\randomaccessories] ; \tikz \shuffleducks \duck[\randomaccessories] ; \tikz \shuffleducks \duck[\randomaccessories] ; \tikz \shuffleducks \duck[\randomaccessories] ; +\\ \hline +\end{tabular} + + +\SbSbSSCT{Coordonnées}{Coordinates} + +\noindent + + +\begin{tabular}{|c|c|c|} \hline +\multicolumn{3}{|c|}{\BS{tikz} \BS{duck} \BS{fill}[red] (wing) circle (3pt);} +\\ \hline +\tikz \duck \fill[red] (wing) circle (3pt); +& +\tikz \duck \fill[red] (head) circle (3pt); +& +\tikz \duck \fill[red] (bill) circle (3pt); +\\ \hline wing & head & bill \\ +\hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|} \hline +\BS{tikz} \BS{duck}[\RDD{name}=XXX] \\ \BS{begin}\AC{scope} [xshift=4cm] \BS{duck}[\RDD{name}=YYY] +\BS{end}\AC{scope} \\ \BS{draw}[red] (XXX-wing) - - (YYY-bill) ; +\\ \hline +\tikz \duck[name=XXX] \begin{scope} [xshift=4cm] +\duck[name=YYY] +\end{scope} \draw[red] (XXX-wing) -- (YYY-bill); +\\ \hline +\end{tabular} + + +\SbSbSSCT{Rayures}{Stripes} + +\noindent + +\begin{tabular}{|c|c|} \hline +\tikz \duck \stripes ; +& +\tikz \duck[stripes] ; +\\ \hline +\BS{tikz} \BS{duck} \BSS{stripes} ; +& +\BS{tikz} \BS{}duck[\RDD{stripes}] ; +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|} \hline +\tikz \duck[rollingpin] \stripes ; +& +\tikz \duck[rollingpin,stripes] ; +\\ \hline +\BS{tikz} \BS{duck}[rollingpin] \BS{stripes} ; +& +\BS{tikz} \BS{duck}[rollingpin,stripes] ; +\\ \hline +\end{tabular} + + + +\bigskip + +\begin{tabular}{|c|c|c|c|}\hline +\multicolumn{4}{|c|}{\BS{tikz} \BS[duck] \BS{stripes}[\RDD{color}=red];} +\\ \hline +\tikz \duck \stripes[color=red]; +& +\tikz \duck \stripes[distance=.5]; +& +\tikz \duck \stripes[width=.05]; +& +\tikz \duck \stripes[height=1]; +\\ \hline +[\RDD{color}=red] & [\RDD{distance}=.5] & [\RDD{width}=.05] & [\RDD{height}=1] +\\ \hline +\dft{black} & \dft{0.3} & \dft{0.15} & \dft{2.7} \\ +\hline + +\tikz \duck \stripes[rotate=45]; & \tikz \duck \stripes[initialx=1]; & \tikz \duck \stripes[initialy=1]; & +\\ \hline +[\RDD{rotate=}45] & [\RDD{initialx}=1] & [\RDD{initialy}=1] & +\\ \hline +\dft{-10} & \dft{0.1} & \dft{-0.3} & +\\ \hline +\end{tabular} + + +\bigskip + +\begin{tabular}{|c|c|c|} \hline +\multicolumn{3}{|c|}{\BS{tikz} \BS[duck] \BS{stripes}[\RDD{emblem}=XXX];} +\\ \hline +\tikz \duck \stripes[emblem={XXX}]; +& +\tikz \duck \stripes[emblem={\includegraphics[width=6mm]{LogoIUT}}]; +& +\tikz \duck \stripes[emblem={\DFR}]; +\\ \hline +[emblem=XXX] +& \parbox{5cm}{ [emblem=\{\BS{includegraphics} [width=6mm]\AC{LogoIUT} \} ] } +& [emblem=\AC{\BS{DFR}} ] +\\ \hline +& & \BS{DFR} : \TFRGB{voir}{see} page \pageref{DFR} +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|c|} \hline +\tikz \duck[stripes={ \stripes \stripes[rotate=45]}] ; +\\ \hline +\BS{tikz} +\BS{duck}[stripes=\AC{ +\BS{stripes} +\BS{stripes}[rotate=45] } ] +; + +\\ \hline +\end{tabular} + + diff --git a/info/visualtikz/Source/tkzelect.tex b/info/visualtikz/Source/tkzelect.tex new file mode 100644 index 0000000000..a24f603991 --- /dev/null +++ b/info/visualtikz/Source/tkzelect.tex @@ -0,0 +1,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} + + + + + + + + + + diff --git a/info/visualtikz/Source/tkzfig.tex b/info/visualtikz/Source/tkzfig.tex new file mode 100644 index 0000000000..dedf3c548c --- /dev/null +++ b/info/visualtikz/Source/tkzfig.tex @@ -0,0 +1,353 @@ +\SbSSCT{Dans le texte}{In the text} + +\SbSbSSCT{Sans option de décalage}{Without offset} + +\begin{center} +\RRR{12-2} +\end{center} + +\TFRGB{dessin directement dans le texte}{picture in the text} \tikz \draw[blue] (0,0) rectangle(2,2); \tikz \draw[blue] (0,0) circle (1);\TFRGB{ici est inclus le code suivant}{here is the following code} : \BS{tikz} \BS{draw} (0,0) rectangle(2,2);\BS{tikz} \BS{draw} (0,0) circle (1); +\bigskip + +\SbSbSSCT{Avec décalage nul}{With zero offset} + +\TFRGB{dessin directement dans le texte}{picture in the text} \tikz[baseline=0pt] \draw[blue] (0,0) rectangle(2,2); \tikz[baseline=0pt] \draw[blue] (0,0) circle (1);\TFRGB{ici est inclus le code suivant}{here is the following code} : \BS{tikz}[\RDD{baseline}=0pt] \BS{draw} (0,0) rectangle(2,2);\BS{tikz}[\RDD{baseline}=0pt] \BS{draw} (0,0) circle (1); +\bigskip + + +\bigskip + +\SbSbSSCT{Avec décalage}{With an offset} + +\TFRGB{dessin directement dans le texte}{picture in the text} \tikz[baseline=1cm] \draw[blue] (0,0) rectangle(2,2); \tikz[baseline=1cm] \draw[blue] (0,0) circle (1);\TFRGB{ici est inclus le code suivant}{here is the following code} : \BS{tikz}[\RDD{baseline}=1cm] \BS{draw} (0,0) rectangle(2,2);\BS{tikz}[\RDD{baseline}=1cm] \BS{draw} (0,0) circle (1); + + +\newpage + +\SbSSCT{Dans un environnement tikzpicture}{In a tikzpicture environment} + +\begin{center} +\RRR{12-1} +\end{center} + +\begin{tabular}{|l|l|} \hline + +\TFRGB{texte avant}{text before} +\begin{tikzpicture}[blue] +\draw (0,0) rectangle(2,2); + \draw (0,0) circle (1); +\end{tikzpicture} +\TFRGB{texte après}{text after} +& +\parbox[b]{8cm}{ +\TFRGB{texte avant}{text before} \\ +\ESS{tikzpicture}[blue] \\ +\BS{draw} (0,0) rectangle(2,2); \\ +\BS{draw} (0,0) circle (1); \\ +\BS{end\AC{tikzpicture}}\\ +\TFRGB{texte après}{text after} \\ +} +\\ \hline +\end{tabular} + +\bigskip + + +\begin{tabular}{|l|l|} \hline +\TFRGB{texte avant}{text before} +\begin{tikzpicture}[blue,baseline=0pt] +\draw (0,0) rectangle(2,2); + \draw (0,0) circle (1); +\end{tikzpicture} +\TFRGB{texte après}{text after} +& +\parbox[c]{8cm}{ +\TFRGB{texte avant}{text before} \\ +\BS{begin}\AC{tikzpicture}[blue,\RDD{baseline}=0pt] \\ +\BS{draw} (0,0) rectangle(2,2); \\ +\BS{draw} (0,0) circle (1); \\ +\BS{end}\AC{tikzpicture} \\ +\TFRGB{texte après}{text after} \\ +} +\\ \hline +\end{tabular} + +\bigskip +\noindent + +\begin{tabular}{|l|l|} \hline +\TFRGB{texte avant}{text before} +\begin{tikzpicture}[blue,baseline=1cm] +\draw (0,0) rectangle(2,2); + \draw (0,0) circle (1); +\end{tikzpicture} +\TFRGB{texte après}{text after} +& +\parbox[t]{8cm}{ +\TFRGB{texte avant}{text before} \\ +\BS{begin}\AC{tikzpicture}[blue,\RDD{baseline}=1cm] \\ +\BS{draw} (0,0) rectangle(2,2); \\ +\BS{draw} (0,0) circle (1); \\ +\BS{end}\AC{tikzpicture} \\ +\TFRGB{texte après}{text after} \\ +} +\\ \hline +\end{tabular} + +\SbSSCT{Dans un environnement fbox}{In a fbox environment} + +\noindent + +\begin{tabular}{|l|l|} \hline +\TFRGB{texte avant}{text before} +\fbox{ +\begin{tikzpicture}[blue,baseline=0pt] + +\draw (0,0) rectangle(2,2); + \draw (0,0) circle (1); +\end{tikzpicture}} +\TFRGB{texte après}{text after} +& +\parbox[c]{8cm}{ +\TFRGB{texte avant}{text before}\\ +\BSS{fbox}\{ \\ +\BS{begin}\AC{tikzpicture}[blue,\RDD{baseline}=0pt] \\ +\BS{draw} (0,0) rectangle(2,2); \\ +\BS{draw} (0,0) circle (1); \\ +\BS{end}\AC{tikzpicture} \\ + \}\\ +\TFRGB{texte après}{text after} \\ +} +\\ \hline +\end{tabular} + +\SbSSCT{Modification du cadrage}{Bounding box} + +\begin{center} +\RRR{15-8} +\end{center} + +\bigskip + +\begin{tabular}{|c|c|} \hline +\multicolumn{2}{|l|}{\BS{draw} [\RDD{use as bounding box}] (1,0) rectangle (2,1);}\\ +\multicolumn{2}{|l|}{\BS{draw}[blue] (-1,0) - - (3,1);} \\\hline +texte avant\begin{tikzpicture} +\draw [use as bounding box] (1,0) rectangle (2,1); +\draw[blue] (-1,0) - - (3,1); +\draw [red](1,0) rectangle (2,1); +\end{tikzpicture}texte après +& +texte avant +\begin{tikzpicture} +\draw [use as bounding box] (0,0) rectangle (0,0); +\draw[blue] (-1,0) - - (3,1); +\draw [red](0,0) rectangle (0,0); +\end{tikzpicture} +texte après +\\ \hline +(1,0) rectangle (2,1) & (0,0) rectangle (0,0) +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|} \hline +\multicolumn{2}{|l|}{texte avant. \BS{begin\AC{tikzpicture}} [\RDD{trim left}=1cm] }\\ +\multicolumn{2}{|l|}{\BS{draw}[blue] (-1,0) - - (3,1); \BS{draw}[red] (0,0) grid (2,1);} \\ +\multicolumn{2}{|l|}{ \BS{end\AC{tikzpicture}}texte après }\\ +\hline + +texte avant.% +\begin{tikzpicture}[trim left=1cm] +\draw[blue] (-1,0) - - (3,1); +\draw [red](0,0) grid (2,1); +\end{tikzpicture}% +texte après +& +texte avant.% +\begin{tikzpicture}[trim right= 1cm] +\draw[blue] (-1,0) - - (3,1); +\draw [red](0,0) grid(2,1); +\end{tikzpicture}% +texte après +\\ \hline +[\RDD{trim left}=1cm] +& +[\RDD{trim right}= 1cm] +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|l|l|} \hline +\TFRGB{texte avant}{text before} +\begin{tikzpicture}[blue] +\draw [red,use as bounding box] (-1.5,-1.5) rectangle (2.5,2.5); +\draw (0,0) rectangle(2,2); + \draw (0,0) circle (1); +\end{tikzpicture} +\TFRGB{texte après}{text after} +& +\parbox[b]{10cm}{ +\TFRGB{texte avant}{text before} \\ +\ESS{tikzpicture}[blue] \\ +\BS{draw} [red,\RDD{use as bounding box}] (-1.5,-1.5) rectangle (2.5,2.5); \\ +\BS{draw} (0,0) rectangle(2,2); \\ +\BS{draw} (0,0) circle (1); \\ +\BS{end\AC{tikzpicture}}\\ +\TFRGB{texte après}{text after} \\ +} +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|l|l|} \hline +\TFRGB{texte avant}{text before} +\begin{tikzpicture}[blue,baseline=0pt] +\draw [red,use as bounding box] (-1.5,-1.5) rectangle (2.5,2.5); +\draw (0,0) rectangle(2,2); + \draw (0,0) circle (1); +\end{tikzpicture} +\TFRGB{texte après}{text after} +& +\parbox[c]{10cm}{ +\TFRGB{texte avant}{text before} \\ +\BS{begin}\AC{tikzpicture}[blue,\RDD{baseline}=0pt] \\ +\BS{draw} [red,\RDD{use as bounding box}] (-1.5,-1.5) rectangle (2.5,2.5);\\ +\BS{draw} (0,0) rectangle(2,2); \\ +\BS{draw} (0,0) circle (1); \\ +\BS{end}\AC{tikzpicture} \\ +\TFRGB{texte après}{text after} \\ +} +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|l|l|} \hline +\TFRGB{texte avant}{text before} +\begin{tikzpicture}[blue,baseline=0pt] +\useasboundingbox (-1.5,-1.5) rectangle (2.5,2.5); +\draw (0,0) rectangle(2,2); + \draw (0,0) circle (1); +\end{tikzpicture} +\TFRGB{texte après}{text after} +& +\parbox[c]{10cm}{ +\TFRGB{texte avant}{text before} \\ +\BS{begin}\AC{tikzpicture}[blue,baseline=0pt] \\ +\BSS{useasboundingbox} (-1.5,-1.5) rectangle (2.5,2.5);\\ +\BS{draw} (0,0) rectangle(2,2); \\ +\BS{draw} (0,0) circle (1); \\ +\BS{end}\AC{tikzpicture} \\ +\TFRGB{texte après}{text after} \\ +} +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|} \hline +\begin{tikzpicture}[blue,baseline=0pt] +\fill (0,0) circle (5pt); +\fill (2,1) circle (5pt); +\draw[red] (current bounding box.south west) rectangle +(current bounding box.north east); +\end{tikzpicture} +& +\parbox[c]{14cm}{ +\BS{begin}\AC{tikzpicture}[blue] \\ +\BS{fill} (0,0) circle (5pt); \\ +\BS{fill} (2,1) circle (5pt);\\ +\BS{draw}[red] (\RDD{current bounding box.south west}) rectangle +(\RDD{current bounding box.north east});\\ +\BS{end}\AC{tikzpicture} +} +\\ \hline +\end{tabular} +\newpage +\SbSSCT{Coupure de l'image}{Clipping the picture} + +\begin{center} +\RRR{15-9} +\end{center} + +\begin{tabular}{|c|c|} \hline +\tikzpicture[red] +\draw[help lines] (-2,-2) grid (2,2); +\draw[blue] (-1,-1) --(0,2) -- (1,-1) -- cycle; +\draw (0,0) circle (.5); +\draw (0,0) circle (1); +\draw (0,0) circle (1.5); +\endtikzpicture +& +\tikzpicture[red] +\clip (-1,-1) --(0,2) -- (1,-1) -- cycle; +\draw[help lines] (-2,-2) grid (2,2); +\draw[blue] (-1,-1) --(0,2) -- (1,-1) -- cycle; +\draw (0,0) circle (.5); +\draw (0,0) circle (1); +\draw (0,0) circle (1.5); +\endtikzpicture +\\ \hline +\TFRGB{sans coupure}{no clipping} +& +\BSS{clip} (-1,-1) - -(0,2) - - (1,-1) - - cycle; +\\ \hline +\end{tabular} + + + +\SbSSCT{Rognage partiel}{ Partial clipping} + +\noindent + +\begin{tabular}{|c|c|} \hline +\tikzpicture[red,scale=.7,baseline=0pt] +\draw[help lines] (-2,-2) grid (2,2); +\draw[blue] (-1.1,-0.2) rectangle (2,1.5); +\draw (0,0) circle (1.5); +\clip (-1.1,-0.2) rectangle (2,1.5); +\draw (0,0) circle (.5); +\draw (0,0) circle (1); +\endtikzpicture +& +\parbox{8cm}{ +\BS{tikzpicture}[red,scale=.7] \\ +\BS{draw}[help lines] (-2,-2) grid (2,2); \\ +\BS{draw}[blue] (-1.1,-0.2) rectangle (2,1.5); \\ +\BS{draw} (0,0) circle (1.5); \\ +\BSS{clip} (-1.1,-0.2) rectangle (2,1.5); \\ +\BS{draw} (0,0) circle (.5); \\ +\BS{draw} (0,0) circle (1); \\ +\BS{endtikzpicture}} +\\ \hline +\end{tabular} + +\SbSbSSCT{Changement d'échelle}{Scaling} + +\noindent + +\begin{tabular}{|c|c|} \hline +\tikzpicture[blue] +\draw[help lines] (-2,-2) grid (2,2); +\draw (0,0) circle (.5); +\draw (0,0) circle (1); +\draw (0,0) circle (1.5); +\endtikzpicture +& +\tikzpicture[blue,scale=.5] +\draw[help lines] (-2,-2) grid (2,2); +\draw (0,0) circle (.5); +\draw (0,0) circle (1); +\draw (0,0) circle (1.5); +\endtikzpicture +\\ \hline +\TFRGB{Taille normale}{Normal size} +& +\BS{tikzpicture}[blue,\RDD{scale}=.5] +\\ \hline +\end{tabular} + diff --git a/info/visualtikz/Source/tkzfit.tex b/info/visualtikz/Source/tkzfit.tex new file mode 100644 index 0000000000..3e2a8ee848 --- /dev/null +++ b/info/visualtikz/Source/tkzfit.tex @@ -0,0 +1,215 @@ +\SbSSCT{N\oe ud enveloppant}{Fitting nodes} + + + \maboite{\BS{usetikzlibrary}\AC{fit}} + +\label{lib-fit} +\begin{center} +\RRR{52} +\end{center} + + +\begin{tabular}{|c|l|} \hline +\begin{tikzpicture}[baseline=0pt] +\draw[help lines] (0,0) grid (3,2.5); +\fill (.5,1) circle (3pt); +\fill (2,.25) circle (3pt); +\fill (1,2) circle (3pt); +\fill (1.25,0.25) circle (3pt); +\fill (1.75,1.5) circle (3pt); +\node[draw=red,ultra thick,fit={(.5,1) (2,.25) (1,2) (1.25,0.25) (1.75,1.5) }] {}; +\end{tikzpicture} +& +\parbox[b]{10cm}{ +\BS{fill } (.5,1) circle (3pt); \\ +\BS{fill } (2,.25) circle (3pt);\\ +\BS{fill } (1,2) circle (3pt); \\ +\BS{fill } (1.25,0.25) circle (3pt); \\ +\BS{fill } (1.75,1.5) circle (3pt);\\ +\BS{node}[draw=red,ultra thick,\RDD{fit}=\AC{(.5,1) (2,.25) (1,2) (1.25,0.25) (1.75,1.5) }] \AC{} ; +} +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|l|} \hline +\begin{tikzpicture} +[dot/.style={inner sep=0pt,draw,circle,blue},baseline=0pt] +\draw[help lines] (0,0) grid (3,2.5); +\node[dot] (a) at (.5,1) {a}; +\node[dot] (b) at (2,.25) {b}; +\node[dot] (c) at (1,2) {c}; +\node[dot] (d) at (1.25,0.25) {d}; +\node[dot] (e) at (1.75,1.5) {e}; +\node[draw=red,ultra thick,fit=(a) (b) (c) (d) (e)] {}; +\end{tikzpicture} +& +\parbox[b]{10cm}{ +[dot/.style=\AC{inner sep=0pt,draw,circle,blue}]\\ +\BS{node}[dot] (a) at (.5,1) \AC{a}; \\ +\BS{node}[dot] (b) at (2,.25) \AC{b}; \\ +\BS{node}[dot] (c) at (1,2) \AC{c}; \\ +\BS{node}[dot] (d) at (1.25,0.25) \AC{d}; \\ +\BS{node}[dot] (e) at (1.75,1.5) \AC{e}; \\ +\BS{node}[draw=red,ultra thick,\RDD{fit}=(a) (b) (c) (d) (e)] \AC{} +} +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|c|} \hline +\multicolumn{3}{|l|}{ \BS{node}[draw=red,ultra thick,fit=(a) (b) (c) (d) (e)] {\color{red}(xxx)} \AC{} }\\ +\multicolumn{3}{|l|}{ \BS{node} at {\color{red} (xxx.east)} [fill=green!20] \AC{x}; }\\ +\hline +\begin{tikzpicture} +[dot/.style={inner sep=0pt,draw,circle,blue},baseline=0pt] +\draw[help lines] (0,0) grid (3,2.5); +\node[dot] (a) at (.5,1) {a}; +\node[dot] (b) at (2,.25) {b}; +\node[dot] (c) at (1,2) {c}; +\node[dot] (d) at (1.25,0.25) {d}; +\node[dot] (e) at (1.75,1.5) {e}; +\node[draw=red,fit=(a) (b) (c) (d) (e)] (xxx) {}; +\node at (xxx.east) [fill=green!20] {x}; +\end{tikzpicture} +& +\begin{tikzpicture} +[dot/.style={inner sep=0pt,draw,circle,blue},baseline=0pt] +\draw[help lines] (0,0) grid (3,2.5); +\node[dot] (a) at (.5,1) {a}; +\node[dot] (b) at (2,.25) {b}; +\node[dot] (c) at (1,2) {c}; +\node[dot] (d) at (1.25,0.25) {d}; +\node[dot] (e) at (1.75,1.5) {e}; +\node[draw=red,fit=(a) (b) (c) (d) (e)] (xxx) {}; +\node at (xxx.north east) [fill=green!20] {x}; +\end{tikzpicture} +& +\begin{tikzpicture} +[dot/.style={inner sep=0pt,draw,circle,blue}] +\draw[help lines] (0,0) grid (3,2.5); +\node[dot] (a) at (.5,1) {a}; +\node[dot] (b) at (2,.25) {b}; +\node[dot] (c) at (1,2) {c}; +\node[dot] (d) at (1.25,0.25) {d}; +\node[dot] (e) at (1.75,1.5) {e}; +\node[draw=red,fit=(a) (b) (c) (d) (e)] (xxx) {}; +\node at (xxx.center) [fill=green!20] {x}; +\end{tikzpicture} +\\ \hline xxx.east & xxx.north east & xxx.center \\ +\hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|} \hline +\multicolumn{2}{|l|}{ \BS{node} [draw=green,fit=(a) (b) (c) (d) (e)] {}; }\\ +\multicolumn{2}{|l|}{ \BS{node} [\RDD{inner sep}=0pt,draw=red,fit=(a) (b) (c) (d) (e)] {}; }\\ +\hline + \begin{tikzpicture} +[dot/.style={inner sep=0pt,draw,circle,blue},baseline=0pt] +\draw[help lines] (0,0) grid (3,2.5); +\node[dot] (a) at (.5,1) {a}; +\node[dot] (b) at (2,.25) {b}; +\node[dot] (c) at (1,2) {c}; +\node[dot] (d) at (1.25,0.25) {d}; +\node[dot] (e) at (1.75,1.5) {e}; +\node[inner sep=0pt,draw=red,ultra thick,fit=(a) (b) (c) (d) (e)] {}; +\node[draw=green,fit=(a) (b) (c) (d) (e)] {}; +\end{tikzpicture} +& +\begin{tikzpicture} +[dot/.style={inner sep=0pt,draw,circle,blue},baseline=0pt] +\draw[help lines] (0,0) grid (3,2.5); +\node[dot] (a) at (.5,1) {a}; +\node[dot] (b) at (2,.25) {b}; +\node[dot] (c) at (1,2) {c}; +\node[dot] (d) at (1.25,0.25) {d}; +\node[dot] (e) at (1.75,1.5) {e}; +\node[inner sep=.5cm,draw=red,ultra thick,fit=(a) (b) (c) (d) (e)] {}; +\node[draw=green,fit=(a) (b) (c) (d) (e)] {}; +\end{tikzpicture} +\\ \hline +inner sep=0pt & inner sep=.5cm \\ +\hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|c|}\hline +\multicolumn{3}{|c|}{ \BS{node}[circle,draw=red,inner sep=0pt,fit=(a) (b) (c) (d) (e)] \AC{}; }\\ +\hline +\begin{tikzpicture} +[dot/.style={inner sep=0pt,draw,circle,blue}] +\draw[help lines] (0,0) grid (3,2.5); +\node[dot] (a) at (.5,1) {a}; +\node[dot] (b) at (2,.25) {b}; +\node[dot] (c) at (1,2) {c}; +\node[dot] (d) at (1.25,0.25) {d}; +\node[dot] (e) at (1.75,1.5) {e}; +\node[circle,draw=red,inner sep=0pt,fit=(a) (b) (c) (d) (e)] {}; +\end{tikzpicture} +& +\begin{tikzpicture} +[dot/.style={inner sep=0pt,draw,circle,blue}] +\draw[help lines] (0,0) grid (3,2.5); +\node[dot] (a) at (.5,1) {a}; +\node[dot] (b) at (2,.25) {b}; +\node[dot] (c) at (1,2) {c}; +\node[dot] (d) at (1.25,0.25) {d}; +\node[dot] (e) at (1.75,1.5) {e}; +\node[ellipse,draw=red,inner sep=0pt,fit=(a) (b) (c) (d) (e)] {}; +\end{tikzpicture} +& +\begin{tikzpicture} +[dot/.style={inner sep=0pt,draw,circle,blue}] +\draw[help lines] (0,0) grid (3,2.5); +\node[dot] (a) at (.5,1) {a}; +\node[dot] (b) at (2,.25) {b}; +\node[dot] (c) at (1,2) {c}; +\node[dot] (d) at (1.25,0.25) {d}; +\node[dot] (e) at (1.75,1.5) {e}; +\node[shape=starburst,draw=red,inner sep=0pt,fit=(a) (b) (c) (d) (e)] {}; +\end{tikzpicture} +\\ \hline +circle & ellipse & shape=starburst (\TFRGB{voir}{see} section \ref{ndbt} ) \\ +\hline +\end{tabular} + + + + + +\bigskip + +\begin{tabular}{|c|c|} \hline +\multicolumn{2}{|c|}{ \BS{node}[draw=red, \RDD{rotate fit}=45, fit=(a) (b) (c) (d) (e)] \AC{}; }\\ +\hline +\begin{tikzpicture} +[inner sep=0pt, +dot/.style={draw,circle,blue}] +\draw[help lines] (0,0) grid (3,2.5); +\node[dot] (a) at (.5,1) {a}; +\node[dot] (b) at (2,.25) {b}; +\node[dot] (c) at (1,2) {c}; +\node[dot] (d) at (1.25,0.25) {d}; +\node[dot] (e) at (1.75,1.5) {e}; +\node[draw=red, rotate fit=45, fit=(a) (b) (c) (d) (e)] {}; +\end{tikzpicture} +& +\begin{tikzpicture} +[inner sep=0pt, +dot/.style={draw,circle,blue}] +\draw[help lines] (0,0) grid (3,2.5); +\node[dot] (a) at (.5,1) {a}; +\node[dot] (b) at (2,.25) {b}; +\node[dot] (c) at (1,2) {c}; +\node[dot] (d) at (1.25,0.25) {d}; +\node[dot] (e) at (1.75,1.5) {e}; +\node[ellipse,draw=red, rotate fit=45, fit=(a) (b) (c) (d) (e)] {}; +\end{tikzpicture} +\\ \hline rotate fit=45 & ellipse, rotate fit=45 \\ +\hline +\end{tabular} diff --git a/info/visualtikz/Source/tkzgate.tex b/info/visualtikz/Source/tkzgate.tex new file mode 100644 index 0000000000..0ec4708ffb --- /dev/null +++ b/info/visualtikz/Source/tkzgate.tex @@ -0,0 +1,404 @@ +\label{lib-gate} +International Electrotechnical Commission : +\maboite{\BS{usepackage}\AC{circuits.logic.IEC}} + +American logic gates : +\maboite{\BS{usepackage}\AC{circuits.logic.US}} + +logic symbols used in A. Croft, R. Davidson, and M. +Hargreaves (1992), Engineering Mathematics, Addison-Wesley, 82–95 : + +\maboite{\BS{usepackage}\AC{circuits.logic.CDH}} + +%\usetikzlibrary{circuits.logic.IEC} +%\usetikzlibrary[circuits.logic.US] +%\usetikzlibrary{circuits.logic.CDH} + +\begin{tabular}{|c|c|c|} \hline +\multicolumn{3}{|c|}{\textbf{\TFRGB{Composants de base}{Basic Elements}} }\\ +\hline +\multicolumn{3}{|c|}{\BS{node} [\blll{circuit logic IEC}] at (1,.5) [\RDD{and gate} ] \AC{A} ; }\\ +%\hline +\multicolumn{3}{|c|}{\RRR{47-3-2} } +\\ \hline +\begin{tikzpicture}[blue] +\useasboundingbox (-.2,-.2) grid (2.2,1.2); +\node[circuit logic IEC] at (1,.5) [and gate] {} ; +\end{tikzpicture} +& +\begin{tikzpicture}[blue] +\useasboundingbox (-.2,-.2) grid (2.2,1.2); +\node[circuit logic US] at (1,.5) [and gate] {} ; +\end{tikzpicture} +& +\begin{tikzpicture}[blue] +\useasboundingbox (-.2,-.2) grid (2.2,1.2); +\node[circuit logic CDH] at (1,.5) [and gate] {} ; +\end{tikzpicture} +\\ \hline +[\blll{circuit logic IEC}] & [\blll{circuit logic US}] & [\blll{circuit logic CDH}] \\ + +\RDD{and gate}& \RDD{and gate} & \RDD{and gate} +\\ \hline + +\begin{tikzpicture}[blue] +\useasboundingbox (-.2,-.2) grid (2.2,1.2); +\node[circuit logic IEC] at (1,.5) [nand gate] {} ; +\end{tikzpicture} +& +\begin{tikzpicture}[blue] +\useasboundingbox (-.2,-.2) grid (2.2,1.2); +\node[circuit logic US] at (1,.5) [nand gate] {} ; +\end{tikzpicture} +& +\begin{tikzpicture}[blue] +\useasboundingbox (-.2,-.2) grid (2.2,1.2); +\node[circuit logic CDH] at (1,.5) [nand gate] {} ; +\end{tikzpicture} +\\ \hline +[\blll{circuit logic IEC}] & [\blll{circuit logic US}] & [\blll{circuit logic CDH}] \\ +\RDD{nand gate}& \RDD{nand gate} & \RDD{nand gate} + +\\ \hline +\begin{tikzpicture}[blue] +\useasboundingbox (-.2,-.2) grid (2.2,1.2); +\node[circuit logic IEC] at (1,.5) [or gate] {} ; +\end{tikzpicture} +& +\begin{tikzpicture}[blue] +\useasboundingbox (-.2,-.2) grid (2.2,1.2); +\node[circuit logic US] at (1,.5) [or gate] {} ; +\end{tikzpicture} +& +\begin{tikzpicture}[blue] +\useasboundingbox (-.2,-.2) grid (2.2,1.2); +\node[circuit logic CDH] at (1,.5) [or gate] {} ; +\end{tikzpicture} +\\ \hline +[\blll{circuit logic IEC}] & [\blll{circuit logic US}] & [\blll{circuit logic CDH}] \\ +\RDD{or gate}& \RDD{or gate} & \RDD{or gate} + +\\ \hline +\begin{tikzpicture}[blue] +\useasboundingbox (-.2,-.2) grid (2.2,1.2); +\node[circuit logic IEC] at (1,.5) [nor gate] {} ; +\end{tikzpicture} +& +\begin{tikzpicture}[blue] +\useasboundingbox (-.2,-.2) grid (2.2,1.2); +\node[circuit logic US] at (1,.5) [nor gate] {} ; +\end{tikzpicture} +& +\begin{tikzpicture}[blue] +\useasboundingbox (-.2,-.2) grid (2.2,1.2); +\node[circuit logic CDH] at (1,.5) [nor gate] {} ; +\end{tikzpicture} +\\ \hline +[\blll{circuit logic IEC}] & [\blll{circuit logic US}] & [\blll{circuit logic CDH}] \\ +\RDD{nor gate}& \RDD{nor gate} & \RDD{nor gate} + +\\ \hline +\begin{tikzpicture}[blue] +\useasboundingbox (-.2,-.2) grid (2.2,1.2); +\node[circuit logic IEC] at (1,.5) [xor gate] {} ; +\end{tikzpicture} +& +\begin{tikzpicture}[blue] +\useasboundingbox (-.2,-.2) grid (2.2,1.2); +\node[circuit logic US] at (1,.5) [xor gate] {} ; +\end{tikzpicture} +& +\begin{tikzpicture}[blue] +\useasboundingbox (-.2,-.2) grid (2.2,1.2); +\node[circuit logic CDH] at (1,.5) [xor gate] {} ; +\end{tikzpicture} +\\ \hline +[\blll{circuit logic IEC}] & [\blll{circuit logic US}] & [\blll{circuit logic CDH}] \\ +\RDD{xor gate}& \RDD{xor gate} & \RDD{xor gate} + +\\ \hline +\begin{tikzpicture}[blue] +\useasboundingbox (-.2,-.2) grid (2.2,1.2); +\node[circuit logic IEC] at (1,.5) [xnor gate] {} ; +\end{tikzpicture} +& +\begin{tikzpicture}[blue] +\useasboundingbox (-.2,-.2) grid (2.2,1.2); +\node[circuit logic US] at (1,.5) [xnor gate] {} ; +\end{tikzpicture} +& +\begin{tikzpicture}[blue] +\useasboundingbox (-.2,-.2) grid (2.2,1.2); +\node[circuit logic CDH] at (1,.5) [xnor gate] {} ; +\end{tikzpicture} +\\ \hline +[\blll{circuit logic IEC}] & [\blll{circuit logic US}] & [\blll{circuit logic CDH}] \\ +\RDD{xnor gate}& \RDD{xnor gate} & \RDD{xnor gate} + +\\ \hline +\begin{tikzpicture}[blue] +\useasboundingbox (-.2,-.2) grid (2.2,1.2); +\node[circuit logic IEC] at (1,.5) [not gate] {} ; +\end{tikzpicture} +& +\begin{tikzpicture}[blue] +\useasboundingbox (-.2,-.2) grid (2.2,1.2); +\node[circuit logic US] at (1,.5) [not gate] {} ; +\end{tikzpicture} +& +\begin{tikzpicture}[blue] +\useasboundingbox (-.2,-.2) grid (2.2,1.2); +\node[circuit logic CDH] at (1,.5) [not gate] {} ; +\end{tikzpicture} +\\ \hline +[\blll{circuit logic IEC}] & [\blll{circuit logic US}] & [\blll{circuit logic CDH}] \\ +\RDD{not gate}& \RDD{not gate} & \RDD{not gate} + +\\ \hline +\begin{tikzpicture}[blue] +\useasboundingbox (-.2,-.2) grid (2.2,1.2); +\node[circuit logic IEC] at (1,.5) [buffer gate] {} ; +\end{tikzpicture} +& +\begin{tikzpicture}[blue] +\useasboundingbox (-.2,-.2) grid (2.2,1.2);; +\node[circuit logic US] at (1,.5) [buffer gate] {} ; +\end{tikzpicture} +& +\begin{tikzpicture}[blue] +\useasboundingbox (-.2,-.2) grid (2.2,1.2); +\node[circuit logic CDH] at (1,.5) [buffer gate] {} ; +\end{tikzpicture} +\\ \hline +[\blll{circuit logic IEC}] & [\blll{circuit logic US}] & [\blll{circuit logic CDH}] \\ +\RDD{buffer gate}& \RDD{buffer gate} & \RDD{buffer gate} + +\\ \hline +\end{tabular} +\bigskip + +\begin{tabular}{|c|c|c|} \hline +\multicolumn{3}{|c|}{\textbf{\TFRGB{Avec etiquette}{Labelled}} }\\ +\hline +\multicolumn{3}{|c|}{\BS{node} [\blll{circuit logic IEC}] at (1,.5) [and gate] \rouge{\AC{A}} ; }\\ +%\hline +\multicolumn{3}{|c|}{\RRR{47-3-1} } +\\ \hline +\begin{tikzpicture}[blue] +\useasboundingbox (-.2,-.2) grid (2.2,1.2); +\node[circuit logic IEC] at (1,.5) [and gate] {$A$} ; +\end{tikzpicture} +& +\begin{tikzpicture}[blue] +\useasboundingbox (-.2,-.2) grid (2.2,1.2); +\node[circuit logic US] at (1,.5) [and gate] {$A$} ; +\end{tikzpicture} +& +\begin{tikzpicture}[blue] +\useasboundingbox (-.2,-.2) grid (2.2,1.2); +\node[circuit logic CDH] at (1,.5) [and gate] {$A$} ; +\end{tikzpicture} +\\ \hline +[\blll{circuit logic IEC}] & [\blll{circuit logic US}] & [\blll{circuit logic CDH}] +\\ \hline +\end{tabular} +\bigskip + +\begin{tabular}{|c|c|c|} \hline +\multicolumn{3}{|c|}{\textbf{\TFRGB{Orientation}{Orientation} }} +\\ \hline +\multicolumn{3}{|c|}{\RRR{47-3-1} } +\\ \hline +\multicolumn{3}{|c|}{\BS{node} [\blll{circuit logic IEC}] at (1,.5) [and gate,\RDD{point down}] \AC{A} ; } +\\ \hline +\begin{tikzpicture}[blue] +\useasboundingbox (-.2,-.2) grid (2.2,1.2); +\node[circuit logic IEC] at (1,.5) [and gate,point down] {$A$} ; +\end{tikzpicture} +& +\begin{tikzpicture}[blue] +\useasboundingbox (-.2,-.2) grid (2.2,1.2); +\node[circuit logic US] at (1,.5) [and gate,point down] {$A$} ; +\end{tikzpicture} +& +\begin{tikzpicture}[blue] +\useasboundingbox (-.2,-.2) grid (2.2,1.2); +\node[circuit logic CDH] at (1,.5) [and gate,point down] {$A$} ; +\end{tikzpicture} +\\ \hline +[\blll{circuit logic IEC}] & [\blll{circuit logic US}] & [\blll{circuit logic CDH}] +\\ \hline \hline + +\multicolumn{3}{|c|}{\BS{node} [\blll{circuit logic IEC}] at (1,.5) [and gate,\RDD{point up}] \AC{A} ; } +\\ \hline +\begin{tikzpicture}[blue] +\useasboundingbox (-.2,-.2) grid (2.2,1.2); +\node[circuit logic IEC] at (1,.5) [and gate,point up] {$A$} ; +\end{tikzpicture} +& +\begin{tikzpicture}[blue] +\useasboundingbox (-.2,-.2) grid (2.2,1.2); +\node[circuit logic US] at (1,.5) [and gate,point up] {$A$} ; +\end{tikzpicture} +& +\begin{tikzpicture}[blue] +\useasboundingbox (-.2,-.2) grid (2.2,1.2); +\node[circuit logic CDH] at (1,.5) [and gate,point up] {$A$} ; +\end{tikzpicture} +\\ \hline +[\blll{circuit logic IEC}] & [\blll{circuit logic US}] & [\blll{circuit logic CDH}] +\\ \hline +\multicolumn{3}{|c|}{\BS{node} [\blll{circuit logic IEC}] at (1,.5) [and gate,\RDD{point left}] \AC{A} ; } +\\ \hline +\begin{tikzpicture}[blue] +\useasboundingbox (-.2,-.2) grid (2.2,1.2); +\node[circuit logic IEC] at (1,.5) [and gate,point left] {$A$} ; +\end{tikzpicture} +& +\begin{tikzpicture}[blue] +\useasboundingbox (-.2,-.2) grid (2.2,1.2); +\node[circuit logic US] at (1,.5) [and gate,point left] {$A$} ; +\end{tikzpicture} +& +\begin{tikzpicture}[blue] +\useasboundingbox (-.2,-.2) grid (2.2,1.2); +\node[circuit logic CDH] at (1,.5) [and gate,point left] {$A$} ; +\end{tikzpicture} +\\ \hline +[\blll{circuit logic IEC}] & [\blll{circuit logic US}] & [\blll{circuit logic CDH}] +\\ \hline +\end{tabular} +\bigskip + +\begin{tabular}{|c|c|}\hline +\multicolumn{2}{|c|}{\textbf{\TFRGB{Entrées sortie}{inputs exit}}} \\ \hline +\multicolumn{2}{|c|}{ \RRR{47-3-3} } +\\ \hline +\begin{tikzpicture}[blue] +\useasboundingbox (-.2,-.2) grid (2.2,1.2); +\node[and gate IEC, draw, logic gate inputs={inverted, normal, inverted}] at (1,.5) (A) {}; +\draw [red] (A.input 1) -| (0,0.5); +\draw[green] (A.input 2) -| (0,0.5); +\draw[cyan] (A.input 3) -| (0,0.5); +\draw (A.output) -| (2,0.5); +\end{tikzpicture} +& +\parbox[c]{10cm}{ +\BS{node} [and gate IEC, draw, \\ +\RDD{logic gate inputs}=\{\RDDX{inverted}{gate},\RDDX{normal}{gate} , \RDDX{inverted}{gate}\}] at (1,.5) (A) \AC{}; \\ +\BS{draw} [red] (A.\DDD{input} 1) -| (0,0.5); \\ +\BS{draw}[green] (A.\DDD{input} 2) -| (0,0.5); \\ +\BS{draw}[cyan] (A.\DDD{input} 3) -| (0,0.5); \\ +\BS{draw} (A.\DDD{output}) -| (2,0.5);} +\\ \hline +\begin{tikzpicture}[blue] +\useasboundingbox (-.2,-.2) grid (2.2,1.2); +\node[and gate IEC, draw, logic gate inputs={ini}] at (1,.5) (A) {}; +\draw[red] (A.input 1) -| (0,0.5); +\draw[green] (A.input 2) -| (0,0.5); +\draw[cyan] (A.input 3) -| (0,0.5); +\draw (A.output) -| (2,0.5); +\end{tikzpicture} +& +\parbox[c]{10cm}{ +\BS{node} [and gate IEC, draw, \\ +\RDD{logic gate inputs}=\AC{\rouge{ini}}] at (1,.5) (A) \AC{}; \\ +\BS{draw} [red] (A.\DDD{input} 1) -| (0,0.5); \\ +\BS{draw}[green] (A.\DDD{input} 2) -| (0,0.5); \\ +\BS{draw}[cyan] (A.\DDD{input} 3) -| (0,0.5); \\ +\BS{draw} (A.\DDD{output}) -| (2,0.5);} +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|}\hline +\multicolumn{2}{|c|}{\textbf{\TFRGB{Paramètres des entrées}{input parameter}}} \\ \hline +\multicolumn{2}{|c|}{\BS{node} [and gate IEC, draw, +logic gate inputs={ini},\RDD{logic gate inverted radius}=4pt ]} \\ +\multicolumn{2}{|c|}{ at (1,.5) (A) \AC{}; }\\ +\multicolumn{2}{|c|}{ \RRR{47-3-3} } + +\\ \hline +\begin{tikzpicture}[blue] +\useasboundingbox (-.2,-1.2) grid (2.2,2.2); +\node[and gate IEC, draw, logic gate inputs={ini},logic gate inverted radius=4pt] at (1,.5) (A) {}; +\draw (A.input 1) -| (0,0.5); +\draw (A.input 2) -| (0,0.5); +\draw (A.input 3) -| (0,0.5); +\draw (A.output) -| (2,0.5); +\end{tikzpicture} +& +\begin{tikzpicture}[blue] +\useasboundingbox (-.2,-1.2) grid (2.2,2.2); +\node[and gate IEC, draw, logic gate inputs={ini},logic gate input sep=0.5cm] at (1,.5) (A) {}; +\draw (A.input 1) -| (0,0.5); +\draw (A.input 2) -| (0,0.5); +\draw (A.input 3) -| (0,0.5); +\draw (A.output) -| (2,0.5); +\end{tikzpicture} +\\ \hline +\RDD{logic gate inverted radius}=4pt & \RDD{logic gate input sep}=0.5cm\\ +\hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|c|}\hline +\multicolumn{3}{|c|}{\textbf{\TFRGB{Paramètres des symboles}{symbol parameter}}} \\ \hline +\multicolumn{3}{|c|}{\BS{node} [circuit logic IEC,\RDD{and gate IEC symbol}=AND ] at (1,.5) [and gate] \AC{} } \\ +\multicolumn{3}{|c|}{ \RRR{47-3-5} } +\\ \hline +\begin{tikzpicture}[blue] +\useasboundingbox (-.2,-.2) grid (2.2,1.2); +\node[circuit logic IEC,and gate IEC symbol=AND ] at (1,.5) [and gate] {} ; +\end{tikzpicture} +& +\begin{tikzpicture}[blue] +\useasboundingbox (-.2,-.2) grid (2.2,1.2); +\node[circuit logic IEC,logic gate IEC symbol color=red ] at (1,.5) [and gate] {} ; +\end{tikzpicture} +& +\begin{tikzpicture}[blue] +\useasboundingbox (-.2,-.2) grid (2.2,1.2); +\node[circuit logic IEC,logic gate IEC symbol align={bottom, right}] at (1,.5) [and gate] {} ; +\end{tikzpicture} +\\ \hline +\RDD{and gate IEC symbol}& \RDD{logic gate IEC symbol color}& \RDD{logic gate IEC symbol align}\\ +=AND & =red & =\AC{bottom, right} +\\ +\hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|c|}\hline +\multicolumn{3}{|c|}{\textbf{\TFRGB{Paramètres des composants}{Composant parameter}}} \\ \hline +\multicolumn{3}{|c|}{\BS{node} [circuit logic IEC,\rouge{very thick} ] at (1,.5) [and gate] \AC{} } \\ +\multicolumn{3}{|c|}{ \RRR{47-3-5} } +\\ \hline +\begin{tikzpicture}[blue] +\useasboundingbox (-.2,-.2) grid (2.2,1.2); +\node[circuit logic IEC,very thick] at (1,.5) [and gate] {} ; +\end{tikzpicture} +& +\begin{tikzpicture}[blue] +\useasboundingbox (-.2,-.2) grid (2.2,1.2); +\node[circuit logic IEC, +fill=blue!10] at (1,.5) [and gate] {} ; +\end{tikzpicture} +& +\begin{tikzpicture}[blue] +\useasboundingbox (-.2,-.2) grid (2.2,1.2); +\node[circuit logic IEC,logic gate IEC symbol color=black, +fill=blue!10] at (1,.5) [and gate] {} ; +\end{tikzpicture} +\\ \hline +\rouge{very thick} & \rouge{fill}=blue!10 & \rouge{fill}=blue!10, \\ +& & logic gate IEC symbol color=black +\\ \hline +\end{tabular} + + + + diff --git a/info/visualtikz/Source/tkzgraph1.tex b/info/visualtikz/Source/tkzgraph1.tex new file mode 100644 index 0000000000..6fd479057d --- /dev/null +++ b/info/visualtikz/Source/tkzgraph1.tex @@ -0,0 +1,437 @@ + +\SbSSCT{Graphe avec TikZ}{Graph with TikZ} + +\SbSbSSCT{Graphe à partir d'une liste de points}{From a list of points} +\label{plot} + +\RRR{22-2} +\begin{tabular}{|c | } \hline +\BS{tikz} \BS{draw} plot \RDD{coordinates} \AC{(0,0) (1,1) (2,0) (3,1) (4,1) (5,2)}; \\ +\hline +\tikz \draw plot coordinates {(0,0) (1,1) (2,0) (3,1) (4,1) (5,2)}; +\\ \hline +\end{tabular} + + +\SbSbSSCT{Graphe à partir partir d'un fichier de données}{From a data file} + +\begin{tabular}{|c | c | c | c |} \hline +\multicolumn{4}{|c|}{ \BS{tikz} \BS{draw} plot[mark=x] \RDD{file} \AC{table.dat} ; }\\ +\hline +& +\tikz \draw plot[mark=x,smooth] file {table.dat}; +& +\tikz \draw plot[mark=x,smooth,tension=.2] file {table.dat}; +& +\tikz \draw plot[mark=x,smooth,tension=1] file {table.dat}; +\\ \hline +[mark=x] & [mark=x,\RDD{smooth}] & [mark=x,smooth,\RDD{tension}=.2] & [mark=x,smooth,\RDD{tension}=1] +\\ \hline +\multicolumn{4}{|c|}{ \dft : tension= 0:55} +\\ \hline +\end{tabular} + +\bigskip + + +\begin{tabular}{|c c |} \hline +\multicolumn{2}{|c|}{\TFRGB{Contenu du fichier}{content of the file} table.dat} +\\ \hline +0.0 & 0.3 \\ +0.3 & 0.6 \\ +0.6 & 0.9 \\ +0.9 & 1.5 \\ +1.2 & 0.6 \\ +1.5 & 1.2 \\ +1.8 & 1.5 \\ +2.1 & 2.0 \\ +2.4 & 3.0 \\ +\hline +\end{tabular} + +\bigskip + +\SbSbSSCT{Les types de graphes}{Graph types} + +\begin{tabular}{|c | c | c | c |} \hline +\multicolumn{4}{|c|}{ \BS{tikz} \BS{draw} plot[mark=*,\RDD{const plot}] file \AC{table.dat} ; }\\ +\hline +\tikz \draw plot[mark=*,const plot] file {table.dat}; +& + +\tikz \draw plot[const plot mark left,mark=*] file {table.dat}; +& +\tikz \draw plot[const plot mark right,mark=*] file {table.dat}; +& +\tikz \draw plot[jump mark left, mark=*] file {table.dat}; +\\ \hline +\RDD{const plot} & \RDD{const plot mark left} & \RDD{const plot mark right} & \RDD{jump mark left} +\\ \hline +\tikz \draw plot[jump mark right, mark=*] file {table.dat}; +& +\tikz \draw plot[ycomb,thin,mark=*] file {table.dat}; +& +\tikz \draw plot[xcomb,mark=*] file {table.dat}; +& +\tikz \draw plot[only marks,mark=*] file {table.dat}; +\\ \hline +\RDD{jump mark right} & \RDD{ycomb} & \RDD{xcomb} & \RDD{only marks} +\\ \hline +\end{tabular} + +\bigskip +\begin{tabular}{|c | c | c |c |} \hline + +\tikz \draw plot[polar comb,mark=*]coordinates {(0:1) (60:0.5) (120:1.5) (180:3) (240:.5) (300:1) (0:1)}; +\\ \hline +\BS{tikz} \BS{draw} plot[\RDD{polar comb},mark=*]coordinates \\ +\AC{(0:1) (60:0.5) (120:1.5) (180:3) (240:.5) (300:1) (0:1)}; +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c | c | c |c |} \hline +\multicolumn{4}{|c|}{ \BS{tikz} \BS{draw} plot[\RDD{ybar}] file \AC{table.dat} ; }\\ +\hline +\tikz \draw plot[ybar] file {table.dat}; +& +\tikz \draw plot[ybar interval] file {table.dat}; +& +\tikz \draw plot[ybar interval,x=2cm] file {table.dat}; +& +\tikz \draw plot[ybar interval,y=.5cm] file {table.dat}; +\\ \hline +[\RDD{ybar}] & [\RDD{ybar interval}] & [ybar interval,\RDD{x}=2cm] & [ybar interval,\RDD{y}=.5cm] +\\ \hline +\end{tabular} + +\bigskip + \begin{tabular}{|c|c|} \hline +\begin{tikzpicture}[baseline=0pt] +\draw[red,fill=cyan,ybar,bar width=.5cm]plot coordinates{(0,1) (1,1.2) (2,.6) (3,.7) (4,.9)}; +\draw[blue,fill=green,ybar,bar width=.5cm,bar shift=.3cm]plot coordinates{(0,1.2) (1,1.3) (2,.5) (3,.2) (4,.5)}; +\end{tikzpicture} +& +\parbox[c]{10cm}{ +\BS{begin}\AC{tikzpicture} \\ +\BS{draw}[red,fill=cyan,ybar,bar width=.5cm] \\ +\rule{1cm}{.0pt} plot coordinates \AC{(0,1) (1,1.2) (2,.6) (3,.7) (4,.9)}; \\ +\BS{draw}[blue,fill=green,ybar,bar width=.5cm,\RDD{bar shift}=.3cm] \\ +\rule{1cm}{.0pt} plot coordinates \AC{(0,1.2) (1,1.3) (2,.5) (3,.2) (4,.5)}; \\ +\BS{end}\AC{tikzpicture} } + \\ \hline + \end{tabular} + +\bigskip + +\begin{tabular}{|c | c | c | c |c |} \hline +\multicolumn{4}{|c|}{ \BS{tikz} \BS{draw} plot[xbar interval] file \AC{table.dat} ; }\\ +\hline +\tikz \draw[blue] plot[xbar] coordinates{(2,0) (3,1) (1,2) (2,3)}; +& +\tikz \draw[blue] plot[xbar interval] coordinates {(2,0) (3,1) (1,2) (2,3)}; +& +\tikz \draw[blue] plot[xbar interval,x=.5cm] coordinates {(2,0) (3,1) (1,2) (2,3)}; +& +\tikz \draw[blue] plot[xbar interval,y=.5cm] coordinates {(2,0) (3,1) (1,2) (2,3)}; +\\ \hline +[\RDD{xbar}] & [\RDD{xbar interval}] & [xbar interval,\RDD{x}=.5cm] & [xbar interval,\RDD{y}=.5cm] +\\ \hline +\end{tabular} + +\newpage + +\SbSbSSCT{Graphe à partir d'une fonction}{Graph of a function} + + +\begin{tabular}{|c | c | c | } \hline +\multicolumn{3}{|c|}{ \BS{draw} [color=red] plot (\BS{x},\BS{x}); }\\ +\hline +\begin{tikzpicture}[domain=0:4,ultra thick] + +\draw[->,blue,ultra thick] (-.1,0) -- (4.5,0); +\draw[->,blue,ultra thick] (0,-1.1) -- (0,04); +\draw[color=red] plot (\x,\x); +\end{tikzpicture} +& +\begin{tikzpicture}[domain=0:6.28,ultra thick,x=0.7cm] +\draw[->,blue,ultra thick] (-.1,0) -- (7,0); +\draw[->,blue,ultra thick] (0,-2.5) -- (0,2.5); +\draw[color=red] plot (\x,{sin(\x r)}); +\end{tikzpicture} +& +\begin{tikzpicture}[domain=0:360,x=0.3,ultra thick] +\draw[->,blue,ultra thick] (-.1,0) -- (370,0); +\draw[->,blue,ultra thick] (0,-2.5) -- (0,2.5); +\draw[color=red] plot (\x,{sin(\x)}); +\end{tikzpicture} +\\ \hline +(\BS{x},\BS{x}) & (\BS{x},\AC{sin(\BS{x} r)}) & (\BS{x},\AC{sin(\BS{x})}) \\ +& x en radian & x en degré +\\ \hline +\end{tabular} + +Options + +\begin{tabular}{|c | c |} \hline +\multicolumn{2}{|l|}{ \BS{draw}[color=red,dashed] plot(\BS{x},\AC{sin(\BS{x} r)});} \\ +\multicolumn{2}{|l|}{ \BS{draw}[color=blue,\RDD{samples}=5,mark=*,ultra thick] plot(\BS{x},\AC{sin(\BS{x} r)});} +\\ \hline +\begin{tikzpicture}[domain=0:6.28] +\draw[very thin,color=gray] (-0.1,-1.1) grid (6.28,1.1); +\draw[color=red,dashed] plot (\x,{sin(\x r)}); +\draw[color=blue,samples=5,mark=*,ultra thick] plot (\x,{sin(\x r)}); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw[very thin,color=gray] (-0.1,-1.1) grid (6.28,1.1); +\draw[color=red,dashed,domain=0:6.28] plot (\x,{sin(\x r)}); +\draw[color=blue,domain=0:4,ultra thick] plot (\x,{sin(\x r)}); +\end{tikzpicture} + \\ \hline +[color=blue,\RDD{samples}=5,mark=*] & [color=blue,\RDD{domain}=0:4] +\\ \hline +\begin{tikzpicture} +\draw[very thin,color=gray] (-0.1,-1.1) grid (6.28,1.1); +\draw[color=red,dashed,domain=0:6.28] plot (\x,{sin(\x r)}); +\draw[color=blue,domain=1:5,ultra thick] plot (\x,{sin(\x r)}); +\end{tikzpicture} +& +\begin{tikzpicture}[domain=0:6.28] +\draw[very thin,color=gray] (-0.1,-1.1) grid (6.28,1.1); +\draw[color=red,dashed] plot (\x,{sin(\x r)}); +\draw[color=blue,samples at={1,2,4,5},mark=*,ultra thick] plot (\x,{sin(\x r)}); +\end{tikzpicture} +\\ \hline +[color=blue,\RDD{domain}=1:5] & [color=blue,\RDD{samples at}=\AC{1,2,4,5},mark=*] +\\ \hline +\end{tabular} + +\SbSbSSCT{Fonctions paramétriques}{Parametric function} + + +\begin{tabular}{|c | c |} \hline +\multicolumn{2}{|l|}{ \BS{draw}[domain=-3.141:3.141,smooth,variable=\BS{t}]plot (\AC{sin(\BS{t} r)},\AC{sin(2 *\BS{t} r)});} \\ +\multicolumn{2}{|l|}{ \BS{draw}[domain=0:720,smooth,variable=\BS{t}]plot (\AC{sin(\BS{t})},\BS{t}/360,\AC{cos(\BS{t})});} +\\ \hline + +\tikz \draw[domain=-3.141:3.141,smooth,variable=\t,ultra thick]plot ({sin(\t r)},{sin(2*\t r)}); +& +\tikz \draw[domain=0:720,smooth,variable=\t,ultra thick] plot ({sin(\t)},\t/360,{cos(\t)}); +\\ \hline +(\AC{sin(\BS{t} r)},\AC{sin(2 *\BS{t} r)}) & (\AC{sin(\BS{t})},\BS{t}/360,\AC{cos(\BS{t})}) +\\ \hline +\end{tabular} + +\SbSSCT{Marques}{Marks} + +\SbSbSSCT{Marques avec TikZ}{Marks with TikZ} + +\begin{tabular}{|c | c | c | c |} \hline +\tikz \draw plot[mark=+,mark size=5pt] coordinates {(0,0) (1,1) (2,0)}; +& +\tikz \draw plot[mark=x,mark size=5pt] coordinates {(0,0) (1,1) (2,0) }; +& +\tikz \draw plot[mark=*,mark size=5pt] coordinates {(0,0) (1,1) (2,0)}; +& +\tikz \draw plot[mark=ball,mark size=5pt] coordinates {(0,0) (1,1) (2,0)}; +\\ \hline +mark=+ & mark=x & mark=* & mark=ball +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c | c |} \hline +\begin{tikzpicture}[domain=0:6.28] +\draw[very thin,color=gray] (-0.1,-1.1) grid (6.28,1.1); +\draw[color=red,dashed,mark=+] plot (\x,{sin(\x r)}); +\draw[color=blue,mark repeat=3,mark=*] plot (\x,{sin(\x r)}); +\end{tikzpicture} +& +\begin{tikzpicture}[domain=0:6.28] +\draw[very thin,color=gray] (-0.1,-1.1) grid (6.28,1.1); +\draw[color=red,dashed,mark=+] plot (\x,{sin(\x r)}); +\draw[color=blue,mark repeat=3,mark phase=5,mark=*] plot (\x,{sin(\x r)}); +\end{tikzpicture} +\\ \hline +[color=blue,\RDD{mark repeat}=3,mark=*] & [color=blue,mark repeat=3,\RDD{mark phase}=5,mark=*] +\\ \hline +\begin{tikzpicture}[domain=0:6.28] +\draw[very thin,color=gray] (-0.1,-1.1) grid (6.28,1.1); +\draw[color=red,dashed,mark=+] plot (\x,{sin(\x r)}); +\draw[color=blue,mark indices={1,4,...,15,17,20},mark=*] plot (\x,{sin(\x r)}); +\end{tikzpicture} +& +\begin{tikzpicture}[domain=0:6.28] +\draw[very thin,color=gray] (-0.1,-1.1) grid (6.28,1.1); +\draw[color=red,dashed,mark=+] plot (\x,{sin(\x r)}); +\draw[color=blue,mark size=5pt,mark=*] plot (\x,{sin(\x r)}); +\end{tikzpicture} +\\ \hline +[color=blue,\RDD{mark indices}={1,4,...,15,17,20},mark=*] & [color=blue,\RDD{mark size}=5pt,mark=*] +\\ \hline +\begin{tikzpicture}[domain=0:6.28] +\draw[very thin,color=gray] (-0.1,-1.1) grid (6.28,1.1); + +\draw[color=blue,mark size=5pt,mark options={color=magenta},mark=+] plot (\x,{sin(\x r)}); +\end{tikzpicture} +& +\begin{tikzpicture}[domain=0:6.28] +\draw[very thin,color=gray] (-0.1,-1.1) grid (6.28,1.1); + +\draw[color=blue,mark size=5pt,mark options={rotate=10},mark=+] plot (\x,{sin(\x r)}); +\end{tikzpicture} +\\ \hline +\RDD{mark options}=\AC{color=magenta},mark=+ & \RDD{mark options}=\AC{rotate=10},mark=+ +\\ \hline +\end{tabular} + +\SbSbSSCT{Marques personnalisées avec text mark}{Marks with text mark} + +\begin{tabular}{|c | c | c |} \hline +\multicolumn{3}{|l|}{ \BS{draw}[\RDD{mark}=\RDDX{text}{mark},\RDD{text mark}=A,mark size=5pt] coordinates \AC{(0,0) (1,1) (2,0)};} +\\ \hline +\tikz \draw plot[mark=text,text mark=A,mark size=5pt] coordinates {(0,0) (1,1) (2,0)}; +& +\tikz \draw plot[mark=text,text mark=Texte,mark size=5pt] coordinates {(0,0) (1,1) (2,0)}; +& +\begin{tikzpicture} +\draw[white] (-1,0)-- (-1,1.5); + \draw plot[mark=text,text mark=\DFR,mark size=5pt] coordinates {(0,0) (1,1) (2,0)}; +\end{tikzpicture} +\\ \hline +\RDD{text mark}=A & \RDD{text mark}=Texte & \RDD{text mark}=\BS{DFR} \pageref{DFR} +\\ \hline +\multicolumn{3}{|c|}{ +\begin{tikzpicture} +\draw[white] (-1,0)-- (-1,1.5); +\draw plot[mark=text,text mark={\includegraphics[width=.5cm]{tiger}} ,mark size=5pt] coordinates {(0,0) (1,1) (2,0)}; +\end{tikzpicture} } +\\ \hline +\multicolumn{3}{|c|}{ \RDD{text mark}=\AC{\BS{includegraphics}[width=.5cm]\AC{tiger}} } +\\ \hline +\end{tabular} + + +\newpage + +\SbSbSSCT{Marques avec l'extension plotmarks }{Marks with plotmarks library} + +\label{plotmarks} + + + \maboite{\BS{usetikzlibrary}\AC{plotmarks}} + +\begin{center} +\RRR{63} +\end{center} + +\begin{tabular}{|c | c | c | c |} \hline +\tikz \draw plot[mark=-,mark size=5pt] coordinates {(0,0) (1,1) (2,0)}; +& +\tikz \draw plot[mark=|,mark size=5pt] coordinates {(0,0) (1,1) (2,0)}; + & +\tikz \draw plot[mark=o,mark size=5pt] coordinates {(0,0) (1,1) (2,0)}; + & +\tikz \draw plot[mark=asterisk,mark size=5pt] coordinates {(0,0) (1,1) (2,0)}; +\\ \hline +mark=\rouge{-} & mark=\rouge{|} & mark=\RDDX{o}{mark} & mark=\RDDX{asterisk}{mark} +\\ \hline +\tikz \draw plot[mark=star,mark size=5pt] coordinates {(0,0) (1,1) (2,0)}; +& +\tikz \draw plot[mark=10-pointed star,mark size=5pt] coordinates {(0,0) (1,1) (2,0)}; +& +\tikz \draw plot[mark=oplus,mark size=5pt] coordinates {(0,0) (1,1) (2,0)}; +& +\tikz \draw plot[mark=oplus*,mark size=5pt] coordinates {(0,0) (1,1) (2,0)}; +\\ \hline +mark==\RDDX{star}{mark} & mark==\RDDX{10-pointed star}{mark} & mark=\RDDX{oplus}{mark} & mark=\RDDX{oplus*}{mark} +\\ \hline + +\tikz \draw plot[mark=otimes,mark size=5pt] coordinates {(0,0) (1,1) (2,0)}; +& +\tikz \draw plot[mark=otimes*,mark size=5pt] coordinates {(0,0) (1,1) (2,0)}; +& +\tikz \draw plot[mark=square,mark size=5pt] coordinates {(0,0) (1,1) (2,0)}; +& +\tikz \draw plot[mark=square*,mark size=5pt] coordinates {(0,0) (1,1) (2,0)}; +\\ \hline + mark=\RDDX{otimes}{mark} & mark=\RDDX{otimes*}{mark} & mark=\RDDX{square}{mark} & mark=\RDDX{square*}{mark} + \\ \hline + +\tikz \draw plot[mark=triangle,mark size=5pt] coordinates {(0,0) (1,1) (2,0)}; +& +\tikz \draw plot[mark=triangle*,mark size=5pt] coordinates {(0,0) (1,1) (2,0)}; +& +\tikz \draw plot[mark=diamond,mark size=5pt] coordinates {(0,0) (1,1) (2,0)}; + & +\tikz \draw plot[mark=diamond*,mark size=5pt] coordinates {(0,0) (1,1) (2,0)}; +\\ \hline +mark=\RDDX{triangle}{mark} & mark=\RDDX{triangle*}{mark} & mark=\RDDX{diamond}{mark} & mark=\RDDX{diamond*}{mark} +\\ \hline + +\tikz \draw plot[mark=halfdiamond*,mark size=5pt] coordinates {(0,0) (1,1) (2,0)}; + & +\tikz \draw plot[mark=halfsquare*,mark size=5pt] coordinates {(0,0) (1,1) (2,0)}; + & +\tikz \draw plot[mark=halfsquare right*,mark size=5pt] coordinates {(0,0) (1,1) (2,0)}; + & +\tikz \draw plot[mark=halfsquare left*,mark size=5pt] coordinates {(0,0) (1,1) (2,0)}; +\\ \hline +mark=\RDDX{halfdiamond*}{mark} & mark=\RDDX{halfsquare*}{mark} & mark=\RDDX{halfsquare right*}{mark} & mark=\RDDX{halfsquare left*}{mark} +\\ \hline + +\tikz \draw plot[mark=pentagon,mark size=5pt] coordinates {(0,0) (1,1) (2,0)}; + & +\tikz \draw plot[mark=pentagon*,mark size=5pt] coordinates {(0,0) (1,1) (2,0)}; + & +\tikz \draw plot[mark=Mercedes star,mark size=5pt] coordinates {(0,0) (1,1) (2,0)}; + & +\tikz \draw plot[mark=Mercedes star flipped,mark size=5pt] coordinates {(0,0) (1,1) (2,0)}; + \\ \hline + mark=\RDDX{pentagon}{mark} & mark=\RDDX{pentagon*}{mark} & mark=\RDDX{Mercedes star}{mark} & mark=\RDDX{Mercedes star flipped}{mark} + \\ \hline + +\tikz \draw plot[mark=halfcircle,mark size=5pt] coordinates {(0,0) (1,1) (2,0)}; + & +\tikz \draw plot[mark=halfcircle*,mark size=5pt] coordinates {(0,0) (1,1) (2,0)}; +& +\tikz \draw plot[mark=heart,mark size=5pt] coordinates {(0,0) (1,1) (2,0)}; + & +\tikz \draw plot[mark=text,mark size=5pt] coordinates {(0,0) (1,1) (2,0)}; + \\ \hline + mark=\RDDX{halfcircle}{mark} & mark=\RDDX{halfcircle*}{mark} & mark=\RDDX{heart}{mark} & mark=\RDDX{text}{mark} + \\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c | c | c | c |} \hline +\multicolumn{4}{|l|}{ \BS{draw}[mark=halfcircle,\RDD{mark color}=red,mark size=5pt] coordinates \AC{(0,0) (1,1) (2,0)};} +\\ \hline +\tikz \draw plot[mark=halfcircle,mark color=red,mark size=5pt] coordinates {(0,0) (1,1) (2,0)}; +& +\tikz \draw plot[mark=halfcircle*,mark color=red,mark size=5pt] coordinates {(0,0) (1,1) (2,0)}; +& +\tikz \draw plot[mark=halfdiamond*,mark color=red,mark size=5pt] coordinates {(0,0) (1,1) (2,0)}; +& +\tikz \draw plot[mark=halfsquare*,mark color=red,mark size=5pt] coordinates {(0,0) (1,1) (2,0)}; + \\ \hline + mark=halfcircle & mark=halfcircle* & mark=halfdiamond* & mark=halfsquare* + \\ \hline +\end{tabular} + +\SbSSCT{Graphes avec Gnuplot}{Graph with Gnuplot} + + \begin{tabular}{|l| } \hline + +\BS{draw}[color=red] plot[\RDD{id}=sin] function\AC{sin(x)} ; + \\ \hline +\\ +==> plot[id=sin] \TFRGB{crée le fichier}{create the file} \og sin.gnuplot \fg \\ +==> \TFRGB{Ouvrir le fichier}{Open the file} \og sin.gnuplot \fg \TFRGB{avec le programme gnuplot pour créer le fichier}{with the program gnuplot : creation of the file } \og sin.table \fg\\ +==> \TFRGB{Utiliser le fichier de données} {Use the datafile } + \og sin.table \fg \\ \hline +\end{tabular}
\ No newline at end of file diff --git a/info/visualtikz/Source/tkzgraph2.tex b/info/visualtikz/Source/tkzgraph2.tex new file mode 100644 index 0000000000..74f0b98b79 --- /dev/null +++ b/info/visualtikz/Source/tkzgraph2.tex @@ -0,0 +1,815 @@ + + + \maboite{\BS{usepackage}\AC{pgfplots} \cite {pgfplots} } +\label{pgfplots} + + +\SbSSCT{Courbes 2 D}{2D Graph} + +\subsubsection{Axes} + +\begin{tabular}{|c|c|c|c|} \hline + + \multicolumn{4}{|c|}{ \RRP{4-1}} + \\ \hline +\begin{tikzpicture}[scale=.5,blue] +\begin{axis} +... +\end{axis} +\end{tikzpicture} +& +\begin{tikzpicture}[scale=.5,blue] +\begin{semilogxaxis} +... +\end{semilogxaxis} +\end{tikzpicture} +& +\begin{tikzpicture}[scale=.5,blue] +\begin{semilogyaxis} + +\end{semilogyaxis} +\end{tikzpicture} +& +\begin{tikzpicture}[scale=.5,blue] +\begin{loglogaxis} + +\end{loglogaxis} +\end{tikzpicture} +\\ \hline +\ESS{axis} & \ESS{semilogxaxis} & \ESS{semilogyaxis} & \ESS{loglogaxis} \\ +& & &\\ + +\BS{end}\AC{axis} & \BS{end}\AC{semilogxaxis} & \BS{end}\AC{semilogyaxis} & \BS{end}\AC{loglogaxis} +\\ \hline +\end{tabular} + + +\SbSSCT{Tracé de la courbe}{Drawing of the graph} + + +\begin{tabular}{|c|c|c|} \hline + \multicolumn{3}{|c|}{ \RRP{4-2}} + \\ \hline +\begin{tikzpicture}[scale=.5] +\begin{axis} +\addplot coordinates {(0,0) (1,1) (2,0) (3,1) (4,1) (5,2)}; +\end{axis} +\end{tikzpicture} +& +\begin{tikzpicture}[scale=.5] +\begin{axis} +\addplot {x^2 - x +4}; +\end{axis} +\end{tikzpicture} +& + +\\ \hline +\BSS{addplot} coordinates & \BSS{addplot} \AC{x\^{}2 - x +4}; & \BSS{addplot} gnuplot[id=sin]\AC{sin(x)};\\ +\AC{(0,0) (1,1) (2,0) (3,1) (4,1) (5,2)}; & & +\\ \hline +\end{tabular} + +\bigskip +\begin{tabular}{|c|c|c|c|} \hline +\begin{tikzpicture}[scale=.5] +\begin{semilogxaxis} +\addplot coordinates {(0,0) (1,1) (2,0) (3,1) (4,1) (5,2)}; +\end{semilogxaxis} +\end{tikzpicture} +& +\begin{tikzpicture}[scale=.5] +\begin{semilogxaxis} +\addplot[domain=1:3] {x^2 - x +4}; +\end{semilogxaxis} +\end{tikzpicture} +& +\begin{tikzpicture}[scale=.5] +\begin{semilogyaxis} +\addplot {x^2 - x +4}; +\end{semilogyaxis} +\end{tikzpicture} +\\ \hline +axes : \RDD{semilogxaxis} & axes : \RDD{semilogxaxis} & axes : \RDD{semilogyaxis } +\\ \hline +\BSS{addplot} coordinates & \BSS{addplot} \AC{x\^{}2 - x +4}; & \BSS{addplot} \AC{x\^{}2 - x +4};\\ +\AC{(0,0) (1,1) (2,0) (3,1) (4,1) (5,2)}; & & +\\ \hline +\end{tabular} +\bigskip + +%\begin{tabular}{|c|c|c|c|} \hline +%\begin{tikzpicture}[scale=.5] +%\begin{axis} +%\addplot[red,dashed] file {table2.dat}; +%\addplot[surf] file {table2.dat}; +%\end{axis} +%\end{tikzpicture} +%& +%\begin{tikzpicture}[scale=.5] +%\begin{axis} +%\addplot[red,dashed] file {table2.dat}; +%\addplot[mesh] file {table2.dat}; +%\end{axis} +%\end{tikzpicture} +%& +%\begin{tikzpicture}[scale=.5] +%\begin{axis} +%\addplot[red,dashed] file {table2.dat}; +%\addplot[patch] file {table2.dat}; +%\end{axis} +%\end{tikzpicture} +%\\ \hline +%patch type=triangle & patch type=rectangle & patch type=line +%\\ \hline +%\end{tabular} + + + + +\begin{tabular}{|c|c|c|c|} \hline +\begin{tikzpicture}[scale=.5] +\begin{axis}[domain=-1:3] +\addplot {x^2 - x +4}; +\end{axis} +\end{tikzpicture} +& +\begin{tikzpicture}[scale=.5] +\begin{axis}[samples=5] +\addplot {x^2 - x +4}; +\end{axis} +\end{tikzpicture} +& +\begin{tikzpicture}[scale=.5] +\begin{axis}[domain=-1:3,samples=5] +\addplot {x^2 - x +4}; +\end{axis} +\end{tikzpicture} +\\ \hline +\BS{begin}\AC{axis}[\RDD{domain}=-1:3] &\BS{begin}\AC{axis}[\RDD{samples}=5] & \BS{begin}\AC{axis}[\RDD{domain}=-1:3,\RDD{samples}=5] +\\ \hline +\end{tabular} + +\begin{tabular}{|c|c|c|c|} \hline +\begin{tikzpicture}[scale=.4] +\begin{axis}[ymax=20,blue] +\addplot {x^2 - x +4}; +\end{axis} +\end{tikzpicture} +& +\begin{tikzpicture}[scale=.4] +\begin{axis}[ymin=10,blue] +\addplot {x^2 - x +4}; +\end{axis} +\end{tikzpicture} +& + +\begin{tikzpicture}[scale=.5] +\begin{axis}[xmax=2,blue] +\addplot {x^2 - x +4}; +\end{axis} +\end{tikzpicture} +& +\begin{tikzpicture}[scale=.5] +\begin{axis}[xmin=-2,blue] +\addplot {x^2 - x +4}; +\end{axis} +\end{tikzpicture} +\\ \hline +\RDD{ymax}=20 & \RDD{ymin}=10 & \RDD{xmax}=2 & \RDD{xmin}=-2 +\\ \hline +\end{tabular} + +\SbSbSSCT{Dimension unitaire en X et Y}{Xunit and Yunit} + +\begin{tabular}{|c|c|c|c|} \hline +\begin{tikzpicture} +\begin{axis}[x=.2cm,blue] + \addplot {x^2 - x +4}; +\end{axis} +\end{tikzpicture} +& +\begin{tikzpicture} +\begin{axis}[y=.2cm,blue] + \addplot {x^2 - x +4}; +\end{axis} +\end{tikzpicture} +& +\begin{tikzpicture} +\begin{axis}[x=.2cm,y=.2cm,blue] + \addplot {x^2 - x +4}; +\end{axis} +\end{tikzpicture} + +\\ \hline +\BS{begin}\AC{axis}[\RDD{x}=.2cm] & \BS{begin}\AC{axis}[\RDD{y}=.2cm]& \BS{begin}\AC{axis}[\RDD{x}=.2cm,\RDD{y}=.2cm] +\\ \hline +\end{tabular} + +\SbSbSSCT{Type de graphiques}{Graph type} + +\begin{tabular}{|c|c|c|c|} \hline +\begin{tikzpicture}[scale=.5] +\begin{axis}[const plot,blue] +\addplot file {table2.dat}; +\end{axis} +\end{tikzpicture} +& +\begin{tikzpicture}[scale=.5] +\begin{axis}[const plot mark right,blue] +\addplot file {table2.dat}; +\end{axis} +\end{tikzpicture} +& +\begin{tikzpicture}[scale=.5] +\begin{axis}[const plot mark mid,blue] +\addplot file {table2.dat}; +\end{axis} +\end{tikzpicture} +\\ \hline +\RDD{const plot} & \RDD{const plot mark right} & \RDD{const plot mark mid} +\\ \hline +\end{tabular} + + +\begin{tabular}{|c|c|c|c|} \hline +\begin{tikzpicture}[scale=.5] +\begin{axis}[jump mark left,blue] +\addplot file {table2.dat}; +\end{axis} +\end{tikzpicture} +& +\begin{tikzpicture}[scale=.5] +\begin{axis}[jump mark right,blue] +\addplot file {table2.dat}; +\end{axis} +\end{tikzpicture} +& +\begin{tikzpicture}[scale=.5] +\begin{axis}[jump mark mid,blue] +\addplot file {table2.dat}; +\end{axis} +\end{tikzpicture} +\\ \hline +\RDD{jump mark left} & \RDD{jump mark right} & \RDD{jump mark mid} +\\ \hline +\end{tabular} + +\begin{tabular}{|c|c|c|c|} \hline +\begin{tikzpicture}[scale=.5] +\begin{axis}[xbar,blue] +\addplot coordinates {(1,0) (3,1) (2,2) (3,3) (2,4) (1,5)}; +\end{axis} +\end{tikzpicture} +& +\begin{tikzpicture}[scale=.5] +\begin{axis}[ybar,blue] +\addplot file {table2.dat}; +\end{axis} +\end{tikzpicture} +& +\begin{tikzpicture}[scale=.5] +\begin{axis}[ybar interval,blue] +\addplot file {table2.dat}; +\end{axis} +\end{tikzpicture} +\\ \hline +\RDD{xbar} & \RDD{ybar} & \RDD{ybar interval} +\\ \hline +\end{tabular} + + +\begin{tabular}{|c|c|c|c|} \hline +\begin{tikzpicture}[scale=.5] +\begin{axis}[xbar interval,blue] +\addplot coordinates {(1,0) (3,1) (2,2) (3,3) (2,4) (1,5)}; +\end{axis} +\end{tikzpicture} +& +\begin{tikzpicture}[scale=.5] +\begin{axis}[xcomb,blue] +\addplot file {table2.dat}; +\end{axis} +\end{tikzpicture} +& +\begin{tikzpicture}[scale=.5] +\begin{axis}[ycomb,blue] +\addplot file {table2.dat}; +\end{axis} +\end{tikzpicture} +\\ \hline +\RDD{xbar interval} & \RDD{xcomb} & \RDD{ycomb} +\\ \hline +\end{tabular} + + +\begin{tabular}{|c|c|c|c|} \hline +\begin{tikzpicture}[scale=.5] +\begin{axis}[only marks,blue] +\addplot {x^2 - x +4}; +\end{axis} +\end{tikzpicture} +& +\begin{tikzpicture}[scale=.5] +\begin{axis} +\addplot [scatter] {x^2 - x +4}; +\end{axis} +\end{tikzpicture} +& + +\\ \hline +\RDD{only marks} & \RDD{scatter} & \RDD{mesh} +\\ \hline +\end{tabular} + + +\smallskip +\begin{tabular}{|c|c|c|c|} \hline +\multicolumn{2}{|c|}{ \BS{addplot} [\RDD{quiver}=\AC{u=1,v=2*x}],->,samples=5,blue,ultra thick] \AC{x\^{}2 - x +4}; } +\\ \hline +\begin{tikzpicture}[scale=.5] + +\begin{axis} +\addplot [red,dashed,no marks] {x^2 - x +4}; +\addplot [quiver={u=1,v=2*x},->,samples=5,blue,ultra thick] {x^2 - x +4}; +\end{axis} +\end{tikzpicture} +& +\begin{tikzpicture}[scale=.5,domain=0:360,ultra thick] +\begin{axis} +\addplot [red,dashed,no marks] (\x,{sin(\x)}); +\addplot [quiver={u=180/3.14,v=cos(x)},->,samples=5,blue,ultra thick] (\x,{sin(\x)}); +\end{axis} +\end{tikzpicture} +\\ \hline +\RDD{quiver}={u=1,v=2*x} & \RDD{quiver}=\AC{u=180/3.14,v=cos(x)} +\\ \hline +\multicolumn{2}{|c|}{ \dft : u=0 et v = 0} +\\ \hline +\end{tabular} + + + + +%\subsection{stack} +\smallskip +\begin{tabular}{|c|c|c|c|} \hline +\begin{tikzpicture}[scale=.5] +\begin{axis}[stack plots=y,blue] +\addplot {x^2 - x +4}; +\addplot {x^2 - x +4}; +\end{axis} +\end{tikzpicture} +& + +\begin{tikzpicture}[scale=.5] +\begin{axis}[stack plots=y,blue] +\addplot file {table2.dat}; +\addplot file {table2.dat}; +\end{axis} +\end{tikzpicture} +& + +\begin{tikzpicture}[scale=.5] +\begin{axis}[ybar stacked,blue] +\addplot file {table2.dat}; +\addplot file {table2.dat}; +\end{axis} +\end{tikzpicture} +\\ \hline +[\RDD{stack plots}=y,blue] & [\RDD{stack plots=y},blue] & [\RDD{ybar stacked},blue] +\\ \hline +\end{tabular} + +\bigskip +\begin{tabular}{|c|c|c|c|} \hline +\begin{tikzpicture}[scale=.5] +\begin{axis}[stack plots=y,area style] +\addplot file {table2.dat}; +\addplot file {table2.dat}; +\end{axis} +\end{tikzpicture} +& +\begin{tikzpicture}[scale=.5] +\begin{axis}[const plot,stack plots=y,area style] +\addplot file {table2.dat}; +\addplot file {table2.dat}; +\end{axis} +\end{tikzpicture} +& +\begin{tikzpicture}[scale=.5] +\begin{axis}[stack plots=y,area style,smooth] +\addplot file {table2.dat}; +\addplot file {table2.dat}; +\end{axis} +\end{tikzpicture} +\\ \hline +[stack plots=y,area style] & [const plot,stack plots=y,area style] & [stack plots=y,area style,smooth] +\\ \hline + +\end{tabular} + + +\bigskip + +\begin{tabular}{|c|c|c|c|} \hline +\multicolumn{3}{|c|}{ \BS{addplot} [\RDD{error bars/y dir}=both,\RDD{error bars/y fixed} =2.5] \AC{x\^{}2 - x +4}; } +\\ \hline + +\begin{tikzpicture}[scale=.5] +\begin{axis} +\addplot [error bars/y dir =both,error bars/y fixed =2.5,blue]{x^2 - x +4}; +\end{axis} +\end{tikzpicture} +& +\begin{tikzpicture}[scale=.5] +\begin{axis} +\addplot [error bars/y dir =plus,error bars/y fixed =2.5,blue]{x^2 - x +4}; +\end{axis} +\end{tikzpicture} +& +\begin{tikzpicture}[scale=.5] +\begin{axis} +\addplot [error bars/y dir =minus,error bars/y fixed =2.5,blue]{x^2 - x +4}; +\end{axis} +\end{tikzpicture} +\\ \hline +\RDD{error bars/y dir} =both & \RDD{error bars/y dir} =plus & \RDD{error bars/y dir} =minus +\\ \hline +\end{tabular} + + + + + +\bigskip + +\begin{tabular}{|c|c|c|c|} \hline +\multicolumn{3}{|c|}{ \BS{addplot} [\RDD{error bars/x dir}=both,\RDD{error bars/x fixed} =.5] \AC{x\^{}2 - x +4}; } +\\ \hline +\begin{tikzpicture}[scale=.5] +\begin{axis} +\addplot [error bars/x dir =both,error bars/x fixed =.5,blue]{x^2 - x +4}; +\end{axis} +\end{tikzpicture} +& +\begin{tikzpicture}[scale=.5] +\begin{axis} +\addplot [error bars/x dir =plus,error bars/x fixed =.5,blue]{x^2 - x +4}; +\end{axis} +\end{tikzpicture} +& +\begin{tikzpicture}[scale=.5] +\begin{axis} +\addplot [error bars/x dir =minus,error bars/x fixed =.5,blue]{x^2 - x +4}; +\end{axis} +\end{tikzpicture} +\\ \hline +\RDD{error bars/x dir} =both &\RDD{ error bars/x dir} =plus & \RDD{error bars/x dir} =minus +\\ \hline +\end{tabular} + +\bigskip +\begin{tabular}{|c|c|c|c|} \hline +\multicolumn{3}{|c|}{ \BS{addplot} [\RDD{error bars/y dir}=both,\RDD{error bars/x fixed relative} =.2] \AC{x\^{}2 - x +4}; } +\\ \hline + +\begin{tikzpicture}[scale=.5] + +\begin{axis} +\addplot [error bars/y dir =both,error bars/y fixed relative =.2,blue]{x^2 - x +4}; +\end{axis} +\end{tikzpicture} +& +\begin{tikzpicture}[scale=.5] +\begin{axis} +\addplot [error bars/y dir =plus,error bars/y fixed relative =1,blue]{x^2 - x +4}; +\end{axis} +\end{tikzpicture} +& +\begin{tikzpicture}[scale=.5] +\begin{axis} +\addplot [error bars/x dir =minus,error bars/x fixed relative =.2,blue]{x^2 - x +4}; +\end{axis} +\end{tikzpicture} +\\ \hline +\RDD{error bars/y fixed relative} =.2 & \RDD{error bars/y fixed relative} =1 & \RDD{error bars/x fixed relative} =.2 +\\ \hline +\end{tabular} + + +\SbSSCT{Habillage du graphe}{Graph information} + +\SbSbSSCT{Titres}{Titles} + +\begin{tabular}{|c|c|c|c|} \hline +\begin{tikzpicture}[scale=.5] +\begin{axis}[xlabel=axe X,blue] +... +\end{axis} +\end{tikzpicture} +& +\begin{tikzpicture}[scale=.5] +\begin{axis}[ylabel=axe Y,blue] +... +\end{axis} +\end{tikzpicture} +& +\begin{tikzpicture}[scale=.5] +\begin{axis}[title=Titre du graphe,blue] + +\end{axis} +\end{tikzpicture} + + +\\ \hline +\BS{begin}\AC{axis}[\RDD{xlabel}=axe X] & \BS{begin}\AC{axis}[\RDD{ylabel}=axe Y] & \BS{begin}\AC{axis}[\RDD{title}=Titre du graphe] +\\ \hline +\end{tabular} + +\SbSbSSCT{Légende}{Legend} + +\begin{tabular}{|c|c|c|c|} \hline +\begin{tikzpicture}[blue ,baseline=0pt,scale=.5] +\begin{axis} +\addplot {x^2 - x +4}; +\addplot {x^2 - x +2}; +\addplot {x^2 - x }; +\addplot {x^2 - x -2 }; +\addplot {x^2 - x -4 }; +\legend{$x^2 - x +4$,$x^2 - x +2$,$x^2 - x $,$x^2 - x -2 $,$x^2 - x -4 $} +\end{axis} +\end{tikzpicture} +& +\parbox[c]{10cm}{ +\BS{begin}\AC{axis}\\ +\BSS{addplot} \AC{x\^{}2 - x +4};\\ +\BSS{addplot} \AC{x\^{}2 - x +2};\\ +\BSS{addplot} \AC{x\^{}2 - x };\\ +\BSS{addplot} \AC{x\^{}2 - x -2 };\\ +\BSS{addplot} \AC{x\^{}2 - x -4 };\\ + +\BSS{legend}\AC{\$x\^{}2 - x +4\$,\$x\^{}2 - x +2\$,\$x\^{}2 - x \$,\$x\^{}2 - x -2 \$,\$x\^{}2 - x -4 \$}\\ +\BS{end}\AC{axis}} +\\ \hline + +\begin{tikzpicture}[blue ,baseline=0pt,scale=.5] +\begin{axis}[legend entries={$x^2 - x +4$,$x^2 - x +2$,$x^2 - x $,$x^2 - x -2 $,$x^2 - x -4 $}] +\addplot {x^2 - x +4}; +\addplot {x^2 - x +2}; +\addplot {x^2 - x }; +\addplot {x^2 - x -2 }; +\addplot {x^2 - x -4 }; + +\end{axis} +\end{tikzpicture} +& +\parbox[c]{10cm}{ +\BS{begin}\AC{axis}[\RDD{legend entries}= \AC{\$ x\^{}2 - x +4 \$,\$ x\^{}2 - x +2 \$,\$ x\^{}2 - x \$,\$ x\^{}2 - x -2 \$,\$ x\^{}2 - x -4 \$} ] \\ + +\BSS{addplot} \AC{x\^{}2 - x +4};\\ +\BSS{addplot} \AC{x\^{}2 - x +2};\\ +\BSS{addplot} \AC{x\^{}2 - x };\\ +\BSS{addplot} \AC{x\^{}2 - x -2 };\\ +\BSS{addplot} \AC{x\^{}2 - x -4 };\\ +\BS{end}\AC{axis}} +\\ \hline +\end{tabular} + + +Options + +\begin{tabular}{|c|c|c|c|} \hline +\begin{tikzpicture}[blue ,baseline=0pt,scale=.5] +\begin{axis}[legend entries={$x^2 - x +4$,$x^2 - x +2$,$x^2 - x $,$x^2 - x -2 $,$x^2 - x -4 $},legend style={font=\tiny}] +\addplot {x^2 - x +4}; +\addplot {x^2 - x +2}; +\addplot {x^2 - x }; +\addplot {x^2 - x -2 }; +\addplot {x^2 - x -4 }; +\end{axis} +\end{tikzpicture} +& +\begin{tikzpicture}[blue ,baseline=0pt,scale=.5] +\begin{axis}[legend entries={$x^2 - x +4$,$x^2 - x +2$,$x^2 - x $,$x^2 - x -2 $,$x^2 - x -4 $},legend style={draw=none}] +\addplot {x^2 - x +4}; +\addplot {x^2 - x +2}; +\addplot {x^2 - x }; +\addplot {x^2 - x -2 }; +\addplot {x^2 - x -4 }; +\end{axis} +\end{tikzpicture} +& +\begin{tikzpicture}[blue ,baseline=0pt,scale=.5] +\begin{axis}[legend entries={$x^2 - x +4$,$x^2 - x +2$},legend style={shape=ellipse}] +\addplot {x^2 - x +4}; +\addplot {x^2 - x +2}; +\end{axis} +\end{tikzpicture} +\\ \hline +\RDD{legend style}=\AC{\RDD{font}=\BS{tiny}} & \RDD{legend style}=\AC{\RDD{draw}=none} & \RDD{legend style}=\AC{\RDD{shape}=ellipse} +\\ \hline +\end{tabular} + + + + +\bigskip +\begin{tabular}{|c|c|c|c|} \hline +\begin{tikzpicture}[blue ,baseline=0pt,scale=.5] +\begin{axis}[legend style={at={(.5,.5)}}] +\addplot {x^2 - x +4}; +\addplot {x^2 - x +2}; +\addplot {x^2 - x }; +\addplot {x^2 - x -2 }; +\addplot {x^2 - x -4 }; +\legend{$x^2 - x +4$,$x^2 - x +2$,$x^2 - x $,$x^2 - x -2 $,$x^2 - x -4 $} +\end{axis} +\end{tikzpicture} +& +\begin{tikzpicture}[blue ,baseline=0pt,scale=.5] +\begin{axis}[legend style={legend pos=outer north east}] +\addplot {x^2 - x +4}; +\addplot {x^2 - x +2}; +\addplot {x^2 - x }; +\addplot {x^2 - x -2 }; +\addplot {x^2 - x -4 }; +\legend{$x^2 - x +4$,$x^2 - x +2$,$x^2 - x $,$x^2 - x -2 $,$x^2 - x -4 $} +\end{axis} +\end{tikzpicture} +\\ \hline +legend style=\AC{\RDD{at}=\AC{(.5,.5)}} & legend style=\AC{\RDD{legend pos}=outer north east} +\\ \hline +\end{tabular} + +\bigskip +\begin{tabular}{|c|c|c|c|} \hline +\begin{tikzpicture}[blue ,baseline=0pt,scale=.5] +\begin{axis}[legend style={legend columns=2}] +\addplot {x^2 - x +4}; +\addplot {x^2 - x +2}; +\addplot {x^2 - x }; +\addplot {x^2 - x -2 }; +\addplot {x^2 - x -4 }; +\legend{A,B,C,D,E} +\end{axis} +\end{tikzpicture} +& +\begin{tikzpicture}[blue ,baseline=0pt,scale=.5] +\begin{axis}[legend style={legend columns=3}] +\addplot {x^2 - x +4}; +\addplot {x^2 - x +2}; +\addplot {x^2 - x }; +\addplot {x^2 - x -2 }; +\addplot {x^2 - x -4 }; +\legend{A,B,C,D,E} +\end{axis} +\end{tikzpicture} +& +\begin{tikzpicture}[blue ,baseline=0pt,scale=.5] +\begin{axis}[legend style={legend columns=-1}] +\addplot {x^2 - x +4}; +\addplot {x^2 - x +2}; +\addplot {x^2 - x }; +\addplot {x^2 - x -2 }; +\addplot {x^2 - x -4 }; +\legend{A,B,C,D,E} +\end{axis} +\end{tikzpicture} + +\\ \hline +legend style=\AC{\RDD{legend columns}=2} & legend style=\AC{\RDD{legend columns}=3} & legend style=\AC{\RDD{legend columns}=-1} +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|c|c|} \hline +\begin{tikzpicture}[blue ,baseline=0pt,scale=.5] +\begin{axis}[legend cell align=left] +\addplot {x^2 - x +4}; +\addplot {x^2 - x +2}; +\addplot {x^2 - x }; +\addplot {x^2 - x -2 }; +\addplot {x^2 - x -4 }; +\legend{$x^2 - x +4$,f(x),$x^2 - x $,courbe,Y} +\end{axis} +\end{tikzpicture} +& +\begin{tikzpicture}[blue ,baseline=0pt,scale=.5] +\begin{axis}[legend cell align=center,] +\addplot {x^2 - x +4}; +\addplot {x^2 - x +2}; +\addplot {x^2 - x }; +\addplot {x^2 - x -2 }; +\addplot {x^2 - x -4 }; +\legend{$x^2 - x +4$,f(x),$x^2 - x $,courbe,Y} +\end{axis} +\end{tikzpicture} +& +\begin{tikzpicture}[blue ,baseline=0pt,scale=.5] +\begin{axis}[legend cell align=right] +\addplot {x^2 - x +4}; +\addplot {x^2 - x +2}; +\addplot {x^2 - x }; +\addplot {x^2 - x -2 }; +\addplot {x^2 - x -4 }; +\legend{$x^2 - x +4$,f(x),$x^2 - x $,courbe,Y} +\end{axis} +\end{tikzpicture} +\\ \hline +[\RDD{legend cell align}=left] & [\RDD{legend cell align}=center] & [\RDD{legend cell align}=right] +\\ \hline +\end{tabular} + +\SbSbSSCT{Taille du graphe}{Size of the graph} + +\begin{tabular}{|c|c|c|c|} \hline +\begin{tikzpicture} +\begin{axis}[width=3cm,grid=major,blue] + \addplot {x^2 - x +4}; +\end{axis} +\end{tikzpicture} +& +\begin{tikzpicture} +\begin{axis}[height=5cm,grid=major,blue] + \addplot {x^2 - x +4}; +\end{axis} +\end{tikzpicture} +& +\begin{tikzpicture} +\begin{axis}[width=3cm,height=5cm,grid=major,blue] + \addplot {x^2 - x +4}; +\end{axis} +\end{tikzpicture} + +\\ \hline +\RDD{width}=3cm & \RDD{height}=5cm & \RDD{width}=3cm,\RDD{height}=5cm +\\ \hline + + +\end{tabular} + +\SbSbSSCT{Quadrillage}{Grids} + +\begin{tabular}{|c|c|c|c|} \hline +\begin{tikzpicture}[scale=.5] +\begin{axis}[xmajorgrids=true,blue] +\addplot {x^2 - x +4}; +\end{axis} +\end{tikzpicture} +& +\begin{tikzpicture}[scale=.5] +\begin{axis}[ymajorgrids=true,blue] +\addplot {x^2 - x +4}; +\end{axis} +\end{tikzpicture} +& +\begin{tikzpicture}[scale=.5] +\begin{axis}[grid=major,blue] +\addplot {x^2 - x +4}; +\end{axis} +\end{tikzpicture} +\\ \hline +\BS{begin}\AC{axis}[\RDD{xmajorgrids}=true] &\BS{begin}\AC{axis}[\RDD{ymajorgrids}=true] & \BS{begin}\AC{axis}[\RDD{grid}=major] +\\ \hline +\end{tabular} + +%\subsubsection{minorgrids} +% +%\begin{tabular}{|c|c|c|c|} \hline +%\begin{tikzpicture}[scale=.4] +%\begin{loglogaxis}[grid=major,blue] +%\addplot {x^2 - x +4}; +%\end{loglogaxis} +%\end{tikzpicture} +%& +%\begin{tikzpicture}[scale=.4] +%\begin{loglogaxis}[grid=both,blue] +%\addplot {x^2 - x +4}; +%\end{loglogaxis} +%\end{tikzpicture} +%\\ \hline +%\end{tabular} + +\begin{tabular}{|l|l|c|c|} \hline +\begin{tikzpicture} +\begin{axis}[nodes near coords,blue,samples=10] +\addplot {x^2 - x +4}; +\end{axis} +\end{tikzpicture} + & + \begin{tikzpicture} + \begin{axis}[nodes near coords,blue] + \addplot file {table2.dat}; + \end{axis} + \end{tikzpicture} + \\ \hline + \BS{begin}AC{axis}[\RDD{nodes near coords},samples=10] & \BS{begin}AC{axis}[\RDD{nodes near coords}]\\ + \BS{addplot} \AC{x\^{} 2- x +4}; & \BS{addplot} file {table2.dat}; + + \\ \hline + \end{tabular} + + +\newpage + diff --git a/info/visualtikz/Source/tkzgraph3D.tex b/info/visualtikz/Source/tkzgraph3D.tex new file mode 100644 index 0000000000..7167d007d3 --- /dev/null +++ b/info/visualtikz/Source/tkzgraph3D.tex @@ -0,0 +1,440 @@ +\subsubsection{Axes} + +\begin{tabular}{|c|c|c|c|} \hline +\begin{tikzpicture} +\begin{axis}[width=5cm,samples=10,mesh,no marks,plot box ratio=2 1 1] +\addplot3 {y}; +\end{axis} +\end{tikzpicture} +& +\begin{tikzpicture} +\begin{axis}[width=5cm,samples=10,mesh,no marks,plot box ratio=1 2 1] +\addplot3 {y}; +\end{axis} +\end{tikzpicture} +& +\begin{tikzpicture} +\begin{axis}[width=5cm,samples=10,mesh,no marks,plot box ratio=1 1 2] +\addplot3 {y}; +\end{axis} +\end{tikzpicture} + \\ \hline + plot box ratio=2 1 1 & plot box ratio=1 2 1 & plot box ratio=1 1 2 + \\ \hline + \end{tabular} + +\bigskip +\begin{tabular}{|c|c|c|c|} \hline +\begin{tikzpicture} +\begin{axis}[width=5cm,3d box=background,grid=major,grid style=red] +\addplot3 [blue] {-x*y}; +\end{axis} +\end{tikzpicture} +& +\begin{tikzpicture} +\begin{axis}[width=5cm,3d box=complete,grid=major,grid style=red] +\addplot3 [blue] {-x*y}; +\end{axis} +\end{tikzpicture} +& +\begin{tikzpicture} +\begin{axis}[width=5cm,3d box=complete*,grid=major,grid style=red] +\addplot3 [blue] {-x*y}; +\end{axis} +\end{tikzpicture} + \\ \hline +3d box=background (\dft) & 3d box=complete & 3d box=complete* + \\ \hline + \end{tabular} + + +\bigskip +\begin{tabular}{|c|c|c|c|} \hline + \begin{tikzpicture} + \begin{axis}[width=5cm,axis lines=center,axis on top,ultra thick,blue] + \addplot3[surf] {-x*y}; + \end{axis} + \end{tikzpicture} +& + \begin{tikzpicture} + \begin{axis}[width=5cm,axis lines*=left,blue] + \addplot3[surf] {-x*y}; + \end{axis} + \end{tikzpicture} + & + \begin{tikzpicture} + \begin{axis}[width=5cm,axis lines*=right,blue] +\addplot3[surf] {-x*y}; +\end{axis} +\end{tikzpicture} +\\ \hline +axis lines=center,axis on top & axis lines*=left & axis lines*=right +\\ \hline + \end{tabular} + + + \begin{tikzpicture} + \begin{axis}[width=5cm,axis lines*=right,blue,domain y=-5:(8)] +\addplot3[surf] {-x*y}; +\end{axis} +\end{tikzpicture} + \begin{tikzpicture} + \begin{axis}[width=5cm,axis lines*=right,blue,domain y=-5:(8)] +\addplot3[surf] {y}; +\end{axis} +\end{tikzpicture} + + \begin{tikzpicture} + \begin{axis}[width=5cm,axis lines*=right,blue,domain=-5:(8)] +\addplot3[surf] {-x*y}; +\end{axis} +\end{tikzpicture} + \begin{tikzpicture} + \begin{axis}[width=5cm,axis lines*=right,blue,domain=-5:(8)] +\addplot3[surf] {y}; +\end{axis} +\end{tikzpicture} + +\SbSbSSCT{Tracé de la courbe}{Graph drawing} + +\begin{tabular}{|c|c|c|c|} \hline +\multicolumn{3}{|c|}{ \BS{addplot3} [surf] \AC{y}; } +\\ \hline +\begin{tikzpicture} +\begin{axis}[width=5cm,blue] +\addplot3 [surf] {y}; +\end{axis} +\end{tikzpicture} +& +\begin{tikzpicture} +\begin{axis}[width=5cm,samples=10,blue] +\addplot3 [surf] {-x*y}; +\end{axis} +\end{tikzpicture} +& + +\\ \hline +\AC{y} & \AC{-x*y} & gnuplot[id=sinxy]\AC{sin(x)*sin(y)}; +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|c|c|} \hline +\begin{tikzpicture} +\begin{axis}[width=5cm,blue] +\addplot3[red,ultra thick] coordinates {(0,0,1) (1,0,0) (1,1,0) (0,1,0)}; +\end{axis} +\end{tikzpicture} +& +\begin{tikzpicture} +\begin{axis}[width=5cm,blue] +\addplot3[red,ultra thick] file {table3.dat}; +\end{axis} +\end{tikzpicture} +& +\begin{tikzpicture} +\begin{axis}[width=5cm,domain=0:720,samples=60,samples y=0] +\addplot3[red] ({sin(x)},{cos(x)},{x/60}); +\end{axis} +\end{tikzpicture} +\\ \hline +coordinates \AC{(0,0,1) (1,0,0) (1,1,0) (0,1,0)}; & file \AC{table3.dat}; & \AC{sin(x)},\AC{cos(x)},\AC{x/60}); +\\ \hline +\end{tabular} +\bigskip + + + +\begin{tabular}{|p{1cm} p{2cm} p{2cm} p{2cm} |} \hline +\multicolumn{4}{|c|}{\TFRGB{Contenu du fichier}{content of the file} table3.dat} +\\ \hline +& 0 & 0 & 0 \\ +& 0 & 0.5 & 0 \\ +& 0 & 1 & 1 \\ +& 1 & 1 & 5 \\ +& 1 & 0.5& 0 \\ +& 1 & 0 & 0 \\ + +\hline +\end{tabular} + + +\subsubsection{Aspect} + +\begin{tabular}{|c|c|c|c|} \hline +\begin{tikzpicture} +\begin{axis}[width=5cm,blue] +\addplot3 [red] {y}; +\end{axis} +\end{tikzpicture} +& +\begin{tikzpicture} +\begin{axis}[width=5cm,blue] +\addplot3 [surf] {y}; +\end{axis} +\end{tikzpicture} +& +\begin{tikzpicture} +\begin{axis}[width=5cm,blue] +\addplot3 [mesh] {y}; +\end{axis} +\end{tikzpicture} + \\ \hline +[red] & [\RDD{surf}] & [\RDD{mesh}] +\\ \hline +\begin{tikzpicture} +\begin{axis}[width=5cm,blue] +\addplot3 [red,samples=10]{y}; +\end{axis} +\end{tikzpicture} +& +\begin{tikzpicture} +\begin{axis}[width=5cm,blue] +\addplot3 [surf,samples=10] {y}; +\end{axis} +\end{tikzpicture} +& +\begin{tikzpicture} +\begin{axis}[width=5cm,blue] +\addplot3 [mesh,samples=10] {y}; +\end{axis} +\end{tikzpicture} + \\ \hline +[red,samples=10] & [surf,samples=10] & [mesh,samples=10] +\\ \hline +\end{tabular} +\bigskip + +\begin{tabular}{|c|c|c|c|} \hline +\begin{tikzpicture} +\begin{axis}[width=5cm,blue] +\addplot3 [scatter] {y}; +\end{axis} +\end{tikzpicture} +& +\begin{tikzpicture} +\begin{axis}[width=5cm,blue] +\addplot3 [scatter,samples=10] {y}; +\end{axis} +\end{tikzpicture} +& +\begin{tikzpicture} +\begin{axis}[width=5cm,blue] +\addplot3 [scatter,samples=10,only marks] {y}; +\end{axis} +\end{tikzpicture} +\\ \hline +[scatter] & [scatter,samples=10] & [scatter,samples=10,only marks] +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|c|c|} \hline +\begin{tikzpicture} +\begin{axis}[width=5cm,blue] +\addplot3 [surf,colormap/greenyellow] {y}; +\end{axis} +\end{tikzpicture} +& +\begin{tikzpicture} +\begin{axis}[width=5cm,blue] +\addplot3 [surf,colormap/hot] {y}; +\end{axis} +\end{tikzpicture} +& +\begin{tikzpicture} +\begin{axis}[width=5cm,blue] +\addplot3 [surf,colormap/jet] {y}; +\end{axis} +\end{tikzpicture} +\\ \hline +[surf,\RDD{colormap/greenyellow}] & [surf,\RDD{colormap/hot}] & [surf,\RDD{colormap/jet}] +\\ \hline +\begin{tikzpicture} +\begin{axis}[width=5cm,blue] +\addplot3 [surf,colormap/blackwhite] {y}; +\end{axis} +\end{tikzpicture} +& +\begin{tikzpicture} +\begin{axis}[width=5cm,blue] +\addplot3 [surf,colormap/hot2] {y}; +\end{axis} +\end{tikzpicture} +& +\begin{tikzpicture} +\begin{axis}[width=5cm,blue] +\addplot3 [surf,colormap/bluered] {y}; +\end{axis} +\end{tikzpicture} +\\ \hline +[surf,\RDD{colormap/blackwhite}] & [surf,\RDD{colormap/hot2}] & [surf,\RDD{colormap/bluered}] +\\ \hline +\begin{tikzpicture} +\begin{axis}[width=5cm,blue] +\addplot3 [surf,colormap/cool] {y}; +\end{axis} +\end{tikzpicture} +& +\begin{tikzpicture} +\begin{axis}[width=5cm] +\addplot3 [surf,colormap/redyellow] {y}; +\end{axis} +\end{tikzpicture} +& +\begin{tikzpicture} +\begin{axis}[width=5cm,blue] +\addplot3 [surf,colormap/violet] {y}; +\end{axis} +\end{tikzpicture} +\\ \hline +[surf,\RDD{colormap/cool}] & [surf,\RDD{colormap/redyellow}] & [surf,\RDD{colormap/violet}] +\\ \hline +\end{tabular} + + + +\bigskip + +\begin{tabular}{|c|c|c|c|} \hline +\begin{tikzpicture} +\begin{axis}[width=5cm,blue] +\addplot3 [surf,shader=flat,samples=10] {y}; +\end{axis} +\end{tikzpicture} +& +\begin{tikzpicture} +\begin{axis}[width=5cm,blue] +\addplot3 [surf,shader=interp,samples=10] {y}; +\end{axis} +\end{tikzpicture} +& +\begin{tikzpicture} +\begin{axis}[width=5cm,blue] +\addplot3 [surf,shader=faceted,samples=10] {y}; +\end{axis} +\end{tikzpicture} +\\ \hline +\RDD{shader}=flat & \RDD{shader}=interp & \RDD{shader}=faceted + \\ \hline +\begin{tikzpicture} +\begin{axis}[width=5cm,blue] +\addplot3 [surf,shader=flat corner,samples=10] {y}; +\end{axis} +\end{tikzpicture} +& +\begin{tikzpicture} +\begin{axis}[width=5cm] +\addplot3 [surf,shader=flat mean,samples=10] {y}; +\end{axis} +\end{tikzpicture} +& +\begin{tikzpicture} +\begin{axis}[width=5cm,blue] +\addplot3 [surf,shader=faceted interp,samples=10] {y}; +\end{axis} +\end{tikzpicture} + \\ \hline +\RDD{shader}=flat corner & \RDD{shader}=flat mean & \RDD{shader}=faceted interp + \\ \hline + \end{tabular} + + +\bigskip + +\begin{tabular}{|c|c|c|c|} \hline +\begin{tikzpicture} +\begin{axis}[width=5cm,colorbar,blue] +\addplot3 [surf,samples=10,faceted color=blue] {y}; +\end{axis} +\end{tikzpicture} + \\ \hline +\RDD{colorbar} + \\ \hline + \end{tabular} + +\SbSbSSCT{Point de vue}{Viewpoint} + +\begin{minipage}[C]{.48\linewidth} +\begin{animateinline}[poster=first, controls,autoplay,palindrome]{2}% +\multiframe{11}{iAngle=-50+10}{ +\begin{tikzpicture} +\begin{axis}[width=5cm,view/az=\iAngle,blue] +\addplot3 [surf] {-x*y}; + +\end{axis} +\node [fill=yellow] {az = \iAngle}; + \end{tikzpicture} +}% +\end{animateinline}% +\end{minipage}\hfill +\begin{minipage}[C]{.48\linewidth} +\begin{animateinline}[poster=first, controls,autoplay,palindrome]{2}% +\multiframe{11}{iAngle=-50+10}{ +\begin{tikzpicture} +\begin{axis}[width=5cm,view/el=\iAngle] +\addplot3 [surf] {-x*y}; + +\end{axis} +\node [fill=yellow] {el = \iAngle}; + \end{tikzpicture} +}% +\end{animateinline}% +\end{minipage} +\begin{minipage}[C]{.48\linewidth} +\begin{center} +Azimut \\ +\RDD{view/az}= angle \TFRGB{de}{from} - 50 \TFRGB{à}{to} +50 +\end{center} +\end{minipage}\hfill +\begin{minipage}[C]{.48\linewidth} +\begin{center} +\TFRGB{Elévation}{Elevation} \\ +\RDD{view/el}= angle \TFRGB{de}{from} - 50 \TFRGB{à}{to} +50 +\end{center} +\end{minipage} +\bigskip +%A Voir------------------------------------------------- + + + +%\begin{tikzpicture} +%\begin{axis}[width=5cm] +%\addplot3[mesh,domain=0:360] {sin(x)*sin(y)}; +%\end{axis} +%\end{tikzpicture} +%\begin{tikzpicture} +%\begin{axis}[width=5cm] +%\addplot3[surf,fill=white,domain=0:360] {sin(x)*sin(y)}; +%\end{axis} +%\end{tikzpicture} + +%\begin{tikzpicture} +%\begin{axis}[width=5cm,axis background/.style={fill=red!10}] +%\addplot3 [blue] {y}; +%\end{axis} +%\end{tikzpicture} + + +%\begin{tikzpicture} +%\begin{axis}[ +%axis lines=center, +%axis on top, +%xlabel={$x$}, ylabel={$y$}, zlabel={$z$}, +%domain=0:1, +%y domain=0:2*pi, +%xmin=-1.5, xmax=1.5, +%ymin=-1.5, ymax=1.5, zmin=0.0, +%mesh/interior colormap= +%{blueblack}{color=(black) color=(blue)}, +%colormap/blackwhite, +%samples=10, +%samples y=40, +%z buffer=sort, +%] +%\addplot3[surf] +%({x*cos(deg(y))},{x*sin(deg(y))},{x}); +%\end{axis} +%\end{tikzpicture} diff --git a/info/visualtikz/Source/tkzgrid.tex b/info/visualtikz/Source/tkzgrid.tex new file mode 100644 index 0000000000..cda4fe6ab0 --- /dev/null +++ b/info/visualtikz/Source/tkzgrid.tex @@ -0,0 +1,56 @@ + +\SbSSCT{Quadrillage}{Grid} + + +\begin{tabular}{|c|}\hline +\tikz \draw(0,0) grid (2,2); +\\ \hline +\BS{draw} (0,0) \RDD{grid} (2,2); \RRR{14-8} +\\ \hline +\end{tabular} + + +\bigskip +\begin{tabular}{|c|c|c|c|} \hline +\multicolumn{4}{|c|}{ \BS{draw} (0,0) grid [\RDD{step}=.75cm] (0,0) grid (3,3); }\\ +\hline +\begin{tikzpicture} +\draw[dotted](0,0) grid (3,3); +\draw[red] (0,0) grid [step=.75cm] (3,3); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw[dotted](0,0) grid (3,3); +\draw[red] (0,0) grid [xstep=.75cm] (3,3); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw[dotted](0,0) grid (3,3); +\draw[red] (0,0) grid [ystep=.75cm] (3,3); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw[dotted](0,0) grid (3,3); +\draw[red] (0,0) grid [step=(45:1)] (3,3); +\end{tikzpicture} +\\ \hline +step=.75cm & x step=.75cm & ystep=.75cm & step=(45:1) +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|} \hline + +\BS{draw}[red] (0,0) grid [\RDD{rotate}=45] (3,3); +& +\BS{draw}[\RDD{help lines}] (0,0) grid (3,3); +\\ \hline +\begin{tikzpicture} +\draw[dotted](0,0) grid (3,3); +\draw[red] (0,0) grid [rotate=45] (3,3); +\end{tikzpicture} +& +\tikz \draw[help lines] (0,0) grid (3,3); \\ +\hline +\end{tabular} diff --git a/info/visualtikz/Source/tkzimage.tex b/info/visualtikz/Source/tkzimage.tex new file mode 100644 index 0000000000..944654e896 --- /dev/null +++ b/info/visualtikz/Source/tkzimage.tex @@ -0,0 +1,49 @@ + + +%\subsubsection{Dans un noeud} +\SbSbSSCT{Dans un noeud}{In a node} + + \begin{tabular}{|c | c | } \hline + \begin{tikzpicture}[baseline=0pt] + \draw (0,0) grid (4,3); + \node [fill=green!20,trapezium,draw] at (1,2) {\DFR}; + \node [draw] at (3,1) {\includegraphics[width=1cm]{tiger} }; + \end{tikzpicture} + & + \parbox[b]{10cm}{ + \BS{begin}\AC{tikzpicture} \\ + \BS{draw} (0,0) grid (5,3); \\ + \BS{node} [fill=green!20,trapezium,draw] at (1,2) \AC{\BS{DFR} }; \pageref{DFR} \\ +\BS{node} [draw] at (3,1) \AC{\BS{includegraphics}[width=1cm]\AC{tiger} };\\ + \BS{end}\AC{tikzpicture} + } + \\ \hline + \end{tabular} + + + +%\subsubsection{En déclarant l'image dans pgf} +\SbSbSSCT{En déclarant l'image dans pgf}{With pgfdeclareimage} + + + \begin{tabular}{|c | c | } \hline + \pgfdeclareimage[width=3cm]{ttt}{tiger} +% \pgfuseimage{tiger} + + \begin{tikzpicture}[baseline=1cm] + \draw (0,0) grid (5,5); +\draw (3,2) node {\pgfuseimage{ttt}} ; + \end{tikzpicture} + & + \parbox[b]{8cm}{ + \BSS{pgfdeclareimage}[width=3cm]\AC{ttt}\AC{tiger}\\ +\\ +\\ + \BS{begin}\AC{tikzpicture}\\ + \BS{draw} (0,0) grid (5,5); \\ + \BS{draw} (3,2) node \AC{\BSS{pgfuseimage}\AC{ttt}} ; \\ + \BS{end}\AC{tikzpicture} + } + \\ \hline + \end{tabular} +
\ No newline at end of file diff --git a/info/visualtikz/Source/tkzmerci.tex b/info/visualtikz/Source/tkzmerci.tex new file mode 100644 index 0000000000..0c771f9cea --- /dev/null +++ b/info/visualtikz/Source/tkzmerci.tex @@ -0,0 +1,10 @@ +\textbf{\TFRGB{Merci à }{Thanks to}}: + +Till Tantau , +Alain Matthes , +Jim Diamond , +Falk Rühl , +Axel Kielhorn , +Nils Fleischhacker , +Michel Fruchart , +Ben Vitecek
\ No newline at end of file diff --git a/info/visualtikz/Source/tkznoeud1.tex b/info/visualtikz/Source/tkznoeud1.tex new file mode 100644 index 0000000000..9a6406d649 --- /dev/null +++ b/info/visualtikz/Source/tkznoeud1.tex @@ -0,0 +1,763 @@ +\SbSSCT{Définition des n\oe uds}{Creation of nodes} +\tikzset{blue} + +\label{noeuds} +\noindent + +\begin{tabular}{|c | c | c | c | c |} \hline +\multicolumn{5}{|c|}{ \BS{draw} (1,1) node[\RDD{fill}=red!20] \AC{}; }\\ +\hline +\tikz \draw (0,0) grid (2,2) (1,1) node[fill=red!20] {}; +& +\tikz \draw (0,0) grid (2,2) (1,1) node[fill=red!20,draw] {}; +& +\tikz \draw (0,0) grid (2,2) (1,1) node[circle,fill=red!20] {}; +& +\tikz \draw (0,0) grid (2,2) (1,1) node[circle,fill=red!20,draw] {}; +& +\tikz \draw (0,0) grid (2,2) (1,1) node[coordinate] {}; +\\ \hline +\dft +& +node[\RDD{draw}] +& + node[\RDD{circle}] +& + node[\RDD{circle},\RDD{draw}] + & + node[\RDD{coordinate}] + \\ \hline +\end{tabular} +\bigskip + +\begin{tabular}{|c | c | c | c | } \hline +\multicolumn{4}{|c|}{ \BSS{node} \RDD{at} (1,1) [fill=red!20] \AC{}; }\\ +\hline + \begin{tikzpicture} +\draw (0,0) grid (2,2) ; +\node at (1,1) [fill=red!20] {}; + \end{tikzpicture} +& + \begin{tikzpicture} +\draw (0,0) grid (2,2) ; +\node at (1,1) [draw] {}; + \end{tikzpicture} +& + \begin{tikzpicture} +\draw (0,0) grid (2,2) ; +\node at (1,1) [fill=red!20,circle] {}; + \end{tikzpicture} +& + \begin{tikzpicture} +\draw (0,0) grid (2,2) ; +\node at (1,1) [circle,draw] {}; + \end{tikzpicture} + +\\ \hline +[fill=red!20] +& +[\RDD{draw}] +& +[\RDD{circle},fill=red!20] + & +[\RDD{circle},draw] + \\ \hline +\end{tabular} +\bigskip + +\TFRGB{Autres types de n\oe uds voir page}{Other type of nodes see page} \pageref{noeudboite} +\bigskip + + +\begin{tabular}{|c|c|} \hline +\BS{draw} (0,0) node at (1,0) \AC{1} node at (2,0) \AC{2} & \BS{draw}(0,0) node foreach \BS{x} in \AC{1,2,...,5}\\ +node at (3,0) \AC{3} node at (4,0) \AC{4} node at (5,0) \AC{5}; & at (\BS{x},0) \AC{\BS{x}};\\ +\hline +\tikz \draw (0,0) node at (1,0) {1} node at (2,0) {2} node at (3,0) {3} node at (4,0) {4} node at (5,0) {5}; +& +\tikz \draw (0,0) node foreach \x in {1,2,...,5} at (\x,0) {\x}; +\\ \hline +\end{tabular} + + + +\bigskip + +\begin{tabular}{|c|} \hline +\BS{draw}[\rouge{every node/.style=\AC{draw,red}}](0,0) node foreach \BS{x} in \AC{1,2,...,5} at (\BS{x},0) \AC{\BS{x}}; +\\ \hline +\rule[-3pt]{0pt}{.8cm}\tikz \draw[every node/.style={draw,red}] (0,0) node foreach \x in {1,2,...,5} at (\x,0) {\x}; +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|} \hline +\BS{draw}[\rouge{every rectangle node/.style=\AC{draw,red}},\\ +\rouge{every circle node/.style=\AC{draw,double}}]\\ (0,0) node at (1,0) \AC{1} node[circle] at (2,0) \AC{2} \\ node[circle] at (3,0) \AC{3} node at (4,0) \AC{4} node at (5,0) \AC{5}; +\\ \hline +\rule[-3pt]{0pt}{1cm} \tikz \draw[every rectangle node/.style={draw,red}, +every circle node/.style={draw,double}] (0,0) node at (1,0) {1} node[circle] at (2,0) {2} node[circle] at (3,0) {3} node at (4,0) {4} node at (5,0) {5}; +\\ \hline +\end{tabular} + +\SbSSCT{Nom des n\oe uds}{Node name} + + +\begin{tabular}{|c|c|c|} +\hline +\multicolumn{3}{|c|}{} \\ +\hline +\begin{tikzpicture} +\node[name=A,fill=red] at (0,0) {}; +\draw (-1,-1) grid (1,1) ; +\draw (A) circle (.5) ; +\end{tikzpicture} +& +\begin{tikzpicture} +\node[name=A,alias=B,fill=red] at (0,0) {} ; +\draw (-1,-1) grid (1,1) ; +\draw (B) circle (.5) ; +\end{tikzpicture} +& +\begin{tikzpicture} +\node[fill=red] (C) at (0,0) {}; +\draw (-1,-1) grid (1,1) ; +\draw (C) circle (.5); +\end{tikzpicture} \\ +\hline +\BS{node}[\RDD{name}=A] at (0,0) \AC{} & \BS{node}[\RDD{name}=A,\RDD{alias}=B] at (0,0) \AC{} & +\BS{node}\rouge {(C)} at (0,0) \AC{} \\ +\BS{draw} (A) circle (.5); & \BS{draw} (B) circle (.5); &\BS{draw} (C) circle (.5); +\\ \hline +\end{tabular} +\newpage + +\SbSSCT{Contenu des n\oe uds}{Node contents} +\tikzset{blue} + +\begin{center} +\RRR{17-2-1} +\end{center} + +\begin{tabular}{|c|c|} \hline +\BS{node} at (1,1) [fill=red!20]\rouge { \AC{XXX} }; +& +\BS{node} at (1,1) [fill=red!20,\RDD{node contents}=XXX] \AC{}; +\\ \hline + \begin{tikzpicture} +\draw (0,0) grid (2,2) ; +\node at (1,1) [fill=red!20] {XXX}; +\end{tikzpicture} +& +\begin{tikzpicture} +\draw (0,0) grid (2,2) ; +\node at (1,1) [fill=red!20,node contents=XXX] {}; +\end{tikzpicture} +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|} \hline +\BS{node}[red] at (1,1) [fill=blue!20] \AC{XXX} ; +& +\BS{node}[red] at (1,1) [fill=blue20,node contents=XXX] \AC{}; +\\ \hline + \begin{tikzpicture} +\draw (0,0) grid (2,2) ; +\node[red] at (1,1) [fill=blue!20] {XXX}; +\end{tikzpicture} +& +\begin{tikzpicture} +\draw (0,0) grid (2,2) ; +\node[red] at (1,1) [fill=blue!20,node contents=XXX] {}; +\end{tikzpicture} +\\ \hline +\end{tabular} + + +\SbSSCT{Premier ou arrière plan}{Behind or in front} + +\begin{tabular}{|c|c|} \hline +\multicolumn{2}{|l|}{\BS{tikz} \BS{fill} [fill=blue!50, draw=blue, very thick] +(0,0) } \\ +\multicolumn{2}{|l|}{node [\RDD{behind path}, fill=red!50] \AC{XXXXX} } \\ +\multicolumn{2}{|l|}{- - (1.5,0) - - (1.5,1) - - (0,1) ;} +\\ \hline +\tikz \fill [fill=blue!50, draw=blue, very thick] +(0,0) node [behind path, fill=red!50] {XXXXX} +-- (1.5,0) +-- (1.5,1) +-- (0,1) ; +& +\tikz \fill [fill=blue!50, draw=blue, very thick] +(0,0) node [in front of path, fill=red!50] {XXXXX} +-- (1.5,0) +-- (1.5,1) +-- (0,1) ; +\\ \hline +\RDD{behind path} +& +\RDD{in front of path} +\\ \hline +\end{tabular} + + + +\SbSSCT{Noms à préfixe ou suffixe}{Name prefix or name suffix} + + +\begin{tabular}{|c|c|} +\hline +\begin{tikzpicture}[every node/.style={draw},baseline=0pt] +\draw[name prefix = top-] node (A) at (1,1) {A} node (B) at (2,1) {B} node (C) at (3,1) {C}; +\draw[name prefix = bottom-] node (1) at (1,0) {1} node (2) at (2,0) {2} node(3) at (3,0) {3}; +\draw [red] (top-A) -- (bottom-3); +\end{tikzpicture} +& +\parbox{12cm}{ +\BS{draw}[\RDD{name prefix} = \blll{top-} ] node (A) at (1,1) \AC{A} node (B) at (2,1) \AC{B} node (C) at (3,1) \AC{C}; \\ +\BS{draw}[\RDD{name prefix} = \blll{bottom-}] node (1) at (1,0) \AC{1} node (2) at (2,0) \AC{2} node(3) at (3,0) \AC{3}; \\ +\BS{draw} [red] (\blll{top-}A) -- (\blll{bottom-}3);} +\\ \hline +\begin{tikzpicture}[every node/.style={draw},baseline=0pt] +\draw[name suffix= -top] node (A) at (1,1) {A} node (B) at (2,1) {B} node (C) at (3,1) {C}; +\draw[name suffix= -bottom] node (1) at (1,0) {1} node (2) at (2,0) {2} node(3) at (3,0) {3}; +\draw [red] (A-top) -- (3-bottom); +\end{tikzpicture} +& +\parbox{12cm}{ +\BS{draw}[\RDD{name suffix} = \blll{-top}] node (A) at (1,1) \AC{A} node (B) at (2,1) \AC{B} node (C) at (3,1) \AC{C}; \\ +\BS{draw}[\RDD{name suffix} = \blll{-bottom}] node (1) at (1,0) \AC{1} node (2) at (2,0) \AC{2} node(3) at (3,0) \AC{3}; \\ +\BS{draw} [red] (A \blll{-top}) - - (3 \blll{-bottom});} +\\ \hline + +\end{tabular} + + +\SbSSCT{Liaisons}{Links} +\label{liaisons} + +\begin{tabular}{|c|c|c|} \hline +\multicolumn{3}{|l|}{\BS{node}[draw] (A) at (0,0) \AC{A}; \hspace{.5cm} \BS{node}[draw] (B) at (1.5,1.5) \AC{B}; \hspace{.5cm} \BS{draw} (A) - - (B) } \\ \hline +\begin{tikzpicture}[blue] +\node[draw] (A) at (0,0) {A}; +\node[draw] (B) at (1.5,1.5) {B}; +\draw (A) -- (B); +\end{tikzpicture} +& +\begin{tikzpicture}[blue] +\node[draw] (A) at (0,0) {A}; +\node[draw] (B) at (1.5,1.5) {B}; +\draw (A) |- (B); +\end{tikzpicture} +& +\begin{tikzpicture}[blue] +\node[draw] (A) at (0,0) {A}; +\node[draw] (B) at (1.5,1.5) {B}; +\draw (A) -| (B); +\end{tikzpicture} +\\ \hline +(A){\color{red} - -} (B) & (A) {\color{red}|-} (B) & (A) {\color{red}-|} (B) +\\ \hline +\begin{tikzpicture}[blue] +\node[draw] (A) at (0,0) {A}; +\node[draw] (B) at (1.5,1.5) {B}; +\draw (A) to [bend right] (B); +\end{tikzpicture} +& +\begin{tikzpicture}[blue] +\node[draw] (A) at (0,0) {A}; +\node[draw] (B) at (1.5,1.5) {B}; +\draw (A) to [bend left] (B); +\end{tikzpicture} +& +\begin{tikzpicture}[blue] +\node[draw] (A) at (0,0) {A}; +\node[draw] (B) at (1.5,1.5) {B}; +\draw (A) to[bend left=0] (B); +\end{tikzpicture} +\\ \hline +(A) to [\RDD{bend right}] (B) & (A) to [\RDD{bend left}] (B) & (A) to[\RDD{bend left}=0] (B) +\\ \hline +\begin{tikzpicture}[blue] +\node[draw] (A) at (0,0) {A}; +\node[draw] (B) at (1.5,1.5) {B}; +\draw (A) to[bend left=120] (B); +\end{tikzpicture} +& +\begin{tikzpicture}[blue] +\node[draw] (A) at (0,0) {A}; +\node[draw] (B) at (1.5,1.5) {B}; +\draw (A) to[bend left=45] (B); +\end{tikzpicture} +& +\begin{tikzpicture}[blue] +\node[draw] (A) at (0,0) {A}; +\node[draw] (B) at (1.5,1.5) {B}; +\draw (A) to[bend left=90] (B); +\end{tikzpicture} +\\ \hline +(A) to[\RDD{bend left}=120] (B) & (A) to[\RDD{bend left}=45] (B) & (A) to[\RDD{bend left}=90] (B) +\\ \hline +\begin{tikzpicture}[blue] +\node[draw] (A) at (0,0) {A}; +\node[draw] (B) at (1.5,1.5) {B}; +\draw (A) to[out=90] (B); +\end{tikzpicture} +& +\begin{tikzpicture}[blue] +\node[draw] (A) at (0,0) {A}; +\node[draw] (B) at (1.5,1.5) {B}; +\draw (A) to[out=30] (B); +\end{tikzpicture} +& +\begin{tikzpicture}[blue] +\node[draw] (A) at (0,0) {A}; +\node[draw] (B) at (1.5,1.5) {B}; +\draw (A) to[in=-90] (B); +\end{tikzpicture} +\\ \hline +(A) to[\RDD{out}=90] (B) & (A) to[\RDD{out}=30] (B) & (A) to[\RDD{in}=-90] (B) +\\ \hline +\end{tabular} + +\bigskip +\begin{tabular}{|c|c|c|} \hline +\multicolumn{2}{|c|}{ \BS{draw} (A) .. controls +(right:2cm) and +(down:2cm) .. (B); }\\ +\hline +\begin{tikzpicture}[blue] +\node[draw] (A) at (0,0) {A}; +\node[draw] (B) at (2,2) {B}; +\draw (A) .. controls +(right:2cm) and +(down:2cm) .. (B); +\end{tikzpicture} +& +\begin{tikzpicture}[blue] +\node[draw] (A) at (0,0) {A}; +\node[draw] (B) at (2,2) {B}; +\draw (A) .. controls +(up:1cm) and +(left:1cm) .. (B); +\end{tikzpicture} +\\ \hline +controls +(right:2cm) and +(down:2cm) & +controls +(up:1cm) and +(left:1cm) +\\ \hline +\begin{tikzpicture}[blue] +\node[draw] (A) at (0,0) {A}; +\node[draw] (B) at (2,2) {B}; +\draw (A) .. controls +(right:1cm) and +(right:2cm) .. (B); +\end{tikzpicture} +& +\begin{tikzpicture}[blue] +\node[draw] (A) at (0,0) {A}; +\node[draw] (B) at (2,2) {B}; +\draw (A) .. controls +(up:1cm) and +(right:2cm) .. (B); +\end{tikzpicture} +\\ \hline +controls +(right:1cm) and +(right:2cm) & +controls +(up:1cm) and +(right:2cm) +\\ \hline +\begin{tikzpicture}[blue] +\node[draw] (A) at (0,0) {A}; +\node[draw] (B) at (2,2) {B}; +\draw (A) .. controls +(120:2cm) and +(200:1cm) .. (B); +\end{tikzpicture} + & + \begin{tikzpicture}[blue] + \node[draw] (A) at (0,0) {A}; + \node[draw] (B) at (2,2) {B};T + \draw (A) .. controls +(120:2cm) and +(200:1cm) .. (A); + \end{tikzpicture} +\\ \hline +controls +(120:2cm) and +(200:1cm) & controls +(120:2cm) and +(200:1cm) +\\ \hline +\begin{tikzpicture}[blue] +\node[draw] (A) at (0,0) {A}; +\node[draw] (B) at (2,2) {B}; +\node[draw] (C) at (0,1) {C}; +\node[draw] (D) at (3,0) {D}; +\draw (A) .. controls +(C) and +(D) .. (B); +\end{tikzpicture} +& +\begin{tikzpicture}[blue] +\node[draw] (A) at (0,0) {A}; +\node[draw] (B) at (2,2) {B}; +\node[draw] (C) at (0,1) {C}; +\node[draw] (D) at (3,0) {D}; +\draw (A) .. controls +(D) .. (B); +\end{tikzpicture} +\\ \hline +controls +(C) and +(D) & +controls +(D) +\\ \hline +\end{tabular} + \bigskip + +\begin{tabular}{|c|c|c|} \hline +\multicolumn{3}{|l|}{ \BS{node}[draw] (A) at (0,0) \AC{A} }\\ + +\multicolumn{3}{|l|}{ \BS{node}[draw] (B) at (2,2) \AC{B} \RDD{edge} [->] (A); }\\ +\multicolumn{3}{|c|}{\RRR{17-12-1}} \\ +\hline + \begin{tikzpicture} + \node[draw] (A) at (0,0) {A}; + \node[draw] (B) at (2,2) {B} edge [->] (A); + \end{tikzpicture} + & + \begin{tikzpicture} + \node[draw] (A) at (0,0) {A}; + \node[draw] (B) at (2,2) {B} edge [red] (A); + \end{tikzpicture} + & + \begin{tikzpicture} + \node[draw] (A) at (0,0) {A}; + \node[draw] (B) at (2,2) {B} edge [dashed] (A); + \end{tikzpicture} +\\ \hline +[->] & [red] & [dashed] +\\ \hline +\end{tabular} + +\SbSSCT{\'Etiquettes sur les n\oe uds}{Node labels} + +\begin{tabular}{|c|c|c|c|} \hline +\multicolumn{4}{|c|}{ \BS{fill}(0,0) circle (2pt) node[\RDD{above}] \AC{texte} ; \RRR{17-5-2} }\\ +\hline + +\begin{tikzpicture} \draw[help lines] (-1,-1) grid (1,1) ;\fill (0,0) circle (2pt) node[above] {texte};\end{tikzpicture} +& +\begin{tikzpicture} \draw[help lines] (-1,-1) grid (1,1) ;\fill (0,0) circle (2pt) node[below] {texte};\end{tikzpicture} + & +\begin{tikzpicture} \draw[help lines] (-1,-1) grid (1,1);\fill (0,0) circle (2pt) node[left] {texte};\end{tikzpicture} + & +\begin{tikzpicture} \draw[help lines] (-1,-1) grid (1,1); \fill (0,0) circle (2pt) node[right] {texte};\end{tikzpicture} + \\ \hline + [\RDD{above}] & [\RDD{below}] & [\RDD{left}] & [\RDD{right}] + \\ \hline + \begin{tikzpicture} \draw[help lines] (-1,-1) grid (1,1) ;\fill (0,0) circle (2pt) node[above left] {texte};\end{tikzpicture} + & + \begin{tikzpicture} \draw[help lines] (-1,-1) grid (1,1) ;\fill (0,0) circle (2pt) node[below left] {texte};\end{tikzpicture} + & + \begin{tikzpicture} \draw[help lines] (-1,-1) grid (1,1);\fill (0,0) circle (2pt) node[above right] {texte};\end{tikzpicture} + & + \begin{tikzpicture} \draw[help lines] (-1,-1) grid (1,1); \fill (0,0) circle (2pt) node[below right] {texte};\end{tikzpicture} + \\ \hline + [\RDD{above left}] & [\RDD{below left}] & [\RDD{above right}] & [\RDD{below right}] + \\ \hline + \begin{tikzpicture} \draw[help lines] (-1,-1) grid (1,1) ;\fill (0,0) circle (2pt) node[anchor=south] {texte};\end{tikzpicture} + & + \begin{tikzpicture} \draw[help lines] (-1,-1) grid (1,1) ;\fill (0,0) circle (2pt) node[anchor=west] {texte};\end{tikzpicture} + & + \begin{tikzpicture} \draw[help lines] (-1,-1) grid (1,1);\fill (0,0) circle (2pt) node[anchor=north] {texte};\end{tikzpicture} + & + \begin{tikzpicture} \draw[help lines] (-1,-1) grid (1,1); \fill (0,0) circle (2pt) node[anchor=east] {texte};\end{tikzpicture} + \\ \hline + [\RDD{anchor}=south] & [\RDD{anchor}=west] & [\RDD{anchor}=north] & [\RDD{anchor}=east] ] + \\ \hline + \begin{tikzpicture} \draw[help lines] (-1,-1) grid (1,1) ;\fill (0,0) circle (2pt) node[anchor=south east] {texte};\end{tikzpicture} + & +\begin{tikzpicture} \draw[help lines] (-1,-1) grid (1,1) ;\fill (0,0) circle (2pt) node[anchor=south west] {texte};\end{tikzpicture} +& +\begin{tikzpicture} \draw[help lines] (-1,-1) grid (1,1);\fill (0,0) circle (2pt) node[anchor=north west] {texte};\end{tikzpicture} +& +\begin{tikzpicture} \draw[help lines] (-1,-1) grid (1,1); \fill (0,0) circle (2pt) node[anchor=east] {texte};\end{tikzpicture} +\\ \hline +[\RDD{anchor}=south east] & [\RDD{anchor}=south west] & [\RDD{anchor}=north west] & [\RDD{anchor==north east }] + \\ \hline +\end{tabular} + + +\bigskip +\begin{tabular}{|c|c|c|c|} \hline +\multicolumn{4}{|c|}{ \BS{fill}(0,0) circle (2pt) node[\RDD{above}=.3cm] \AC{texte} ; \RRR{17-5-2} }\\ +\hline + +\begin{tikzpicture} \draw[help lines] (-1,-1) grid (1,1) ;\fill (0,0) circle (2pt) node[above=.3cm] {texte};\end{tikzpicture} +& +\begin{tikzpicture} \draw[help lines] (-1,-1) grid (1,1) ;\fill (0,0) circle (2pt) node[below=.3cm] {texte};\end{tikzpicture} + & +\begin{tikzpicture} \draw[help lines] (-1,-1) grid (1,1);\fill (0,0) circle (2pt) node[left=.3cm] {texte};\end{tikzpicture} + & +\begin{tikzpicture} \draw[help lines] (-1,-1) grid (1,1); \fill (0,0) circle (2pt) node[right=.3cm] {texte};\end{tikzpicture} + \\ \hline + [\RDD{above}=.3cm] & [\RDD{below}=.3cm] & [\RDD{left}=.3cm] & [\RDD{right}=.3cm]] + \\ \hline +\begin{tikzpicture} \draw[help lines] (-1,-1) grid (1,1) ;\fill (0,0) circle (2pt) node[above left=.3cm] {texte};\end{tikzpicture} +& +\begin{tikzpicture} \draw[help lines] (-1,-1) grid (1,1) ;\fill (0,0) circle (2pt) node[below left=.3cm] {texte};\end{tikzpicture} + & +\begin{tikzpicture} \draw[help lines] (-1,-1) grid (1,1);\fill (0,0) circle (2pt) node[above right=.3cm] {texte};\end{tikzpicture} + & +\begin{tikzpicture} \draw[help lines] (-1,-1) grid (1,1); \fill (0,0) circle (2pt) node[below right=.3cm] {texte};\end{tikzpicture} + \\ \hline + [\RDD{above left}=.3cm] & [\RDD{below left}=.3cm] & [\RDD{above right}=.3cm] & [\RDD{below right}=.3cm]] + \\ \hline + + \end{tabular} + + + \newpage +\selectlanguage{french} + + \begin{tabular}{|c|c|c|c|c|} \hline + \multicolumn{5}{|l|}{ \BSS{shorthandoff}\AC{:} \footnotemark[1] } \\ + \multicolumn{5}{|l|}{ \BS{node} [draw,\RDD{label}=right:texte] \AC{} }\\ + \multicolumn{5}{|l|}{ \BSS{shorthandon}\AC{:} } \\ + \hline + \shorthandoff{:} + \tikz \node [draw,label=right:texte] {}; + \shorthandon{:} + & + \shorthandoff{:} + \tikz \node [draw,label=left:texte] {}; + \shorthandon{:} + & + \shorthandoff{:} + \tikz \node [draw,label=above:texte] {}; + \shorthandon{:} + & + \shorthandoff{:} + \tikz \node [draw,label=below:texte] {}; + \shorthandon{:} + & + \shorthandoff{:} + \tikz \node [draw,label=45:texte] {}; + \shorthandon{:} + \\ \hline + label=right & label=left & label=above & label=below & label=45 + \\ \hline + \end{tabular} + \footnotetext[1]{\TFRGB{désactivation et ré-activation de \og : \fg conflit entre les modules Tikz et Babel en français}{Only useful when the package babel is loaded with the frenchb option }} + + \bigskip + \begin{tabular}{|c|c|c|c|c|} \hline + \BS{fill}(0,0) circle (2pt) node[below right=.3cm,draw,label=45:étiquette] \AC{texte} ; + \\ \hline + + \shorthandoff{:} +\begin{tikzpicture} \draw[help lines] (-1,-1) grid (2,1); \fill (0,0) circle (2pt) node[below right=.3cm,draw,label=45:étiquette] {texte};\end{tikzpicture} + \shorthandon{:} + + \\ \hline + \end{tabular} +\bigskip + + \shorthandoff{:} + +\SbSSCT{\'Etiquettes épinglées}{The Pin Option} + +\begin{center} +\RRR{17-10-3} +\end{center} + +\begin{tabular}{|c|c|c|} \hline +\multicolumn{3}{|c|}{ \BSS{shorthandoff}\AC{:} \BS{node}[circle,draw,blue,\RDD{pin}=texte] \AC{} ; \BSS{shorthandon}\AC{:} \footnotemark[1] }\\ +\hline +\begin{tikzpicture} +\node [circle,draw,blue,pin=texte] {}; +\end{tikzpicture} +& +\begin{tikzpicture} +\node [circle,draw,blue,pin=60:texte] {}; +\end{tikzpicture} +& +\begin{tikzpicture} +\node [circle,draw,blue,pin=right:texte] {}; +\end{tikzpicture} + \\ \hline +[circle,pin=texte] & [circle,pin=60:texte] & [circle,pin=right:texte] + \\ \hline +\end{tabular} + +\bigskip +\begin{tabular}{|c|c|c|} \hline +\multicolumn{3}{|c|}{ \BS{tikz}[\RDD{pin position}=60] \BS{node} [circle,pin=texte] \AC{} ; }\\ +\hline +\tikz[pin position=60] \node [circle,draw,blue,pin=texte] {}; +& +\tikz[pin distance=0 cm] \node [circle,draw,blue,pin=60:texte] {}; +& +\tikz[pin distance=2 cm] \node [circle,draw,blue,pin=60:texte,pin distance=0cm] {}; + \\ \hline + [\RDD{pin position}=60] & [\RDD{pin distance}=0 cm] & [\RDD{pin distance}=2 cm] + \\ \hline + \dft{ : above} & \multicolumn{2}{|c|}{ \dft{ : 3 ex}} + \\ \hline +\end{tabular} + +\newpage + + \shorthandon{:} + +\selectlanguage{english} + +\SbSSCT{ N\oe uds sur un chemin}{Nodes on a path} + +\RRR{17-8} + +\begin{tabular}{|c|c|c|} \hline +\multicolumn{3}{|c|}{ \BS{draw}(0,0) .. controls (1,2) and (2,-1) .. (4,0) node[\RDD{at end}] \AC{texte} ; }\\ +\hline +\tikz \draw (0,0) .. controls (1,2) and (2,-1) .. (4,0) node[pos=0] {texte}; +& +\tikz \draw (0,0) .. controls (1,2) and (2,-1) .. (4,0) node[pos=.33] {texte}; +& +\tikz \draw (0,0) .. controls (1,2) and (2,-1) .. (4,0) node[at end] {texte}; + \\ \hline +\RDD{pos}{\color{red} =0} & \RDD{pos}{\color{red} =.33} & \RDD{at end} (pos=1) + \\ \hline + +\tikz \draw (0,0) .. controls (1,2) and (2,-1) .. (4,0) node[very near end] {texte}; +& +\tikz \draw (0,0) .. controls (1,2) and (2,-1) .. (4,0) node[near end] {texte}; +& +\tikz \draw (0,0) .. controls (1,2) and (2,-1) .. (4,0) node[midway] {texte}; + \\ \hline +\RDD{very near end} (pos=0.875.) & \RDD{ near end} (pos=0.75) & \RDD{midway} (pos=0.5) + \\ \hline + +\tikz \draw (0,0) .. controls (1,2) and (2,-1) .. (4,0) node[near start] {texte}; +& +\tikz \draw (0,0) .. controls (1,2) and (2,-1) .. (4,0) node[very near start] {texte}; +& +\tikz \draw (0,0) .. controls (1,2) and (2,-1) .. (4,0) node[at start] {texte}; +\\ \hline +\RDD{near start} (pos=0.25) & \RDD{very near start} (pos=0.125) & \RDD{at start} (pos=0) + \\ \hline + +\end{tabular} + +\bigskip +\begin{tabular}{|c|c|c|} \hline +\multicolumn{3}{|c|}{ \BS{draw}(0,0) .. controls (1,2) and (2,1) .. (4,0) node[\RDD{sloped},midway] \AC{texte} ; }\\ +\hline +\tikz \draw (0,0) .. controls (1,2) and (2,-1) .. (4,0) node[sloped,midway] {texte}; +& +\tikz \draw (0,0) .. controls (1,2) and (2,-1) .. (4,0) node[above,midway] {texte}; +& +\tikz \draw (0,0) .. controls (1,2) and (2,-1) .. (4,0) node[below,midway] {texte}; + \\ \hline +\RDD{sloped} & \RDD{above} &\RDD{below} + \\ \hline +\end{tabular} +\bigskip + +\begin{tabular}{|c|c|c|} \hline +\multicolumn{3}{|c|}{ \BS{draw}(0,0) .. controls (1,2) and (2,1) .. (5,0) node[\RDD{sloped},midway,allow upside down] \AC{texte} ; }\\ +\hline +\tikz \draw (0,0) .. controls (1,2) and (2,-1) .. (4,0) node[sloped,midway,allow upside down] {texte}; +& +\tikz \draw (0,0) .. controls (1,2) and (2,-1) .. (4,0) node[above,midway,allow upside down] {texte}; +& +\tikz \draw (0,0) .. controls (1,2) and (2,-1) .. (4,0) node[below,midway,allow upside down] {texte}; + \\ \hline +\RDD{sloped} & \RDD{above} &\RDD{below} + \\ \hline +\end{tabular} + + +\begin{tabular}{|c|c|c|} \hline +\multicolumn{3}{|c|}{ \BS{draw}(A) to [bend right] node [\RDD{bend right}] \AC{texte} (B); }\\ +\hline +\begin{tikzpicture} +\node[draw] (A) at (0,0) {A}; +\node[draw] (B) at (2,2) {B}; +\draw (A) to [bend right] node [bend right] {texte} (B); +\end{tikzpicture} +& +\begin{tikzpicture} +\node[draw] (A) at (0,0) {A}; +\node[draw] (B) at (2,2) {B}; +\draw (A) to [bend right] node [auto,bend right] {texte} (B); +\end{tikzpicture} +& +\begin{tikzpicture} +\node[draw] (A) at (0,0) {A}; +\node[draw] (B) at (2,2) {B}; +\draw (A) to[bend right] node [auto,swap,bend right] {texte} (B); +\end{tikzpicture} + \\ \hline +[bend right] & [\RDD{auto},bend right] & [auto,\RDD{swap},bend right] + \\ \hline +\end{tabular} + +\SbSSCT{ N\oe uds sur un \og edge\fg}{Nodes on an edge} + +\begin{tabular}{|c|c|c|}\hline +\multicolumn{3}{|c|}{ \BS{draw}(0,0) edge \rouge{["abc", ->]} (4,0); }\\ +\multicolumn{3}{|c|}{ \RRR{17-12-2} }\\ +\hline +\begin{tikzpicture}[blue] +\useasboundingbox (0,-.5) rectangle (4,.5); +\draw (0,0) edge ["abc", ->] (4,0); +\end{tikzpicture} +& +\begin{tikzpicture}[blue] +\useasboundingbox (0,-.5) rectangle (4,.5); +\draw (0,0) edge ["abc", near start] (4,0); +\end{tikzpicture} +& +\begin{tikzpicture}[blue] +\useasboundingbox (0,-.5) rectangle (4,.5); +\draw (0,0) edge ["abc", style={auto=right}] (4,0); +\end{tikzpicture} +\\ \hline +["abc", ->] +& +["abc", near start] & ["abc", style=\AC{auto=right}] +\\ \hline +\begin{tikzpicture}[blue] +\useasboundingbox (0,-.5) rectangle (4,.5); +\draw (0,0) edge [font=\Large,"abc" ] (4,0); +\end{tikzpicture} +& +\begin{tikzpicture}[blue] +\useasboundingbox (0,-.5) rectangle (4,.5); +\draw (0,0) edge ["abc" color=red ] (4,0); +\end{tikzpicture} +& +\begin{tikzpicture}[blue] +\useasboundingbox (0,-.5) rectangle (4,.5); + \draw (0,0) edge ["abc" '] (4,0); +\end{tikzpicture} +\\ \hline +[font=\BS{Large},"abc" ] & ["abc" color=red ] +&["abc" ' ] +\\ \hline + +\begin{tikzpicture}[blue] +\useasboundingbox (0,-.5) rectangle (4,.75); +\draw (0,0) edge ["abc" draw ] (4,0); +\end{tikzpicture} +& +\begin{tikzpicture}[blue] +\useasboundingbox (0,-.5) rectangle (4,.5); +\draw (0,0) edge ["abc" inner sep=0pt ] (4,0); +\end{tikzpicture} +& +\begin{tikzpicture}[blue] +\useasboundingbox (0,-.5) rectangle (4,.5); +\draw (0,0) edge ["abc" fill ,fill=yellow ] (4,0); +\end{tikzpicture} +\\ \hline +["abc" draw ] +& +["abc" inner sep=0pt ] +& +["abc" fill ,fill=yellow ] +\\ \hline +\end{tabular} + + + +\bigskip + +\begin{tabular}{|c|} \hline +\BS{draw}[every edge quotes/.style=\AC{fill=yellow}] (0,0) edge ["abc"] (4,0); +\\ \hline +\begin{tikzpicture}[blue] +\useasboundingbox (0,-.5) rectangle (4,.5); + \draw[every edge quotes/.style={fill=yellow}] (0,0) edge ["abc"] (4,0); +\end{tikzpicture} +\\ \hline +\end{tabular} diff --git a/info/visualtikz/Source/tkzoptic.tex b/info/visualtikz/Source/tkzoptic.tex new file mode 100644 index 0000000000..e64fde2611 --- /dev/null +++ b/info/visualtikz/Source/tkzoptic.tex @@ -0,0 +1,1361 @@ +\label{optics} + + + \maboite{\BS{usepackage}\AC{optics} \cite {optics}} + +\begin{tabular}{|c|c|}\hline +\begin{tikzpicture}[blue,line width=2pt,baseline=0pt] +\useasboundingbox (-1.5,-1.2) rectangle (1.5,1.2); +\draw[help lines] (-1,-1) grid (1,1); +\node[use optics,lens] (L) at (0,0) {}; +\end{tikzpicture} +& +\parbox{10cm}{ +\BS{begin}\AC{tikzpicture}[blue,line width=2pt] \\ +\BS{draw}[help lines] (-1,-1) grid (1,1); \\ +\BS{node}[\RDD{use optics},lens] (L) at (0,0) {}; \\ +\BS{end}\AC{tikzpicture} +} +\\ \hline +\end{tabular} + +%\subsection{Eléments optiques} +\SbSSCT{Éléments optiques}{Optic components } + +\SbSbSSCT{Éléments optiques disponibles}{Components available} + +\noindent + +\begin{tabular}{|c|c|c|c|c|} \hline +\multicolumn{5}{|c|}{Éléments optiques} +\\ \hline +\multicolumn{5}{|c|}{ \BS{tikz}[use optics,blue] \BS{node}[\RDD{lens}] (L) at (0,0) \AC{}; } +\\ \hline +\multicolumn{2}{|c|}{ +\tikz[use optics,blue] \node[lens] (L) at (0,0) {}; +} +& +\tikz[use optics,blue] \node[slit] (S) at (0,0) {}; +& +\tikz[use optics,blue] \node[double slit] (S) at (0,0) {}; +& +\tikz[use optics,blue] \node[mirror] (S) at (0,0) {}; +\\ \hline +\multicolumn{2}{|c|}{ \RDD{lens} } & \RDD{slit} & \RDD{double slit} & \RDD{mirror} +\\ \hline + +\tikz[use optics,blue] \node[convex mirror] at (0cm,0) {}; +& +\tikz[use optics,blue] \node[concave mirror] at (4cm,0) {}; +& +\tikz[use optics,blue] \node[polarizer] (S) at (0,0) {}; +& +\tikz[use optics,blue] \node[beam splitter] at (0,0) {}; +& +\tikz[use optics,blue] \node[double amici prism] (PVD) at (0,0) {}; +\\ \hline +\RDD{convex mirror} & \RDD{concave mirror} & \RDD{polarizer} & \RDD{beam splitter} & \RDD{double amici prism} +\\ \hline +\multicolumn{2}{|c|}{ \tikz[use optics,scale=.5,blue] +\node[thin optics element] (S) at (0,0) {}; +} +& +\tikz[use optics,blue] \node[thick optics element] at (0,0) {}; +& +\tikz[use optics,blue] \node[heat filter] (S) at (0,0) {}; +& +\tikz[use optics,blue] \node[screen] (S) at (0,0) {}; +\\ \hline +\multicolumn{2}{|c|}{ \RDD{thin optics element} } & \RDD{thick optics element} & \RDD{heat filter} & \RDD{screen} +\\ \hline +\multicolumn{2}{|c|}{ \tikz[use optics,scale=.5,blue] +\node[diffraction grating] (S) at (0,0) {}; +} +& +\tikz[use optics,blue] \node[grid] (S) at (0,0) {}; +& +\tikz[use optics,blue] \node[semi-transparent mirror] (S) at (0,0) {}; +& +\tikz[use optics,blue] \node[diaphragm] (S) at (0,0) {}; +\\ \hline +\multicolumn{2}{|c|}{ \RDD{diffraction grating} } & \RDD{grid} & \RDD{semi-transparent mirror} & \RDD{diaphragm} +\\ \hline +\end{tabular} + +\SbSbSSCT{Paramètres}{Parameters} + +\noindent + +\begin{tabular}{|c|c|c|c|} \hline +%\multicolumn{4}{|c|}{ \textbf{Lens parameters} } +%\\ \hline +\multicolumn{4}{|c|}{ \BS{node}[lens,\RDD{object height}=1cm] (L) at (0,0) \AC{}; } +\\ \hline +\begin{tikzpicture}[use optics,blue,line width=2pt,baseline=0pt] +\useasboundingbox (-1.2,-1.2) rectangle (1.2,1.2); +\draw[help lines] (-1,-1) grid (1,1); +\node[lens,object height=1cm] (L) at (0,0) {}; +\end{tikzpicture} +& +\begin{tikzpicture}[use optics,blue,line width=2pt,baseline=0pt] +\useasboundingbox (-2.2,-1.2) rectangle (2.2,1.2); +\draw[help lines] (-2,-1) grid (2,1); +\node[lens,draw focal points] (L) at (0,0) {}; +\end{tikzpicture} +& +\begin{tikzpicture}[use optics,blue,line width=2pt,baseline=0pt] +\useasboundingbox (-2.2,-1.2) rectangle (2.2,1.2); +\draw[help lines] (-2,-1) grid (2,1); +\node[lens,draw focal points, focal length=1.5cm] (L) at (0,0) {}; +\end{tikzpicture} +& +\begin{tikzpicture}[use optics,blue,line width=2pt,baseline=0pt] +\useasboundingbox (-1.2,-1.2) rectangle (1.2,1.2); +\draw[help lines] (-1,-1) grid (1,1); +\node[lens,lens height=.5] (L) at (0,0) {}; +\draw (L.lens north) to[thin,short dim arrow={label=$50\%$,label near middle}] (L.lens south); +% \draw[line width =5pt,red] (L.lens north) -- (L.lens south) ; +\end{tikzpicture} +\\ \hline +\RDD{object height}=1cm & \RDD{draw focal points} & \RDD{focal length}=1.5cm & \RDD{focal height}=0.5 +\\ +\dft{ 2cm} & \dft{ empty} & \dft{ 1cm} & \dft{ 0.8} (80\%) +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|}\hline +\multicolumn{2}{|c|}{ \textbf{Lens type} } +\\ \hline +\multicolumn{2}{|c|}{ \BS{node}[lens,\RDD{lens type}=converging] (L) at (0,0) \AC{}; } +\\ \hline +\begin{tikzpicture}[use optics,scale=.5,blue,line width=2pt] +\useasboundingbox (-.5,-2.5) rectangle (.5,2.5); +\node[lens,lens type=converging] (L) at (0,0) {}; +\end{tikzpicture} +& +\begin{tikzpicture}[use optics,scale=.5,blue,line width=2pt] +\useasboundingbox (-.5,-2.5) rectangle (.5,2.5); +\node[lens,lens type=diverging] (L) at (0,0) {}; +\end{tikzpicture} +\\ +\hline \RDD{lens type}=converging & \RDD{lens type}=diverging \\ +\hline +\end{tabular} +\hspace{1cm} +\begin{tabular}{|c|c|} \hline +\multicolumn{2}{|c|}{ \textbf{slit parameters}} +\\ \hline +\multicolumn{2}{|c|}{ \BS{node}[slit,\RDD{slit height}=0.5] (L) at (0,0) \AC{}; } +\\ \hline +\begin{tikzpicture}[use optics,blue,line width=2pt,baseline=0pt] +\useasboundingbox (-1.2,-1.2) rectangle (1.2,1.2); +\draw[help lines,ystep=5mm] (-1,-1) grid (1,1); +\node[slit, slit height=0.5 ](L) at (0,0) {}; +\end{tikzpicture} +& +\begin{tikzpicture}[use optics,blue,line width=2pt,baseline=0pt] +\useasboundingbox (-1.2,-1.2) rectangle (1.2,1.2); +\draw[help lines,ystep=2.5mm] (-1,-1) grid (1,1); +\node[slit, slit height=0.5cm](L) at (0,0) {}; +\end{tikzpicture} +\\ \hline + \RDD{slit height}=0.5 & \RDD{slit height}=0.5cm +\\ \hline +\multicolumn{2}{|c|}{ \dft{ 0.075} (7.5\% )} +\\ \hline +\end{tabular} + +\bigskip +\begin{tabular}{|c|c|c|c|} \hline +\multicolumn{4}{|c|}{ \textbf{Double slit parameters}} +\\ \hline +\multicolumn{4}{|c|}{ \BS{node}[double slit,\RDD{slit height}=0.15] (L) at (0,0) \AC{}; } +\\ \hline +\begin{tikzpicture}[use optics,blue,line width=2pt,baseline=0pt] +\useasboundingbox (-1.2,-1.2) rectangle (1.2,1.2); +\draw[help lines,ystep=1.25mm] (-1,-1) grid (1,1); +%\node[double slit,red,line width=1pt ](L) at (0,0) {}; +\node[double slit, slit height=0.15 ](L) at (0,0) {}; +\end{tikzpicture} +& +\begin{tikzpicture}[use optics,blue,line width=2pt,baseline=0pt] +\useasboundingbox (-1.2,-1.2) rectangle (1.2,1.2); +\draw[help lines,ystep=1.25mm] (-1,-1) grid (1,1); +%\node[double slit,red,line width=1pt ](L) at (0,0) {}; +\node[double slit, slit height=0.25cm](L) at (0,0) {}; +\end{tikzpicture} +& +\begin{tikzpicture}[use optics,blue,line width=2pt,baseline=0pt] +\useasboundingbox (-1.2,-1.2) rectangle (1.2,1.2); +\draw[help lines,ystep=5mm] (-1,-1) grid (1,1); +\node[double slit, slit separation=0.5 ](L) at (0,0) {}; +\end{tikzpicture} +& +\begin{tikzpicture}[use optics,blue,line width=2pt,baseline=0pt] +\useasboundingbox (-1.2,-1.2) rectangle (1.2,1.2); +\draw[help lines,ystep=5mm] (-1,-1) grid (1,1); +\node[double slit, slit separation=1cm](L) at (0,0) {}; +\end{tikzpicture} +\\ \hline +\RDD{slit height}=0.15 & \RDD{slit height}=0.25cm & \RDD{slit separation}=0.5 & double slit, \RDD{slit separation}=1cm +\\ \hline +\multicolumn{2}{|c|}{ \dft{ 0.075} (7.5\% x 2cm = 1.5 mm)} & \multicolumn{2}{|c|}{ \dft{ 0.2} (20\% x 2cm = 4mm)} +\\ \hline +\end{tabular} + +\bigskip +\begin{tabular}{|c|c|} \hline +\multicolumn{2}{|c|}{ \textbf{mirror parameters}} +\\ \hline +\multicolumn{2}{|c|}{ \BS{node}[mirror,\RDD{mirror decoration separation}=0.25] (L) at (0,0) \AC{}; } +\\ \hline +\begin{tikzpicture}[use optics,blue,line width=2pt,baseline=0pt] +\useasboundingbox (-1.2,-1.2) rectangle (1.2,1.2); +\draw[help lines,ystep=5mm] (-1,-1) grid (1,1); +\node[mirror,mirror decoration separation=0.25 ](L) at (0,0) {}; +\end{tikzpicture} +& +\begin{tikzpicture}[use optics,blue,line width=2pt,baseline=0pt] +\useasboundingbox (-1.2,-1.2) rectangle (1.2,1.2); +\draw[help lines,ystep=5mm] (-1,-1) grid (1,1); +\node[mirror,mirror decoration separation=0.5cm](L) at (0,0) {}; +\end{tikzpicture} +\\ \hline +\RDD{mirror decoration separation}=0.25 & \RDD{mirror decoration separation}=0.5cm +\\ \hline +\multicolumn{2}{|c|}{ \dft{ 0.15cm} } +\\ \hline +\begin{tikzpicture}[use optics,blue,line width=2pt,baseline=0pt] +\useasboundingbox (-1.2,-1.5) rectangle (1.2,1.2); +\draw[help lines] (-1,-1) grid (1,1); +\node[mirror,mirror decoration amplitude=0.25 ](L) at (0,0) {}; +\end{tikzpicture} +& +\begin{tikzpicture}[use optics,blue,line width=2pt,baseline=0pt] +\useasboundingbox (-1.2,-1.2) rectangle (1.2,1.2); +\draw[help lines] (-1,-1) grid (1,1); +\node[mirror,mirror decoration amplitude=.5cm](L) at (0,0) {}; +\end{tikzpicture} +\\ \hline \hline + \RDD{mirror decoration amplitude}=0.25 & \RDD{mirror decoration amplitude}=1cm +\\ \hline + \multicolumn{2}{|c|}{ \dft{ 0.125cm} } +\\ \hline +\end{tabular} + +\bigskip + + +\bigskip\begin{tabular}{|c|c|} \hline + \multicolumn{2}{|c|}{ \textbf{spherical mirror type} } +\\ \hline + \multicolumn{2}{|c|}{\BS{node}[\RDD{convex mirror}](L) at (0,0) \AC{}; } +\\ \hline +\begin{tikzpicture}[use optics,blue,line width=2pt,baseline=0pt] +\useasboundingbox (-1.2,-1.2) rectangle (1.2,1.2); +\draw[help lines] (-1,-1) grid (1,1); +\node[convex mirror](L) at (0,0) {}; +\end{tikzpicture} +& +\begin{tikzpicture}[use optics,blue,line width=2pt,baseline=0pt] +\useasboundingbox (-1.2,-1.2) rectangle (1.2,1.2); +\draw[help lines] (-1,-1) grid (1,1); +\node[concave mirror](L) at (0,0) {}; +\end{tikzpicture} +\\ \hline \RDD{convex mirror} & \RDD{concave mirror} +\\ \hline +spherical mirror, \RDD{spherical mirror type}=\BDD{convex} & +spherical mirror, \RDD{spherical mirror type}=\BDD{concave} +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|} \hline + \multicolumn{2}{|c|}{ \textbf{spherical mirror orientation } } +\\ \hline + \multicolumn{2}{|c|}{ \BS{node}[convex mirror, \RDD{spherical mirror orientation}=\BDD{ltr}](L) at (0,0) \AC{}; } +\\ \hline +\begin{tikzpicture}[use optics,blue,line width=2pt,baseline=0pt] +\useasboundingbox (-1.2,-1.2) rectangle (1.2,1.2); +\draw[help lines] (-1,-1) grid (1,1); +\node[convex mirror, spherical mirror orientation=ltr](L) at (0,0) {}; +\end{tikzpicture} +& +\begin{tikzpicture}[use optics,blue,line width=2pt,baseline=0pt] +\useasboundingbox (-1.2,-1.2) rectangle (1.2,1.2); +\draw[help lines] (-1,-1) grid (1,1); +\node[convex mirror, spherical mirror orientation=rtl](L) at (0,0) {}; +\end{tikzpicture} +\\ \hline +convex mirror, & convex mirror, \\ +\RDD{spherical mirror orientation}=\BDD{ltr} & \RDD{spherical mirror orientation}=\BDD{rtl} +\\ \hline + +\begin{tikzpicture}[use optics,blue,line width=2pt,baseline=0pt] +\useasboundingbox (-1.2,-1.2) rectangle (1.2,1.2); +\draw[help lines] (-1,-1) grid (1,1); +\node[concave mirror, spherical mirror orientation=ltr](L) at (0,0) {}; +\end{tikzpicture} +& +\begin{tikzpicture}[use optics,blue,line width=2pt,baseline=0pt] +\useasboundingbox (-1.2,-1.2) rectangle (1.2,1.2); +\draw[help lines] (-1,-1) grid (1,1); +\node[concave mirror, spherical mirror orientation=rtl](L) at (0,0) {}; +\end{tikzpicture} +\\ \hline +concave mirror & concave mirror, \\ + \RDD{spherical mirror orientation}=\BDD{ltr} & \RDD{spherical mirror orientation}=\BDD{rtl} +\\ \hline +\end{tabular} +\bigskip + +\begin{tabular}{|c|c|c|} \hline + \multicolumn{3}{|c|}{ \BS{node}[spherical mirror, \RDD{spherical mirror angle}=240](L) at (0,0) \AC{}; } +\\ \hline + +\begin{tikzpicture}[use optics,blue,line width=2pt,baseline=0pt] +\useasboundingbox (-1.2,-1.5) rectangle (1.2,1.5); +\draw[help lines] (-1,-1) grid (1,1); +\node[spherical mirror, spherical mirror angle=240](L) at (0,0) {}; +\end{tikzpicture} +& +\begin{tikzpicture}[use optics,blue,line width=2pt,baseline=0pt] +\useasboundingbox (-1.2,-1.5) rectangle (1.2,1.5); +\draw[help lines,ystep=5mm] (-1,-1) grid (1,1); +\node[spherical mirror, mirror decoration separation=0.25](L) at (0,0) {}; +\end{tikzpicture} +& +\begin{tikzpicture}[use optics,blue,line width=2pt,baseline=0pt] +\useasboundingbox (-1.2,-1.5) rectangle (1.2,1.5); +\draw[help lines,ystep=5mm] (-1,-1) grid (1,1); +\node[spherical mirror,mirror decoration amplitude=.5cm](L) at (0,0) {}; +\end{tikzpicture} + +\\ \hline +\RDD{spherical mirror angle}=240 & \RDD{mirror decoration separation}=0.25 & \RDD{mirror decoration amplitude}=0.5cm +\\ \hline +\dft{ 150} & \dft{ 0.15cm} & \dft{ 0.125cm} +\\ \hline +\end{tabular} + +\bigskip + + +\begin{tabular}{|c|} \hline +\BS{node}[spherical mirror, +spherical mirror angle=from\_radius(2cm)](L) at (0,0) \AC{}; +\\ \hline +\begin{tikzpicture}[use optics,blue,line width=2pt,baseline=0pt] +\useasboundingbox (-1.2,-1.2) rectangle (1.2,1.2); +\draw[help lines,ystep=5mm] (-2,-1) grid (1,1); +\node[spherical mirror, +spherical mirror angle=from_radius(2cm)] (M) {M}; +\draw[red,fill] (M.mirror center) circle (2pt) ; +\end{tikzpicture} +\\ \hline +\end{tabular} + + + +\bigskip + +\begin{tabular}{|c|c|c|} \hline + \multicolumn{3}{|c|}{ \BS{node}[polarizer, \RDD{object height}=1.5cm](L) at (0,0) \AC{}; } +\\ \hline +\begin{tikzpicture}[use optics,blue,line width=2pt,baseline=0pt] +\useasboundingbox (-1.2,-1.2) rectangle (1.2,1.2); +\draw[help lines,ystep=5mm] (-1,-1) grid (1,1); +\node[polarizer, object height=1.5cm](L) at (0,0) {}; +\end{tikzpicture} +& +\begin{tikzpicture}[use optics,blue,line width=2pt,baseline=0pt] +\useasboundingbox (-1.2,-1.2) rectangle (1.2,1.2); +\draw[help lines,ystep=5mm] (-1,-1) grid (1,1); +\node[polarizer, object aspect ratio=.5](L) at (0,0) {}; +\end{tikzpicture} +& +\begin{tikzpicture}[use optics,blue,line width=2pt,baseline=0pt] +\useasboundingbox (-2.2,-1.2) rectangle (2.2,1.2); +\draw[help lines,ystep=5mm] (-2,-1) grid (2,1); +\node[polarizer, object aspect ratio=2](L) at (0,0) {}; +\end{tikzpicture} +\\ \hline +\RDD{object height}=1.5cm +& +\RDD{object aspect ratio}=0.5 +& +\RDD{object aspect ratio}=2 +\\ \hline +\dft{ 2cm} & \dft{ 0.2} & +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|c|} \hline + \multicolumn{3}{|c|}{ \BS{node}[beam splitter,\RDD{object height}=1.5cm](L) at (0,0) \AC{}; } +\\ \hline +\begin{tikzpicture}[use optics,blue,line width=2pt,baseline=0pt] +\useasboundingbox (-1.2,-1.2) rectangle (1.2,1.2); +\draw[help lines,ystep=5mm] (-1,-1) grid (1,1); +\node[beam splitter,object height=1.5cm](L) at (0,0) {}; +\end{tikzpicture} +& +\begin{tikzpicture}[use optics,blue,line width=2pt,baseline=0pt] +\useasboundingbox (-1.2,-1.2) rectangle (1.2,1.2); +\draw[help lines,ystep=5mm] (-1,-1) grid (1,1); +\node[beam splitter, object aspect ratio=.5](L) at (0,0) {}; +\end{tikzpicture} +& +\begin{tikzpicture}[use optics,blue,line width=2pt,baseline=0pt] +\useasboundingbox (-1.2,-1.2) rectangle (1.2,1.2); +\draw[help lines,ystep=5mm] (-1,-1) grid (1,1); +\node[beam splitter, object aspect ratio=2](L) at (0,0) {}; +\end{tikzpicture} +\\ \hline +\RDD{object height}=1.5cm +& +\RDD{object aspect ratio}=.5 +& +\RDD{object aspect ratio}=2 +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|}\hline + \multicolumn{2}{|c|}{ \BS{node}[double amici prism,\RDD{prism height}=1cm](L) at (0,0) \AC{}; } +\\ \hline +\begin{tikzpicture}[use optics,blue,line width=2pt,baseline=0pt] +\useasboundingbox (-2.2,-1.2) rectangle (2.2,1.2); +\draw[help lines,ystep=5mm] (-2,-1) grid (2,1); +\node[double amici prism,prism height=1cm](L) at (0,0) {}; +\end{tikzpicture} +& +\begin{tikzpicture}[use optics,blue,line width=2pt,baseline=0pt] +\useasboundingbox (-2.2,-1.2) rectangle (2.2,1.2); +\draw[help lines,ystep=5mm] (-2,-1) grid (2,1); +\node[double amici prism, prism apex angle=90](L) at (0,0) {}; +\end{tikzpicture} +\\ \hline +\RDD{prism height}=1cm & \RDD{prism apex angle}=90 +\\ \hline +\dft{ 1.5cm } & \dft{ 60 } +\\ \hline +\end{tabular} + + +\bigskip + +\begin{tabular}{|c|c|c|} \hline + \multicolumn{3}{|c|}{ \BS{node}[thick optics element,\RDD{object height}=1.5cm](L) at (0,0) \AC{}; } +\\ \hline + +\begin{tikzpicture}[use optics,blue,line width=2pt,baseline=0pt] +\useasboundingbox (-1.2,-1.2) rectangle (1.2,1.2); +\draw[help lines,ystep=5mm] (-1,-1) grid (1,1); +\node[thick optics element,object height=1.5cm] (L) at (0,0) {}; +\end{tikzpicture} +& +\begin{tikzpicture}[use optics,blue,line width=2pt,baseline=0pt] +\useasboundingbox (-1.2,-1.2) rectangle (1.2,1.2); +\draw[help lines,ystep=5mm] (-1,-1) grid (1,1); +\node[thick optics element, object aspect ratio=.5](L) at (0,0) {}; +\end{tikzpicture} +& +\begin{tikzpicture}[use optics,blue,line width=2pt,baseline=0pt] +\useasboundingbox (-2.2,-1.2) rectangle (2.2,1.2); +\draw[help lines,ystep=5mm](-2,-1) grid (2,1); +\node[thick optics element, object aspect ratio=1.5](L) at (0,0) {}; +\end{tikzpicture} +\\ \hline +\RDD{object height}=1.5cm +& +\RDD{object aspect ratio}=0.5 +& +\RDD{object aspect ratio}=1.5 +\\ \hline +\end{tabular} + + + + +\SbSbSSCT{Ancres}{Anchors} + +\noindent + +\begin{tabular}{|c|c|c|c|c|} \hline +\multicolumn{5}{|c|}{\BS{node}[lens] (\blll{L}) at (0,0) \AC{} ;} \\ +\multicolumn{5}{|c|}{\BS{node}[red,fill] (\blll{L}.\RDD{lens north}) circle (2pt) ;} +\\ \hline +\begin{tikzpicture}[use optics,blue] +\useasboundingbox (-.5,-1.5) rectangle (.5,1.5); +\node[lens] (L) at (0,0) {} ; +\draw[red,fill] (L.lens north) circle (2pt) ; +\end{tikzpicture} +& +\begin{tikzpicture}[use optics,blue] +\useasboundingbox (-.5,-1.5) rectangle (.5,1.5); +\node[lens] (L) at (0,0) {} ; +\draw[red,fill] (L.lens south) circle (2pt) ; +\end{tikzpicture} +& +\begin{tikzpicture}[use optics,blue] +\useasboundingbox (-.5,-1.5) rectangle (.5,1.5); +\node[lens] (L) at (0,0) {} ; +\draw[red,fill] (L.east focus) circle (2pt) ; +\end{tikzpicture} +& +\begin{tikzpicture}[use optics,blue] +\useasboundingbox (-.5,-1.5) rectangle (.5,1.5); +\node[lens] (L) at (0,0) {} ; +\draw[red,fill] (L.west focus) circle (2pt) ; +\end{tikzpicture} +& +\begin{tikzpicture}[use optics,blue] +\useasboundingbox (-.5,-1.5) rectangle (.5,1.5); +\node[lens] (L) at (0,0) {} ; +\draw[red,fill] (L.center) circle (2pt) ; +\end{tikzpicture} +\\ \hline +(\blll{L}.\RDD{lens north}) & (\blll{L}.\RDD{lens south}) & (\blll{L}.\RDD{east focus}) & (\blll{L}.\RDD{west focus}) & (\blll{L}.\RDD{center}) \\ +\hline +\end{tabular} + +\bigskip +\begin{tabular}{|c|c|c|} \hline +\multicolumn{3}{|c|}{\BS{node}[slit, slit height=0.5] (\blll{L}) at (0,0) \AC{} ;} \\ +\multicolumn{3}{|c|}{\BS{node}[red,fill] (\blll{L}.\RDD{slit north}) circle (2pt) ;} +\\ \hline +\begin{tikzpicture}[use optics,blue] +\useasboundingbox (-.5,-1.5) rectangle (.5,1.5); +\node[slit, slit height=0.5] (L) at (0,0) {} ; +\draw[red,fill] (L.slit north) circle (2pt) ; +\end{tikzpicture} +& +\begin{tikzpicture}[use optics,blue] +\useasboundingbox (-.5,-1.5) rectangle (.5,1.5); +\node[slit, slit height=0.5] (L) at (0,0) {} ; +\draw[red,fill] (L.slit south) circle (2pt) ; +\end{tikzpicture} +& +\begin{tikzpicture}[use optics,blue] +\useasboundingbox (-.5,-1.5) rectangle (.5,1.5); +\node[slit, slit height=0.5] (L) at (0,0) {} ; +\draw[red,fill] (L.slit center) circle (2pt) ; +\end{tikzpicture} +\\ \hline +(\blll{L}.\RDD{slit north}) & (\blll{L}.\RDD{slit south}) & (\blll{L}.\RDD{slit center}) \\ +\hline +\end{tabular} + + +\bigskip +\begin{tabular}{|c|c|c||c|c|c|} \hline +\multicolumn{6}{|c|}{\BS{node}[double slit,slit height=0.2,slit separation=0.5] (\blll{L}) at (0,0) \AC{} ;} \\ +\multicolumn{6}{|c|}{\BS{node}[red,fill] (\blll{L}.\RDD{slit 1 north}) circle (2pt) ;} +\\ \hline +\begin{tikzpicture}[use optics,blue] +\useasboundingbox (-.5,-1.5) rectangle (.5,1.5); +\node[double slit,slit height=0.2,slit separation=0.5] (L) at (0,0) {} ; +\draw[red,fill] (L.slit 1 north) circle (2pt) ; +\end{tikzpicture} +& +\begin{tikzpicture}[use optics,blue] +\useasboundingbox (-.5,-1.5) rectangle (.5,1.5); +\node[double slit,slit height=0.2,slit separation=0.5] (L) at (0,0) {} ; +\draw[red,fill] (L.slit 1 south) circle (2pt) ; +\end{tikzpicture} +& +\begin{tikzpicture}[use optics,blue] +\useasboundingbox (-.5,-1.5) rectangle (.5,1.5); +\node[double slit,slit height=0.2,slit separation=0.5] (L) at (0,0) {} ; +\draw[red,fill] (L.slit 1 center) circle (2pt) ; +\end{tikzpicture} +& +\begin{tikzpicture}[use optics,blue] +\useasboundingbox (-.5,-1.5) rectangle (.5,1.5); +\node[double slit,slit height=0.2,slit separation=0.5] (L) at (0,0) {} ; +\draw[red,fill] (L.slit 2 north) circle (2pt) ; +\end{tikzpicture} +& +\begin{tikzpicture}[use optics,blue] +\useasboundingbox (-.5,-1.5) rectangle (.5,1.5); +\node[double slit,slit height=0.2,slit separation=0.5] (L) at (0,0) {} ; +\draw[red,fill] (L.slit 2 south) circle (2pt) ; +\end{tikzpicture} +& +\begin{tikzpicture}[use optics,blue] +\useasboundingbox (-.5,-1.5) rectangle (.5,1.5); +\node[double slit,slit height=0.2,slit separation=0.5] (L) at (0,0) {} ; +\draw[red,fill] (L.slit 2 center) circle (2pt) ; +\end{tikzpicture} +\\ \hline +(\blll{L}.\RDD{slit 1 north}) & (\blll{L}.\RDD{slit 1 south}) & (\blll{L}.\RDD{slit 1 center})& (\blll{L}.\RDD{slit 2 north}) & (\blll{L}.\RDD{slit 2 south}) & (\blll{L}.\RDD{slit 2 center}) \\ +\hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|c|c|c|c|c|} \hline +\multicolumn{7}{|c|}{\BS{node}[spherical mirror] (\blll{L}) at (0,0) \AC{} ;} \\ +\multicolumn{7}{|c|}{\BS{node}[red,fill] (\blll{L}.\RDD{mirror center}) circle (2pt) ;} +\\ \hline +\begin{tikzpicture}[use optics,blue] +\useasboundingbox (-.5,-1.5) rectangle (.5,1.5); +\node[spherical mirror] (L) at (0,0) {} ; +\draw[red,fill] (L.mirror center) circle (2pt) ; +\end{tikzpicture} +& +\begin{tikzpicture}[use optics,blue] +\useasboundingbox (-.5,-1.5) rectangle (.5,1.5); +\node[spherical mirror] (L) at (0,0) {} ; +\draw[red,fill] (L.focus) circle (2pt) ; +\end{tikzpicture} +& +\begin{tikzpicture}[use optics,blue] +\useasboundingbox (-.5,-1.5) rectangle (.5,1.5); +\node[spherical mirror] (L) at (0,0) {} ; +\draw[red,fill] (L.arc start) circle (2pt) ; +\end{tikzpicture} +& +\begin{tikzpicture}[use optics,blue] +\useasboundingbox (-.5,-1.5) rectangle (.5,1.5); +\node[spherical mirror] (L) at (0,0) {} ; +\draw[red,fill] (L.arc center) circle (2pt) ; +\end{tikzpicture} +& +\begin{tikzpicture}[use optics,blue] +\useasboundingbox (-.5,-1.5) rectangle (.5,1.5); +\node[spherical mirror] (L) at (0,0) {} ; +\draw[red,fill] (L.arc end) circle (2pt) ; +\end{tikzpicture} +& +\begin{tikzpicture}[use optics,blue] +\useasboundingbox (-.5,-1.5) rectangle (.5,1.5); +\node[spherical mirror] (L) at (0,0) {} ; +\draw[red,fill] (L.45) circle (2pt) ; +\end{tikzpicture} +& +\begin{tikzpicture}[use optics,blue] +\useasboundingbox (-.5,-1.5) rectangle (.5,1.5); +\node[spherical mirror] (L) at (0,0) {} ; +\draw[red,fill] (L.-45) circle (2pt) ; +\end{tikzpicture} +\\ \hline +\blll{L}.\RDD{mirror center} & \blll{L}.\RDD{focus} & \blll{L}.\RDD{arc start} & \blll{L}.\RDD{arc center} +& \blll{L}.\RDD{arc end} & \blll{L}.\rouge{45} & \blll{L}.\rouge{-45} +\\ \hline +%\begin{tikzpicture}[use optics,blue] +%\useasboundingbox (-.5,-1.5) rectangle (.5,1.5); +%\node[spherical mirror] (L) at (0,0) {} ; +%\draw[red,fill] (L.arc end) circle (2pt) ; +%\end{tikzpicture} +%& +%\begin{tikzpicture}[use optics,blue] +%\useasboundingbox (-.5,-1.5) rectangle (.5,1.5); +%\node[spherical mirror] (L) at (0,0) {} ; +%\draw[red,fill] (L.45) circle (2pt) ; +%\end{tikzpicture} +%& +%\begin{tikzpicture}[use optics,blue] +%\useasboundingbox (-.5,-1.5) rectangle (.5,1.5); +%\node[spherical mirror] (L) at (0,0) {} ; +%\draw[red,fill] (L.-45) circle (2pt) ; +%\end{tikzpicture} +%& +% +%\\ \hline +%\blll{L}.\RDD{arc end} & \blll{L}.\rouge{45} & \blll{L}.\rouge{-45} & +%\\ \hline +\end{tabular} + + + +\SbSSCT{Lampes et capteurs}{Lights and sensors} + + + +\SbSbSSCT{Disponibles}{Available} + +\noindent + +\begin{tabular}{|c|c|c|c|}\hline +%\multicolumn{4}{|c|}{ Lampes et capteurs } +%\\ \hline +\multicolumn{4}{|c|}{ \BS{tikz}[use optics,scale=.5,blue] \BS{node}[\RDD{generic optics io}] (L) at (0,0) \AC{}; } +\\ \hline +\tikz[use optics,scale=.5,blue] \node[generic optics io] (S) at (0,0) {}; +& +\tikz[use optics,scale=.5,blue] \node[sensor line] (S) at (0,0) {}; +& +\tikz[use optics,scale=.5,blue] \node[generic sensor] (S) at (0,0) {}; +& +\tikz[use optics,scale=.5,blue] \node[generic lamp] (S) at (0,0) {}; +\\ +\hline +\RDD{generic optics io} & \RDD{sensor line} & \RDD{generic sensor} & \RDD{generic lamp} +\\ \hline +\tikz[use optics,scale=.5,blue] \node[halogen lamp] (S) at (0,0) {}; +%\node[halogen lamp] (S) at (5cm,0) {QI}; +& +\tikz[use optics,scale=.5,blue] \node[spectral lamp] (S) at (0,0) {}; +%\node[spectral lamp] (S) at (5cm,0) {{Hg} \\ BP}; +& +\tikz[use optics,scale=.5,blue] \node[laser] (S) at (0,0) {}; +%\node[laser] (S) at (5cm,0) {{HeNe}} +; +& +\tikz[use optics,scale=.5,blue] \node[laser'] (S) at (0,0) {}; +\\ \hline +\RDD{halogen lamp} & \RDD{spectral lamp } & \RDD{laser} & \RDD{laser'} +\\ \hline +\end{tabular} + +\SbSbSSCT{Paramètres}{Parameters} + +\noindent + +\begin{tabular}{|c|c|c|}\hline +\multicolumn{3}{|c|}{\BS{node}[\blll{generic optics io}, \RDD{io body height}=1.5cm](L) at (0,0) \AC{};} +\\ \hline +\multicolumn{3}{|c|}{ \TFRGB{Paramètres applicables pour}{Same parameters for } \blll{generic sensor} , \blll{generic lamp} , \blll{halogen lamp} , \blll{spectral lamp},\blll{laser} } +\\ \hline +\begin{tikzpicture}[use optics,blue,line width=2pt,baseline=0pt] +\useasboundingbox (-2.2,-1.2) rectangle (2.2,1.2); +\draw[help lines] (-2,-1) grid (2,1); +\node[generic optics io, io body height=1.5cm](L) at (0,0) {}; +\node[generic optics io,dotted,thick](A) at (0,0) {}; +\end{tikzpicture} +& +\begin{tikzpicture}[use optics,blue,line width=2pt,baseline=0pt] +\useasboundingbox (-2.2,-1.2) rectangle (2.2,1.2); +\draw[help lines] (-2,-1) grid (2,1); +\node[generic optics io, io body aspect ratio=4](L) at (0,0) {}; +\node[generic optics io,dotted,thick](A) at (0,0) {}; +\end{tikzpicture} +& +\begin{tikzpicture}[use optics,blue,line width=2pt,baseline=0pt] +\useasboundingbox (-2.2,-1.2) rectangle (2.2,1.2); +\draw[help lines] (-2,-1) grid (2,1); +\node[generic optics io,io body width=4](L) at (0,0) {}; +\node[generic optics io,dotted,thick](A) at (0,0) {}; +\end{tikzpicture} +\\ \hline +\RDD{io body height}=1.5cm & \RDD{io body aspect ratio}=4 & \RDD{io body width}=4 \\ +\hline +\dft{ 0.75cm} & \dft{ 2} & +\\ \hline \hline +\begin{tikzpicture}[use optics,blue,line width=2pt,baseline=0pt] +\useasboundingbox (-2.2,-1.2) rectangle (2.2,1.2); +\draw[help lines] (-2,-1) grid (2,1); +\node[generic optics io,io body width=3cm](L) at (0,0) {}; +\node[generic optics io,dotted,thick](A) at (0,0) {}; +\end{tikzpicture} +& +\begin{tikzpicture}[use optics,blue,line width=2pt,baseline=0pt] +\useasboundingbox (-2.2,-1.2) rectangle (2.2,1.2); +\draw[help lines] (-2,-1) grid (2,1); +\node[generic optics io,io aperture width=1](L) at (0,0) {}; +\node[generic optics io,dotted,thick](A) at (0,0) {}; +\end{tikzpicture} +& +\begin{tikzpicture}[use optics,blue,line width=2pt,baseline=0pt] +\useasboundingbox (-2.2,-1.2) rectangle (2.2,1.2); +\draw[help lines] (-2,-1) grid (2,1); +\node[generic optics io,io aperture width=1cm](L) at (0,0) {}; +\node[generic optics io,dotted,thick](A) at (0,0) {}; +\end{tikzpicture} +\\ \hline +\RDD{io body width}=3cm & \RDD{io aperture width}=1 & \RDD{io aperture width}=1cm +\\ \hline + & \multicolumn{2}{|c|}{\dft{ 0.33} } +\\ \hline \hline +\begin{tikzpicture}[use optics,blue,line width=2pt,baseline=0pt] +\useasboundingbox (-2.2,-1.2) rectangle (2.2,1.2); +\draw[help lines] (-2,-1) grid (2,1); +\node[generic optics io,io aperture height=2](L) at (0,0) {}; +\node[generic optics io,dotted,thick](A) at (0,0) {}; +\end{tikzpicture} +& +\begin{tikzpicture}[use optics,blue,line width=2pt,baseline=0pt] +\useasboundingbox (-2.2,-1.2) rectangle (2.2,1.2); +\draw[help lines] (-2,-1) grid (2,1); +\node[generic optics io,io aperture height=1cm](L) at (0,0) {}; +\node[generic optics io,dotted,thick](A) at (0,0) {}; +\end{tikzpicture} +& +\begin{tikzpicture}[use optics,blue,line width=2pt,baseline=0pt] +\useasboundingbox (-2.2,-1.2) rectangle (2.2,1.2); +\draw[help lines] (-2,-1) grid (2,1); +\node[generic optics io,io aperture shift=0.25](L) at (0,0) {}; +\node[generic optics io,dotted,thick](A) at (0,0) {}; +\end{tikzpicture} +\\ \hline +\RDD{io aperture height}=2 & \RDD{io aperture height}=1cm & \RDD{io aperture shift}=0.25 +\\ \hline +\multicolumn{2}{|c|}{\dft{ 0.66} } & \dft{ 0} +\\ \hline +%\end{tabular} +% +%\bigskip +% +%\begin{tabular}{|c|c|}\hline +\begin{tikzpicture}[use optics,blue,line width=2pt,baseline=0pt] +\useasboundingbox (-2.2,-1.2) rectangle (2.2,1.2); +\draw[help lines] (-2,-1) grid (2,1); +\node[generic optics io,io orientation=ltr](L) at (0,0) {}; +\end{tikzpicture} +& +\begin{tikzpicture}[use optics,blue,line width=2pt,baseline=0pt] +\useasboundingbox (-2.2,-1.2) rectangle (2.2,1.2); +\draw[help lines] (-2,-1) grid (2,1); +\node[generic optics io,io orientation=rtl](L) at (0,0) {}; +\end{tikzpicture} +& +\\ \hline \RDD{io orientation}=ltr & \RDD{io orientation}=rtl & +\\ \hline +\multicolumn{2}{|c|}{\dft{ ltr} } & +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|c|} \hline +\multicolumn{3}{|c|}{\BS{node}[sensor line, \RDD{sensor line height}=1.5cm](L) at (0,0) \AC{};} +\\ \hline +\begin{tikzpicture}[use optics,blue,line width=2pt,baseline=0pt] +\useasboundingbox (-2.2,-1.2) rectangle (2.2,1.2); +\draw[help lines] (-2,-1) grid (2,1); +\node[sensor line, sensor line height=1.5cm](L) at (0,0) {}; +\end{tikzpicture} +& +\begin{tikzpicture}[use optics,blue,line width=2pt,baseline=0pt] +\useasboundingbox (-2.2,-1.2) rectangle (2.2,1.2); +\draw[help lines] (-2,-1) grid (2,1); +\node[sensor line, sensor line aspect ratio=0.5](L) at (0,0) {}; +\end{tikzpicture} +& +\begin{tikzpicture}[use optics,blue,line width=2pt,baseline=0pt] +\useasboundingbox (-2.2,-1.2) rectangle (2.2,1.2); +\draw[help lines] (-2,-1) grid (2,1); +\node[sensor line, sensor line pixel number=10](L) at (0,0) {}; +\end{tikzpicture} +\\ \hline +\RDD{sensor line height}=1.5cm & \RDD{sensor line aspect ratio}=0.5 & \RDD{sensor line pixel number}=10 +\\ \hline +\dft{ 2cm} & \dft{ 0.2} & \dft{ 5} +\\ \hline + +\begin{tikzpicture}[use optics,blue,line width=2pt,baseline=0pt] +\useasboundingbox (-2.2,-1.2) rectangle (2.2,1.2); +\draw[help lines] (-2,-1) grid (2,1); +\node[sensor line,sensor line pixel width=0.8](L) at (0,0) {}; +\end{tikzpicture} +& +\begin{tikzpicture}[use optics,blue,line width=2pt,baseline=0pt] +\useasboundingbox (-2.2,-1.2) rectangle (2.2,1.2); +\draw[help lines] (-2,-1) grid (2,1); +\node[sensor line,sensor line pixel width=0.2cm](L) at (0,0) {}; +\end{tikzpicture} +& +\begin{tikzpicture}[use optics,blue,line width=2pt,baseline=0pt] +\useasboundingbox (-2.2,-1.2) rectangle (2.2,1.2); +\draw[help lines] (-2,-1) grid (2,1); +\node[sensor line,sensor line inner ysep=0.2](L) at (0,0) {}; +\end{tikzpicture} + +\\ \hline +\RDD{sensor line pixel width}=0.8 & \RDD{sensor line pixel width}=0.2cm & \RDD{sensor line inner ysep}=0.2 +\\ \hline +\multicolumn{2}{|c|}{\dft{0.4} } & \dft{ 0.05 } +\\ \hline +\end{tabular} + + +\SbSbSSCT{Points d'ancrages}{Anchors} + +\noindent + +\begin{tabular}{|c|c|c|c|c|} \hline +\begin{tikzpicture}[use optics,blue] +\useasboundingbox (-.5,-1.5) rectangle (.5,1.5); +\node[generic optics io,name=s] {}; +\draw[red,fill] (s.body north) circle (2pt) ; +\end{tikzpicture} +& +\begin{tikzpicture}[use optics,blue] +\useasboundingbox (-.5,-1.5) rectangle (.5,1.5); +\node[generic optics io,name=s] {}; +\draw[red,fill] (s.body south) circle (2pt) ; +\end{tikzpicture} +& +\begin{tikzpicture}[use optics,blue] +\useasboundingbox (-.5,-1.5) rectangle (.5,1.5); +\node[generic optics io,name=s] {}; +\draw[red,fill] (s.body east) circle (2pt) ; +\end{tikzpicture} +& +\begin{tikzpicture}[use optics,blue] +\useasboundingbox (-.5,-1.5) rectangle (.5,1.5); +\node[generic optics io,name=s] {}; +\draw[red,fill] (s.body west) circle (2pt) ; +\end{tikzpicture} +& +\begin{tikzpicture}[use optics,blue] +\useasboundingbox (-.5,-1.5) rectangle (.5,1.5); +\node[generic optics io,name=s] {}; +\draw[red,fill] (s.body center) circle (2pt) ; +\end{tikzpicture} +\\ \hline +s.body north & s.body south & s.body east & s.body west & s.body center +\\ \hline +\begin{tikzpicture}[use optics,blue] +\useasboundingbox (-.5,-1.5) rectangle (.5,1.5); +\node[generic optics io,name=s] {}; +\draw[red,fill] (s.body north east) circle (2pt) ; +\end{tikzpicture} +& +\begin{tikzpicture}[use optics,blue] +\useasboundingbox (-.5,-1.5) rectangle (.5,1.5); +\node[generic optics io,name=s] {}; +\draw[red,fill] (s.body north west) circle (2pt) ; +\end{tikzpicture} +& +\begin{tikzpicture}[use optics,blue] +\useasboundingbox (-.5,-1.5) rectangle (.5,1.5); +\node[generic optics io,name=s] {}; +\draw[red,fill] (s.body south east) circle (2pt) ; +\end{tikzpicture} +& +\begin{tikzpicture}[use optics,blue] +\useasboundingbox (-.5,-1.5) rectangle (.5,1.5); +\node[generic optics io,name=s] {}; +\draw[red,fill] (s.body south west) circle (2pt) ; +\end{tikzpicture} +& + +\\ \hline +s.body north east & s.body north west & s.body south east & s.body south west & +\\ \hline +%\end{tabular} +% +%\begin{tabular}{|c|c|c|c|c|} \hline +\begin{tikzpicture}[use optics,blue] +\useasboundingbox (-.5,-1.5) rectangle (.5,1.5); +\node[generic optics io,name=s] {}; +\draw[red,fill] (s.aperture north) circle (2pt) ; +\end{tikzpicture} +& +\begin{tikzpicture}[use optics,blue] +\useasboundingbox (-.5,-1.5) rectangle (.5,1.5); +\node[generic optics io,name=s] {}; +\draw[red,fill] (s.aperture south) circle (2pt) ; +\end{tikzpicture} +& +\begin{tikzpicture}[use optics,blue] +\useasboundingbox (-.5,-1.5) rectangle (.5,1.5); +\node[generic optics io,name=s] {}; +\draw[red,fill] (s.aperture east) circle (2pt) ; +\end{tikzpicture} +& +\begin{tikzpicture}[use optics,blue] +\useasboundingbox (-.5,-1.5) rectangle (.5,1.5); +\node[generic optics io,name=s] {}; +\draw[red,fill] (s.aperture west) circle (2pt) ; +\end{tikzpicture} +& +\begin{tikzpicture}[use optics,blue] +\useasboundingbox (-.5,-1.5) rectangle (.5,1.5); +\node[generic optics io,name=s] {}; +\draw[red,fill] (s.aperture center) circle (2pt) ; +\end{tikzpicture} +\\ \hline +s.aperture north & s.aperture south & s.aperture east & s.aperture west & s.aperture center +\\ \hline +\begin{tikzpicture}[use optics,blue] +\useasboundingbox (-.5,-1.5) rectangle (.5,1.5); +\node[generic optics io,name=s] {}; +\draw[red,fill] (s.aperture north east) circle (2pt) ; +\end{tikzpicture} +& +\begin{tikzpicture}[use optics,blue] +\useasboundingbox (-.5,-1.5) rectangle (.5,1.5); +\node[generic optics io,name=s] {}; +\draw[red,fill] (s.aperture north west) circle (2pt) ; +\end{tikzpicture} +& +\begin{tikzpicture}[use optics,blue] +\useasboundingbox (-.5,-1.5) rectangle (.5,1.5); +\node[generic optics io,name=s] {}; +\draw[red,fill] (s.aperture south east) circle (2pt) ; +\end{tikzpicture} +& +\begin{tikzpicture}[use optics,blue] +\useasboundingbox (-.5,-1.5) rectangle (.5,1.5); +\node[generic optics io,name=s] {}; +\draw[red,fill] (s.aperture south west) circle (2pt) ; +\end{tikzpicture} +& + +\\ \hline +s.aperture north east & s.aperture north west & s.aperture south east & s.aperture south west & +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|c|c|c|} \hline +\begin{tikzpicture}[use optics,blue] +\useasboundingbox (-.5,-1.5) rectangle (.5,1.5); +\node[sensor line,name=s,sensor line aspect ratio= .5] {}; +\draw[red,fill] (s.pixel 1 center) circle (2pt) ; +\end{tikzpicture} +& +\begin{tikzpicture}[use optics,blue] +\useasboundingbox (-.5,-1.5) rectangle (.5,1.5); +\node[sensor line,name=s,sensor line aspect ratio= .5] {}; +\draw[red,fill] (s.pixel 2 center) circle (2pt) ; +\end{tikzpicture} +& +\begin{tikzpicture}[use optics,blue] +\useasboundingbox (-.5,-1.5) rectangle (.5,1.5); +\node[sensor line,name=s,sensor line aspect ratio= .5] {}; +\draw[red,fill] (s.pixel 3 center) circle (2pt) ; +\end{tikzpicture} +& +\begin{tikzpicture}[use optics,blue] +\useasboundingbox (-.5,-1.5) rectangle (.5,1.5); +\node[sensor line,name=s,sensor line aspect ratio= .5] {}; +\draw[red,fill] (s.pixel 4 center) circle (2pt) ; +\end{tikzpicture} +& +\begin{tikzpicture}[use optics,blue] +\useasboundingbox (-.5,-1.5) rectangle (.5,1.5); +\node[sensor line,name=s,sensor line aspect ratio= .5] {}; +\draw[red,fill] (s.pixel 5 center) circle (2pt) ; +\end{tikzpicture} +\\ \hline +s.pixel 1 center & s.pixel 2 center & s.pixel 3 center & s.pixel 4 center & s.pixel 5 center +\\ \hline +\begin{tikzpicture}[use optics,blue] +\useasboundingbox (-.5,-1.5) rectangle (.5,1.5); +\node[sensor line,name=s,sensor line aspect ratio= .5] {}; +\draw[red,fill] (s.pixel 3 east) circle (2pt) ; +\end{tikzpicture} +& +\begin{tikzpicture}[use optics,blue] +\useasboundingbox (-.5,-1.5) rectangle (.5,1.5); +\node[sensor line,name=s,sensor line aspect ratio= .5] {}; +\draw[red,fill] (s.pixel 3 west) circle (2pt) ; +\end{tikzpicture} +& +\begin{tikzpicture}[use optics,blue] +\useasboundingbox (-.5,-1.5) rectangle (.5,1.5); +\node[sensor line,name=s,sensor line aspect ratio= .5] {}; +\draw[red,fill] (s.pixel 3 south) circle (2pt) ; +\end{tikzpicture} +& +\begin{tikzpicture}[use optics,blue] +\useasboundingbox (-.5,-1.5) rectangle (.5,1.5); +\node[sensor line,name=s,sensor line aspect ratio= .5] {}; +\draw[red,fill] (s.pixel 3 north) circle (2pt) ; +\end{tikzpicture} +& + +\\ \hline +s.pixel 3 east & s.pixel 3 west & s.pixel 3 south & s.pixel 3 north & +\\ \hline +\begin{tikzpicture}[use optics,blue] +\useasboundingbox (-.5,-1.5) rectangle (.5,1.5); +\node[sensor line,name=s,sensor line aspect ratio= .5] {}; +\draw[red,fill] (s.pixel 3 north east) circle (2pt) ; +\end{tikzpicture} +& +\begin{tikzpicture}[use optics,blue] +\useasboundingbox (-.5,-1.5) rectangle (.5,1.5); +\node[sensor line,name=s,sensor line aspect ratio= .5] {}; +\draw[red,fill] (s.pixel 3 north west) circle (2pt) ; +\end{tikzpicture} +& +\begin{tikzpicture}[use optics,blue] +\useasboundingbox (-.5,-1.5) rectangle (.5,1.5); +\node[sensor line,name=s,sensor line aspect ratio= .5] {}; +\draw[red,fill] (s.pixel 3 south east) circle (2pt) ; +\end{tikzpicture} +& +\begin{tikzpicture}[use optics,blue] +\useasboundingbox (-.5,-1.5) rectangle (.5,1.5); +\node[sensor line,name=s,sensor line aspect ratio= .5] {}; +\draw[red,fill] (s.pixel 3 south west) circle (2pt) ; +\end{tikzpicture} +& + +\\ \hline +s.pixel 3 north east & s.pixel 3 north west & s.pixel 3 south east & s.pixel 3 south west & +\\ \hline +\end{tabular} + +\SbSSCT{Outils}{Tools} + + +\SbSbSSCT{Marquer des rayons}{Marks on the ray} + +\noindent + +\begin{tabular}{|c|c|c|c|c|c|}\hline +\multicolumn{6}{|c|}{\BS{draw} [\rouge{->-}] (0,0) -- (1.5,1;} +\\ \hline +\begin{tikzpicture}[use optics,blue,line width=1pt,baseline=0pt] +\draw[->-] (0,0) -- (1.5cm,1cm); +\end{tikzpicture} +& +\begin{tikzpicture}[use optics,blue,line width=1pt,baseline=0pt] +\draw[-<-] (0,0) -- (1.5cm,1cm); +\end{tikzpicture} +& +\begin{tikzpicture}[use optics,blue,line width=1pt,baseline=0pt] +\draw[->>-] (0,0) -- (1.5cm,1cm); +\end{tikzpicture} +& +\begin{tikzpicture}[use optics,blue,line width=1pt,baseline=0pt] +\draw[->n-={n=4}] (0,0) -- (1.5cm,1cm); +\end{tikzpicture} +& +\begin{tikzpicture}[use optics,blue,line width=1pt,baseline=0pt] +\draw[->n-={n=5,at=0.25}] (0,0) -- (1.5cm,1cm); +\end{tikzpicture} +& +\begin{tikzpicture}[use optics,blue,line width=1pt,baseline=0pt] +\draw[->>-={at=0.25}, ->-={at=0.75}] (0,0) -- (1.5cm,1.1cm); +\end{tikzpicture} +\\ \hline +[\rouge{->-}] & [\rouge{-<-}] & [\rouge{-> >-}] & [->\rouge{n}-=\AC{\RDD{n}=4}] & [->n=\AC{n=5,\RDD{at}=0.25}] & [-> >-={\RDD{at}=0.25}, ->-=\AC{\RDD{at}=0.75}] +\\ +\hline +\end{tabular} + + +\bigskip + +\noindent +\begin{tabular}{|c|c|c|c|} \hline +\multicolumn{4}{|c|}{\BS{draw} [\RDD{put arrow}] (0,0) to[bend left=120] (2,0);} +\\ \hline +\begin{tikzpicture}[use optics,blue] +\draw[put arrow] (0,0) to[bend left=120] (1.5,1); +\end{tikzpicture} +& +\begin{tikzpicture}[use optics,blue] +\draw[put arrow={arrow'}] (0,0) to[bend left=120](1.5cm,1cm); +\end{tikzpicture} +& +\begin{tikzpicture}[use optics,blue] +\draw[put arrow={at=0.2}] (0,0) to[bend left=120] (1.5cm,1cm); +\end{tikzpicture} +& +\begin{tikzpicture}[use optics,blue] +\draw[put arrow={style=red}] (0,0) to[bend left=120] (1.5cm,1cm); +\end{tikzpicture} +\\ \hline +[\RDD{put arrow}] & [put arrow=\AC{\RDD{arrow'}}] & [put arrow=\AC{\RDD{at}=0.2}]& [put arrow=\AC{\RDD{style}=red}] \\ +\hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|c|c|} \hline +\begin{tikzpicture}[use optics,blue] +\draw[red,put arrow={arrow=latex}](0,0) to[bend left=120] (1.5cm,1cm); +\end{tikzpicture} +& +\begin{tikzpicture}[use optics,blue] +\draw[put arrow={arrow'=Kite}](0,0) to[bend left=120] (1.5cm,1cm); +\end{tikzpicture} +& +\begin{tikzpicture}[use optics,blue] +\draw[put arrow={pos=.25}](0,0) to[bend left=120] (1.5cm,1cm); +\end{tikzpicture} +\\ \hline +[red,put arrow=\AC{\RDD{arrow}=latex}] & [put arrow=\AC{\RDD{arrow'}=Kite}] & [put arrow=\AC{\RDD{pos}=.25}] +\\ \hline +& & \dft{ pos=0.5} +\\ \hline +\end{tabular} + + +\bigskip + +\begin{tabular}{|c|} \hline +\BS{draw}[red, put arrow/\RDD{every arrow}/.style=\AC{blue}, +put arrow=\AC{at=0.2},\\ put arrow=\AC{at=0.5}, put arrow=\AC{at=0.8}] +(0,0) -- (5,0); +\\ \hline +\begin{tikzpicture}[use optics] +\useasboundingbox (-0.5,-1.2) rectangle (5.5,1.2); +\draw[help lines] (0,-1) grid (5,1); +\draw[red, put arrow/every arrow/.style={blue}, +put arrow={at=0.2}, put arrow={at=0.5}, put arrow={at=0.8}] +(0,0) -- (5,0); +\end{tikzpicture} +\\ \hline +\end{tabular} + + + +\bigskip + +\begin{tabular}{|c|c|} \hline +\begin{tikzpicture}[use optics,baseline=0pt,blue] +\draw[put coordinate=A at 0.1,put coordinate=B at 0.9] (0,0) -- (1.5cm,1cm) -- (3cm, 0) -- (4.5cm,1cm); +\draw[red] (A) -- (B); +\fill(A) circle (2pt) node[above] {A} ; +\fill(B) circle (2pt) node[above] {B} ; +\end{tikzpicture} +& +\parbox{10cm}{ +\BS{begin}\AC{tikzpicture}[use optics,blue] \\ +\BS{draw}[\RDD{put coordinate}=\blll{A} at 0.1,\RDD{put coordinate}=\blll{B} at 0.9] \\ (0,0) - - (1.5,1) - - (3, 0) - - (4.5,1); \\ +\BS{draw}[red] (\blll{A}) - - (\blll{B});\\ +\BS{fill}(A) circle (2pt) node[above] \AC{\blll{A}} ;\\ +\BS{fill}(B) circle (2pt) node[above] \AC{\blll{B}} ;\\ +\BS{end}\AC{tikzpicture} +} +\\ \hline +& Point A à 10\% , point B à 90\% +\\ \hline +\end{tabular} + +\bigskip + + +\begin{tabular}{|c|c|}\hline +\begin{tikzpicture}[use optics,baseline=0pt] +\node[halogen lamp] (quartz iode) at (0,0) {Q.I.}; +\node[heat filter,right=0.5cm of quartz iode.aperture east] (AC) {}; +\node[slit,right=0.75cm of AC] (fente) {}; +\node[lens,right=2cm of fente] (L) {}; +\node[screen,right=3cm of fente] (screen) {}; +\end{tikzpicture} +& +\parbox{10.5cm}{ +\BS{begin}\AC{tikzpicture}[use optics] \\ +\BS{node}[halogen lamp] (\blll{quartz iode}) at (0,0) \AC{Q.I.};\\ +\BS{node}[heat filter,\RDD{right}=0.5cm \rouge{of} \blll{quartz iode}.aperture east] (\blll{AC}) \AC{};\\ +\BS{node}[slit,\RDD{right}=0.75cm \rouge{of} \blll{AC}] (\blll{fente}) \AC{};\\ +\BS{node}[lens,\RDD{right}=2cm \rouge{of} \blll{fente}] (L) \AC{};\\ +\BS{node}[screen,\RDD{right}=3cm \rouge{of} \blll{fente}] (screen) \AC{};\\ +\BS{end}\AC{tikzpicture} +} +\\ \hline +\end{tabular} + + + + +\SbSbSSCT{Cotation}{Dimensions indicating} + +\noindent + +\begin{tabular}{|c|c|c|}\hline +\multicolumn{3}{|c|}{\BS{draw} (0,0) to[\RDD{short dim arrow}=\AC{\RDD{label}=2cm}] (2,0);} +\\ \hline +\begin{tikzpicture}[use optics,blue] +\useasboundingbox (-1.5,-1.2) rectangle (3.5,1.2); +\draw[help lines] (-1,-1) grid (3,1); +\draw[line width=2pt,dashed] (0,0) -- (2,0); +\draw (0,0) to[dim arrow={label=2cm}] (2,0); +\end{tikzpicture} +& +\begin{tikzpicture}[use optics,blue] +\useasboundingbox (-1.5,-1.2) rectangle (3.5,1.2); +\draw[help lines] (-1,-1) grid (3,1); +\draw[line width=2pt,dashed] (0,0) -- (2,0); +\draw (0,0) to[dim arrow={label'=2cm}] (2,0); +\end{tikzpicture} +& +\begin{tikzpicture}[use optics,blue] +\useasboundingbox (-1.5,-1.2) rectangle (3.5,1.2); +\draw[help lines] (-1,-1) grid (3,1); +\draw[line width=2pt,dashed] (0,0) -- (2,0); +\draw (0,0) to[dim arrow={label=2cm,label style/.append style=red}] (2,0); +\end{tikzpicture} + +\\ \hline +[\RDD{dim arrow}=\AC{\RDD{label}=2cm}] & to[dim arrow=\AC{\RDD{label'}=2cm}] & [dim arrow=\{label=2cm, \\ + & & \RDD{label style}/.append style=red\}] +\\ \hline +\begin{tikzpicture}[use optics,blue] +\useasboundingbox (-1.5,-1.2) rectangle (3.5,2.2); +\draw[help lines] (-1,-1) grid (3,2); +\draw[line width=2pt,dashed] (0,0) -- (2,0); +\draw (0,0) to[dim arrow={label=2cm,raise=1cm}] (2,0); +\end{tikzpicture} +& +\begin{tikzpicture}[use optics,blue] +\useasboundingbox (-1.5,-1.2) rectangle (3.5,2.2); +\draw[help lines] (-1,-1) grid (3,2); +\draw[line width=2pt,dashed] (0,0) -- (2,0); +\draw (0,0) to[dim arrow={label=2cm,no raise},red] (2,0); +\end{tikzpicture} +& +\begin{tikzpicture}[use optics,blue] +\useasboundingbox (-1.5,-1.2) rectangle (3.5,2.2); +\draw[help lines] (-1,-1) grid (3,2); +\draw[line width=2pt,dashed] (0,0) -- (2,0); +\draw (0,0) to[dim arrow'={label=2cm}] (2,0); +\end{tikzpicture} +\\ \hline +[dim arrow=\AC{label=2cm,\RDD{raise}=1cm}] & [dim arrow=\AC{label=2cm,\RDD{no raise}},red] & [\RDD{dim arrow'}=\AC{label=2cm}] +\\ \hline +\dft{ raise = 0.5cm} & & +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|}\hline +\multicolumn{2}{|c|}{\BS{draw} (0,0) to[\RDD{short dim arrow}=\AC{label=2cm}] (2,0);} +\\ \hline +\begin{tikzpicture}[use optics,blue] +\useasboundingbox (-1.5,-1.2) rectangle (3.5,1.2); +\draw[help lines] (-1,-1) grid (3,1); +\draw[line width=2pt,dashed] (0,0) -- (2,0); +\draw (0,0) to[short dim arrow={label=2cm}] (2,0); +\end{tikzpicture} +& +\begin{tikzpicture}[use optics,blue] +\useasboundingbox (-1.5,-1.2) rectangle (3.5,1.2); +\draw[help lines] (-1,-1) grid (3,1); +\draw[line width=2pt,dashed] (0,0) -- (2,0); +\draw (0,0) to[short dim arrow={label=2cm,arrow length=1cm}] (2,0); +\end{tikzpicture} +\\ \hline +[\RDD{short dim arrow}=\AC{label=2cm}] & +[short dim arrow=\AC{label=2cm,\RDD{arrow length}=1cm}] +\\ \hline +& \dft{ arrow length= 5mm} +\\ \hline +\begin{tikzpicture}[use optics,blue] +\useasboundingbox (-1.5,-1.2) rectangle (3.5,1.2); +\draw[help lines] (-1,-1) grid (3,1); +\draw[line width=2pt,dashed] (0,0) -- (2,0); +\draw (0,0) to[short dim arrow={label=2cm,label near end}] (2,0); +\end{tikzpicture} +& +\begin{tikzpicture}[use optics,blue] +\useasboundingbox (-1.5,-1.2) rectangle (3.5,1.2); +\draw[help lines] (-1,-1) grid (3,1); +\draw[line width=2pt,dashed] (0,0) -- (2,0); +\draw (0,0) to[short dim arrow={label=2cm,label near middle}] (2,0); +\end{tikzpicture} + +\\ \hline +[short dim arrow=\AC{label=2cm,\RDD{label near end}}] & [short dim arrow=\AC{label=2cm,\RDD{label near middle}}] +\\ \hline +\multicolumn{2}{|c|}{\dft{ label near start}} +\\ \hline +\end{tabular} diff --git a/info/visualtikz/Source/tkzpage.tex b/info/visualtikz/Source/tkzpage.tex new file mode 100644 index 0000000000..dfffe3193d --- /dev/null +++ b/info/visualtikz/Source/tkzpage.tex @@ -0,0 +1,55 @@ + +\begin{tikzpicture}[remember picture,overlay,red] +\fill(current page.north) circle (5pt) node[below left=4mm] {\Huge north} ; +\fill(current page.north east) circle (5pt) node[below left=4mm] {\Huge north east} ; +\fill(current page.north west) circle (5pt) node[below right=4mm] {\Huge north west} ; +\fill(current page.east) circle (5pt) node[above left=4mm] {\Huge east} ; +\fill(current page.center) circle (5pt) node[above left=4mm] {\Huge center} ; +\fill(current page.west) circle (5pt) node[above right=4mm] {\Huge west} ; +\fill(current page.south) circle (5pt) node[above right=4mm] {\Huge south} ; +\fill(current page.south west) circle (5pt) node[above right=4mm] {\Huge south west} ; +\fill(current page.south east) circle (5pt) node[above left=4mm] {\Huge south east} ; +\end{tikzpicture} + +\begin{tabular}{|l|} \hline +\BS{begin}\AC{tikzpicture}[remember picture,overlay]\\ +\BS{fill}(\RDD{current page.north}) circle (5pt) node[below left=4mm] {\BS{Huge} north} ; \\ +\BS{fill}(\RDD{current page.north east}) circle (5pt) node[below left=4mm] {\BS{Huge} north east} ;\\ +\BS{fill}(\RDD{current page.north west}) circle (5pt) node[below right=4mm] {\BS{Huge} north west} ;\\ +\BS{fill}(\RDD{current page.east}) circle (5pt) node[above left=4mm] {\BS{Huge} east} ;\\ +\BS{fill}(\RDD{current page.center}) circle (5pt) node[above left=4mm] {\BS{Huge}center} ;\\ +\BS{fill}(\RDD{current page.west}) circle (5pt) node[above right=4mm] {\BS{Huge} west} ;\\ +\BS{fill}(\RDD{current page.south}) circle (5pt) node[above right=4mm] {\BS{Huge} south} ;\\ +\BS{fill}(\RDD{current page.south west}) circle (5pt) node[above right=4mm] {\BS{Huge} south west} ;\\ +\BS{fill}(\RDD{current page.south east}) circle (5pt) node[above left=4mm] {\BS{Huge} south east} ;\\ +\BS{end}\AC{tikzpicture} \\ +\hline +\end{tabular} + + \begin{tikzpicture}[remember picture,overlay,red] + \node [opacity=.15] at (current page.center) {\includegraphics[width=8cm]{tiger} }; + \end{tikzpicture} +\bigskip + +\begin{tabular}{|l|} \hline +\BS{begin}\AC{tikzpicture}[remember picture,overlay]\\ + \BS{node} [opacity=.15] at (\RDD{current page.center}) \AC{\BS{includegraphics}[width=8cm]\AC{tiger} };\\ +\BS{end}\AC{tikzpicture} \\ +\hline +\end{tabular} + + + \begin{tikzpicture}[remember picture,overlay,red] +\draw[dotted,opacity=.4] (current page.south west) -- (current page.north east) node[near start] {\Huge TIKZ} ; + \end{tikzpicture} + +\bigskip +\begin{tabular}{|l|} \hline +\BS{begin}\AC{tikzpicture}[remember picture,overlay]\\ +\BS{draw}[dotted,opacity=.4] (\RDD{current page.south west}) - - (\RDD{current page.north east}) \\ +\hspace{1cm} node[near start] \AC{\BS{Huge} TIKZ} ;\\ +\BS{end}\AC{tikzpicture} \\ +\hline +\end{tabular} + +\newpage
\ No newline at end of file diff --git a/info/visualtikz/Source/tkzpeople.tex b/info/visualtikz/Source/tkzpeople.tex new file mode 100644 index 0000000000..22744cdeeb --- /dev/null +++ b/info/visualtikz/Source/tkzpeople.tex @@ -0,0 +1,533 @@ +\SbSSCT{Le peuple TikZ}{Tikzpeople} + +\label{people} + + \maboite{\BS{usepackage}\AC{tikzpeople} \cite {tikzpeople} \footnote{ conflit \BS{usetikzlibrary}\AC{patterns} page \pageref{lib-patterns} : placer cette commande en premier} } + +\bigskip +\begin{tabular}{|c|c|}\hline +\BS{tikz} \BS{node}[\RDD{alice}] at (0,0) {}; & \tikz \node[alice] at (0,0) {};\\ +\hline +\end{tabular} + +\SbSbSSCT{Personages disponibles}{available characters} + +\noindent + + + +\begin{tabular}{|c|c|c|c|c|c|c|}\hline +\multicolumn{7}{|c|}{ \BS{tikz} \BS{node}[\RDD{alice},minimum size=1.5cm] at (0,0) {}; } +\\ \hline +\tikz \node[alice,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[bob,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[bride,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[builder,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[businessman,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[charlie,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[chef,minimum size=1.5cm] at (0,0) {}; +\\ \hline +\RDD{alice} & \RDD{bob} & \RDD{bride} & \RDD{builder} & \RDD{businessman} & \RDD{charlie} & \RDD{chef} +\\ \hline +\tikz \node[conductor,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[cowboy,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[criminal,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[dave,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[graduate,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[groom,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[guard,minimum size=1.5cm] at (0,0) {}; +\\ \hline +\RDD{conductor} & \RDD{cowboy} & \RDD{criminal} & \RDD{dave} & \RDD{graduate} & \RDD{groom} & \RDD{guard} +\\ \hline +\tikz \node[jester,minimum size=1.5cm] at (0,0) {}; & +%\tikz \node[judge,minimum size=1.5cm] at (0,0) {}; +& +\tikz \node[mexican,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[nun,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[nurse,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[physician,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[pilot,minimum size=1.5cm] at (0,0) {};\\ \hline +\RDD{jester} & \RDD{judge} & \RDD{mexican} & \RDD{nun} & \RDD{nurse} & \RDD{physician} +& \RDD{pilot} +\\ \hline + +\tikz \node[police,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[priest,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[sailor,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[santa,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[surgeon,minimum size=1.5cm] at (0,0) {};& & \\ +\hline \RDD{police} & \RDD{priest} & \RDD{sailor} & \RDD{santa} & \RDD{surgeon} & & \\ +\hline +\end{tabular} + +\subsubsection{Options} + +\noindent + +\begin{tabular}{|c|c|c|c|c|}\hline +\multicolumn{5}{|c|}{ \BS{tikz} \BS{node}[businessman,\RDD{evil},minimum size=1.5cm] at (0,0) {}; } +\\ \hline +\tikz \node[businessman,evil,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[businessman,female,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[businessman,good,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[businessman,mirrored,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[businessman,monitor,minimum size=1.5cm] at (0,0) {}; +\\ \hline +\RDD{evil} & \RDD{female} & \RDD{good} & \RDD{mirrored} & \RDD{monitor} + +\\ \hline +\end{tabular} + +\SbSbSSCT{Point d'ancrage spécifique}{Anchor specific} + +\noindent + +\begin{tabular}{|c|c|} \hline +\begin{tikzpicture}[baseline=0pt,blue] + \node[name=a,shape=bob,minimum +size=1.5cm] {}; + \node at (1.25,.5) [ellipse callout, draw, +callout absolute pointer={(a.mouth)}, +font=\tiny] {Hey!}; +\end{tikzpicture} +& +\parbox{12cm}{ +\BS{begin}\AC{tikzpicture}[blue] \\ +\BS{node}[name=a,shape=bob,minimum size=1.5cm] \AC{};\\ +\BS{node} at (1.25,.5) [ellipse callout, draw, +callout absolute pointer\AC{(a.\RDD{mouth})}, +font=\BS{tiny}] {Hey!};\\ +\BS{end}\AC{tikzpicture} \\ +} +\\ \hline +\end{tabular} + + +\SbSbSSCT{Couleurs }{Colors} + +\noindent + + +\begin{tabular}{|c|c|c|c|}\hline +\multicolumn{4}{|c|}{ \BS{tikz} \BS{node}[\blll{alice},\RDD{hair}=red,minimum size=1.5cm] at (0,0) {}; } +\\ \hline +\tikz \node[alice,hair=red,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[alice,skin=red,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[alice,shirt=red,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[alice,undershirt=red,minimum size=1.5cm] at (0,0) {}; +\\ \hline +\RDD{hair}=red & \RDD{skin}=red & \RDD{shirt}=red & \RDD{details}=red + +\\ \hline +\end{tabular} + +\bigskip +\begin{tabular}{|c|c|c|c|}\hline +\multicolumn{4}{|c|}{ \BS{tikz} \BS{node}[\blll{bob},\RDD{hair}=red,minimum size=1.5cm] at (0,0) {}; } +\\ \hline +\tikz \node[bob,hair=red,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[bob,skin=red,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[bob,shirt=red,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[bob,details=red,minimum size=1.5cm] at (0,0) {}; +\\ \hline +\RDD{hair}=red & \RDD{skin}=red & \RDD{shirt}=red & \RDD{details}=red +\\ \hline +\end{tabular} + +\bigskip +\begin{tabular}{|c|c|c|c|c|}\hline +\multicolumn{5}{|c|}{ \BS{tikz} \BS{node}[\blll{bride},\RDD{hair}=red,minimum size=1.5cm] at (0,0) {}; } +\\ \hline +\tikz \node[bride,hair=red,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[bride,skin=red,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[bride,shirt=red,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[bride,pearls=red,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[bride,veil=red,minimum size=1.5cm] at (0,0) {}; +\\ \hline +\RDD{hair}=red & \RDD{skin}=red & \RDD{shirt}=red & \RDD{pearls}=red & \RDD{veil}=red + +\\ \hline +\end{tabular} + +\bigskip +\begin{tabular}{|c|c|c|c|c|}\hline +\multicolumn{5}{|c|}{ \BS{tikz} \BS{node}[\blll{builder},\RDD{hair}=red,minimum size=1.5cm] at (0,0) {}; } +\\ \hline +\tikz \node[builder,hair=red,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[builder,skin=red,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[builder,shirt=red,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[builder,trousers=red,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[builder,hat=red,minimum size=1.5cm] at (0,0) {}; +\\ \hline +\RDD{hair}=red & \RDD{skin}=red & \RDD{shirt}=red & \RDD{trousers}=red & \RDD{hat}=red +\\ \hline +\end{tabular} + +\bigskip +\begin{tabular}{|c|c|c|c|c|c|}\hline +\multicolumn{6}{|c|}{ \BS{tikz} \BS{node}[\blll{businessman},\RDD{hair}=red,minimum size=1.5cm] at (0,0) {}; } +\\ \hline +\tikz \node[businessman,hair=red,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[businessman,skin=red,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[businessman,shirt=red,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[businessman,tie=red,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[businessman,undershirt=red,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[businessman,monogram=red,minimum size=1.5cm] at (0,0) {}; +\\ \hline +\RDD{hair}=red & \RDD{skin}=red & \RDD{shirt}=red & \RDD{tie}=red & \RDD{undershirt}=red & \RDD{monogram}=red +\\ \hline +\end{tabular} + + +\bigskip +\begin{tabular}{|c|c|c|c|}\hline +\multicolumn{4}{|c|}{ \BS{tikz} \BS{node}[\blll{charlie},\RDD{hair}=red,minimum size=1.5cm] at (0,0) {}; } +\\ \hline +\tikz \node[charlie,hair=red,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[charlie,skin=red,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[charlie,shirt=red,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[charlie,buttons=red,minimum size=1.5cm] at (0,0) {}; + +\\ \hline +\RDD{hair}=red & \RDD{skin}=red & \RDD{shirt}=red & \RDD{buttons}=red +\\ \hline +\end{tabular} + + +\bigskip +\begin{tabular}{|c|c|c|c|c|}\hline +\multicolumn{5}{|c|}{ \BS{tikz} \BS{node}[\blll{chef},\RDD{hair}=red,minimum size=1.5cm] at (0,0) {}; } +\\ \hline +\tikz \node[chef,hair=red,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[chef,skin=red,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[chef,shirt=red,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[chef,hat=red,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[chef,details=red,minimum size=1.5cm] at (0,0) {}; +\\ \hline +\RDD{hair}=red & \RDD{skin}=red & \RDD{shirt}=red & \RDD{hat}=red & \RDD{details}=red +\\ \hline +\end{tabular} + + +\bigskip +\begin{tabular}{|c|c|c|c|c|}\hline +\multicolumn{5}{|c|}{ \BS{tikz} \BS{node}[\blll{conductor},\RDD{hair}=red,minimum size=1.5cm] at (0,0) {}; } +\\ \hline +\tikz \node[conductor,hair=red,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[conductor,skin=red,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[conductor,shirt=red,minimum size=1.5cm] at (0,0) {}; & \tikz \node[conductor,hat=red,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[conductor,hatshield=red,minimum size=1.5cm] at (0,0) {}; +\\ \hline +\RDD{hair}=red & \RDD{skin}=red & \RDD{shirt}=red & \RDD{hat}=red & \RDD{hatshield}=red +\\ \hline +\tikz \node[conductor,undershirt=red,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[conductor,tie=red,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[conductor,hatbadge=red,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[conductor,badge=red,minimum size=1.5cm] at (0,0) {}; & +\\ \hline +\RDD{undershirt}=red & \RDD{shirt}=red & \RDD{hatbadge}=red & \RDD{badge}=red & +\\ \hline +\end{tabular} + +\bigskip +\begin{tabular}{|c|c|c|c|}\hline +\multicolumn{4}{|c|}{ \BS{tikz} \BS{node}[\blll{cowboy},\RDD{hair}=red,minimum size=1.5cm] at (0,0) {}; } +\\ \hline +\tikz \node[cowboy,hair=red,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[cowboy,skin=red,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[cowboy,shirt=green,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[cowboy,hat=red,minimum size=1.5cm] at (0,0) {}; +\\ \hline +\RDD{hair}=red & \RDD{skin}=red & \RDD{shirt}=green & \RDD{hat}=red +\\ \hline +\tikz \node[cowboy,patches=red,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[cowboy,tie=green ,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[cowboy,stitching=red,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[cowboy,vest=red,minimum size=1.5cm] at (0,0) {}; +\\ \hline +\RDD{patches}=red & \RDD{tie}=green & \RDD{stitching}=red & \RDD{vest}=red +\\ \hline +\end{tabular} + + +\bigskip +\begin{tabular}{|c|c|c|c|}\hline +\multicolumn{4}{|c|}{ \BS{tikz} \BS{node}[\blll{criminal},\RDD{hat}=red,minimum size=1.5cm] at (0,0) {}; } +\\ \hline +\tikz \node[criminal,hat=red,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[criminal,skin=red,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[criminal,shirt=red,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[criminal,details=red,minimum size=1.5cm] at (0,0) {}; +\\ \hline +\RDD{hat}=red & \RDD{skin}=red & \RDD{shirt}=red & \RDD{details}=red +\\ \hline +\end{tabular} + +\bigskip +\begin{tabular}{|c|c|c|c|c|}\hline +\multicolumn{5}{|c|}{ \BS{tikz} \BS{node}[\blll{dave},\RDD{hair}=red,minimum size=1.5cm] at (0,0) {}; } +\\ \hline +\tikz \node[dave,hair=red,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[dave,skin=red,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[dave,shirt=red,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[dave,undershirt=green,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[dave,tie=green,minimum size=1.5cm] at (0,0) {}; +\\ \hline +\RDD{hair}=red & \RDD{skin}=red & \RDD{shirt}=red & \RDD{undershirt}=green & \RDD{tie}=green +\\ \hline +\end{tabular} + +\bigskip +\begin{tabular}{|c|c|c|c|c|c|}\hline +\multicolumn{6}{|c|}{ \BS{tikz} \BS{node}[\blll{graduate},\RDD{hair}=red,minimum size=1.5cm] at (0,0) {}; } +\\ \hline +\tikz \node[graduate,hair=red,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[graduate,skin=red,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[graduate,shirt=red,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[graduate,undershirt=red,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[graduate,stripes=red,minimum size=1.5cm] at (0,0) {}; +& +\tikz \node[graduate,hat=red,minimum size=1.5cm] at (0,0) {}; +\\ \hline +\RDD{hair}=red & \RDD{skin}=red & \RDD{shirt}=red & \RDD{undershirt}=red & \RDD{stripes}=red & \RDD{hat}=red +\\ \hline +\end{tabular} + +\bigskip +\begin{tabular}{|c|c|c|c|c|c|}\hline +\multicolumn{6}{|c|}{ \BS{tikz} \BS{node}[\blll{groom},\RDD{hair}=red,minimum size=1.5cm] at (0,0) {}; } +\\ \hline +\tikz \node[groom,hair=red,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[groom,skin=red,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[groom,shirt=red,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[groom,undershirt=green,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[groom,tie=green,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[groom,hat=red,minimum size=1.5cm] at (0,0) {}; +\\ \hline +\RDD{hair}=red & \RDD{skin}=red & \RDD{shirt}=red & \RDD{undershirt}=green & \RDD{tie}=green & \RDD{hat}=red +\\ \hline +\end{tabular} + + +\bigskip +\begin{tabular}{|c|c|c|c|c|c|}\hline +\multicolumn{6}{|c|}{ \BS{tikz} \BS{node}[\blll{guard},\RDD{hat}=red,minimum size=1.5cm] at (0,0) {}; } +\\ \hline +\tikz\node[guard,hat=red,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[guard,skin=red,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[guard,shirt=red,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[guard,collar=red,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[guard,lining=red,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[guard,details=red,minimum size=1.5cm] at (0,0) {}; +\\ \hline +\RDD{hat}=red & \RDD{skin}=red & \RDD{shirt}=red & \RDD{collar}=red & \RDD{lining}=red & \RDD{details}=red +\\ \hline +\end{tabular} + + +\bigskip +\begin{tabular}{|c|c|c|c|c|c|}\hline +\multicolumn{6}{|c|}{ \BS{tikz} \BS{node}[\blll{jester},\RDD{hat}=red,minimum size=1.5cm] at (0,0) {}; } +\\ \hline +\tikz \node[jester,hair=red,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[jester,skin=red,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[jester,shirt=yellow,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[jester,hat=red,minimum size=1.5cm] at (0,0) {}; & +%\tikz \node[jester,pattern=yellow,minimum size=1.5cm] at (0,0) {}; +& +\tikz \node[jester,details=blue,minimum size=1.5cm] at (0,0) {}; +\\ \hline +\RDD{hair}=red & \RDD{skin}=red & \RDD{shirt}=yellow & \RDD{hat}=red & \RDD{pattern}=yellow \footnote{voir confit} & \RDD{details}=blue +\\ \hline +\end{tabular} + +\bigskip +\begin{tabular}{|c|c|c|c|c|}\hline +\multicolumn{5}{|c|}{ \BS{tikz} \BS{node}[\blll{judge},\RDD{hair}=red,minimum size=1.5cm] at (0,0) {}; } +\\ \hline +%\tikz \node[judge,hair=red,minimum size=1.5cm] at (0,0) {}; +& +%\tikz \node[judge,skin=red,minimum size=1.5cm] at (0,0) {}; & +%\tikz \node[judge,shirt=red,minimum size=1.5cm] at (0,0) {}; & +%\tikz \node[judge,undershirt=red,minimum size=1.5cm] at (0,0) {}; & +%\tikz \node[judge,hairshadow=red,minimum size=1.5cm] at (0,0) {}; + +\\ \hline +\RDD{hair}=red & \RDD{skin}=red & \RDD{shirt}=red & \RDD{undershirt}=red & \RDD{hairshadow}=red +\\ \hline +\end{tabular} + +\bigskip +\begin{tabular}{|c|c|c|c|c|c|c|}\hline +\multicolumn{7}{|c|}{ \BS{tikz} \BS{node}[\blll{mexican},\RDD{hair}=red,minimum size=1.5cm] at (0,0) {}; } +\\ \hline +\tikz \node[mexican,hair=red,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[mexican,skin=red,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[mexican,shirt=red,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[mexican,hat=green,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[mexican,ringtop=red,minimum size=1.5cm] at (0,0) {}; +& +\tikz \node[mexican,ringmid=red,minimum size=1.5cm] at (0,0) {}; +& +\tikz \node[mexican,ringbot=yellow,minimum size=1.5cm] at (0,0) {}; +\\ \hline +\RDD{hair}=red & \RDD{skin}=red & \RDD{shirt}=red & \RDD{hat}=green & \RDD{ringtop}=red &\RDD{ringmid}=red & \RDD{ringbot}=yellow +\\ \hline +\end{tabular} + + +\bigskip + +\begin{tabular}{|c|c|c|}\hline +\multicolumn{3}{|c|}{ \BS{tikz} \BS{node}[\blll{nun},\RDD{plaid}=red,minimum size=1.5cm] at (0,0) {}; } +\\ \hline +\tikz \node[nun,plaid=red,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[nun,skin=red,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[nun,shirt=red,minimum size=1.5cm] at (0,0) {}; +\\ \hline +\RDD{plaid}=red & \RDD{skin}=red & \RDD{shirt}=red +\\ \hline +\end{tabular} + + +\bigskip +\begin{tabular}{|c|c|c|c|c|c|c|}\hline +\multicolumn{7}{|c|}{ \BS{tikz} \BS{node}[\blll{nurse},\RDD{hair}=red,minimum size=1.5cm] at (0,0) {}; } +\\ \hline +\tikz \node[nurse,hair=red,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[nurse,skin=red,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[nurse,shirt=red,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[nurse,badgeclip=green,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[nurse,redcross=green,minimum size=1.5cm] at (0,0) {}; +& +\tikz \node[nurse,badge=red,minimum size=1.5cm] at (0,0) {}; +& +\tikz \node[nurse,badgename=red,minimum size=1.5cm] at (0,0) {}; +\\ \hline +\RDD{hair}=red & \RDD{skin}=red & \RDD{shirt}=red & \RDD{badgeclip}=green & \RDD{redcross}=green & \RDD{badge}=red & \RDD{badgename}=red +\\ \hline +\end{tabular} + + +\bigskip +\begin{tabular}{|c|c|c|c|c|c|}\hline +\multicolumn{6}{|c|}{ \BS{tikz} \BS{node}[\blll{physician},\RDD{hair}=red,minimum size=1.5cm] at (0,0) {}; } +\\ \hline +\tikz \node[physician,hair=red,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[physician,skin=red,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[physician,shirt=red,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[physician,hat=red,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[physician,stethoscope=red,minimum size=1.5cm] at (0,0) {}; +& +\tikz \node[physician,tube=red,minimum size=1.5cm] at (0,0) {}; +\\ \hline +\RDD{hair}=red & \RDD{skin}=red & \RDD{shirt}=red & \RDD{hat}=red & \RDD{stethoscope}=red & \RDD{tube}=red +\\ \hline +\end{tabular} + + +\bigskip +\begin{tabular}{|c|c|c|c|c|c|c|}\hline +\multicolumn{7}{|c|}{ \BS{tikz} \BS{node}[\blll{pilot},\RDD{hat}=red,minimum size=1.5cm] at (0,0) {}; } +\\ \hline +\tikz \node[pilot,hat=red,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[pilot,skin=red,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[pilot,shirt=red,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[pilot,undershirt=red,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[pilot,visor=red,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[pilot,straps=red,minimum size=1.5cm] at (0,0) {}; & +%\tikz \node[pilot,decoration=red,minimum size=1.5cm] at (0,0) {}; +\\ \hline +\RDD{hat}=red & \RDD{skin}=red & \RDD{shirt}=red & \RDD{undershirt}=red & \RDD{visor}=red & \RDD{straps}=red & \RDD{decoration}=red +\\ \hline +\end{tabular} + + +\bigskip +\begin{tabular}{|c|c|c|c|}\hline +\multicolumn{4}{|c|}{ \BS{tikz} \BS{node}[\blll{police},\RDD{hair}=red,minimum size=1.5cm] at (0,0) {}; } +\\ \hline +\tikz \node[police,hair=red,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[police,skin=red,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[police,shirt=red,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[police,hat=red,minimum size=1.5cm] at (0,0) {}; +\\ \hline +\RDD{hair}=red & \RDD{skin}=red & \RDD{shirt}=red & \RDD{hat}=red +\\ \hline +\tikz \node[police,badge=red,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[police,hatbadge=red ,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[police,hatshield=red,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[police,undershirt=red,minimum size=1.5cm] at (0,0) {}; +\\ \hline +\RDD{badge}=red & \RDD{hatbadge}=red & \RDD{hatshield}=red & \RDD{undershirt}=red +\\ \hline +\end{tabular} + + + +\bigskip +\begin{tabular}{|c|c|c|c|c|c|}\hline +\multicolumn{6}{|c|}{ \BS{tikz} \BS{node}[\blll{priest},\RDD{hair}=red,minimum size=1.5cm] at (0,0) {}; } +\\ \hline +\tikz \node[priest,hair=red,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[priest,skin=red,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[priest,shirt=red,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[priest,hat=red,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[priest,collar=red,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[priest,cross=red,minimum size=1.5cm] at (0,0) {}; +\\ \hline +\RDD{hair}=red & \RDD{skin}=red & \RDD{shirt}=red & \RDD{hat}=red & \RDD{collar}=red & \RDD{cross}=red +\\ \hline +\end{tabular} + + +\bigskip +\begin{tabular}{|c|c|c|c|c|c|c|}\hline +\multicolumn{7}{|c|}{ \BS{tikz} \BS{node}[\blll{sailor},\RDD{hair}=red,minimum size=1.5cm] at (0,0) {}; } +\\ \hline +\tikz \node[sailor,hair=red,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[sailor,skin=red,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[sailor,shirt=red,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[sailor,hat=red,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[sailor,undershirt=red,minimum size=1.5cm] at (0,0) {}; +& +\tikz \node[sailor,stripes=red,minimum size=1.5cm] at (0,0) {}; +& +\tikz \node[sailor,details=red,minimum size=1.5cm] at (0,0) {}; +\\ \hline +\RDD{hair}=red & \RDD{skin}=red & \RDD{shirt}=red & \RDD{hat}=red & \RDD{undershirt}=red & \RDD{stripes}=red & \RDD{details}=red +\\ \hline +\end{tabular} + + +\bigskip +\begin{tabular}{|c|c|c|c|c|}\hline +\multicolumn{5}{|c|}{ \BS{tikz} \BS{node}[\blll{santa},\RDD{hat}=green,minimum size=1.5cm] at (0,0) {}; } +\\ \hline +\tikz \node[santa,hat=green,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[santa,skin=green,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[santa,shirt=green,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[santa,beard=green,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[santa,details=green,minimum size=1.5cm] at (0,0) {}; + +\\ \hline +\RDD{hat}=green & \RDD{skin}=green& \RDD{shirt}=green & \RDD{beard}=green & \RDD{details}=green +\\ \hline +\end{tabular} + + +\bigskip +\begin{tabular}{|c|c|c|c|c|}\hline +\multicolumn{5}{|c|}{ \BS{tikz} \BS{node}[\blll{surgeon},\RDD{hat}=red,minimum size=1.5cm] at (0,0) {}; } +\\ \hline +\tikz \node[surgeon,hat=red,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[surgeon,skin=red,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[surgeon,shirt=red,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[surgeon,hair=red,minimum size=1.5cm] at (0,0) {}; & +\tikz \node[surgeon,mask=red,minimum size=1.5cm] at (0,0) {}; + +\\ \hline +\RDD{hat}=red & \RDD{skin}=red & \RDD{shirt}=red & \RDD{hair}=red & \RDD{mask}=red +\\ \hline +\end{tabular} + diff --git a/info/visualtikz/Source/tkzpic.tex b/info/visualtikz/Source/tkzpic.tex new file mode 100644 index 0000000000..36a849b95d --- /dev/null +++ b/info/visualtikz/Source/tkzpic.tex @@ -0,0 +1,272 @@ + +\SbSSCT{Images créées}{Own small pictures} + +\begin{center} +\RRR{14-19 } \RRR{18 } +\end{center} + +\bigskip + +\tikzset{dfr/.pic={\filldraw[blue] (-2pt,0) rectangle (0,5pt) ; \filldraw[fill=white] (0,0) rectangle (2pt,5pt); \filldraw[fill=red] (2pt,0) rectangle (4pt,5pt); }} + +\begin{tabular}{|c|c|}\hline +\textbf{Création} & \textbf{ Utilisation} \\ \hline +\parbox{10cm}{\BS{tikzset}\AC{{\color{red}{dfr/.pic}}=\AC{\BS{filldraw}[blue] (-2pt,0) rectangle (0,5pt) ; \\ \BS{filldraw[fill=white] (0,0) rectangle (2pt,5pt);\\ \BS{filldraw}[fill=red] (2pt,0) rectangle (4pt,5pt); }}}} +& +\parbox{3cm}{\BS{tikz} \BSS{pic} \AC{dfr}; \\ +\tikz \pic {dfr};} +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|c|} \hline +\multicolumn{2}{|c|}{\textbf{\TFRGB{placement à une position}{Positioning }}} +\\ \hline +\begin{tikzpicture} +\draw[help lines] (0,0) grid (2,2) ; +\pic at (1,1) [pic type = dfr]; + \end{tikzpicture} +& +\begin{tikzpicture} +\draw[help lines] (0,0) grid (2,2) ; +\pic at (1,1) {dfr}; +\end{tikzpicture} +\\ \hline +\BSS{pic} at (1,1) [\RDD{pic type} = dfr]; & +\BSS{pic} at (1,1) \AC{dfr}; +\\ \hline +\begin{tikzpicture} +\draw[help lines] (0,0) grid (2,2) ; +\path (1,1) pic [pic type = dfr]; +\end{tikzpicture} +& +\begin{tikzpicture} +\draw[help lines] (0,0) grid (2,2) ; +\path (1,1) pic {dfr}; +\end{tikzpicture} +\\ \hline +\BS{path} (1,1) \RDD{pic} [\RDD{pic type}= dfr]; & +\BS{path} (1,1) \RDD{pic} \AC{dfr}; +\\ \hline +\begin{tikzpicture} +\draw[help lines] (0,0) grid (2,2) ; +\pic [at={(1,1)},pic type = dfr]; +\end{tikzpicture} +& +\begin{tikzpicture} +\draw[help lines] (0,0) grid (2,2) ; +\pic [at={(1,1)}] {dfr}; +\end{tikzpicture} +\\ \hline + \BSS{pic} [at=\AC{(1,1)}] [\RDD{pic type}= dfr]; & + \BSS{pic} [at=\AC{(1,1)}] \AC{dfr}; +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|c|} \hline +\multicolumn{3}{|c|}{\BS{pic}[scale=3] at (1,1) \AC{dfr}; } +\\ \hline +\begin{tikzpicture} +\draw[help lines] (0,0) grid (2,2) ; +\pic[scale=3] at (1,1) {dfr}; + \end{tikzpicture} +& +\begin{tikzpicture} +\draw[help lines] (0,0) grid (2,2) ; +\pic[scale=3,rotate=45] at (1,1) {dfr}; + \end{tikzpicture} +& +\begin{tikzpicture} +\draw[help lines] (0,0) grid (2,2) ; +\pic[scale=3,red] at (1,1) {dfr}; + \end{tikzpicture} +\\ \hline +[{\color{red}scale}=3] & [scale=3,{\color{red}rotate}=45] & [scale=3,{\color{red}red}] \\ +\hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|} \hline +\parbox{8cm}{\BS{tikz} [scale=4] { +\BS{pic} at (0,0) \AC{dfr}; \\ +\BS{pic} at (.5,0) [\RDD{transform shape}] \AC{dfr}; +}} +& +\tikz [scale=4] { +\pic at (0,0) {dfr}; +\pic at (.5,0) [transform shape] {dfr}; +} +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|} \hline +\textbf{\TFRGB{Placement sur un chemin}{On a path}} +\\ \hline +\BS{tikz} \BS{draw} +(0,0) to [out=10,in=170] +pic [{\color{red} near start}] \AC{dfr} +pic \AC{dfr} \\ +pic [{\color{red} sloped, near end}] \AC{dfr} (10,0); +\\ \hline +\tikz \draw +(0,0) to [out=10,in=170] +pic [near start] {dfr} +pic {dfr} +pic [sloped, near end] {dfr} (10,0); +\\ \hline +\BS{draw} (0,0) to [out=10,in=170] pic [pos=.3] \\ +\AC{\RDD{code}=\AC{\BS{draw} circle [radius=3mm];}} (10,0) ; +\\ \hline +\tikz \draw (0,0) to [out=10,in=170] +pic [pos=.3] {code={\draw circle [radius=3mm];}} (10,0) ; +\\ \hline +\end{tabular} + + +\tikzset{ my pic/.pic = { +\path [pic actions] (0,0) circle[radius=3mm]; +\draw (-3mm,-3mm) rectangle (3mm,3mm);} } + +\bigskip +\begin{tabular}{|c|c|c|c|c|} \hline + \multicolumn{5}{|l|}{ Définition :} \\ + \multicolumn{5}{|l|}{ \BSS{tikzset}\{ my pic/.pic = \{ }\\ + \multicolumn{5}{|l|}{ \BS{path} [\RDD{pic actions}] (0,0) circle[radius=3mm];} \\ +\multicolumn{5}{|l|}{ \BS{draw} (-3mm,-3mm) rectangle (3mm,3mm); \} \} } + \\ \hline + \multicolumn{5}{|c|}{ Utilisation : \hspace{2cm}\BS{pic} [red] \AC{my pic} } + \\ \hline +\tikz \pic [red] {my pic}; +& +\tikz \pic [draw] {my pic}; +& +\tikz \pic [draw=red] {my pic}; +& +\tikz \pic [draw, shading=ball] {my pic}; +& +\tikz \pic [fill=red!50] {my pic}; +\\ \hline +[red] & [draw] & [draw=red] & [draw, shading=ball] & [fill=red!50] +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|} \hline +\BS{tikz} \BS{pic} foreach \BS{x} in \AC{1,1.5,...,10} at (\BS{x},0) \AC{dfr}; +\\ \hline +\tikz \pic foreach \x in {1,1.5,...,10} at (\x,0) {dfr}; +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|} \hline + \multicolumn{2}{|l|}{ \BS{fill} [green] + (0,0) - - (1,0)pic [\RDD{behind path},scale=3] \AC{dfr} -- (1,1) -- (0,1) -- cycle ;} + \\ \hline + +\tikz \fill [green] +(0,0) -- (1,0)pic [behind path,scale=3] {dfr} -- (1,1) -- (0,1) -- cycle ; +& +\tikz \fill [green] +(0,0) -- (1,0)pic [scale=3] {dfr} -- (1,1) -- (0,1) -- cycle ; +\\ \hline +[\RDD{behind path},scale=3] & [scale=3] \\ +\hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|} \hline +\parbox{10cm}{ +\BSS{tikzset}\AC{ +pics/{\color{purple}mon cercle}/.style = \AC{ +\RDD{background code} = \AC{ \BS{fill} circle [radius={\color{blue}\#1}]; } +} +}\\ +\BS{tikz} [fill=green] +\BS{draw}[line width=3pt] (0,0) pic \AC{{\color{purple}mon cercle}={\color{blue}2mm}} - - (1,1) pic \AC{{\color{purple}mon cercle}={\color{blue}5mm}};} +& +\tikzset{ +pics/mon cercle/.style = { +background code = { \fill circle [radius=#1]; } +} +} +\tikz[baseline=.5cm,fill=green] +\draw[line width=3pt] (0,0) pic {mon cercle=2mm} -- (1,1) pic {mon cercle=5mm}; +\\ \hline +\parbox{10cm}{ +\BSS{tikzset}\AC{ +pics/{\color{purple}mon cercle}/.style = \AC{ +\RDD{foreground code} = \AC{ \BS{fill} circle [radius={\color{blue}\#1}]; } +} +}\\ +\BS{tikz} [fill=green] +\BS{draw}[line width=3pt] (0,0) pic \AC{{\color{purple}mon cercle}={\color{blue}2mm}} - - (1,1) pic \AC{{\color{purple}mon cercle}={\color{blue}5mm}};} +& +\tikzset{ +pics/mon cercle/.style = { +foreground code = { \fill circle [radius=#1]; } +} +} +\tikz[baseline=.5cm,fill=green] +\draw[line width=3pt] (0,0) pic {mon cercle=2mm} -- (1,1) pic {mon cercle=5mm}; +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|}\hline +\parbox{11cm}{ + \BS{fill} [green](-1,0) - - (1,0) \\ +pic [pics/\RDD{background code}=\AC{\BS{fill}[blue] (0.5,0.5) circle (1cm );}\\ +, pics/code={\BS{fill}[red] (-1,-.5) rectangle (0.5,0.5);} ]\\ \AC{} - - (1,2) - - (-1,2) - - cycle ;} +& +\tikz[baseline=1cm] +\fill [green] (-1,0) -- (1,0) +pic [pics/background code={\fill[blue] (.5,.5) circle (1cm );} +, pics/code={\fill[red] (-1,-.5) rectangle (.5,.5);} ] {} -- (1,2) -- (-1,2) -- cycle ; +\\ \hline + +\parbox{11cm}{ + \BS{fill} [green] (-1,0) - - (1,0) \\ + pic [pics/\RDD{foreground code}={\BS{fill}[blue] (0.5,0.5) circle (1cm );}\\ +,pics/code=\AC{\BS{fill}[red] (-1,-.5) rectangle (0.5,0.5);} ]\\ \AC{} - - (1,2) - - (-1,2) - - cycle ;} +& +\tikz[baseline=1cm] \fill [green] +(-1,0) -- (1,0)pic [pics/foreground code={\fill[blue] (.5,.5)circle (1cm );},pics/code={\fill[red] (-1,-.5) rectangle (.5,.5);} ] {} -- (1,2) -- (-1,2) -- cycle ; +\\ \hline +\parbox{11cm}{ + \BS{fill} [green](-1,0) - - (1,0) \\ +pic [pics/\RDD{background code}=\AC{\BS{fill}[blue] (0.5 , 0.5) circle (1cm );}\\ +,pics/code=\AC{\BS{fill}[red] (-1 , -0.5) rectangle (0.5 , 0.5);},\RDD{behind path} ]\\ +\AC{} - - (1,2) - - (-1,2) - - cycle ;} +& +\tikz[baseline=1cm] +\fill [green](-1,0) -- (1,0) +pic [pics/background code={\fill[blue] (.5,.5) circle (1cm );} , pics/code={\fill[red] (-1,-.5) rectangle (.5,.5);},behind path ] {} -- (1,2) -- (-1,2) -- cycle ; +\\ \hline + +\parbox{11cm}{ + \BS{fill} [green] +(-1,0) - - (1,0) \\ + pic [pics/\RDD{foreground code}=\AC{\BS{fill}[blue] (0.5 , 0.5) circle (1cm );}\\ +, pics/code=\AC{\BS{fill}[red] (-1,-.5) rectangle (0.5 , 0.5);},\RDD{behind path} ]\\ +\AC{} - - (1,2) - - (-1,2) - - cycle ; +} +& +\tikz[baseline=1cm] +\fill [green](-1,0) -- (1,0) +pic [pics/foreground code={\fill[blue] (.5,.5)circle (1cm );},pics/code={\fill[red] (-1,-.5) rectangle (.5,.5);},behind path ] +{} -- (1,2) -- (-1,2) -- cycle ; +\\ \hline + +\end{tabular} +
\ No newline at end of file diff --git a/info/visualtikz/Source/tkzpos.tex b/info/visualtikz/Source/tkzpos.tex new file mode 100644 index 0000000000..56ecacf631 --- /dev/null +++ b/info/visualtikz/Source/tkzpos.tex @@ -0,0 +1,156 @@ +\subsection{Positionnement relatif de n\oe uds} +\label{lib-pos} + +\maboite{\BS{usetikzlibrary}\AC{positioning}} + + +\begin{center} +\RRR{17-5-3} +\end{center} + +\begin{tabular}{|c|c|c|} \hline +\multicolumn{2}{|c|}{\BS{node} (a) at (1,0) [above=.4cm+.6cm,draw] \AC{XXX};} & \\ \hline +\begin{tikzpicture} +\draw[help lines] (0,0) grid (3,2); +\node (a) at (1,0) [above=.4cm+.6cm,draw] {XXX}; +\draw[->,blue,line width=2pt,dotted] (1,0) -- (a.south) node [midway,right,draw=none,fill=red!10] {.4cm+.6cm} ; +\end{tikzpicture} +& +\begin{tikzpicture} +\draw[help lines] (0,0) grid (3,2); +\node (a) at (1,0) [above=.5+sin(60),draw] {XXX}; +\draw[->,blue,line width=2pt,dotted] (1,0) -- (a.south) node [midway,right,draw=none,fill=red!10] {.5+sin(60)} ; +\end{tikzpicture} +& +\begin{tikzpicture} +\draw[help lines] (0,0) grid (2,2); +\node (a) at (1,0) [above=1,draw] {XXX}; +\draw[->,blue,line width=2pt,dotted] (1,0) -- (a.south) node [midway,right,draw=none,fill=red!10] {1} ; +\end{tikzpicture} +\\ \hline +above = \rouge{0.4cm+0.6cm} & above = \rouge{.5+sin(60)} & above = \rouge{1} \\ +\hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|} \hline +\multicolumn{2}{|c|}{\BS{node} (a) at (1,0) [\rouge{above right=3cm and 2cm},draw] \AC{XXX};} \\ \hline +\begin{tikzpicture} +\draw[help lines] (0,0) grid (5,5); +\node (a) at (1,1) [above right=3cm and 2cm,draw] {XXX}; +\draw[->,blue,line width=2pt,dotted] (1,1) |- (a.south west); +\end{tikzpicture} +& +\begin{tikzpicture} +\draw[help lines] (0,0) grid (5,5); + +\node (b) at (1,4) [below right=3cm and 2cm,draw] {XXX}; +\draw[->,blue,line width=2pt,dotted] (1,4) |- (b.north west); +\end{tikzpicture} +\\ \hline +\rouge{above right=3cm and 2cm} & \rouge{below right=3cm and 2cm} +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|} \hline +\begin{tikzpicture}[every node/.style=draw,baseline=1.5cm] +\draw[help lines] (0,0) grid (5,4); +\node (a) at (1,1) {node a}; +\node (b) [above=2cm of a.north east] {XXX}; +\draw[->,blue,line width=2pt,dotted] (a.north) -- (b.south) node [midway,right,draw=none,fill=red!10] {2cm of a.north east} ; +\end{tikzpicture} +& +\parbox{8cm}{ +\BS{node} (a) at (1,1) \AC{node a}; \\ +\BS{node} (b) [\rouge{above=2cm of a.north east}] \AC{XXX};} +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|} \hline +\begin{tikzpicture}[every node/.style=draw] +\draw[help lines] (0,0) grid (2,3); +\node (a) at (1,0) {node a}; +\node (b) [above=1cm of a] {node b}; +\node (c) [above=1cm of b] {node c}; +\draw[->,blue,line width=2pt,dotted] (a.north) -- (b.south) node [midway,right,draw=none,fill=red!10] {1cm} ; +\draw[->,blue,line width=2pt,dotted] (b.north) -- (c.south) node [midway,right,draw=none,fill=red!10] {1cm} ; +\end{tikzpicture} +& +\begin{tikzpicture}[every node/.style=draw] +\draw[help lines] (0,0) grid (2,3); +\node (a) at (1,0) {node a }; +\node (b) [on grid,above=1cm of a] {node b}; +\node (c) [on grid,above=1cm of b] {node c}; +\draw[->,blue,line width=2pt,dotted] (a.center) -- (b.center) node [midway,right,draw=none,fill=red!10] {1cm} ; +\draw[->,blue,line width=2pt,dotted] (b.center) -- (c.center) node [midway,right,draw=none,fill=red!10] {1cm} ; +\end{tikzpicture} +\\ \hline +\BS{node} (a) at (1,0) \AC{node a}; &\BS{node} (a) at (1,0) \AC{node a}; \\ +\BS{node} (b) [above=1cm of a] \AC{node b}; &\BS{node} (b) [\RDD{on grid},above=1cm of a] \AC{node b}; \\ +\BS{node} (c) [above=1cm of b] \AC{node c}; &\BS{node} (c) [\RDD{on grid},above=1cm of b] \AC{node c}; \\ +\hline +\end{tabular} + +\begin{tabular}{|c|c|} \hline +\begin{tikzpicture}[every node/.style=draw,node distance=1cm,baseline = 1.5cm] +\draw[help lines] (0,0) grid (2,3); +\node (a1) at (1,0) {node a}; +\node (b) [above=of a] {node b}; +\node (c) [above=of b] {node c}; +\draw[->,blue,line width=2pt,dotted] (a.north) -- (b.south) node [midway,right,draw=none,fill=red!10] {1cm} ; +\draw[->,blue,line width=2pt,dotted] (b.north) -- (c.south) node [midway,right,draw=none,fill=red!10] {1cm} ; +\end{tikzpicture} + & + \parbox{12cm}{ +\BS{begin}\AC{tikzpicture}[every node/.style=draw,\RDD{node distance}=1mm] \\ +\BS{node} (a1) at (1,0) \AC{node a}; \\ +\BS{node} (b) [above=of a] \AC{node b}; \\ +\BS{node} (c) [above=of b] \AC{node c}; \\ +\BS{end}\AC{tikzpicture} +} + \\ +\hline +\end{tabular} + +\bigskip + +\begin{tabular}{|l|l|} \hline +\begin{tikzpicture}[node distance=2cm] +\draw[help lines] (0,-1) grid (6,1); +\huge +\node[draw] (X) at (0,0) {X}; +\node[draw] (a) [right=of X] {a}; +\node[draw] (y) [right=of a] {y}; +\draw[->,blue,line width=2pt,dotted] (X.east) -- (a.west) node [midway,draw=none,fill=red!10] {\small{2cm}} ; +\draw[->,blue,line width=2pt,dotted] (a.east) -- (y.west) node [midway,draw=none,fill=red!10] {\small{2cm}} ; +\end{tikzpicture} +& +\begin{tikzpicture}[node distance=2cm] +\draw[help lines] (0,-1) grid (6,1); +\huge +\node[draw] (X) at (0,0) {X}; +\node[draw] (a) [base right=of X] {a}; +\node[draw] (y) [base right=of a] {y}; +\draw[->,blue,line width=2pt,dotted] (X.base east) -- (a.base west) node [midway,draw=none,fill=red!10] {\small{2cm}} ; +\draw[->,blue,line width=2pt,dotted] (a.base east) -- (y.base west) node [midway,draw=none,fill=red!10] {\small{2cm}} ; +\end{tikzpicture} +\\ \hline +\BS{node}[draw] (X) at (0,0) \AC{X}; +& +\BS{node}[draw] (X) at (0,0) \AC{X}; +\\ +\BS{node}[draw] (a) [right=of X] \AC{a}; +& +\BS{node}[draw] (a) [base right=of X] \AC{a}; +\\ +\BS{node}[draw] (y) [right=of a] \AC{y}; +& +\BS{node}[draw] (y) [base right=of a] \AC{y}; +\\ \hline +\end{tabular} + diff --git a/info/visualtikz/Source/tkzrep1.tex b/info/visualtikz/Source/tkzrep1.tex new file mode 100644 index 0000000000..d41373a952 --- /dev/null +++ b/info/visualtikz/Source/tkzrep1.tex @@ -0,0 +1,168 @@ +\TFRGB{Utilisation du module \og pgffor \fg chargé automatiquement avec TikZ }{Package used : \og pgffor \fg (automatically loaded with TikZ) } + + +\SbSSCT{Répétition à 1 variable}{One variable repetition} + + +\begin{tabular}{|c|} \hline + +\tikz \foreach \x in {1,...,10} \fill[blue](\x,0) circle (0.4cm); +\\ \hline +\BS{tikz} \BSS{foreach} \BSR{x} in \AC{1,...,10} \BS{fill}[blue](\BSR{x},0) circle (0.4cm); +\\ \hline +Variable \BSR{x} : position en X +\\ \hline +\end{tabular} + + +\SbSSCT{Répétition à 2 variables}{Two variables repetition} + +\begin{tabular}{|c|} \hline +\TFRGB{Liste de variables numériques}{Numerical variables} +\\ \hline +\tikz \foreach \pos/\y in {1/10,2/20,3/30,4/40,5/50,6/60,7/70,8/80,9/90,10/100} \fill[color=blue!\y](\pos,0) circle (0.5cm); +\\ \hline +\BS{tikz} \BS{foreach} \BSR{pos}/\BSB{y} in \AC{1/10,2/20,3/30,4/40,5/50,6/60,7/70,8/80,9/90,10/100} \\ \BS{fill}[color=blue!\BSB{y}](\BSR{pos},0) circle (0.5cm); +\\ \hline +Variable \BSR{pos} : position en X \hspace{1cm} Variable \BSB{y} : couleur +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|} \hline +\TFRGB{Liste de variables mixtes}{Composite variables} +\\ \hline +\tikz \foreach \x/\col in {1/red,3/green,5/magenta,7/blue} \shade[ball color=\col](\x,0) circle (1); +\\ \hline +\BS{tikz} \BS{foreach} \BSR{x}/\BSB{col} in {1/red,3/green,5/magenta,7/blue} \BS{shade}[ball color=\BSB{col}](\BSR{x},0) circle (1); +\\ \hline +Variable \BSR{x} : position en X \hspace{1cm} Variable \BSB{col} : couleur +\\ \hline +\end{tabular} + + + +\bigskip + +\begin{tabular}{|c|} \hline +\TFRGB{Liste de variables avec un pas}{Variables with a step} +\\ \hline +\begin{tikzpicture} + \foreach \x in {1,2,...,4,7,8,...,10} + \foreach \y in {1,...,3} + { \draw (\x,\y) +(-.5,-.5) rectangle ++(.5,.5); + \draw (\x,\y) node{\x,\y}; + } +\end{tikzpicture} +\\ \hline +\parbox{12cm}{ +\BS{begin}\AC{tikzpicture}\\ +\BS{foreach} \BSR{x} in\AC{1,2,...,4,7,8,...,10} \\ +\BS{foreach} \BSB{y} in \AC{1,...,3} \\ +\AC{ \BS{draw} (\BSR{x},\BSB{y}) +(-.5,-.5) rectangle ++(.5,.5); +\BS{draw} (\BSR{x},\BSB{y}) node{\BSR{x},\BSB{y}}; }\\ +\BS{end}\AC{tikzpicture} \\ +} +\\ \hline +Variable \BSR{x} : position en X \hspace{1cm} Variable \BSR{y} : position en Y +\\ \hline + +\end{tabular} + +\bigskip +\begin{tabular}{|l|l|} \hline + \multicolumn{2}{|c|}{ \TFRGB{Exemples de liste}{List example }} + \\ \hline +\foreach \x in {1,...,6} {\x, } +& +\BS{foreach} \BSR{x} in \AC{1,...,6} \AC{\BSR{x}, } +\\ \hline +\foreach \x in {1,3,...,11} {\x, } +& +\BS{foreach} \BSR{x} in \AC{1,3,...,11} \AC{\BSR{x}, } +\\ \hline +\foreach \x in {Z,X,...,M} {\x, } +& +\BS{foreach} \BSR{x} in \AC{Z,X,...,M} \AC{\BSR{x}, } +\\ \hline +\foreach \x in {2^1,2^...,2^7} {$\x$, } +& +\BS{foreach} \BSR{x} in \AC{2\^{}1,2\^{}...,2\^{}7} \AC{\BSR{x}, } +\\ \hline +\foreach \x in {0cm,0.5cm,...cm,3cm} {$\x$, } +& +\BS{foreach} \BSR{x} in \AC{0cm,0.5cm,...cm,3cm} \AC{\BSR{x}, } +\\ \hline +\foreach \x in {A_1,..._1,H_1} {$\x$, } +& +\BS{foreach} \BSR{x} in \AC{A\_1,...\_1,H\_1} \AC{\BSR{x}, } +\\ \hline +\end{tabular} + + + + +\bigskip +\begin{tabular}{|c|} \hline +\TFRGB{Variables numériques avec opération}{Calculation on variables} +\\ \hline +\begin{tikzpicture} + \foreach \x in {0,20,...,360}{ \filldraw[red] (0,0) .. controls (\x+10:1) .. (\x:3) .. controls (\x-10:1) .. (0,0);} + \foreach \x in {10,30,...,370}{ \filldraw[blue] (0,0) .. controls (\x+10:1) .. (\x:3) .. controls (\x-10:1) .. (0,0);} +\end{tikzpicture} +\\ \hline +\parbox{12cm}{ +\BS{begin}\AC{tikzpicture}\\ + \BS{foreach} \BSR{x} in {0,20,...,360}\AC{ \BS{filldraw}[red] (0,0) .. controls (\BSR{x}+10:1) .. (\BSR{x}:1) .. controls (\BSR{x}-10:1) .. (0,0);} \\ + \BS{foreach} \BSR{x} in {10,30,...,370}\AC{ \BS{filldraw}[blue] (0,0) .. controls (\BSR{x}+10:3) .. (\BSR{x}:3) .. controls (\BSR{x}-10:3) .. (0,0);} \\ +\BS{end}\AC{tikzpicture} \\ + +} +\\ \hline +Variable \BSR{x} : angle +\\ \hline +\end{tabular} + + +\SbSSCT{Répétition à 2 variables - boucles imbriquées}{Nested loops} + +\begin{tabular}{|c|c|} \hline + \multicolumn{2}{|c|}{\TFRGB{Ordre des boucles imbriquées}{Order of the nested loops }} +\\ \hline + +\begin{tikzpicture}[blue] +\draw (0,0) +\foreach \x in {1,2,3} +{\foreach \y in {0,1,2} +{-- (\x,\y) node{X}}}; +\end{tikzpicture} +& +\begin{tikzpicture}[blue] +\draw (0,0) +\foreach \y in {0,1,2} +\foreach \x in {1,2,3} +{-- (\x,\y) node{X}}; +\end{tikzpicture} +\\ \hline +\parbox{5cm}{ +\BS{begin}\AC{tikzpicture} \\ +\BS{draw} (0,0) \\ +\BS{foreach} \BSR{x} in \AC{1,2,3} \\ +\BS{foreach} \BSB{y} in \AC{0,1,2} \\ +\AC{-- (\BSR{x},\BSB{y}) node\AC{X}};\\ +\BS{end}\AC{tikzpicture} \\ } +& +\parbox{5cm}{ +\BS{begin}\AC{tikzpicture} \\ +\BS{draw} (0,0) \\ +\BS{foreach} \BSB{y} in \AC{0,1,2}\\ +\BS{foreach} \BSR{x} in \AC{1,2,3}\\ +\AC{-- (\BSR{x},\BSB{y}) node\AC{X}};\\ +\BS{end}\AC{tikzpicture} \\ } +\\ \hline +\end{tabular} + + + + diff --git a/info/visualtikz/Source/tkzscope.tex b/info/visualtikz/Source/tkzscope.tex new file mode 100644 index 0000000000..7ef1d0a71c --- /dev/null +++ b/info/visualtikz/Source/tkzscope.tex @@ -0,0 +1,106 @@ + +\SbSSCT{Environnement Scope}{Environment Scope} + +\begin{center} +\RRR{12-3} +\end{center} + +\begin{tabular}{|c|c|} \hline +\parbox[b]{8cm}{ +\BS{begin}\AC{tikzpicture}[line width = 3mm] \\ \\ +\BS{draw} (0.5,6) - - (2.5,6);\\ + +\ESS{scope}[{\color{red}red}] \\ +\BS{draw} (0.5,5) - - (2.5,5); \\ +\BS{draw} (0.5,4) - - (2.5,4);\\ +\BS{end\AC{scope}} \\ \\ +\BS{draw} (0.5,3) - - (2.5,3);\\ \\ +\ESS{scope}[{\color{red}green}] \\ +\BS{draw} (0.5,2) - - (2.5,2);\\ +\BS{draw} [{\color{red}red}] (0.5,1) - - (2.5,1);\\ +\BS{draw} (0.5,0) - - (2.5,0);\\ +\BS{end\AC{scope}} \\ \\ +\BS{end}\AC{tikzpicture} +} +& +\begin{tikzpicture}[line width = 3mm,baseline=-.5cm] +\draw[help lines] (0,0) grid (3,6); +\draw (0.5,6) -- (2.5,6); +\begin{scope}[red] +\draw (0.5,5) -- (2.5,5); +\draw (0.5,4) -- (2.5,4); +\end{scope} +\draw (0.5,3) -- (2.5,3); +\begin{scope}[green] +\draw (0.5,2) -- (2.5,2); +\draw[red] (0.5,1) -- (2.5,1); +\draw (0.5,0) -- (2.5,0); +\end{scope} +\end{tikzpicture} +\\ \hline +\end{tabular} + +\subsection{library scopes} + +\SbSbSSCT{Simplification d'un environnement scope}{Shorthand for Scope Environments} + +\begin{center} +\RRR{12-3-2} +\end{center} + + \maboite{\BS{usetikzlibrary}\AC{scopes}} +\label{lib-scopes} + +\begin{tabular}{|c|c|} \hline +\parbox[b]{8cm}{ +\BS{begin}\AC{tikzpicture}[line width = 3mm] \\ \\ +\BS{draw} (0.5,6) - - (2.5,6);\\ \\ +{\color{red} \{} [red] \\ +\BS{draw} (0.5,5) - - (2.5,5); \\ +\BS{draw} (0.5,4) - - (2.5,4);\\ +{\color{red} \} } \\ \\ +\BS{draw} (0.5,3) - - (2.5,3);\\ \\ +{\color{red} \{ }[green] \\ +\BS{draw} (0.5,2) - - (2.5,2);\\ +\BS{draw} [{\color{red}red}] (0.5,1) - - (2.5,1);\\ +\BS{draw} (0.5,0) - - (2.5,0);\\ +{\color{red} \} }\\ \\ +\BS{end}\AC{tikzpicture} +} +& +\begin{tikzpicture}[line width = 3mm,baseline=-.5cm] +\draw[help lines] (0,0) grid (3,6); +\draw (0.5,6) -- (2.5,6); +{[red] +\draw (0.5,5) -- (2.5,5); +\draw (0.5,4) -- (2.5,4); +} +\draw (0.5,3) -- (2.5,3); +{[green] +\draw (0.5,2) -- (2.5,2); +\draw [red] (0.5,1) -- (2.5,1); +\draw (0.5,0) -- (2.5,0); +} +\end{tikzpicture} +\\ \hline +\end{tabular} + +\SbSbSSCT{Portée d'un seul élément} {Single Command Scopes} + +\begin{tabular}{|c|c|} \hline +\begin{tikzpicture} +\node [fill=white] at (1,1) {\DFR}; +\scoped [on background layer] +\draw (0,0) grid (3,2); +\end{tikzpicture} +& +\begin{tikzpicture} +\node [fill=white] at (1,1) {\DFR}; +\draw (0,0) grid (3,2); +\end{tikzpicture} +\\ \hline +\BS{node} [fill=white] at (1,1) \AC{\BS{DFR}}; &\BS{node} [fill=white] at (1,1) \AC{\BS{DFR}}; \\ +\BSS{scoped} [on background layer] & \\ +\BS{draw} (0,0) grid (3,2); & \BS{draw} (0,0) grid (3,2); +\\ \hline +\end{tabular}
\ No newline at end of file diff --git a/info/visualtikz/Source/tkzstyl.tex b/info/visualtikz/Source/tkzstyl.tex new file mode 100644 index 0000000000..24958f987f --- /dev/null +++ b/info/visualtikz/Source/tkzstyl.tex @@ -0,0 +1,57 @@ + +\SbSSCT{Styles sans variable}{Styles without variable} + +\begin{tabular}{|c|c|} \hline +\begin{tikzpicture}[mon style/.style={draw=blue,fill=red!20,very thick},baseline=0pt] +\draw (0,0) circle (2cm); +\draw[mon style] (0,0) circle (1cm); +\end{tikzpicture} +& +\parbox{10cm}{ +\BS{begin}\AC{tikzpicture} [mon style/.\RDD{style}=\AC{draw=blue, fill=red!20, very thick}]\\ +\BS{draw} (0,0) circle (2cm); \\ +\BS{draw}[mon style] (0,0) circle (1cm); \\ +\BS{end}\AC{tikzpicture} \\ } +\\ \hline +\end{tabular} + + +\SbSSCT{Styles avec variable}{Styles with variable} + +\begin{tabular}{|c|c|} \hline +\begin{tikzpicture}[mon style/.style={draw=#1,thick,fill=#1!50,scale=.5}] +\filldraw [mon style=red] (0,0) rectangle (2,1); +\filldraw [mon style=blue] (3,0) rectangle (5,1); +\end{tikzpicture} +& +\parbox{12cm}{ +\BS{begin}\AC{tikzpicture} [mon style/.\RDD{style}=\AC{draw={\color{red} \#1}, thick, fill={\color{red} \#1}!50, scale=.5}]\\ +\BS{filldraw} [mon style=red] (0,0) rectangle (2,1);\\ +\BS{filldraw} [mon style=blue] (3,0) rectangle (5,1);\\ +\BS{end}\AC{tikzpicture} \\ +} +\\ \hline + +\end{tabular} + + + + +\begin{tabular}{|c|c|} \hline + \multicolumn{2}{|c|}{\TFRGB{valeur par défaut}{With a default value }} + \\ \hline +\begin{tikzpicture}[mon style/.style={draw=#1,thick,fill=#1!50,scale=.5}, +mon style/.default=black] +\filldraw [mon style] (0,0) rectangle (2,1); +\filldraw [mon style=blue] (3,0) rectangle (5,1); +\end{tikzpicture} +& +\parbox{12cm}{ +\BS{begin}\AC{tikzpicture} [mon style/.\RDD{style}=\AC{draw={\color{red} \#1},fill={\color{red} \#1}!20,very thick},\\ +mon style/\RDD{default}=black] \\ +\BS{filldraw} [mon style] (0,0) rectangle (2,1);\\ +\BS{filldraw} [mon style=blue] (3,0) rectangle (5,1);\\ +\BS{end}\AC{tikzpicture} } +\\ \hline + +\end{tabular} diff --git a/info/visualtikz/Source/tkzsymbol.tex b/info/visualtikz/Source/tkzsymbol.tex new file mode 100644 index 0000000000..9d3cfbcc5f --- /dev/null +++ b/info/visualtikz/Source/tkzsymbol.tex @@ -0,0 +1,186 @@ +\label{symbol} + + \maboite{\BS{usepackage}\AC{tikzsymbols} \cite {tikzsymbols}} + +\begin{tabular}{|c|c|c|} \hline +\Smiley & \Smiley[3] & \Smiley[5][green] \\ \hline +\BSS{Smiley} & \BSS{Smiley}[3] & \BSS{Smiley}[5][green] \\ \hline +\end{tabular} + + +\bigskip + +\begin{tabular}{|c|c|c|c|c|c|c|}\hline +& \pot[5] & \fryingpan[5] & \eggbeater[5] & \sieve[5] \\ \hline +\DGE & \BSS{Kochtopf}[5]& \BSS{Bratpfanne}[5] & \BSS{Schneebesen}[5] & \BSS{Sieb}[5] \\ \hline +\DGB & \BSS{pot}[5]& \BSS{fryingpan}[5] & \BSS{eggbeater}[5] & \BSS{sieve}[5] \\ \hline \hline + + +& \blender[5] & \trident[5] & \bakingplate[5] & \oven[5] \\ \hline +\DGE & \BSS{Purierstab}[5] & \BSS{Dreizack}[5] & \BSS{Backblech}[5] & \BSS{Ofen}[5] \\ \hline \hline +\DGB & \BSS{blender}[5] & \BSS{trident}[5] & \BSS{bakingplate}[5] & \BSS{oven}[5] \\ \hline \hline + + +& \pan[5] & \cooker[5] & \squeezer[5] & \bowl[5] \\ \hline +\DGE & \BSS{Pfanne}[5] & \BSS{Herd}[5] & \BSS{Saftpresse}[5] & \BSS{Schussel}[5] \\ \hline +\DGB & \BSS{pan}[5] & \BSS{cooker}[5] & \BSS{squeezer}[5] & \BSS{bowl}[5] \\ \hline + & \peeler[5] & \grater[5] & \bottle[5] & \rollingpin[5]\\ \hline +\DGE & \BSS{Schaler}[5] & \BSS{Reibe}[5] &\BSS{Flasche}[5] & \BSS{Nudelholz}[5] \\ \hline +\DGB & \BSS{peeler}[5] & \BSS{grater}[5] & \BSS{bottle}[5] & \BSS{rollingpin}[5] \\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|c|c|c|c|} \hline + +\Smiley[5] & \Sadey[5] & \Neutrey[5] & \Changey[5]{0} & \cChangey[5]{0} \\ \hline +\BSS{Smiley}[5] & \BSS{Sadey}[5] & \BSS{Neutrey}[5] & \BSS{Changey}[5]\AC{0} & \BSS{cChangey}[5]\AC{0} \\ \hline + +\Annoey[5] & \Laughey[5] & \Winkey[5] & \oldWinkey[5] & \Sey[5] \\ \hline +\BSS{Annoey}[5] & \BSS{Laughey}[5] & \BSS{Winkey[}5] & \BSS{oldWinkey}[5] & \BSS{Sey}[5] \\ \hline + +\Xey[5] & \Innocey[5] & \wInnocey[5] & \Cooley[5] & \Tongey[5] \\ \hline +\BSS{Xey}[5] & \BSS{Innocey}[5] & \BSS{wInnocey}[5] & \BSS{Cooley}[5] & \BSS{Tongey}[5] \\ \hline + +\Nursey[5] &\Vomey[5] & \Walley[5] & \rWalley[5] & \Cat[5] \\ \hline +\BSS{Nursey}[5] &\BSS{Vomey}[5] & \BSS{Walley}[5] \BSS{rWalley}[5] & \BSS{Cat}[5] \\ \hline + +\multicolumn{2}{|c|}{\SchrodingersCat[5]{0} } & \Ninja[5] & \Sleepey[5] & \NiceReapey[5] \\ \hline +\multicolumn{2}{|c|}{ \BSS{SchrodingersCat}[5]\AC{0} } & \BSS{Ninja}[5] & \BSS{Sleepey}[5] & \BSS{NiceReapey}[5] \\ \hline + +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|c|c|c|} \hline +\Changey[5]{-2} & \Changey[5]{-1} & \Changey[5]{0} & \Changey[5]{1} & \Changey[5]{2} \\ \hline +\BSS{Changey}[5]\rouge{\AC{-2}} & \BSS{Changey}[5]\rouge{\AC{-1}} & \BSS{Changey}[5]\rouge{\AC{0}} & \BSS{Changey}[5]\rouge{\AC{1}} & \BSS{Changey}[5]\rouge{\AC{2}} \\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|c|c|c|} \hline +\cChangey[5]{-2} & \cChangey[5]{-1} & \cChangey[5]{0} & \cChangey[5]{1} & \cChangey[5]{2} \\ \hline +\BSS{cChangey}[5]\rouge{\AC{-2}} & \BSS{cChangey}[5]\rouge{\AC{-1}} & \BSS{cChangey}[5]\rouge{\AC{0}} & \BSS{cChangey}[5]\rouge{\AC{1}} & \BSS{cChangey}[5]\rouge{\AC{2}} \\ \hline +\end{tabular} + +\bigskip +\begin{tabular}{|c|c|c|} \hline +\SchrodingersCat[5]{- 1} & \SchrodingersCat[5]{0} & \SchrodingersCat[5]{1} \\ \hline +\BSS{SchrodingersCat}[5]\rouge{\AC{-1}} & \BSS{SchrodingersCat}[5]\rouge{\AC{0}} & \BSS{SchrodingersCat}[5]\rouge{\AC{1}} \\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|c|c|} \hline +\Laughey[5][green][red] & \Innocey[5][green][red] & \Tongey[5][green][red] & \Nursey[5][green][red] \\ \hline +\BSS{Laughey}[5]\rouge{[green][red]} & \BSS{Innocey}[5]\rouge{[green][red]} & \BSS{Tongey}[5]\rouge{[green][red]} & \BSS{Nursey}[5]\rouge{[green][red]} \\ \hline + +\Vomey[5][green][red] & \Walley[5][green][red] & \rWalley[5][green][red] & \\ \hline +\BSS{Vomey}[5]\rouge{[green][red]} & \BSS{Walley}[5]\rouge{[green][red]} & \BSS{rWalley}[5]\rouge{[green][red]}& \\ \hline + +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|} \hline +\Ninja[5][green][red][blue] & \Sleepey[5][green][red][blue] \\ \hline +\BSS{Ninja}[5]\rouge{[green][red][blue]} & \BSS{Sleepey}[5]\rouge{[green][red][blue]} \\ \hline +\end{tabular} + + +\bigskip + +\begin{tabular}{|c|c|c|c|c|} \hline +\dSmiley[5] & \dSadey[5] & \dNeutrey[5] & \dChangey[5]{0} & \dcChangey[5]{0} \\ \hline +\BSS{dSmiley}[5] & \BSS{dSadey}[5] & \BSS{dNeutrey}[5] & \BSS{dChangey}[5]\AC{0} & \BSS{dcChangey}[5]\AC{0} \\ \hline + + \dAnnoey[5]& \dLaughey[5] & \dWinkey[5] & \dSey[5] & \dXey[5] \\ \hline + \BSS{dAnnoey}[5]& \BSS{dLaughey}[5] & \BSS{dWinkey}[5] & \BSS{dSey}[5] & \BSS{dXey}[5] \\ \hline + +\dInnocey[5] & \dCooley[5] & \dNinja[5] & \drWalley[5] & \dWalley[5] \\ \hline +\BSS{dInnocey}[5] & \BSS{dCooley}[5] & \BSS{dNinja}[5] & \BSS{drWalley}[5] & \BSS{dWalley}[5] \\ \hline + +\dVomey[5] & \dNursey[5] & \dTongey[5] & \dSleepey[5] & \olddWinkey[5] \\ \hline +\BSS{dVomey}[5] & \BSS{dNursey}[5] & \BSS{dTongey}[5] & \BSS{dSleepey}[5] & \BSS{olddWinkey}[5] \\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|c|c|c|} \hline +\dChangey[5]{-2} & \dChangey[5]{-1} & \dChangey[5]{0} & \dChangey[5]{1} & \dChangey[5]{2} \\ \hline +\BSS{dChangey}[5]\rouge{\AC{-2}} & \BSS{dChangey}[5]\rouge{\AC{-1}} & \BSS{dChangey}[5]\rouge{\AC{0}} & \BSS{dChangey}[5]\rouge{\AC{1}} & \BSS{dChangey}[5]\rouge{\AC{2}} \\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|c|c|c|} \hline +\dcChangey[5]{-2} & \dcChangey[5]{-1} & \dcChangey[5]{0} & \dcChangey[5]{1} & \dcChangey[5]{2} \\ \hline +\BSS{dcChangey}[5]\rouge{\AC{-2}} & \BSS{dcChangey}[5]\rouge{\AC{-1}} & \BSS{dcChangey}[5]\rouge{\AC{0}} & \BSS{dcChangey}[5]\rouge{\AC{1}} & \BSS{dcChangey}[5]\rouge{\AC{2}} \\ \hline +\end{tabular} + +\bigskip +\begin{tabular}{|c|c|c|c|} \hline +\dLaughey[5][green][red] & \dInnocey[5][green][red] & \dTongey[5][green][red] & \dNursey[5][green][red] \\ \hline +\BSS{dLaughey}[5]\rouge{[green][red]} & \BSS{dInnocey}[5]\rouge{[green][red]} & \BSS{dTongey}[5]\rouge{[green][red]} & \BSS{dNursey}[5]\rouge{[green][red]} \\ \hline + +\dVomey[5][green][red] & \dWalley[5][green][red] & \drWalley[5][green][red] & \\ \hline +\BSS{dVomey}[5]\rouge{[green][red]} & \BSS{dWalley}[5]\rouge{[green][red]} & \BSS{drWalley}[5]\rouge{[green][red]}& \\ \hline + +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|} \hline +\dNinja[5][green][red][blue] & \dSleepey[5][green][red][blue] \\ \hline +\BSS{dNinja}[5]\rouge{[green][red][blue]} & \BSS{dSleepey}[5]\rouge{[green][red][blue]} \\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|c|c|c|} \hline +\Strichmaxerl[5] & \Candle[5] & \Fire[5] & \Coffeecup[5] & \Chair[5] \\ \hline +\BSS{Strichmaxerl}[5] & \BSS{Candle}[5] & \BSS{Fire}[5] & \BSS{Coffeecup}[5] & \BSS{Chair}[5] \\ \hline + +\Bed[5] & \Tribar[5] & \Moai[5] & \Snowman[5] & \\ \hline +\BSS{Bed}[5] & \BSS{Tribar}[5] & \BSS{Moai}[5] & \BSS{Snowman}[5] & \\ \hline + +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|c|c|c|} \hline +\multicolumn{5}{|c|}{\BSS{Strichmaxerl}[10][0][0][0][0]} \\ \hline +\Strichmaxerl[10][0][0][0][0] & \Strichmaxerl[10][45][0][0][0] & \Strichmaxerl[10][0][45][0][0] & \Strichmaxerl[10][0][0][45][0] & \Strichmaxerl[10][0][0][0][-45] \\ \hline +[0][0][0][0] & [\rouge{45}][0][0][0] & [0][\rouge{45}][0][0] & [0][0][\rouge{45}][0] & [0][0][0][\rouge{-45}] \\ \hline +\end{tabular} + + +\bigskip + +\begin{tabular}{|c|} \hline +\Tribar[10][green][red][blue] +\\ \hline +\BSS{Tribar}[10][green][red][blue] +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|}\hline +\BasicTree[10]{black}{red}{blue}{leaf} & \BasicTree[10]{black}{red}{blue}{} \\ \hline \BSS{BasicTree}[10]\AC{black}\AC{red}\AC{blue}\AC{leaf} & \BSS{BasicTree}[10]\AC{black}\AC{red}\AC{blue}\AC{} \\ \hline +\end{tabular} + + + +\bigskip +\begin{tabular}{|c|c|c|c|c|} \hline +\Springtree[10] & \Summertree[10] & \Autumntree[10] & \Wintertree[10] & \WorstTree[10] \\ \hline +\BSS{Springtree}[10] & \BSS{Summertree}[10] & \BSS{Autumntree}[10] & \BSS{Wintertree}[10] & \BSS{WorstTree}[10] \\ \hline +\end{tabular} + + + + + + diff --git a/info/visualtikz/Source/tkztab.tex b/info/visualtikz/Source/tkztab.tex new file mode 100644 index 0000000000..bfc9dd2009 --- /dev/null +++ b/info/visualtikz/Source/tkztab.tex @@ -0,0 +1,708 @@ +\label{tabl} +%Insérer dans le préambule : + + \maboite{\BS{usepackage}\AC{tkz-tab} \cite {tikstab}} + + +%\subsection{Déclaration du tableau} +\SbSSCT{Déclaration du tableau}{Creation of the table} + +\begin{tabular}{|l|c|}\hline +\begin{tikzpicture} +\tkzTabInit{1° ligne / 1 ,2° ligne /1 }{ a , b, c } +%\tkzTabLine{ 1, 2, 3 , 4,5 } +\end{tikzpicture} +\\ \hline +\BS{begin}\AC{tikzpicture} \\ +\BSS{tkzTabInit}\AC{1° ligne / 1 ,2° ligne /1 } \AC{ a , b, c } \\ +% \BSS{tkzTabLine}\AC{ 1, 2, 3 , 4,5 } \\ +\BS{end}\AC{tikzpicture} + \\ \hline + \end{tabular} + +\subsubsection{Options} + +%\paragraph{Hauteur des lignes}: + +\begin{tabular}{|l|c|}\hline + \multicolumn{1}{|c|}{\textbf{\TFRGB{Hauteur des ligne}{Row width }} } + \\ \hline + +\begin{tikzpicture} \tkzTabInit{1° ligne /1 , 2° ligne /.5 , 3° ligne /1.5 }{a , b , c }\end{tikzpicture} +\\ \hline +\BS{tikz} \BSS{tkzTabInit}\AC{1° ligne {'\color{red} /1} , 2° ligne {\color{red} /.5} , 3° ligne {\color{red} /1.5} }\AC{a , b , c }; +\\ \hline +\end{tabular} + +\bigskip +%\paragraph{Largeur de la première colonne } : + +\begin{tabular}{|l|c|}\hline + \multicolumn{1}{|c|}{\textbf{\TFRGB{Largeur de la première colonne }{First column width }} } + \\ \hline +\begin{tikzpicture} +\tkzTabInit[lgt=4]{ $x$ / 1}{ a , b , c } +\end{tikzpicture} +\\ \hline +\BS{tkzTabInit}[\RDD{lgt}=4]\AC{ $x$ / 1}\AC{ a , b , c }; \\ +\dft : lgt==2 cm +\\ \hline +\end{tabular} + +\bigskip + +%\paragraph{Espacement entre deux valeurs} : +%\Par{Espacement entre deux valeurs}{Space between two values} : + + +\begin{tabular}{|l|c|}\hline + \multicolumn{1}{|c|}{\textbf{\TFRGB{Espacement entre deux valeurs}{Space between two values}} } + \\ \hline + +\begin{tikzpicture} +\tkzTabInit[espcl=2]{ $x$ / 1}{ a , b , c } +\end{tikzpicture} +\\ \hline +\BS{tkzTabInit}[\RDD{espcl}=1]\AC{ $x$ / 1}\AC{ a , b , c }; \\ +\dft : espcl=2 cm +\\ \hline +\end{tabular} + + +\bigskip +%\paragraph{Marge de début et de fin} : + +\begin{tabular}{|l|c|}\hline + \multicolumn{1}{|c|}{\textbf{\TFRGB{Marge de début et de fin }{Margin }} } + \\ \hline +\begin{tikzpicture} +\tkzTabInit[deltacl=2]{ $x$ / 1}{ a , b , c } +\end{tikzpicture} +\\ \hline +\BS{tkzTabInit}[\RDD{deltacl}=1]\AC{ $x$ / 1}\AC{ a , b , c }; \\ +\dft : deltacl=0.5 cm +\\ \hline +\end{tabular} + + + +\newpage +%\paragraph{\'Epaisseur des lignes du tableau } : + +\begin{tabular}{|l|c|}\hline + \multicolumn{1}{|c|}{\textbf{\TFRGB{\'Epaisseur des lignes du tableau }{Line width }} } + \\ \hline +\begin{tikzpicture} +\tkzTabInit[lw=2pt]{ $x$ / 1}{ a , b , c } +\end{tikzpicture} +\\ \hline +\BS{tkzTabInit}[\RDD{dlw}=2pt]\AC{ $x$ / 1}\AC{ a , b , c }; \\ +\dft : lw=0,4 pt +\\ \hline +\end{tabular} + + + +\bigskip +%\paragraph{Absence de cadre} : + +\begin{tabular}{|l|c|}\hline + \multicolumn{1}{|c|}{\textbf{\TFRGB{Absence de cadre}{No cadre}} } + \\ \hline +\begin{tikzpicture} +\tkzTabInit[nocadre]{ $x$ / 1}{ a , b , c } +\end{tikzpicture} +\\ \hline +\BS{tkzTabInit}[nocadre]\AC{ $x$ / 1}\AC{ a , b , c }; \\ +\dft : nocadre=false +\\ \hline +\end{tabular} + + +\bigskip +%\paragraph{Mise en couleur}:\\ +\begin{tabular}{|c|c|}\hline + \multicolumn{2}{|c|}{\textbf{\TFRGB{Mise en couleur }{ Coloring }} } + \\ \hline +\multicolumn{2}{|c|}{ \BS{tkzTabInit} [\RDD{color},\RDD{colorT} = yellow]\AC{1°ligne/1 , 2°ligne/1}\AC{ a , b } }\\ +\hline +\begin{tikzpicture} +\tkzTabInit[color,colorT = yellow]{ 1°ligne/1 , 2°ligne/1}{ a , b } +\end{tikzpicture} + & +\begin{tikzpicture} +\tkzTabInit[color,colorC = cyan]{ 1°ligne/1 , 2°ligne/1}{ a , b } +\end{tikzpicture} +\\ \hline +[color,\RDD{colorT} = yellow] & [color,\RDD{colorC} = cyan] +\\ \hline +\begin{tikzpicture} +\tkzTabInit[color,colorL = green]{1°ligne/1 , 2°ligne/1}{ a , b } +\end{tikzpicture} +& +\begin{tikzpicture} +\tkzTabInit[color,colorV = magenta]{1°ligne/1 , 2°ligne/1}{ a , b } +\end{tikzpicture} +\\ \hline +[color,\RDD{colorL} = green] & [color,\RDD{colorV} = magenta] +\\ \hline +\multicolumn{2}{|c|}{ \dft : color = false \hspace{1cm} colorT=colorC=colorL=colorV =white } +\\ \hline +\end{tabular} + + + + +%\subsection{Création d'une ligne de signes} +\SbSSCT{Création d'une ligne de signes}{Creation of a sign row} + +\begin{tabular}{|c|c|}\hline +\begin{tikzpicture} +\tkzTabInit[espcl=1.5] +{$x$ / 1 ,$f(x)$ /1 }% +{ a , b, c } +\tkzTabLine{ t, 2, t ,4 ,t } +\end{tikzpicture} +& +\begin{tikzpicture} +\tkzTabInit[espcl=1.5] +{$x$ / 1 ,$f(x)$ /1 }% +{ a , b, c } +\tkzTabLine{ z, 2, z ,4 ,z } +\end{tikzpicture} +\\ \hline +\BSS{tkzTabLine}\AC{ {\color{red} t}, 2,{\color{red} t} ,4 ,{\color{red} t} } & \BSS{tkzTabLine}\AC{ {\color{red} z}, 2, {\color{red} z} ,4 ,{\color{red} z} } +\\ \hline +\begin{tikzpicture} +\tkzTabInit[espcl=1.5] +{$x$ / 1 ,$f(x)$ /1 }% +{ a , b, c } +\tkzTabLine{ d, 2, d ,4 ,d } +\end{tikzpicture} +& +\begin{tikzpicture} +\tkzTabInit[espcl=1.5] +{$x$ / 1 ,$f(x)$ /1 }% +{ a , b, c } +\tkzTabLine{ 1,h, 3,4 ,5} +\end{tikzpicture} +\\ \hline +\BSS{tkzTabLine}\AC{ {\color{red} d}, 2, {\color{red} d} ,4 ,{\color{red} d} } & \BSS{tkzTabLine}\AC{ 1, {\color{red} h}, 3 ,4 ,5 } +\\ \hline +\end{tabular} + + +\newpage +%\paragraph{Exemple}: + +\begin{tabular}{|l|c|}\hline + \multicolumn{1}{|c|}{\textbf{\TFRGB{Exemple }{Example }} } + \\ \hline +\begin{tikzpicture} +\tkzTabInit[espcl=1.5]{$x$ / 1 ,$f(x)$ /1 }% +{ $-\infty$ , -4, 4 , 10 , $+\infty$ } +\tkzTabLine{ t,+, d ,h ,d,-,z,+ } +\end{tikzpicture} +\\ \hline +\BS{begin}\AC{tikzpicture} \\ +\BS{tkzTabInit}[espcl=1.5]\AC{\$x\$ / 1 ,\$f(x)\$ /1 } %\\ +\AC{ $-\infty$ , -4, 4 , 10 , $+\infty$ } \\ +\BS{tkzTabLine}\AC{ t,+, d ,h ,d,-,z,+ } \\ +\BS{end}\AC{tikzpicture} +\\ \hline +\end{tabular} + +%\subsection{Création d'une ligne de variations} +\SbSSCT{Création d'une ligne de variations}{Creation of a variation row} + +\begin{tabular}{|c|c|}\hline +\begin{tikzpicture} +\tkzTabInit[espcl=1.5] +{$x$ / 1 ,$f(x)$ /1 }% +{ a , b, c } +%\tkzTabLine{ , t, , ,t } +\tkzTabVar{+/1 , -/2} +\end{tikzpicture} +& +\begin{tikzpicture} +\tkzTabInit[espcl=1.5] +{$x$ / 1 ,$f(x)$ /1 }% +{ a , b, c } +%\tkzTabLine{ 1, z, 3 ,4 ,z } +\tkzTabVar{-/1 , +/2} +\end{tikzpicture} +\\ \hline +\BSS{tkzTabVar}\AC{ {\color{red} +/}1 , {\color{red} -/}2} & \BSS{tkzTabVar}\AC{ {\color{red} -/}1 , {\color{red} +/}2} +%\tkzTabVar{+/1 , +/2} +\\ \hline +\begin{tikzpicture} +\tkzTabInit[espcl=1.5] +{$x$ / 1 ,$f(x)$ /1 }% +{ a , b, c } +%\tkzTabLine{ 1, d, 3 ,4 ,d } +\tkzTabVar{-/1 , -/2} +\end{tikzpicture} +& +\begin{tikzpicture} +\tkzTabInit[espcl=1.5] +{$x$ / 1 ,$f(x)$ /1 }% +{ a , b, c } +%\tkzTabLine{ 1,h, 3,4 ,h } +\tkzTabVar{+/1 , +/2} +\end{tikzpicture} +\\ \hline +\BSS{tkzTabVar}\AC{{\color{red} -/}1 , {\color{red} -/}2} & \BSS{tkzTabVar}\AC{ {\color{red} +/}1 , {\color{red} +/}2 } +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|}\hline +\begin{tikzpicture} +\tkzTabInit[espcl=1.5] +{$x$ / 1 ,$f(x)$ /1 }% +{ a , b, c } +%\tkzTabLine{ , t, , ,t } +\tkzTabVar{+C/1 , -/2} +\end{tikzpicture} +& +\begin{tikzpicture} +\tkzTabInit[espcl=1.5] +{$x$ / 1 ,$f(x)$ /1 }% +{ a , b, c } +%\tkzTabLine{ 1, z, 3 ,4 ,z } +\tkzTabVar{-C/1 , +/2} +\end{tikzpicture} +\\ \hline +\BSS{tkzTabVar}\AC{ {\color{red} +C/}1 , -/2} & \BSS{tkzTabVar}\AC{ {\color{red} -C/}1 , +/2} +%\tkzTabVar{+/1 , +/2} +\\ \hline +\begin{tikzpicture} +\tkzTabInit[espcl=1.5] +{$x$ / 1 ,$f(x)$ /1 }% +{ a , b, c } +%\tkzTabLine{ 1, d, 3 ,4 ,d } +\tkzTabVar{+/1 , -C/2} +\end{tikzpicture} +& +\begin{tikzpicture} +\tkzTabInit[espcl=1.5] +{$x$ / 1 ,$f(x)$ /1 }% +{ a , b, c } +%\tkzTabLine{ 1,h, 3,4 ,h } +\tkzTabVar{-/1 , +C/2} +\end{tikzpicture} +\\ \hline +\BSS{tkzTabVar}\AC{-/1 , {\color{red} -C/}2} & \BSS{tkzTabVar}\AC{ +/1 , {\color{red} +C/}2 } +\\ \hline +\end{tabular} + + +\bigskip + +\begin{tabular}{|c|c|}\hline +\begin{tikzpicture} +\tkzTabInit[espcl=1.5] +{$x$ / 1 ,$f(x)$ /1 }% +{ a , b, c } +%\tkzTabLine{ , t, , ,t } +\tkzTabVar{+H/1 , -/2} +\end{tikzpicture} +& +\begin{tikzpicture} +\tkzTabInit[espcl=1.5] +{$x$ / 1 ,$f(x)$ /1 }% +{ a , b, c } +%\tkzTabLine{ 1, z, 3 ,4 ,z } +\tkzTabVar{-H/1 , +/2} +\end{tikzpicture} +\\ \hline +\BSS{tkzTabVar}\AC{ {\color{red} +H/1} , -/2} & \BSS{tkzTabVar}\AC{ {\color{red} -H/}1 , +/2} +%\tkzTabVar{+/1 , +/2} +\\ \hline +\begin{tikzpicture} +\tkzTabInit[espcl=1.5] +{$x$ / 1 ,$f(x)$ /1 }% +{ a , b, c } +%\tkzTabLine{ 1, d, 3 ,4 ,d } +\tkzTabVar{+/1 , -H/2} +\end{tikzpicture} +& +\begin{tikzpicture} +\tkzTabInit[espcl=1.5] +{$x$ / 1 ,$f(x)$ /1 }% +{ a , b, c } +%\tkzTabLine{ 1,h, 3,4 ,h } +\tkzTabVar{-/1 , +H/2} +\end{tikzpicture} +\\ \hline +\BSS{tkzTabVar}\AC{-/1 , {\color{red} -H/}2} & \BSS{tkzTabVar}\AC{ +/1 , {\color{red} +H/}2 } +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|}\hline +\begin{tikzpicture} +\tkzTabInit[espcl=1.5] +{$x$ / 1 ,$f(x)$ /1 }% +{ a , b, c } +%\tkzTabLine{ , t, , ,t } +\tkzTabVar{+D/1 , -/2} +\end{tikzpicture} +& +\begin{tikzpicture} +\tkzTabInit[espcl=1.5] +{$x$ / 1 ,$f(x)$ /1 }% +{ a , b, c } +%\tkzTabLine{ 1, z, 3 ,4 ,z } +\tkzTabVar{-D/1 , +/2} +\end{tikzpicture} +\\ \hline +\BSS{tkzTabVar}\AC{ {\color{red} +D/}1 , -/2} & \BSS{tkzTabVar}\AC{ {\color{red} -D/}1 , +/2} +%\tkzTabVar{+/1 , +/2} +\\ \hline +\begin{tikzpicture} +\tkzTabInit[espcl=1.5] +{$x$ / 1 ,$f(x)$ /1 }% +{ a , b, c } +%\tkzTabLine{ 1, d, 3 ,4 ,d } +\tkzTabVar{+/1 , -D/2} +\end{tikzpicture} +& +\begin{tikzpicture} +\tkzTabInit[espcl=1.5] +{$x$ / 1 ,$f(x)$ /1 }% +{ a , b, c } +%\tkzTabLine{ 1,h, 3,4 ,h } +\tkzTabVar{-/1 , +D/2} +\end{tikzpicture} +\\ \hline +\BSS{tkzTabVar}\AC{-/1 , {\color{red} -D/}2} & \BSS{tkzTabVar}\AC{ +/1 , {\color{red} +D/}2 } +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|}\hline +\begin{tikzpicture} +\tkzTabInit[espcl=1.5] +{$x$ / 1 ,$f(x)$ /1 }% +{ a , b, c } +%\tkzTabLine{ , t, , ,t } +\tkzTabVar{D+/1 , -/2} +\end{tikzpicture} +& +\begin{tikzpicture} +\tkzTabInit[espcl=1.5] +{$x$ / 1 ,$f(x)$ /1 }% +{ a , b, c } +%\tkzTabLine{ 1, z, 3 ,4 ,z } +\tkzTabVar{D-/1 , +/2} +\end{tikzpicture} +\\ \hline +\BSS{tkzTabVar}\AC{ {\color{red} D+/}1 , -/2} & \BSS{tkzTabVar}\AC{{\color{red} D-/}1 , +/2} +%\tkzTabVar{+/1 , +/2} +\\ \hline +\begin{tikzpicture} +\tkzTabInit[espcl=1.5] +{$x$ / 1 ,$f(x)$ /1 }% +{ a , b, c } +%\tkzTabLine{ 1, d, 3 ,4 ,d } +\tkzTabVar{+/1 , D-/2} +\end{tikzpicture} +& +\begin{tikzpicture} +\tkzTabInit[espcl=1.5] +{$x$ / 1 ,$f(x)$ /1 }% +{ a , b, c } +%\tkzTabLine{ 1,h, 3,4 ,h } +\tkzTabVar{-/1 , D+/2} +\end{tikzpicture} +\\ \hline +\BSS{tkzTabVar}\AC{-/1 , {\color{red} D-/}2} & \BSS{tkzTabVar}\AC{ +/1 , {\color{red} D+/}2 } +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|}\hline +\begin{tikzpicture} +\tkzTabInit[espcl=1.5] +{$x$ / 1 ,$f(x)$ /1 }% +{ a , b, c } +%\tkzTabLine{ , t, , ,t } +\tkzTabVar{+DH/1 , -/2} +\end{tikzpicture} +& +\begin{tikzpicture} +\tkzTabInit[espcl=1.5] +{$x$ / 1 ,$f(x)$ /1 }% +{ a , b, c } +%\tkzTabLine{ 1, z, 3 ,4 ,z } +\tkzTabVar{-DH/1 , +/2} +\end{tikzpicture} +\\ \hline +\BSS{tkzTabVar}\AC{ {\color{red} +DH/}1 , -/2} & \BSS{tkzTabVar}\AC{ {\color{red} -DH/}1 , +/2} +%\tkzTabVar{+/1 , +/2} +\\ \hline +\begin{tikzpicture} +\tkzTabInit[espcl=1.5] +{$x$ / 1 ,$f(x)$ /1 }% +{ a , b, c } +%\tkzTabLine{ 1, d, 3 ,4 ,d } +\tkzTabVar{+/1 , -DH/2} +\end{tikzpicture} +& +\begin{tikzpicture} +\tkzTabInit[espcl=1.5] +{$x$ / 1 ,$f(x)$ /1 }% +{ a , b, c } +%\tkzTabLine{ 1,h, 3,4 ,h } +\tkzTabVar{-/1 , +DH/2} +\end{tikzpicture} +\\ \hline +\BSS{tkzTabVar}\AC{-/1 , {\color{red} -DH/}2} & \BSS{tkzTabVar}\AC{ {\color{red} +DH/}1 , +/2 } +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|}\hline +\begin{tikzpicture} +\tkzTabInit[espcl=1.5]{$x$ / 1 ,$f(x)$ /1 }{ a , b, c } +%\tkzTabLine{ , t, , ,t } +\tkzTabVar{+CH/1 , -/2} +\end{tikzpicture} +& +\begin{tikzpicture} +\tkzTabInit[espcl=1.5]{$x$ / 1 ,$f(x)$ /1 }{ a , b, c } +%\tkzTabLine{ 1, z, 3 ,4 ,z } +\tkzTabVar{-CH/1 , +/2} +\end{tikzpicture} +\\ \hline +\BSS{tkzTabVar}\AC{ {\color{red} +CH/}1 , -/2} & \BSS{tkzTabVar}\AC{ {\color{red} -CH/}1 , +/2} +%\tkzTabVar{+/1 , +/2} +\\ \hline +\begin{tikzpicture} +\tkzTabInit[espcl=1.5]{$x$ / 1 ,$f(x)$ /1 }{ a , b, c } +\tkzTabVar{+/1 , -CH/2} +\end{tikzpicture} +& +\begin{tikzpicture} +\tkzTabInit[espcl=1.5]{$x$ / 1 ,$f(x)$ /1 }{ a , b, c } +\tkzTabVar{-/1 , +CH/2} +\end{tikzpicture} +\\ \hline +\BSS{tkzTabVar}\AC{-/1 , {\color{red} -CH/}2} & \BSS{tkzTabVar}\AC{ +/1 , {\color{red} +CH/}2 } +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|}\hline +\begin{tikzpicture} +\tkzTabInit[espcl=1.5]{$x$ / 1 ,$f(x)$ /1 }{ a , b, c } +\tkzTabVar{-/1 , +D-/2 , +/3} +\end{tikzpicture} +& +\begin{tikzpicture} +\tkzTabInit[espcl=1.5]{$x$ / 1 ,$f(x)$ /1 }{ a , b, c } +\tkzTabVar{+/1 , -D+/2 , -/3} +\end{tikzpicture} +\\ \hline +\BSS{tkzTabVar}\AC{ -/1 , {\color{red} +D-/}2 , +/3} & \BSS{tkzTabVar}\AC{ +/1 , {\color{red} -D+/}2 , -/3} +\\ \hline +\begin{tikzpicture} +\tkzTabInit[espcl=1.5]{$x$ / 1 ,$f(x)$ /1 }{ a , b, c } +\tkzTabVar{+/1 , -D-/2 , +/3} +\end{tikzpicture} +& +\begin{tikzpicture} +\tkzTabInit[espcl=1.5]{$x$ / 1 ,$f(x)$ /1 }{ a , b, c } +\tkzTabVar{-/1 , +D+/2 , -/3} +\end{tikzpicture} +\\ \hline +\BSS{tkzTabVar}\AC{+/1 , {\color{red} -D-/}2 , +/3} & \BSS{tkzTabVar}\AC{-/1 , {\color{red} +D+/}2 , -/3 } +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|}\hline +\begin{tikzpicture} +\tkzTabInit[espcl=1.5]{$x$ / 1 ,$f(x)$ /1 }{ a , b, c } +\tkzTabVar{-/1 , +CD-/2 , +/3} +\end{tikzpicture} +& +\begin{tikzpicture} +\tkzTabInit[espcl=1.5]{$x$ / 1 ,$f(x)$ /1 }{ a , b, c } +\tkzTabVar{+/1 , -CD+/2 , -/3} +\end{tikzpicture} +\\ \hline +\BSS{tkzTabVar}\AC{ -/1 , {\color{red} +CD-/}2 , +/3} & \BSS{tkzTabVar}\AC{ +/1 , {\color{red} -CD+/}2 , -/3} +\\ \hline +\begin{tikzpicture} +\tkzTabInit[espcl=1.5]{$x$ / 1 ,$f(x)$ /1 }{ a , b, c } +\tkzTabVar{+/1 , -CD-/2 , +/3} +\end{tikzpicture} +& +\begin{tikzpicture} +\tkzTabInit[espcl=1.5]{$x$ / 1 ,$f(x)$ /1 }{ a , b, c } +\tkzTabVar{-/1 , +CD+/2 , -/3} +\end{tikzpicture} +\\ \hline +\BSS{tkzTabVar}\AC{+/1 , {\color{red} -CD-/}2 , +/3} & \BSS{tkzTabVar}\AC{-/1 , {\color{red} +CD+/}2 , -/3 } +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|}\hline +\begin{tikzpicture} +\tkzTabInit[espcl=1.5]{$x$ / 1 ,$f(x)$ /1 }{ a , b, c } +\tkzTabVar{-/1 , +DC-/2 , +/3} +\end{tikzpicture} +& +\begin{tikzpicture} +\tkzTabInit[espcl=1.5]{$x$ / 1 ,$f(x)$ /1 }{ a , b, c } +\tkzTabVar{+/1 , -DC+/2 , -/3} +\end{tikzpicture} +\\ \hline +\BSS{tkzTabVar}\AC{ -/1 , {\color{red} +DC-/}2 , +/3} & \BSS{tkzTabVar}\AC{ +/1 , {\color{red} -DC+/}2 , -/3} +\\ \hline +\begin{tikzpicture} +\tkzTabInit[espcl=1.5]{$x$ / 1 ,$f(x)$ /1 }{ a , b, c } +\tkzTabVar{+/1 , -DC-/2 , +/3} +\end{tikzpicture} +& +\begin{tikzpicture} +\tkzTabInit[espcl=1.5]{$x$ / 1 ,$f(x)$ /1 }{ a , b, c } +\tkzTabVar{-/1 , +DC+/2 , -/3} +\end{tikzpicture} +\\ \hline +\BSS{tkzTabVar}\AC{+/1 , {\color{red} -DC-/}2 , +/3} & \BSS{tkzTabVar}\AC{-/1 , {\color{red} +DC+/}2 , -/3 } +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|}\hline +\begin{tikzpicture} +\tkzTabInit[espcl=1.5]{$x$ / 1 ,$f(x)$ /1 }{ a , b, c } +\tkzTabVar[color=red]{-/1 , +V-/2 , +/3} +\end{tikzpicture} +& +\begin{tikzpicture} +\tkzTabInit[espcl=1.5]{$x$ / 1 ,$f(x)$ /1 }{ a , b, c } +\tkzTabVar[color=red]{+/1 , -V+/2 , -/3} +\end{tikzpicture} +\\ \hline +\BSS{tkzTabVar}\AC{ -/1 , {\color{red} +V-/}2 , +/3} & \BSS{tkzTabVar}\AC{ +/1 , {\color{red} -V+/}2 , -/3} +\\ \hline +\begin{tikzpicture} +\tkzTabInit[espcl=1.5]{$x$ / 1 ,$f(x)$ /1 }{ a , b, c } +\tkzTabVar[color=red]{+/1 , -V-/2 , +/3} +\end{tikzpicture} +& +\begin{tikzpicture} +\tkzTabInit[espcl=1.5]{$x$ / 1 ,$f(x)$ /1 }{ a , b, c } +\tkzTabVar[color=red]{-/1 , +V+/2 , -/3} +\end{tikzpicture} +\\ \hline +\BSS{tkzTabVar}\AC{+/1 , {\color{red} -V-/}2 , +/3} & \BSS{tkzTabVar}\AC{-/1 , {\color{red} +V+/}2 , -/3 } +\\ \hline +\end{tabular} + +\newpage + +%\paragraph{Mise en évidence d'une valeur} : + +\begin{tabular}{|c|c|}\hline + \multicolumn{1}{|c|}{\textbf{\TFRGB{Mise en évidence d'une valeur }{Emphasizing a value }} } + \\ \hline +\begin{tikzpicture} +\tkzTabInit[espcl=1.5]{$x$ / 1 ,$f(x)$ /1 }{ a , b, c } +\tkzTabVar[color=red]{+/1 , -V-/\colorbox{yellow}{2} , +/3} +\end{tikzpicture} +\\ \hline +\BS{tkzTabVar}\AC{+/1 , -V-/\BSS{colorbox}\AC{yellow}\AC{2} , +/3} +\\ \hline +\end{tabular} + +\bigskip + +%\paragraph{Variation sur plusieurs colonnes}: + +\begin{tabular}{|c|c|}\hline + \multicolumn{1}{|c|}{\textbf{\TFRGB{Variation sur plusieurs colonnes }{Multicolumn variation }} } + \\ \hline +\begin{tikzpicture} +\tkzTabInit[espcl=1.5,color]{$x$ / 1 ,$f(x)$ /1 }{ a , b, c } +\tkzTabVar[color=red]{-/1 , R/ , +/3} +\end{tikzpicture} +\\ \hline +\BS{tkzTabVar}\AC{-/1 , {\color{red} R/} , +/3} +\\ \hline +\end{tabular} + +\bigskip +%\paragraph{Valeurs intermédiaires}: + +\begin{tabular}{|c|c|}\hline + \multicolumn{2}{|c|}{\textbf{\TFRGB{Valeurs intermédiaires }{Intermediate values }} } + \\ \hline +\begin{tikzpicture} +\tkzTabInit[espcl=1.5]{$x$ / 1 ,$f(x)$ /1 }{ a , b, c } +%\tkzTabLine{d,+,}% +\tkzTabVar{ - / 1 , R/ , + / 3 } +\tkzTabVal{1}{3}{0.25}{A}{x} +\end{tikzpicture} +& +\begin{tikzpicture} +\tkzTabInit[espcl=1.5]{$x$ / 1 ,$f(x)$ /1 }{ a , b, c } +%\tkzTabLine{d,+,}% +\tkzTabVar{ - / 1 , R/ , + / 3 } +\tkzTabVal{1}{3}{0.75}{\colorbox{yellow}{A}}{\colorbox{yellow}{x}} +\end{tikzpicture} +\\ \hline +\BSS{tkzTabVal}\AC{1}\AC{3}\AC{0.25}\AC{A}\AC{x} & \BSS{tkzTabVal}\AC{1}\AC{3}\AC{0.75}\AC{A}\AC{x} +\\ \hline +\end{tabular} +\bigskip + +\begin{tabular}{|c|c|}\hline +\begin{tikzpicture} +\tkzTabInit[espcl=1.5]{$x$ / 1, /1 ,$f(x)$ /1 }{ a , b, c } +\tkzTabVar{ } +\tkzTabVar{ - / 1 , R/ , + / 3 } +\tkzTabVal[draw]{1}{3}{0.33}{A}{x} +\end{tikzpicture} +\\ \hline +\BSS{tkzTabVal}[\RDD{draw}]\AC{1}\AC{3}\AC{0.25}\AC{A}\AC{x} +\\ \hline +\end{tabular} + +\bigskip +%\paragraph{Ajout d’images} : + +\begin{tabular}{|c|c|}\hline + \multicolumn{2}{|c|}{\textbf{\TFRGB{Ajout d'images }{Picture insertion }} } + \\ \hline +\begin{tikzpicture} +\tkzTabInit[espcl=1.5]{$x$ / 1 ,$f(x)$ /1 }{ a , b, c,d } +%\tkzTabLine{d,+,}% +\tkzTabVar{ - / 1 , R/ , R/, + / 3 } +\tkzTabIma{1}{4}{2}{x} +\end{tikzpicture} +& +\begin{tikzpicture} +\tkzTabInit[espcl=1.5]{$x$ / 1 ,$f(x)$ /1 }{ a , b, c,d } +%\tkzTabLine{d,+,}% +\tkzTabVar{ - / 1 , R/ , R/, + / 3 } +\tkzTabIma{1}{4}{3}{x} +\end{tikzpicture} +\\ \hline +\BSS{tkzTabIma}\AC{1}\AC{4}\AC{{\color{red} 2}}\AC{x} & \BSS{tkzTabIma}\AC{1}\AC{4}\AC{{\color{red} 3}}\AC{x} +\\ \hline +\end{tabular} diff --git a/info/visualtikz/Source/tkzthrough.tex b/info/visualtikz/Source/tkzthrough.tex new file mode 100644 index 0000000000..81c9981dbc --- /dev/null +++ b/info/visualtikz/Source/tkzthrough.tex @@ -0,0 +1,22 @@ + +\SbSSCT{Cercle défini par deux points}{Circle defined by two points } + + + \maboite{\BS{usetikzlibrary}\AC{through}} +\label{lib-through} + + +\begin{center} +\RRR{ 71 } +\end{center} + +\begin{tabular}{|c|} \hline +\BS{node} [draw] at (2,1) [\RDD{circle through}=\AC{(1,2)}] \AC{c}; +\\ \hline +\begin{tikzpicture} +\draw[help lines] (0,0) grid (3,2); +\filldraw [red] (1,2) circle (2pt); +\node [draw] at (2,1) [circle through={(1,2)}] {c}; +\end{tikzpicture} +\\ \hline +\end{tabular}
\ No newline at end of file diff --git a/info/visualtikz/Source/tkztitre.tex b/info/visualtikz/Source/tkztitre.tex new file mode 100644 index 0000000000..85c0bd3216 --- /dev/null +++ b/info/visualtikz/Source/tkztitre.tex @@ -0,0 +1,146 @@ + +\author{{\Huge Jean Pierre Casteleyn } \\ {\Huge IUT Génie Thermique et \'Energie } \\ {\Huge Dunkerque, France }} + +\DeclareFixedFont{\RM}{T1}{ptm}{b}{n}{2cm} + +\DeclareFixedFont{\RMM}{T1}{ptm}{b}{n}{1cm} + +\title{ {\RM Visual TikZ} \\ \vspace{1cm} {\RMM Version 0.66} } + + + +\date{ +\begin{center} +\begin{animateinline}[loop,autoplay]{12}% + \multiframe{24}{iAngle=0+15,icol=0+5}{\begin{tikzpicture}[rotate=90] + \draw (0,0) node[fill=white,circle] {\includegraphics[width=4cm]{LogoIUT}} (0,0) circle (1); + \end{tikzpicture}} +\end{animateinline}% +\end{center} +{\LARGE \TFRGB{mis à jour le \today}{Updated on \today} +} +} + + +\maketitle + + + + \begin{animateinline}[autoplay,loop]{12}% + \multiframe{24}{iAngle=0+15,icol=0+5}{\begin{tikzpicture} + [scale=1.8] % + \draw[line width=0pt] (-2,-2) rectangle(6,2); % + \draw (0,0) node[fill=white,circle,rotate=\iAngle] {\includegraphics[width=2cm]{LogoIUT}} (0,0) circle (1); + \draw (0,0) circle (1); + \coordinate (abc) at (${sqrt(9-sin(\iAngle)*sin(\iAngle))+cos(\iAngle)}*(1,0)$) ; + \coordinate (xyz) at (\iAngle:1); + \draw[ultra thick] (0,0) --(xyz); + \draw[ultra thick] (xyz) -- (abc) ; + \fill[color=blue!\icol] (abc)++(0.5,-1) rectangle (5,1) ; + \draw[ultra thick] (abc) ++(0,-1) rectangle ++(.5,2) ; + \draw[ultra thick] (1.5,1) -- (5,1) -- (5,-1) -- (1.5,-1); + \fill[red] (xyz) circle (4pt); + \fill[red] (abc) circle (4pt); + \end{tikzpicture}} + \end{animateinline} + + + +\newpage + + +\TFRGB{ +\textbf{Objectifs }: + +\begin{itemize} +\item Avoir une image par commande ou par paramètre. +\item Avoir un texte réduit au strict minimum. +\item Etre le plus complet possible au fil de mises à jour régulières. +\item Garder la même structure que visuel pstricks +\end{itemize} +} +{\textbf{Objectives }: + +\begin{itemize} +\item One image per command or parameter. +\item the minimum amount of text possible. +\item the most complete possible update after update. +\item keep the same structure as VisualPSTricks +\end{itemize}} + + +\vspace{1cm} + +\TFRGB{ +\textbf{Remarques }: Le code donné est minimal et ne sert qu'à montrer les commandes concernées. Les effets sont parfois exagérés pour bien les mettre en évidence. Pour en savoir plus, vous pouvez voir la documentation. Pour se faire j'ai indiqué le numéro de \tikz[baseline=-1mm] \draw node[draw,fill=red!20] {Section de pgfmanual} ; +} +{\textbf{Remarks }: +Minimal code is given to show the effect of a command or a parameter. The effects are sometime exaggerated for clarity .To consult the documentation, I have given the number of the \tikz[baseline=-1mm] \draw node[draw,fill=red!20] {Section in pgfmanual} ; +} +\vspace{1cm} + + +\TFRGB{ +\textbf{Vous pouvez me contacter à} + \href{mailto:jpcdk@yahoo.fr}{mon e-mail personnel} pour + +\begin{itemize} +\item me signaler les erreurs que vous avez constatés (merci d'indiquer la page où vous l'avez constaté) +\item me faire part de vos commentaires, suggestions \dots +\end{itemize}} +{ +\textbf{You can contact me at } + \href{mailto:jpcdk@yahoo.fr}{my personal email} to + +\begin{itemize} +\item let me know the mistakes found (please indicate the page) +\item give me your commentaries, your suggestions \dots +\end{itemize}} + +\vspace{1cm} +\TFRGB{ +\textbf{Quoi de neuf ! } : + +\begin{itemize} +\item Ajout de la library chains \pageref{lib-chains} +\item Ajout de la library through \pageref{lib-through} +\item Ajout de la library turtle \pageref{lib-turtle} +\item Ajout de la library positioning \pageref{lib-pos} +\item Ajout du module tikzsymbols \pageref{symbol} +\item mise à jour du module tikzducks \pageref{ducks} +\item mise à jour des modules shape \pageref{formes} +\end{itemize} + +} +{ +\textbf{What's new } : +\begin{itemize} +\item chains library added \pageref{lib-chains} +\item through library added \pageref{lib-through} +\item turtle library added \pageref{lib-turtle} +\item positioning library added \pageref{lib-pos} +\item Tikzsymbols package added \pageref{symbol} +\item Tikzducks package updated \pageref{ducks} +\item shapes packages updated \pageref{formes} +\end{itemize} +} + + + +\vspace{1cm} +\textbf{Licence } : + + +This work may be distributed and/or modified under the conditions of the LaTeX Project Public License, either version 1.3 of this license or (at your option) any later version. + + The latest version of this license is in http://www.latex-project.org/lppl.txt and version 1.3 or later is part of all distributions of LaTeX +version 2005/12/01 or later. + +This work has the LPPL maintenance status `maintained'. + +The Current Maintainer of this work is M. Jean Pierre Casteleyn. + +\vspace{2cm} +\input{tkzmerci} + +\newpage
\ No newline at end of file diff --git a/info/visualtikz/Source/tkztree.tex b/info/visualtikz/Source/tkztree.tex new file mode 100644 index 0000000000..ff92d13962 --- /dev/null +++ b/info/visualtikz/Source/tkztree.tex @@ -0,0 +1,1096 @@ + +\begin{center} +\RRR{21} +\end{center} + +\subsection{Structure} + +\begin{tabular}{|c|c|} \hline + \begin{tikzpicture}[baseline=0pt] + \node {} + child + child { child child } + child ; + \end{tikzpicture} + & +\begin{tikzpicture}[baseline=0pt] +\coordinate + child + child { child child } + child ; +\end{tikzpicture} + \\ \hline + \BS{node} \AC{} +{\color{red} child + child} \AC{ {\color{red}child child }} + {\color{red}child} ; + & + \BS{coordinate} + {\color{red}child + child} \AC{ {\color{red}child child }} + {\color{red}child} ; + \\ \hline +\end{tabular} + +\bigskip + + + \begin{tabular}{|c|c|} \hline + \begin{tikzpicture}[baseline=0pt] + \node {père} + child {node {frère}} + child {node {moi} + child {node {fils}} + child {node {fille}}} + child {node{soeur}}; + \end{tikzpicture} + & + \parbox[t]{8cm}{ + \BS{begin}\AC{tikzpicture} \\ + \BS{node} \AC{père} \\ + {\color{red}child} \AC{node \AC{frère}} \\ + {\color{red}child} \AC{node \AC{moi}\\ + {\color{red}child} \AC{node \AC{fils}}\\ + {\color{red}child} \AC{node \AC{fille}}}\\ + {\color{red}child} \AC{node\AC{soeur}};\\ + \BS{end}\AC{tikzpicture}\\ + } + \\ \hline + + \end{tabular} + +\bigskip +\begin{tabular}{|c|} \hline + \begin{tikzpicture}[baseline=0pt] +\node {racine} child foreach \name in {a,b,c,d} {node {\name}}; + \end{tikzpicture} +\\ \hline +\BS{node} \AC{racine} child \RDD{foreach} \BS{name} in \AC{a,b,c,d} \AC{node \AC{\BS{name}}}; +\\ \hline +\end{tabular} + + + +\subsection{Orientation} + +\begin{tabular}{|c|c|c|} \hline +\begin{tikzpicture} + \node {père}[grow=-30] + child {node {frère}} + child {node {moi} + child {node {fils}} + child {node {fille}}} + child {node{soeur}}; + \end{tikzpicture} +& +\begin{tikzpicture} + \node {père}[grow=30] + child {node {frère}} + child {node {moi} + child {node {fils}} + child {node {fille}}} + child {node{soeur}}; + \end{tikzpicture} +& +\begin{tikzpicture} + \node {père}[grow'=30] + child {node {frère}} + child {node {moi} + child {node {fils}} + child {node {fille}}} + child {node{soeur}}; + \end{tikzpicture} +\\ \hline +\BS{node} \AC{père}[\RDD{grow}=-30] +& +\BS{node} \AC{père}[\RDD{grow}=30] +& +\BS{node} \AC{père}[\RDD{grow'}=30] +\\ \hline +\end{tabular} +\bigskip + + +\begin{tabular}{|c|c|c|} \hline + \begin{tikzpicture} + \node {père}[grow=up] + child {node {frère}} + child {node {moi} + child {node {fils}} + child {node {fille}}} + child {node{soeur}}; + \end{tikzpicture} +& + \begin{tikzpicture} + \node {père}[grow=left] + child {node {frère}} + child {node {moi} + child {node {fils}} + child {node {fille}}} + child {node{soeur}}; + \end{tikzpicture} +& + \begin{tikzpicture} + \node {père}[grow=right] + child {node {frère}} + child {node {moi} + child {node {fils}} + child {node {fille}}} + child {node{soeur}}; + \end{tikzpicture} +\\ \hline +\BS{node} \AC{père}[\RDD{grow}=up] +& +\BS{node} \AC{père}[\RDD{grow}=left] +& +\BS{node} \AC{père}[\RDD{grow}=right] +\\ \hline + \begin{tikzpicture} + \node {père}[grow=north] + child {node {frère}} + child {node {moi} + child {node {fils}} + child {node {fille}}} + child {node{soeur}}; + \end{tikzpicture} +& + \begin{tikzpicture} + \node {père}[grow=east] + child {node {frère}} + child {node {moi} + child {node {fils}} + child {node {fille}}} + child {node{soeur}}; + \end{tikzpicture} +& + \begin{tikzpicture} + \node {père}[grow=north east] + child {node {frère}} + child {node {moi} + child {node {fils}} + child {node {fille}}} + child {node{soeur}}; + \end{tikzpicture} +\\ \hline +\BS{node} \AC{père}[\RDD{grow}=north] +& +\BS{node} \AC{père}[\RDD{grow}=east] +& +\BS{node} \AC{père}[\RDD{grow}=north east ] +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|} \hline +\begin{tikzpicture} [baseline=0pt] + \node {père} + child[grow=right,red] {node {frère}} + child {node {moi} + child {node {fils}} + child {node {fille}}} + child[grow=north west,red] {node{soeur}}; + \end{tikzpicture} +& +\parbox[c]{8cm}{ + \BS{node} \AC{père}\\ + child[\RDD{grow}=right,red] \AC{node \AC{frère}}\\ + child \AC{node \AC{moi}\\ + child \AC{node \AC{fils}}\\ + child \AC{node \AC{fille}}}\\ + child[\RDD{grow}=north west,red] \AC{node\AC{soeur}};\\ + } +\\ \hline +\end{tabular} + +\subsection{Distance} + +\SbSSCT{Distance père fils}{Parent-child distance} + +\begin{tabular}{|c|c|} \hline + \begin{tikzpicture} + \node {père}[level distance=3cm,red] + child {node {frère}} + child {node {moi} + child {node {fils}} + child {node {fille}}} + child {node{soeur}}; + \end{tikzpicture} +& + \begin{tikzpicture} + \node {père} + child[level distance=3cm,red] {node {frère}} + child {node {moi} + child {node {fils}} + child[level distance=.5cm,red] {node {fille}}} + child {node{soeur}}; + \end{tikzpicture} +\\ \hline +\BS{node} \AC{père}[level distance=3cm,red] +& +child[level distance=3cm,red] \AC{node \AC{frère}} +\\ +& +child[level distance=.5cm,red] \AC{node \AC{fille}} +\\ \hline +\multicolumn{2}{|c|}{\dft{} : level distance=15 mm} +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|} \hline +\begin{tikzpicture} +\node {père}[level 1/.style={level distance=1cm}] +child{node {frère}} +child {node {moi} +child {node {fils}} +child {node {fille}}} +child {node{soeur}}; +\end{tikzpicture} +& +\begin{tikzpicture} +\node {père}[level 2/.style={level distance=.5cm}] +child{node {frère}} +child {node {moi} +child {node {fils}} +child {node {fille}}} +child {node{soeur}}; +\end{tikzpicture} + \\ \hline +\BS{node} \AC{père}[\RDD{level 1/.style}=\AC{level distance=1cm}] + & +\BS{node} \AC{père}[\RDD{level 2/.style}=\AC{level distance=.5cm}] + \\ \hline + \end{tabular} + +\SbSSCT{Distance père fils}{Two children distance} + + \begin{tabular}{|c|c|} \hline +\begin{tikzpicture} + \node {père}[sibling distance=1cm,red] + child {node {frère}} + child {node {moi} + child {node {fils}} + child {node {fille}}} + child {node{soeur}}; + \end{tikzpicture} + & + \begin{tikzpicture} + \node {père}[sibling distance=3cm,red] + child {node {frère}} + child {node {moi} + child {node {fils}} + child {node {fille}}} + child {node{soeur}}; + \end{tikzpicture} + \\ \hline + \BS{node} \AC{père}[\RDD{sibling distance}=1cm,red] + & + \BS{node} \AC{père}[\RDD{sibling distance}=3cm,red] + \\ \hline + \multicolumn{2}{|c|}{\dft{} : sibling distance=15 mm} + \\ \hline + \end{tabular} + +\bigskip +\begin{tabular}{|c|c|} \hline +\TFRGB{Problème}{Problem} & solution +\\ \hline + \begin{tikzpicture} + \node {père}[sibling distance=2cm] + child {node {frère}} + child {node {moi} + child {node {fils}} + child [red]{node {fille}}} + child {node{soeur} + child [red]{node {neveu}} + child {node {nièce}} + }; + \end{tikzpicture} +& + \begin{tikzpicture} + \node {père}[level 1/.style={sibling distance=2cm}, + level 2/.style={sibling distance=1cm}] + child {node {frère}} + child {node {moi} + child {node {fils}} + child [red]{node {fille}}} + child {node{soeur} + child [red]{node {neveu}} + child {node {nièce}} + }; + \end{tikzpicture} +\\ \hline +[sibling distance=2cm] +& +[level 1/.style={sibling distance=2cm},\\ +& + level 2/.style={sibling distance=1cm}] +\\ \hline +\end{tabular} + +\SbSSCT{Personnalisation des noeuds}{Nodes customization} + + \begin{tabular}{|c|c|} \hline + + \begin{tikzpicture}[baseline=0pt] + \node[starburst,draw] {père}[grow=right] + child {node[diamond,draw] {frère}} + child {node[diamond,draw] {moi} + child {node[ellipse,draw] {fils}} + child {node[ellipse,draw] {fille}}} + child {node[diamond,draw] {soeur}}; + \end{tikzpicture} + & + \parbox{8cm}{ + \BS{node}[\RDD{starburst} \footnotemark[1] ,draw] \AC{père}[grow=right]\\ \\ + child \AC{node[\RDD{diamond},draw] {frère}}\\ + child \AC{node[\RDD{diamond},draw] {moi}\\ + child \AC{node[\RDD{ellipse},draw] {fils}}\\ + child \AC{node[\RDD{ellipse},draw] {fille}}}\\ + child \AC{node[\RDD{diamond},draw] {soeur}}; \\ + \\ + } + \\ \hline + \begin{tikzpicture}[baseline=0pt,inner sep=4pt] + \node[rectangle,double,draw,text width=1cm,text centered] {père et mère }[grow=right] + child {node[red,ultra thick , draw,rotate=45] {frère}} + child {node[blue,dashed, draw] {moi} + child {node[ellipse,draw] {fils}} + child {node[ellipse,fill] {fille}}} + child {node[magenta,pattern=dots,draw] {soeur}}; + \end{tikzpicture} + & + \parbox{10cm}{ + \BS{node}[rectangle,double,draw,text width=1cm,text centered] \\ \AC{père}[grow=right,level distance=2cm]\\ \\ + child \AC{node{\color{red}[red,ultra thick,draw,rotate=45]} \AC{frère}}\\ + child \AC{node{\color{red}[blue,dashed, draw]} \AC{moi}\\ + child \AC{node{\color{red}[ellipse,draw]} \AC{fils}}\\ + child \AC{node {\color{red}[ellipse,fill]} \AC{fille}}}\\ + child \AC{node {\color{red}[magenta,pattern=dots,draw]} \AC{soeur}};\\ + } + \\ \hline + \end{tabular} + + \footnotetext[1]{ \TFRGB{autres types de n\oe uds voir}{Other types of nodes see} section \ref{ndbt} } + +\SbSbSSCT{Nom des noeuds}{Nodes name} + +\begin{tabular}{|c|c|} \hline +\begin{tikzpicture}[baseline=0pt] +\node (a) {a} +child +child { +child {child child} +child {child } +}; +\node at (a-1) {a-1}; +\node at (a-2) {a-2}; +\node at (a-2-2) {a-2-2}; +\node at (a-2-1) {a-2-1}; +\node at (a-2-1-2) {a-2-1-2}; +\draw[red,,ultra thick] (a-1) -- (a-2); +\end{tikzpicture} +& + + \parbox[t]{8cm}{ +\BS{node} {\color{red}(a)} \AC{a}\\ +child\\ +child \AC{\\ +child \AC{child child}\\ +child \AC{child }\\ +};\\ +\BS{node} at {\color{red}(a-1)} \AC{a-1};\\ +\BS{node} at {\color{red}(a-2)} \AC{a-2};\\ +\BS{node} at {\color{red}(a-2-2)} \AC{a-2-2};\\ +\BS{node} at {\color{red}(a-2-1)} \AC{a-2-1};\\ +\BS{node} at {\color{red}(a-2-1-2)} \AC{a-2-1-2};\\ +\\ +\BS{draw}[red,ultra thick] {\color{red}(a-1)} -- {\color{red}(a-2)}; \\ +} +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|} \hline +\begin{tikzpicture}[baseline=0pt] +\node (a) {a} +child +child { +child {coordinate (b) child child} +child +}; +\node at (a-1) {a-1}; +\node at (a-2) {a-2}; +\node at (b) {b}; +\node at (a-2-2) {a-2-2}; +\node at (b-1) {b-1}; +\node at (a-2-1-2) {a-2-1-2}; +\draw[red,,ultra thick] (a-1) -- (b-1); + +\end{tikzpicture} +& +\parbox[t]{8cm}{ +\BS{node} (a) \AC{a} \\ +child \\ +child { \\ +child {coordinate (b) child child} \\ +child \\ +}; \\ +\BS{node} at (a-1) \AC{a-1}; \\ +\BS{node} at (a-2) \AC{a-2}; \\ +\BS{node} at {\color{red}(b)} \AC{b}; \\ +\BS{node} at (a-2-2) \AC{a-2-2}; \\ +\BS{node} at {\color{red}(b-1)} \AC{b-1}; \\ +\BS{node} at (a-2-1-2) \AC{a-2-1-2}; \\ +\\ +\BS{draw}[red,ultra thick] {\color{red}(a-1)} -- {\color{red}(b-1)}; \\ +} +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|}\hline +\begin{tikzpicture} +\node(a) {père} +child {node (b) {frère}} +child {node (c) {moi} +child {node (d) {fils}} +child {node (e) {fille}}} +child {node (f) {soeur}}; +\draw[red,,ultra thick] (b) -- (d); +\end{tikzpicture} +& +\parbox[b]{8cm}{ + +\BS{node} {\color{red}(a)} \AC{père}\\ +child \AC{node {\color{red}(b)} \AC{frère}}\\ +child \AC{node {\color{red}(c)} \AC{moi}\\ +child \AC{node {\color{red}(d)} \AC{fils}}\\ +child \AC{node {\color{red}(e)} \AC{fille}}}\\ +child \AC{node {\color{red}(f)} \AC{soeur}};\\ +\\ +\BS{draw}[red,,ultra thick] {\color{red}(b)} -- {\color{red}(d)};\\ +} +\\ \hline +\end{tabular} + + +\SbSbSSCT{Omission d'un noeud}{Missing a node} + +\begin{tabular}{|c|} \hline + \begin{tikzpicture} + \node {0} + child { node {1} } + child { node {2} } + child { node {3} } + child[missing] { node {4} } + child { node {5} } + child { node {6} }; + \end{tikzpicture} +\\ \hline + child[\RDD{missing}] \AC{node \AC{4} } +\\ \hline +\end{tabular} + +\SbSbSSCT{Modification du point d'accrochage}{Attachment point modification} + + \begin{tabular}{|l|l|} \hline + \begin{tikzpicture} + \node {pére} [child anchor=east,red] + child {node {frère}} + child {node {moi} + child {node {fils}} + child {node {fille} } + }; + \end{tikzpicture} + & + \begin{tikzpicture} + \node {pére} + child {node {frère}} + child {node {moi} + child [child anchor=west,red] {node {fils}} + child {node {fille} } + }; + \end{tikzpicture} + \\ \hline + \BS{node} \AC{pére} [{\color{red}child anchor=east},red] + & + \BS{node} \AC{pére} + \\ + child \AC{node \AC{frère}} & child \AC{node \AC{frère}} \\ + child \{ node \AC{moi} & child \{ node \AC{moi}\\ + child \AC{node \AC{fils}} & child [\RDD{child anchor}=west,red] \AC{node \AC{fils}} \\ + child \AC{node \AC{fils}} \}; & child \AC{node \AC{fils}} \}; + \\ \hline + \end{tabular} +\bigskip + +\begin{tabular}{|l|l|} \hline + \begin{tikzpicture} + \node {pére} [parent anchor=east,red] + child {node {frère}} + child {node {moi} + child {node {fils}} + child {node {fille} } + }; + \end{tikzpicture} +& + \begin{tikzpicture} + \node {pére} + child {node {frère}} + child {node {moi} + child [parent anchor=west,red] {node {fils}} + child {node {fille} } + }; + \end{tikzpicture} +\\ \hline + \BS{node} \AC{pére} [\RDD{parent anchor}=east,red] +& + \BS{node} \AC{pére} +\\ + child \AC{node \AC{frère}} & child \AC{node \AC{frère}} \\ + child \{ node \AC{moi} & child \{ node \AC{moi}\\ + child \AC{node \AC{fils}} & child [\RDD{parent anchor}=west,red] \AC{node \AC{fils}} \\ + child \AC{node \AC{fils}} \}; & child \AC{node \AC{fils}} \}; \\ +\hline +\end{tabular} + +\SbSbSSCT{Liaison}{Links} + +\begin{tabular}{|c|c|c|} \hline + \begin{tikzpicture} + \node {pére} +child {node {frère}} + child {node {moi}edge from parent[red,ultra thick] + child {node {fils}} + child {node {fille} } } + child {node{soeur}}; + \end{tikzpicture} +& + \begin{tikzpicture} + \node {pére} + child {node {frère}} + child {node {moi} + child {node {fils} edge from parent[red,ultra thick]} + child {node {fille} } } + child {node{soeur}}; + \end{tikzpicture} +& + \begin{tikzpicture} + \node {père} + child {node {frère}} + child {node {moi} + child {node {fils}} + child {node {fille} edge from parent[draw=none]}} + child {node{soeur}}; + \end{tikzpicture} +\\ \hline + +child \{node \AC{moi} & child \{node \AC{fils} & child \{ node \AC{fille} \\ +\RDD{edge from parent}[red,ultra thick] & \RDD{edge from parent}[red,ultra thick] \} & \RDD{edge from parent}[draw=none] \} \\ +\hline +\end{tabular} + +\bigskip + + +\begin{tabular}{|c|} \hline + \begin{tikzpicture} + [edge from parent/.style={draw,red,ultra thick}] + \node {père} + child {node {frère}} + child {node {moi} + child {node {fils}} + child {node {fille}}} + child {node{soeur}}; + \end{tikzpicture} +\\ \hline + [\RDD{edge from parent/.style}=\AC{draw,red,ultra thick}] \\ + \BS{node} \AC{père} +\\ \hline +\end{tabular} + +\SbSbSSCT{\'Etiquetes sur liaisons}{Labels on link} + +\begin{tabular}{|c|c|c|c|} \hline +\multicolumn{4}{|c|}{\BS{node} \AC{père} +child \AC{node \AC{fils} \RDD{edge from parent} + node[left,red] \AC{texte}};} + \\ \hline + \begin{tikzpicture} +\node {père} +child {node {fils} edge from parent + node[left,red] {texte}}; + \end{tikzpicture} +& +\begin{tikzpicture} +\node {père} +child {node {fils} edge from parent + node[right,red] {texte}}; + \end{tikzpicture} + +& +\begin{tikzpicture} +\node {père} +child {node {fils} edge from parent + node[near end,red] {texte}}; + \end{tikzpicture} +& +\begin{tikzpicture} +\node {père} +child {node {fils} edge from parent + node[draw,red] {texte}}; + \end{tikzpicture} +\\ \hline +node[\RDD{left},red] & node[\RDD{right},red] & node[\RDD{near end},red] & node[\RDD{draw},red] \\ +\hline +\end{tabular} + + +\SbSbSSCT{Personalisation des liaisons}{Links customization} + + \begin{tabular}{|c|c|c|} \hline + \multicolumn{3}{|c|} { [ edge from parent path= + \{(\BSS{tikzparentnode.south}) {\color{red}.. controls +(0,-1) and +(0,1) .. }} \\ + \multicolumn{3}{|c|}{ (\BSS{tikzchildnode.north})\} ]} + \\ \hline + \begin{tikzpicture}[edge from parent path= + {(\tikzparentnode.south) .. controls +(0,-1) and +(0,1) + .. (\tikzchildnode.north)}] + \node {père} + child {node {frère}} + child {node {moi} + child {node {fils}} + child {node {fille}}} + child {node{soeur}}; + \end{tikzpicture} + & + \begin{tikzpicture}[edge from parent path= + {(\tikzparentnode.south) -|(\tikzchildnode.north)}] + \node {père} + child {node {frère}} + child {node {moi} + child {node {fils}} + child {node {fille}}} + child {node{soeur}}; + \end{tikzpicture} +& + \begin{tikzpicture}[edge from parent path= + {(\tikzparentnode.south) to[in=90,out=-90] (\tikzchildnode.north)}] + \node {père} + child {node {frère}} + child {node {moi} + child {node {fils}} + child {node {fille}}} + child {node{soeur}}; + \end{tikzpicture} + \\ \hline +{\color{red} .. controls +(0,-1) and +(0,1) + ..} & +{\color{red}-|} & {\color{red}to[in=90,out=-90]} + \\ \hline + \multicolumn{3}{|c|}{ \TFRGB{voir liaison de noeuds}{see links available : } section \ref{liaisons} } + \\ \hline + \end{tabular} + + +\newpage + +\SbSSCT{Options supplémentaires avec « library trees »}{More options with « library trees »} + +\label{lib-trees} + + + \maboite{\BS{usetikzlibrary}\AC{trees}} + +\begin{center} +\RRR{72} +\end{center} + +\SbSbSSCT{Positions d'un fils et de deux fils}{One child and two childrenn position} + +%\begin{tabular}{|c|c|c|} \hline +%\begin{tikzpicture} +%[grow via three points={% +%one child at (0,0) and two children at (-.5,1) and (.5,1)}] +%\node at (0,0) {racine} child child child child; +%\draw[help lines] (-3,-1) grid (3,6); +%\end{tikzpicture} +%& +%\begin{tikzpicture} +%[grow via three points={% +%one child at (0,1) and two children at(-.5,1) and (.5,1)}] +%\node at (0,0) {racine} child child child child; +%\draw[help lines] (-3,-1) grid (3,6); +%\end{tikzpicture} +% +%& +%\begin{tikzpicture} +%[grow via three points={% +%one child at (0,-1) and two children at (-.5,1) and (.5,1)}] +%\node at (0,0) {racine} child child child child; +%\draw[help lines] (-3,-1) grid (3,6); +%\end{tikzpicture} +%\\ \hline +%one child at (0,0) +%& +%one child at (0,1) +%& +%one child at (0,-1) +%\\ \hline +%\end{tabular} +%\bigskip +% +%\begin{tabular}{|c|c|c|} \hline +%\begin{tikzpicture}[grow via three points={% +%one child at (0,0) and two children at (-.5,1) and (.5,1)}] +%\node at (0,-4.5) {racine} child child child child; +%\end{tikzpicture} +%& +%\begin{tikzpicture}[grow via three points={% +%one child at (0,0) and two children at (0,1) and (1,1)}] +%\node at (0,-4.5) {racine} child child child child; +%\end{tikzpicture} +%& +%\begin{tikzpicture}[grow via three points={% +%one child at (0,0)and two children at (-1,-.5) and (0,-.5)}] +%\node at (0,-4.5) {racine} child child child child; +%\end{tikzpicture} +%\\ \hline +%at (-.5,1) and (.5,1) +%& +%at (0,1) and (1,1) +%& +%at (-1,-.5) and (0,-.5) +%\\ \hline +%\end{tabular} +% +%\bigskip + +\begin{tabular}{|c|c|c|c|} \hline +\multicolumn{4}{|c|}{{\color{red}grow via three points}=\AC{ +{\color{red} one child at} (0,1) {\color{red}and two children at} (-.5,1) {\color{red}and} (.5,1)} } \\ +\begin{tikzpicture}[red,ultra thick,grow via three points={% +one child at (0,1) and two children at (-.5,1) and (.5,1)}] +\node at (0,0) {un} child ; +\draw[help lines] (-1,-1) grid (1,2); +\end{tikzpicture} +& +\begin{tikzpicture}[red,ultra thick,grow via three points={% +one child at (0,1) and two children at (-.5,1) and (.5,1)}] +\node at (0,0) {deux} child child; +\draw[help lines] (-1,-1) grid (1,2); +\end{tikzpicture} +& +\begin{tikzpicture}[red,ultra thick,grow via three points={% +one child at (0,1) and two children at (-.5,1) and (.5,1)}] +\node at (0,0) {trois} child child child; +\draw[help lines] (-2,-1) grid (2,2); +\end{tikzpicture} +& +\begin{tikzpicture}[red,ultra thick,grow via three points={% +one child at (0,1) and two children at (-.5,1) and (.5,1)}] +\node[] at (0,0) {quatre} child child child child; +\draw[help lines] (-2,-1) grid (2,2); +\end{tikzpicture} +\\ \hline +& & & \\ +\hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|c|c|} \hline +\multicolumn{4}{|c|}{grow via three points=\AC{ +one child at (0,1) and two children at {\color{red}(0,1)} and {\color{red}(1,1)}} } \\ \hline +\begin{tikzpicture}[red,ultra thick,grow via three points={% +one child at (0,1) and two children at (0,1) and (1,1)}] +\node at (0,0) {un} child ; +\draw[help lines] (-1,-1) grid (1,2); +\end{tikzpicture} +& +\begin{tikzpicture}[red,ultra thick,grow via three points={% +one child at (0,1) and two children at (0,1) and (1,1)}] +\node at (0,0) {deux} child child; +\draw[help lines] (-1,-1) grid (1,2); +\end{tikzpicture} +& +\begin{tikzpicture}[red,ultra thick,grow via three points={% +one child at (0,1) and two children at (0,1) and (1,1)}] +\node at (0,0) {trois} child child child; +\draw[help lines] (-1,-1) grid (3,2); +\end{tikzpicture} +& +\begin{tikzpicture}[red,ultra thick,grow via three points={% +one child at (0,1) and two children at (0,1) and (1,1)}] +\node[] at (0,0) {quatre} child child child child; +\draw[help lines] (-1,-1) grid (3,2); +\end{tikzpicture} +\\ \hline +& & & \\ +\hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|c|c|} \hline +\multicolumn{4}{|c|}{grow via three points=\AC{ +one child at (0,1) and two children at {\color{red}(-.5,1)} and {\color{red}(.5,1.5)}} } \\ \hline +\begin{tikzpicture}[red,ultra thick,grow via three points={% +one child at (0,1) and two children at (-.5,1) and (.5,1.5)}] +\node at (0,0) {un} child ; +\draw[help lines] (-1,-1) grid (1,3); +\end{tikzpicture} +& +\begin{tikzpicture}[red,ultra thick,grow via three points={% +one child at (0,1) and two children at (-.5,1) and (.5,1.5)}] +\node at (0,0) {deux} child child; +\draw[help lines] (-1,-1) grid (1,3); +\end{tikzpicture} +& +\begin{tikzpicture}[red,ultra thick,grow via three points={% +one child at (0,1) and two children at (-.5,1) and (.5,1.5)}] +\node at (0,0) {trois} child child child; +\draw[help lines] (-2,-1) grid (2,3); +\end{tikzpicture} +& +\begin{tikzpicture}[red,ultra thick,grow via three points={% +one child at (0,1) and two children at (-.5,1) and (.5,1.5)}] +\node[] at (0,0) {quatre} child child child child; +\draw[help lines] (-2,-1) grid (2,3); +\end{tikzpicture} +\\ \hline + +\end{tabular} +% +%\bigskip +% +%\begin{tabular}{|c|c|c|c|} \hline +%\multicolumn{4}{|c|}{grow via three points=\AC{ +%one child at (0,1) and two children at (-.5,.5) and (.5,1)} } \\ +%\begin{tikzpicture}[red,ultra thick,grow via three +%\end{tikzpicture} +%& +%\begin{tikzpicture}[red,ultra thick,grow via three points={one child at (0,-.5) and two children at (-.5,.5) and (.5,1)} +%\node at (0,0) {deux} child child; +%\draw[help lines] (-1,-1) grid (1,2); +%\end{tikzpicture} +%& +%\begin{tikzpicture}[red,ultra thick,grow via three points={one child at (0,-.5) and two children at (-.5,.5) and (.5,1)} +%\node at (0,0) {trois} child child child; +%\draw[help lines] (-1,-1) grid (3,2); +%\end{tikzpicture} +%%& +%\begin{tikzpicture}[red,ultra thick,grow via three points={one child at (0,-.5) and two children at (-.5,.5) and (.5,1)} +%\node[] at (0,0) {quatre} child child child child; +%\draw[help lines] (-1,-1) grid (3,2); +%\end{tikzpicture} +%\\ \hline +%& & & \\ +%\hline +%\end{tabular} +% +%\begin{tikzpicture}[grow via three points={% +%one child at (-1,-.5) and two children at (-1,-.5) and (0,-.75)}] +%\node at (0,0) {one} child; +%\node at (0,-1.5) {two} child child; +%\node at (0,-3) {three} child child child; +%\node at (0,-4.5) {four} child child child child; +%\end{tikzpicture} + +%--------------------------------------- + +%\subsubsection{Liaison angulaire } +\SbSbSSCT{Liaison angulaire }{Angular linking} + +\begin{tabular}{|c|c|c|} \hline +\begin{tikzpicture} +[grow cyclic] +\node {racine} child child child child; +\end{tikzpicture} +& +\begin{tikzpicture} +[grow cyclic,sibling angle=45] +\node {racine} child child child child; +\end{tikzpicture} +& +\begin{tikzpicture} +[grow cyclic,sibling angle=90] +\node {racine} child child child child; +\end{tikzpicture} +\\ \hline +[\RDD{grow cyclic}] +& +[grow cyclic,\RDD{sibling angle}=45] +& +[grow cyclic,\RDD{sibling angle}=90] +\\ \hline +\end{tabular} + + +\bigskip + +%\begin{tabular}{|c|c|} \hline +%\begin{tikzpicture}[baseline=0pt] +%[grow cyclic,level 1/.style={level distance=1cm,sibling angle=40},level 2/.style={level distance=5mm,sibling angle=20},level 3/.style={sibling angle=10}] +%\node {racine} child child child {child child child }child child; +%\end{tikzpicture} +%& +% \parbox[t]{8cm}{ +%[grow cyclic,\\ +%\RDD{level 1/.style}=\AC{sibling angle=40},\\ +%\RDD{level 2/.style}=\AC{sibling angle=20}]\\ +%\\ +%\BS{node} \AC{racine} child \\ +% child \\ +% child \AC{child child child } \\ +% +% child \\ +% child; +%} +%\\ \hline +%\end{tabular} + +%\bigskip +% +%\begin{tikzpicture}[baseline=0pt] +%[grow cyclic, +%level 1/.style={sibling angle=40}, +%level 2/.style={sibling angle=10}] +%\node {racine} child child {child child child child }child child; +%\end{tikzpicture} + +%\bigskip +%\begin{tikzpicture} +%[grow cyclic, +%level 1/.style={level distance=8mm,sibling angle=60}, +%level 2/.style={level distance=4mm,sibling angle=45}, +%level 3/.style={level distance=2mm,sibling angle=30}] +%\coordinate [rotate=-90] % going down +%child foreach \x in {1,2,3} +%{child foreach \x in {1,2,3} +%{child foreach \x in {1,2,3}}}; +%\end{tikzpicture} +% +%\begin{tikzpicture} +%[grow cyclic, +%level 1/.style={level distance=8mm}, +%level 2/.style={level distance=4mm}, +%level 3/.style={level distance=2mm}] +%\coordinate [rotate=-90] % going down +%child foreach \x in {1,2,3} +%{child foreach \x in {1,2,3} +%{child foreach \x in {1,2,3}}}; +%\end{tikzpicture} +% +% +%\bigskip + +\begin{tabular}{|c|c|} \hline +\begin{tikzpicture}[baseline=0pt] +\node {root} +[clockwise from=30,sibling angle=30] +child {node {$30$}} +child {node {$0$}} +child {node {$-30$}} +child {node {$-60$}}; +\end{tikzpicture} +& + \parbox[t]{8cm}{ +\BS{node} \AC{racine} +[\RDD{clockwise from}=30,\RDD{sibling angle}=30] \\ +\\ +child \AC{node \AC{\$30\$} }\\ +child \AC{node \AC{\$0\$} }\\ +child \AC{node \AC{\$-30\$} }\\ +child \AC{node \AC{\$-60\$ } }; +} +\\ \hline +\end{tabular} + +%----------------------------------------------- + +%\subsubsection{Liaisons en fourchette} +\SbSbSSCT{Liaisons en fourchette}{Forking links} + +\begin{tabular}{|c|c|} \hline +\begin{tikzpicture}[baseline=0pt] +\node {père} +[edge from parent fork down] +child {node {frère}} +child {node {moi} +child[child anchor=north east] {node {fils}} +child {node {fille}} +}; +\end{tikzpicture} +& +\parbox[t]{9cm}{ +\BS{node} \AC{père} +[\RDD{edge from parent fork down}] \\ +\\ +child \AC{node \AC{frère}} \\ +child \AC{node \AC{moi} \\ +child [child anchor=north east] \AC{node \AC{fils}} \\ +child \AC{node \AC{fille}} \\ +}; +} +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|} \hline +\begin{tikzpicture}[baseline=0pt] +\node {père} +[edge from parent fork right] +child {node {frère}} +child {node {moi} +child {node {fils}} +child {node {fille}} +}; +\end{tikzpicture} +& +\parbox[t]{9cm}{ +\BS{node} \AC{père} +[\RDD{edge from parent fork right}] \\ +\\ +child \AC{node \AC{frère}} \\ +child \AC{node \AC{moi} \\ +child \AC{node \AC{fils}} \\ +child \AC{node \AC{fille}} \\ +}; +} +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|} \hline +\begin{tikzpicture}[baseline=0pt] +\node {père} +[edge from parent fork right,grow=right] +child {node {frère}} +child {node {moi} +child {node {fils}} +child {node {fille}} +}; +\end{tikzpicture} +& +\parbox[t]{9cm}{ +\BS{node} \AC{père} +[edge from parent fork right,\RDD{grow=right}] \\ +\\ +child \AC{node \AC{frère}} \\ +child \AC{node \AC{moi} \\ +child \AC{node \AC{fils}} \\ +child \AC{node \AC{fille}} \\ +}; +} +\\ \hline +\end{tabular} + +
\ No newline at end of file diff --git a/info/visualtikz/Source/tkzturtle.tex b/info/visualtikz/Source/tkzturtle.tex new file mode 100644 index 0000000000..94a96a4997 --- /dev/null +++ b/info/visualtikz/Source/tkzturtle.tex @@ -0,0 +1,176 @@ + + \maboite{\BS{usetikzlibrary}\AC{turtle}} +\label{lib-turtle} + + +\begin{center} +\RRR{ 73 } +\end{center} + +\begin{tabular}{|c|c|c|c|} \hline +\multicolumn{4}{|c|}{ \BS{draw} [blue,line width=3pt,turtle={home,forward}];} \\ \hline +\begin{tikzpicture} +\draw[help lines] (-1.5,-2) grid (1.5,2) ; +\draw [blue,line width=3pt,turtle={home,forward}]; +\end{tikzpicture} +& +\begin{tikzpicture} +\draw[help lines] (-1.5,-2) grid (1.5,2) ; +\draw [blue,line width=3pt,turtle={home,forward=1.5cm}]; +\end{tikzpicture} +& +\begin{tikzpicture} +\draw[help lines] (-1.5,-2) grid (1.5,2) ; +\draw [blue,line width=3pt,turtle={home,fd}]; +\end{tikzpicture} +& +\begin{tikzpicture} +\draw[help lines] (-1.5,-2) grid (1.5,2) ; +\draw [blue,line width=3pt,turtle={home,fd=1.5cm}]; +\end{tikzpicture} +\\ \hline +turtle=\AC{home,forward} & turtle=\AC{home,forward=1.5cm} & turtle=\AC{home,fd} & +turtle=\AC{home,fd=1.5cm} \\ +\hline +\end{tabular} + +\bigskip + + +\begin{tabular}{|c|c|c|c|} +\hline +\multicolumn{4}{|c|}{ \BS{draw} [blue,line width=3pt,turtle={home,left,fd];}} \\ \hline +\hline +\begin{tikzpicture} +\draw (-1,-1) grid (1,1) ; +\draw [blue,line width=3pt,turtle={home,left,fd}]; +\end{tikzpicture} +& +\begin{tikzpicture} +\draw (-1,-1) grid (1,1) ; +\draw [blue,line width=3pt,turtle={home,left=45,fd}]; +\end{tikzpicture} +& +\begin{tikzpicture} +\draw (-1,-1) grid (1,1) ; +\draw [blue,line width=3pt,turtle={home,lt,fd}]; +\end{tikzpicture} +& +\begin{tikzpicture} +\draw (-1,-1) grid (1,1) ; +\draw [blue,line width=3pt,turtle={home,lt=45,fd}]; +\end{tikzpicture} +\\ \hline +turtle=\AC{home,left,fd} & turtle=\AC{home,left=45,fd} & turtle=\AC{home,lt,fd} & +turtle=\AC{home,lt=45,fd} \\ +\hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|c|c|} +\hline +\multicolumn{4}{|c|}{ \BS{draw} [blue,line width=3pt,turtle={home,right,fd];}} \\ \hline +\hline +\begin{tikzpicture} +\draw (-1,-1) grid (1,1) ; +\draw [blue,line width=3pt,turtle={home,right,fd}]; +\end{tikzpicture} +& +\begin{tikzpicture} +\draw (-1,-1) grid (1,1) ; +\draw [blue,line width=3pt,turtle={home,right=45,fd}]; +\end{tikzpicture} +& +\begin{tikzpicture} +\draw (-1,-1) grid (1,1) ; +\draw [blue,line width=3pt,turtle={home,rt,fd}]; +\end{tikzpicture} +& +\begin{tikzpicture} +\draw (-1,-1) grid (1,1) ; +\draw [blue,line width=3pt,turtle={home,rt=45,fd}]; +\end{tikzpicture} +\\ \hline +turtle=\AC{home,right,fd} & turtle=\AC{home,right=45,fd} & turtle=\AC{home,rt,fd} & +turtle=\AC{home,rt=45,fd} \\ +\hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|} \hline +\tikz[blue,line width=3pt] +\draw [->,turtle={home,rt,fd,fd,lt,fd,lt,fd}]; +& +\tikz[blue,line width=3pt] +\draw [->,turtle/distance=2cm,turtle={home,rt,fd,fd,lt,fd,lt,fd}]; +\\ \hline +[->,turtle={home,rt,fd,fd,lt,fd,lt,fd}] & [->,turtle/distance=2cm,turtle={home,rt,fd,fd,lt,fd,lt,fd}] +\\ \hline +\end{tabular} + +\bigskip + + +\begin{tabular}{|c|} \hline +\begin{tikzpicture}[turtle/distance=2cm] +\draw[help lines] (-1.5,-1) grid (6,3) ; +\draw [blue,line width=3pt,dotted,turtle={home,forward,right,forward},fd]; +\draw [red,line width=3pt,turtle={how/.style={bend left},home,fd,rt,fd,fd}] ; +\end{tikzpicture} +\\ \hline +[red,turtle=\AC{\rouge{how/.style}=\AC{bend left},home,fd,rt,fd,fd}] +\\ \hline +\end{tabular} + +\bigskip + +\begin{tabular}{|c|c|} \hline +\tikz +\filldraw [turtle/distance=2cm,thick,blue,fill=red!20] +[turtle=home] +\foreach \i in {1,...,5} +{ +[turtle={forward,right=144}] +}; +& + +\parbox[b]{10cm}{ +\BS{filldraw}[turtle/distance=2cm,thick,blue,fill=red!20] \\ +$[$ turtle=home $]$ \\ +\BS{foreach} \BS{i} in \AC{1,...,5} \\ +{ +[ turtle=\AC{forward,right=144} ] +}; +} +\\ \hline +\end{tabular} + +\bigskip + + + +\begin{tabular}{|c|c|} \hline +\tikz \draw [thick,blue] +[turtle=home] +\foreach \i in {1,...,25} +{ +[turtle={forward=\i/5,right=120}] +}; +& + +\parbox[b]{10cm}{ +\BS{draw}[thick,blue] \\ +$[$ turtle=home $]$ \\ +\BS{foreach} \BS{i} in \AC{1,...,25} \\ +{ +[turtle=\AC{forward=\BS{i}/5,right=120} ] +}; \\ +\vspace{1cm} +} +\\ \hline +\end{tabular} + + + diff --git a/info/visualtikz/Source/versFR.tex b/info/visualtikz/Source/versFR.tex new file mode 100644 index 0000000000..9d2c7ade67 --- /dev/null +++ b/info/visualtikz/Source/versFR.tex @@ -0,0 +1,18 @@ +% Version française + +\newcommand{\TFRGB}[2]{#1} % #1 en francais #2 in english +\newcommand{\dft}{Par défaut : } +\newcommand{\SSCT}[2]{\section{#1}} +\newcommand{\SbSSCT}[2]{\subsection{#1}} +\newcommand{\Par}[2]{ \paragraph{#1}} +\newcommand{\SbSbSSCT}[2]{\subsubsection{#1}} +\newcommand{\SSCTTC}[4]{\section[#1]{#2}} +\newcommand{\SbSSCTTC}[4]{\subsection[#1]{#2}} +\newcommand{\SbSbSSCTTC}[4]{\subsubsection[#1]{#2}} + + + +\newcommand{\maboite}[1]{\begin{center} \tikz \draw node[draw,fill=yellow!20,inner sep=0.2cm,text centered,text width=.75\linewidth] {Charger l'extension: #1} ; \end{center} } + + +\newcommand{\DW}[1]{\tikz[baseline=-1mm] \draw node[draw,fill=red!50] {{\tiny ne fonctionne pas !}}; \index{\textbf{6 liste des non-fonctionnels }}}
\ No newline at end of file diff --git a/info/visualtikz/Source/versGB.tex b/info/visualtikz/Source/versGB.tex new file mode 100644 index 0000000000..dd3afddee7 --- /dev/null +++ b/info/visualtikz/Source/versGB.tex @@ -0,0 +1,17 @@ +%English version +\newcommand{\TFRGB}[2]{#2} % #1 en francais #2 in english + +\newcommand{\dft}{By default} +\newcommand{\SSCT}[2]{ \section{#2}} +\newcommand{\SbSSCT}[2]{ \subsection{#2}} +\newcommand{\Par}[2]{ \paragraph{#2}} +\newcommand{\SbSbSSCT}[2]{ \subsubsection{#2}} +\newcommand{\SSCTTC}[4]{ \section[#2]{#2}} +\newcommand{\SbSSCTTC}[4]{ \subsection[#2]{#2}} +\newcommand{\SbSbSSCTTC}[4]{ \subsubsection[#3]{#4}} + +\newcommand{\maboite}[1]{\begin{center} \tikz \draw node[draw,fill=yellow!20,inner sep=0.2cm,text centered,text width=.75\linewidth] {Load package : #1} ; \end{center} } + +%\newcommand{\DW}[1]{\begin{center} \tikz \draw node[draw,fill=red!50,inner sep=0.1cm,text centered] {\tiny don't work !} ; \end{center} } + +\newcommand{\DW}[1]{\tikz[baseline=-1mm] \draw node[draw,fill=red!50] {{\tiny don't work !}}; \index{\textbf{6 list of don't work }}}
\ No newline at end of file diff --git a/info/visualtikz/Source/xxx.txt b/info/visualtikz/Source/xxx.txt new file mode 100644 index 0000000000..ab051e9fb6 --- /dev/null +++ b/info/visualtikz/Source/xxx.txt @@ -0,0 +1,11 @@ +::0x0,8% +::2 % one blue curve per frame +::7 +::3 +::6 +::c,1x3,5 +::4 +::11 +::5 +::7 +::9 |