Difference between revisions of "Inkscape/C2/Align-and-distribute-objects/English"

From Script | Spoken-Tutorial
Jump to: navigation, search
(Created page with ''''Title of script:''' Align and distribute objects '''Author:''' Arthi.A '''Keywords:''' Align and distribute various objects, Arrange objects in rows and columns, Set spacing…')
 
 
(2 intermediate revisions by 2 users not shown)
Line 24: Line 24:
 
* Set spacing between objects and
 
* Set spacing between objects and
 
* Create a tile pattern
 
* Create a tile pattern
 
 
  
 
|-
 
|-
Line 35: Line 33:
 
* '''Ubuntu Linux''' 12.04 OS
 
* '''Ubuntu Linux''' 12.04 OS
 
* '''Inkscape''' version 0.48.4
 
* '''Inkscape''' version 0.48.4
 
 
  
 
|-
 
|-
 
| style="background-color:transparent;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;"| Go to '''Dash home '''and type “'''Inkscape'''” >>Click on '''Inkscape '''logo
 
| style="background-color:transparent;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;"| Go to '''Dash home '''and type “'''Inkscape'''” >>Click on '''Inkscape '''logo
| style="background-color:transparent;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;"| Go to '''Dash home '''and type '''Inkscape'''. Now click on the logo. Let me open an already saved inkscape document.
+
| style="background-color:transparent;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;"| Go to '''Dash home '''and type '''Inkscape'''.  
 +
 
 +
Now click on the logo.  
 +
 
 +
Let me open an already saved '''Inkscape''' document.
  
 
|-
 
|-
Line 47: Line 47:
  
  
On your Inkscape canvas, please draw 5 shapes and place them as shown here.
+
On your '''Inkscape''' canvas, please draw 5 shapes and place them as shown here.
  
  
Now let us start aligning the objects.
+
Now, let us start aligning the objects.
  
 
|-
 
|-
 
| style="background-color:transparent;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;"| Go to '''Object menu''' >> '''Align and distribute '''>>
 
| style="background-color:transparent;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;"| Go to '''Object menu''' >> '''Align and distribute '''>>
 
 
 
 
| style="background-color:transparent;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;"| Go to '''Object menu '''and click on '''Align and distribute.'''
 
| style="background-color:transparent;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;"| Go to '''Object menu '''and click on '''Align and distribute.'''
  
Line 69: Line 66:
 
| style="background-color:transparent;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;"| Point to Align option
 
| style="background-color:transparent;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;"| Point to Align option
 
| style="background-color:transparent;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;"| '''Align''' is where the centers or edges of objects are aligned to one another.
 
| style="background-color:transparent;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;"| '''Align''' is where the centers or edges of objects are aligned to one another.
 
 
 
  
 
|-
 
|-
 
| style="background-color:transparent;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;"| Point to Distribution option
 
| style="background-color:transparent;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;"| Point to Distribution option
 
| style="background-color:transparent;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;"| '''Distribute''' is where objects are distributed in horizontal or vertical direction, based on their centers or edges.  
 
| style="background-color:transparent;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;"| '''Distribute''' is where objects are distributed in horizontal or vertical direction, based on their centers or edges.  
 
 
 
  
 
|-
 
|-
Line 86: Line 77:
 
|-
 
|-
 
| style="background-color:transparent;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;"| Point to '''Relative to''' option
 
| style="background-color:transparent;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;"| Point to '''Relative to''' option
| style="background-color:transparent;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;"| Here is another important feature: '''Relative to'''. Using this, we can align the objects with reference to something.
+
| style="background-color:transparent;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;"| Here is another important feature: '''Relative to'''.  
 +
 
 +
Using this, we can align the objects with reference to something.
  
 
|-
 
|-
Line 96: Line 89:
  
 
So, we have '''Last selected, First selected, Biggest object, Smallest object, Page, Drawing '''and '''Selection.'''
 
So, we have '''Last selected, First selected, Biggest object, Smallest object, Page, Drawing '''and '''Selection.'''
 
 
 
  
 
|-
 
|-
 
| style="background-color:transparent;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;"| Point to '''Relative to''' option
 
| style="background-color:transparent;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;"| Point to '''Relative to''' option
| style="background-color:transparent;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;"| By default the objects will be aligned relative to '''Page.'''  
+
| style="background-color:transparent;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;"| By default, the objects will be aligned relative to '''Page.'''  
  
  
 
This means that the selected objects will respond to the '''Align and Distribute '''operations, according to your '''Page''' dimensions.
 
This means that the selected objects will respond to the '''Align and Distribute '''operations, according to your '''Page''' dimensions.
 
 
 
  
 
|-
 
|-
Line 123: Line 110:
  
 
As the tool tip says, right edges of the objects are aligned to the left edge of the '''anchor'''.
 
As the tool tip says, right edges of the objects are aligned to the left edge of the '''anchor'''.
 
 
 
  
 
|-
 
|-
 
| style="background-color:transparent;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;"| Point to '''Relative to '''option
 
| style="background-color:transparent;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;"| Point to '''Relative to '''option
| style="background-color:transparent;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;"| Please recall, here the '''anchor point '''is the page, as the '''Relative to''' option is '''Page.'''
+
| style="background-color:transparent;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;"| Please recall, here the '''anchor point '''is '''page''', as the '''Relative to''' option is '''Page.'''
  
 
|-
 
|-
Line 137: Line 121:
  
 
Overlap may occur based on the closeness of the objects, in the previous arrangement.
 
Overlap may occur based on the closeness of the objects, in the previous arrangement.
 
 
 
  
 
|-
 
|-
Line 146: Line 127:
  
 
Click on it
 
Click on it
| style="background-color:transparent;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;"| We can correct this by clicking the '''Remove''' '''overlaps''' option, which is below the '''Distribute''' option.  
+
| style="background-color:transparent;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;"| We can correct this by clicking the '''Remove overlaps''' option, which is below the '''Distribute''' option.  
 
+
 
+
Now the overlap is removed.
+
 
+
  
  
 +
Now, the overlap is removed.
  
 
|-
 
|-
 
| style="background-color:transparent;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;"| Point to horizontal and vertical space
 
| style="background-color:transparent;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;"| Point to horizontal and vertical space
| style="background-color:transparent;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;"| To adjust the gaps between the objects, both in horizontal and vertical direction, use the '''H '''and '''V''' options'''.'''
+
| style="background-color:transparent;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;"| To adjust the gaps between the objects, both in horizontal and vertical direction, use the '''H '''and '''V''' options.
 
+
 
+
 
+
  
 
|-
 
|-
Line 166: Line 141:
  
 
Use CTRL+Z in between the change
 
Use CTRL+Z in between the change
| style="background-color:transparent;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;"| Now click on the options under the '''Align''' and observe how the objects align themselves.  
+
| style="background-color:transparent;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;"| Now, click on the options under '''Align''' and observe how the objects align themselves.  
  
  
Line 183: Line 158:
 
|-
 
|-
 
| style="background-color:transparent;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;"| Point to '''Distribute'''
 
| style="background-color:transparent;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;"| Point to '''Distribute'''
| style="background-color:transparent;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;"| Next we will adjust the gaps among the objects using the '''Distribute''' option.  
+
| style="background-color:transparent;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;"| Next, we will adjust the gaps among the objects using the '''Distribute''' option.  
  
 
|-
 
|-
 
| style="background-color:transparent;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;"| Point to last 4 icons under '''Distribute '''>>
 
| style="background-color:transparent;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;"| Point to last 4 icons under '''Distribute '''>>
 
 
 
Align objects in centre
 
Align objects in centre
 
| style="background-color:transparent;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;"| Since the objects are in vertical direction, we have to use the last four icons under the '''Distribute '''option.  
 
| style="background-color:transparent;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;"| Since the objects are in vertical direction, we have to use the last four icons under the '''Distribute '''option.  
Line 220: Line 193:
  
  
Now click on the icons one by one and observe the objects are aligned as a group, and not individually.
+
Now,
 +
*click on the icons one by one  
 +
*and observe the objects are aligned as a group, and not individually.
  
 
|-
 
|-
Line 227: Line 202:
  
  
Now the objects will be aligned individually.
+
Now, the objects will be aligned individually.
  
  
Line 242: Line 217:
 
| style="background-color:transparent;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;"| So, bring all the objects inside the '''canvas''' and place them randomly.
 
| style="background-color:transparent;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;"| So, bring all the objects inside the '''canvas''' and place them randomly.
  
=== Select the objects one by one. Select the circle last.  ===
 
  
 +
Select the objects one by one. Select the circle last.
  
 
|-
 
|-
 
| style="background-color:transparent;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;"| Click on the icons
 
| style="background-color:transparent;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;"| Click on the icons
| style="background-color:transparent;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;"| === As before, click on the icons one by one. ===
+
| style="background-color:transparent;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;"|As before, click on the icons one by one.
=== Since the last selected object is circle, Observe the objects are aligned according to the circle. ===
+
 
 +
Since the last selected object is circle, observe the objects are aligned according to the circle.
 
<nowiki><<PAUSE>></nowiki>
 
<nowiki><<PAUSE>></nowiki>
  
Line 266: Line 242:
 
|-
 
|-
 
| style="background-color:transparent;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;"|  
 
| style="background-color:transparent;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;"|  
| style="background-color:transparent;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;"| Next we will learn to arrange the objects in rows and columns.
+
| style="background-color:transparent;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;"| Next, we will learn to arrange the objects in rows and columns.
  
 
|-
 
|-
Line 272: Line 248:
  
 
Click on '''Rows and Columns.'''  
 
Click on '''Rows and Columns.'''  
| style="background-color:transparent;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;"| Go to '''Object menu.''' Click on '''Rows and Columns.'''  
+
| style="background-color:transparent;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;"| Go to '''Object menu.'''  
 +
 
 +
Click on '''Rows and Columns.'''  
  
  
Line 287: Line 265:
 
|-
 
|-
 
| style="background-color:transparent;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;"| Change the row parameter to 2.  
 
| style="background-color:transparent;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;"| Change the row parameter to 2.  
| style="background-color:transparent;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;"| Now let us arrange these objects in 2 rows and 3 columns.  
+
| style="background-color:transparent;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;"| Now, let us arrange these objects in 2 rows and 3 columns.  
  
  
So change the row parameter to 2.  
+
So change the '''Row''' parameter to 2.  
  
  
Observe when the row parameter is changed the column parameter changes automatically.  
+
Observe when the '''Row''' parameter is changed the '''Column''' parameter changes automatically.  
  
 
|-
 
|-
Line 300: Line 278:
  
  
The Align options help to align the objects in the right, centre and left.  
+
The '''Align''' options help to align the objects in the right, centre and left.  
  
  
Line 308: Line 286:
 
| style="background-color:transparent;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;"| Point to '''Set spacing'''
 
| style="background-color:transparent;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;"| Point to '''Set spacing'''
 
| style="background-color:transparent;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;"| We can set the space between the objects, for both rows and columns, using the '''Set spacing''' option.  
 
| style="background-color:transparent;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;"| We can set the space between the objects, for both rows and columns, using the '''Set spacing''' option.  
 
 
 
  
 
|-
 
|-
Line 333: Line 308:
  
 
Rotate them
 
Rotate them
| style="background-color:transparent;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;"| I have a new Inkscape file with 4 squares of different sizes and colors.  
+
| style="background-color:transparent;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;"| I have a new '''Inkscape''' file with 4 squares of different sizes and colors.  
  
  
Line 344: Line 319:
 
* Click on '''Centre on vertical axis.'''
 
* Click on '''Centre on vertical axis.'''
 
* Click on '''Centre on horizontal axis.'''
 
* Click on '''Centre on horizontal axis.'''
 
 
  
 
|-
 
|-
Line 365: Line 338:
 
* Set spacing between objects and
 
* Set spacing between objects and
 
* Create a tile pattern
 
* Create a tile pattern
 
 
  
 
|-
 
|-
 
| style="background-color:transparent;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;"| Assignment (Slide)
 
| style="background-color:transparent;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;"| Assignment (Slide)
 
| style="background-color:transparent;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;"| Here are 2 assignments for you
 
| style="background-color:transparent;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;"| Here are 2 assignments for you
 
 
 
* Create 5 circles having the following dimensions
 
* Create 5 circles having the following dimensions
 
* 1<sup>st</sup> circle – red color – 350 * 350 pixels.
 
* 1<sup>st</sup> circle – red color – 350 * 350 pixels.
Line 379: Line 348:
 
* 4<sup>th</sup> circle – grey color – 200 * 200 pixels.
 
* 4<sup>th</sup> circle – grey color – 200 * 200 pixels.
 
* 5<sup>th</sup> circle – red color – 150 * 150 pixels.<br/>  
 
* 5<sup>th</sup> circle – red color – 150 * 150 pixels.<br/>  
 
 
 
  
 
|-
 
|-
 
| style="background-color:transparent;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;"| Assignment (Slide)
 
| style="background-color:transparent;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;"| Assignment (Slide)
 
| style="background-color:transparent;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;"| * Arrange them randomly and select all
 
| style="background-color:transparent;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;"| * Arrange them randomly and select all
* Using '''Align and Distribute,''' change '''Relative to '''option to '''Biggest''' selected.
+
* Using '''Align and Distribute,''' change '''Relative to '''option to '''Biggest object''' selected.
 
* Click on '''Align left edges.'''
 
* Click on '''Align left edges.'''
 
* Click on '''Centre on horizontal axis.'''
 
* Click on '''Centre on horizontal axis.'''
 
 
  
 
|-
 
|-
 
| style="background-color:transparent;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;"| Assignment (Slide)
 
| style="background-color:transparent;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;"| Assignment (Slide)
| style="background-color:transparent;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;"| * Create 6 squares of blue color and size 100 * 100 pixels.
+
| style="background-color:transparent;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;"|  
 +
* Create 6 squares of blue color and size 100 * 100 pixels.
 
* Select all squares and open '''Rows and columns.'''
 
* Select all squares and open '''Rows and columns.'''
* Arrange them in 3 rows and 3 columns.
+
* Arrange them in 2 rows and 3 columns.
 
* Set both vertical and horizontal space parameter to 20.
 
* Set both vertical and horizontal space parameter to 20.
 
 
  
 
|-
 
|-
Line 407: Line 370:
 
|-
 
|-
 
| style="background-color:transparent;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;"| About Slide
 
| style="background-color:transparent;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;"| About Slide
| style="background-color:transparent;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;"| The video at the link shown, summarizes the Spoken Tutorial project. If you do not have good bandwidth, you can download and watch it.
+
| style="background-color:transparent;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;"| The video available at the following link summarizes the Spoken Tutorial project. Pls watch it.
  
 
|-
 
|-
 
| style="background-color:transparent;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;"| About Slide
 
| style="background-color:transparent;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;"| About Slide
| style="background-color:transparent;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;"| The Spoken Tutorial Project Team conducts workshops using spoken tutorials and gives certificates on passing online tests.
+
| style="background-color:transparent;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;"| The Spoken Tutorial Project Team conducts workshops and gives certificates for those who pass an online test.
 
+
  
 
For more details, please write to us.
 
For more details, please write to us.
Line 418: Line 380:
 
|-
 
|-
 
| style="background-color:transparent;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;"| About Slide
 
| style="background-color:transparent;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;"| About Slide
| style="background-color:transparent;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;"| Spoken Tutorial Project is supported by the National Mission on Education through ICT, MHRD, Government of India.
+
| style="background-color:transparent;border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;"| Spoken Tutorial Project is supported by the NMEICT, MHRD, Government of India.
  
  
More information on this Mission is available at the link shown.
+
More information on this Mission is available at this link.
  
 
|-
 
|-
Line 429: Line 391:
  
 
This is Arthi and Saurabh from IIT Bombay, signing off.  
 
This is Arthi and Saurabh from IIT Bombay, signing off.  
 
  
 
Thanks for joining.
 
Thanks for joining.
  
 
|}
 
|}

Latest revision as of 14:20, 17 October 2018

Title of script: Align and distribute objects

Author: Arthi.A

Keywords: Align and distribute various objects, Arrange objects in rows and columns, Set spacing between objects, Create a tile pattern.


Visual cue
Narration
Opening Slide Welcome to the Spoken Tutorial on “Align and distribute objects” using Inkscape.
Learning Objectives (Slide) In this tutorial, we will learn to


  • Align and distribute various objects
  • Arrange objects in rows and columns
  • Set spacing between objects and
  • Create a tile pattern
System requirements

(Slide)

To record this tutorial, I am using
  • Ubuntu Linux 12.04 OS
  • Inkscape version 0.48.4
Go to Dash home and type “Inkscape” >>Click on Inkscape logo Go to Dash home and type Inkscape.

Now click on the logo.

Let me open an already saved Inkscape document.

Draw 5 different shapes Here we can see 5 different shapes placed randomly on the canvas.


On your Inkscape canvas, please draw 5 shapes and place them as shown here.


Now, let us start aligning the objects.

Go to Object menu >> Align and distribute >> Go to Object menu and click on Align and distribute.


The Align and distribute dialog box opens on the right side of the interface.

Two types of positioning are available here.
Point to Align option Align is where the centers or edges of objects are aligned to one another.
Point to Distribution option Distribute is where objects are distributed in horizontal or vertical direction, based on their centers or edges.
We can align objects in various manners using these options and their sub-options.
Point to Relative to option Here is another important feature: Relative to.

Using this, we can align the objects with reference to something.

Click on the drop down list >>

Point to each option

Click on the drop down list to see the options here.


So, we have Last selected, First selected, Biggest object, Smallest object, Page, Drawing and Selection.

Point to Relative to option By default, the objects will be aligned relative to Page.


This means that the selected objects will respond to the Align and Distribute operations, according to your Page dimensions.

Press Ctrl + A Press Ctrl + A to select all the objects on the canvas.
Point to first 5 icons under Align The first 5 icons will align objects in the vertical direction.
Click on the first icon Let me click on the first icon.

As the tool tip says, right edges of the objects are aligned to the left edge of the anchor.

Point to Relative to option Please recall, here the anchor point is page, as the Relative to option is Page.
Point to the overlapped objects Notice that 2 objects are overlapped now.


Overlap may occur based on the closeness of the objects, in the previous arrangement.

Point to Remove overlaps icon >>


Click on it

We can correct this by clicking the Remove overlaps option, which is below the Distribute option.


Now, the overlap is removed.

Point to horizontal and vertical space To adjust the gaps between the objects, both in horizontal and vertical direction, use the H and V options.
Click on second icon under Align, then third, then fourth


Use CTRL+Z in between the change

Now, click on the options under Align and observe how the objects align themselves.


Use the undo option CTRL + Z to understand the alignment better.


The tool tips are quite useful to help understand the alignment.

Point to last icon under Align The last icon works only on texts. So we will learn about that in another tutorial.


<<PAUSE>>

Point to Distribute Next, we will adjust the gaps among the objects using the Distribute option.
Point to last 4 icons under Distribute >>

Align objects in centre

Since the objects are in vertical direction, we have to use the last four icons under the Distribute option.


Let me align them to the centre first.

Click on second icon under Distribute, then third, then fourth


Use CTRL+Z in between the change

Now click on the options under Distribute and observe how the objects align themselves.


Once again, use the undo option CTRL + Z, to understand the alignment better.


Refer to the tool tips to help understand the alignment better.

Point to Treat selection as group. Under Relative to, observe there is an option Treat selection as group.


This option will align the objects as a whole group.

Click on the icons Click on the check box.


Now,

  • click on the icons one by one
  • and observe the objects are aligned as a group, and not individually.
Uncheck the box and click on some icons. Let us uncheck the box.


Now, the objects will be aligned individually.


<<PAUSE>>

Change the Relative to option as First selected. Next, let us align and distribute objects according to Last selected.

Change the Relative to option as Last selected.

Place the objects randomly inside the canvas. So, bring all the objects inside the canvas and place them randomly.


Select the objects one by one. Select the circle last.

Click on the icons As before, click on the icons one by one.

Since the last selected object is circle, observe the objects are aligned according to the circle. <<PAUSE>>


Likewise, you can try out all the options listed in Relative to and observe the alignment of the objects.

Point to Connector network layout >> Close this dialog box We will learn about the advanced options in Align and Distribute dialog box in later tutorials.


So, let us close this dialog box now.


<<PAUSE>>

Next, we will learn to arrange the objects in rows and columns.
Go to Object menu >>

Click on Rows and Columns.

Go to Object menu.

Click on Rows and Columns.


The Rows and Columns dialog box opens up.

Using this option, we can arrange objects in rows and columns, giving necessary spaces.
Arrange the objects randomly Arrange the objects randomly on the canvas.
Change the row parameter to 2. Now, let us arrange these objects in 2 rows and 3 columns.


So change the Row parameter to 2.


Observe when the Row parameter is changed the Column parameter changes automatically.

Click on Arrange. Click on Arrange button at the bottom right.


The Align options help to align the objects in the right, centre and left.


Check it one by one and observe the changes.

Point to Set spacing We can set the space between the objects, for both rows and columns, using the Set spacing option.
Change Set spacing parameter to 5 Now, change the space parameter as 5 for both row and column.

Click on Arrange button.


Observe the space between the objects.


<<PAUSE>>

Now I will show how to create a pattern using Align and Distribute
Select squares >>


Rotate them

I have a new Inkscape file with 4 squares of different sizes and colors.


Select all and rotate the squares so that they look like diamond shapes.

Open Align and Distribute dialog box.
  • Click on Centre on vertical axis.
  • Click on Centre on horizontal axis.
Point to the pattern A tile pattern is now formed on the canvas.


Using these options creatively, we can form many unique patterns.


<<PAUSE>>

Summary (Slide) Let us summarize. In this tutorial, we learnt to
  • Align and distribute various objects
  • Arrange objects in rows and columns
  • Set spacing between objects and
  • Create a tile pattern
Assignment (Slide) Here are 2 assignments for you
  • Create 5 circles having the following dimensions
  • 1st circle – red color – 350 * 350 pixels.
  • 2nd circle – grey color – 300 * 300 pixels.
  • 3rd circle – red color – 250 * 250 pixels.
  • 4th circle – grey color – 200 * 200 pixels.
  • 5th circle – red color – 150 * 150 pixels.
Assignment (Slide) * Arrange them randomly and select all
  • Using Align and Distribute, change Relative to option to Biggest object selected.
  • Click on Align left edges.
  • Click on Centre on horizontal axis.
Assignment (Slide)
  • Create 6 squares of blue color and size 100 * 100 pixels.
  • Select all squares and open Rows and columns.
  • Arrange them in 2 rows and 3 columns.
  • Set both vertical and horizontal space parameter to 20.
Completed assignment Your completed assignment should look like this.
About Slide The video available at the following link summarizes the Spoken Tutorial project. Pls watch it.
About Slide The Spoken Tutorial Project Team conducts workshops and gives certificates for those who pass an online test.

For more details, please write to us.

About Slide Spoken Tutorial Project is supported by the NMEICT, MHRD, Government of India.


More information on this Mission is available at this link.

Acknowledgment We have come to the end of this tutorial.


This is Arthi and Saurabh from IIT Bombay, signing off.

Thanks for joining.

Contributors and Content Editors

Arthi, Nancyvarkey