Debian Codegraph @

texmf-dist/doc/latex/tikz-sections/examples/rc-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 {Rectangular RC beam with top and bottom bars}
28 {\TikZRCRectangular[width=300, depth=500, cover=40, bar diameter=18, top bars=2, bottom bars=3, scale=0.025]}
29 {\TikZRCRectangular[width=300, depth=500, cover=40, bar diameter=18, top bars=2, bottom bars=3, scale=0.025]}
30
31 \ExampleRow
32 {Rectangular RC beam with two bottom layers}
33 {\TikZRCRectangular[width=300, depth=550, cover=40, bar diameter=18, top bars=2, bottom bars=3, bottom layers=2, layer spacing=28, scale=0.025]}
34 {\TikZRCRectangular[width=300, depth=550, cover=40, bar diameter=18, top bars=2, bottom bars=3, bottom layers=2, layer spacing=28, scale=0.025]}
35
36 \ExampleRow
37 {Rectangular RC column with side bars}
38 {\TikZRCRectangular[width=400, depth=400, cover=45, bar diameter=20, top bars=3, bottom bars=3, left bars=2, right bars=2, scale=0.025]}
39 {\TikZRCRectangular[width=400, depth=400, cover=45, bar diameter=20, top bars=3, bottom bars=3, left bars=2, right bars=2, scale=0.025]}
40
41 \ExampleRow
42 {Circular RC column with perimeter bars}
43 {\TikZRCCircular[diameter=450, cover=45, bar diameter=20, perimeter bars=10, scale=0.025]}
44 {\TikZRCCircular[diameter=450, cover=45, bar diameter=20, perimeter bars=10, scale=0.025]}
45
46 \end{document}