initial setup of thesis repository
[cluster_expansion_thesis.git] / little_helpers / tikz / sketch-0.2.161 / Doc / sketch / Blocks.html
blob84813e11156739d336d93ef81677208dcdc254bf
1 <html lang="en">
2 <head>
3 <title>Blocks - Sketch</title>
4 <meta http-equiv="Content-Type" content="text/html">
5 <meta name="description" content="Sketch">
6 <meta name="generator" content="makeinfo 4.7">
7 <link title="Top" rel="start" href="index.html#Top">
8 <link rel="up" href="Drawables.html#Drawables" title="Drawables">
9 <link rel="prev" href="Sweeps.html#Sweeps" title="Sweeps">
10 <link rel="next" href="Repeats.html#Repeats" title="Repeats">
11 <link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
12 <!--
13 Copyright (C) 2005, 2006, 2007, 2008 Eugene K. Ressler.
15 This manual is for `sketch', version 0.2 (build 161),
16 Tuesday, September 08, 2009, a program that converts descriptions of simple
17 three-dimensional scenes into static drawings. This version generates
18 `PSTricks' or `PGF/TikZ' code suitable for use with the
19 TeX document processing system.
21 `Sketch' is free software; you can redistribute it and/or modify
22 it under the terms of the GNU General Public License as published by
23 the Free Software Foundation; either version 3, or (at your option)
24 any later version.
26 Sketch is distributed in the hope that it will be useful,
27 but WITHOUT ANY WARRANTY; without even the implied warranty of
28 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
29 GNU General Public License for more details.
31 You should have received a copy of the GNU General Public License
32 along with `sketch'; see the file COPYING.txt. If not, see
33 http://www.gnu.org/copyleft.-->
34 <meta http-equiv="Content-Style-Type" content="text/css">
35 <style type="text/css"><!--
36 pre.display { font-family:inherit }
37 pre.format { font-family:inherit }
38 pre.smalldisplay { font-family:inherit; font-size:smaller }
39 pre.smallformat { font-family:inherit; font-size:smaller }
40 pre.smallexample { font-size:smaller }
41 pre.smalllisp { font-size:smaller }
42 span.sc { font-variant:small-caps }
43 span.roman { font-family: serif; font-weight: normal; }
44 --></style>
45 </head>
46 <body>
47 <div class="node">
48 <p>
49 <a name="Blocks"></a>Next:&nbsp;<a rel="next" accesskey="n" href="Repeats.html#Repeats">Repeats</a>,
50 Previous:&nbsp;<a rel="previous" accesskey="p" href="Sweeps.html#Sweeps">Sweeps</a>,
51 Up:&nbsp;<a rel="up" accesskey="u" href="Drawables.html#Drawables">Drawables</a>
52 <hr><br>
53 </div>
55 <!-- node-name, next, previous, up -->
56 <h4 class="subsection">3.2.7 Blocks</h4>
58 <p><a name="index-block-327"></a><a name="index-_0040_007b-_0040_007d_0040r_007b_002c-block-drawable_007d-328"></a>Any sequence of drawables may be grouped in a <dfn>block</dfn> merely by
59 enclosing them in braces <span class="samp">{ }</span>. A block is itself drawable. A
60 key use of blocks is to extend the effect of a single <code>def</code>,
61 <a href="Definitions.html#Definitions">Definitions</a>, <code>put</code> <a href="Puts.html#Puts">Puts</a>, <code>sweep</code> <a href="Sweeps.html#Sweeps">Sweeps</a>,
62 or <code>repeat</code> <a href="Repeats.html#Repeats">Repeats</a> to include several objects rather than
63 one.
65 <p>Definitions (See <a href="Definitions.html#Definitions">Definitions</a>.) inside a block have <dfn>lexical
66 scope</dfn>
67 <a name="index-lexical-scope-329"></a><a name="index-scope_002c-identifier-330"></a>extending from the place of definition to the end of the block.
69 </body></html>