Debian Codegraph @

texmf-dist/doc/latex/tikz-sections/examples/hrs-gallery.tex

raw
1 \documentclass[11pt]{article}
2
3 \usepackage[a4paper,landscape,margin=14mm]{geometry}
4 \usepackage{array}
5 \usepackage{tikz-sections}
6
7 \pagestyle{empty}
8 \setlength{\parindent}{0pt}
9 \renewcommand{\arraystretch}{1.15}
10
11 \newcommand{\ExampleRow}[3]{%
12 \begin{tabular}{@{}m{0.22\linewidth}m{0.74\linewidth}@{}}
13 \begin{tikzpicture}[baseline=(current bounding box.center)]
14 #3
15 \end{tikzpicture}
16 &
17 \textbf{#1}\par
18 \vspace{2pt}
19 {\raggedright\ttfamily\scriptsize\detokenize{#2}\par}
20 \end{tabular}
21 \par\vspace{8mm}
22 }
23
24 \begin{document}
25
26 \ExampleRow
27 {Universal beam}
28 {\TikZSectionsUniversalBeam[depth=61.2, width=22.9, flange thickness=1.96, web thickness=1.19, root radius=1.4, scale=0.12]}
29 {\TikZSectionsUniversalBeam[depth=61.2, width=22.9, flange thickness=1.96, web thickness=1.19, root radius=1.4, scale=0.12]}
30
31 \ExampleRow
32 {Universal column}
33 {\TikZSectionsUniversalColumn[depth=61.2, width=22.9, flange thickness=1.96, web thickness=1.19, root radius=1.4, scale=0.12]}
34 {\TikZSectionsUniversalColumn[depth=61.2, width=22.9, flange thickness=1.96, web thickness=1.19, root radius=1.4, scale=0.12]}
35
36 \ExampleRow
37 {Welded I-section}
38 {\TikZSectionsWeldedI[web depth=95, web thickness=1, top flange width=35, top flange thickness=2, bottom flange width=35, bottom flange thickness=2, scale=0.08]}
39 {\TikZSectionsWeldedI[web depth=95, web thickness=1, top flange width=35, top flange thickness=2, bottom flange width=35, bottom flange thickness=2, scale=0.08]}
40
41 \ExampleRow
42 {Tee section}
43 {\TikZSectionsTee[depth=30.6, width=22.9, flange thickness=1.96, web thickness=1.19, root radius=1.4, scale=0.16]}
44 {\TikZSectionsTee[depth=30.6, width=22.9, flange thickness=1.96, web thickness=1.19, root radius=1.4, scale=0.16]}
45
46 \ExampleRow
47 {Hot-rolled channel}
48 {\TikZSectionsHRSChannel[depth=61.2, width=22.9, flange thickness=1.96, web thickness=1.19, root radius=1.4, scale=0.12]}
49 {\TikZSectionsHRSChannel[depth=61.2, width=22.9, flange thickness=1.96, web thickness=1.19, root radius=1.4, scale=0.12]}
50
51 \ExampleRow
52 {Equal angle}
53 {\TikZSectionsEqualAngle[leg=35, thickness=3, root radius=2, scale=0.14]}
54 {\TikZSectionsEqualAngle[leg=35, thickness=3, root radius=2, scale=0.14]}
55
56 \ExampleRow
57 {Unequal angle}
58 {\TikZSectionsUnequalAngle[vertical leg=45, horizontal leg=30, thickness=3, root radius=2, scale=0.14]}
59 {\TikZSectionsUnequalAngle[vertical leg=45, horizontal leg=30, thickness=3, root radius=2, scale=0.14]}
60
61 \ExampleRow
62 {Plate}
63 {\TikZSectionsPlate[width=40, thickness=8, scale=0.18]}
64 {\TikZSectionsPlate[width=40, thickness=8, scale=0.18]}
65
66 \ExampleRow
67 {Flat bar}
68 {\TikZSectionsFlatBar[width=40, thickness=8, scale=0.18]}
69 {\TikZSectionsFlatBar[width=40, thickness=8, scale=0.18]}
70
71 \ExampleRow
72 {Round bar}
73 {\TikZSectionsRoundBar[radius=10, line width=1, scale=0.18]}
74 {\TikZSectionsRoundBar[radius=10, line width=1, scale=0.18]}
75
76 \ExampleRow
77 {Hot-rolled circular hollow section}
78 {\TikZSectionsHRSCHS[radius=20, thickness=3, scale=0.14]}
79 {\TikZSectionsHRSCHS[radius=20, thickness=3, scale=0.14]}
80
81 \ExampleRow
82 {Hot-rolled rectangular hollow section}
83 {\TikZSectionsHRSRHS[depth=50, width=35, thickness=3, root radius=4, scale=0.14]}
84 {\TikZSectionsHRSRHS[depth=50, width=35, thickness=3, root radius=4, scale=0.14]}
85
86 \ExampleRow
87 {Hot-rolled square hollow section}
88 {\TikZSectionsHRSSHS[width=40, thickness=3, root radius=4, scale=0.14]}
89 {\TikZSectionsHRSSHS[width=40, thickness=3, root radius=4, scale=0.14]}
90
91 \end{document}