next up previous contents index
Next: Geometrical operators Up: Paper shape operators Previous: \square   Contents   Index

Subsections

\vertical_rectangle

Description 

Operator \vertical_rectangle defines four new edges associated to four vertices named by the operator parameters (symbols). Edges are built circularly taking two consecutive symbols. The first symbol of the parameter list binds the upper left corner of the square. Second symbol is linked to the upper right corner, the third one names the lower right corner and the fourth is associated to the lower left vertex. The type of the four edges created is border. A fifth parameter is added, it gives the ratio between height and width of the rectangle. A possibility exists to specify a well known paper format like `dollar' or `A' (ISO format: $\frac{1}{\sqrt{2}}$). Numeric ratio is given as a percentage, 200 means a rectangle as wider as a square and twice taller. If the ratio value is lesser than 100, a vertical rectangle is still defined with a height equal to the normal square size but the width is reduce to fit the ratio.
This operator should only appear within a step block.

Usage

  \vertical_rectangle(a, b, c, d, dollar); % a vertical dollar paper 
  \vertical_rectangle(A, B, C, D, 200);   % 2x1 double square size on Y
  \vertical_rectangle(A, B, C, D, 50);    % 2x1 half square size on X

Formal structure

  \vertical_rectangle(VERTEX_1, VERTEX_2, VERTEX_3, VERTEX_4, RATIO);
  \vertical_rectangle(VERTEX_1, VERTEX_2, VERTEX_3, VERTEX_4, PAPER_TYPE);

Parameters

  VERTEX_1
  Description    : Name symbol used for the left top corner. 
  Type           : Symbol.
  Allowed values : Any vertex identifier not already defined.

  VERTEX_2
  Description    : Name symbol used for the right top corner. 
  Type           : Symbol.
  Allowed values : Any vertex identifier not already defined.

  VERTEX_3
  Description    : Name symbol used for the right bottom corner. 
  Type           : Symbol.
  Allowed values : Any vertex identifier not already defined.

  VERTEX_4
  Description    : Name symbol used for the left bottom corner. 
  Type           : Symbol.
  Allowed values : Any vertex identifier not already defined.
  
  RATIO
  Description    : Percentage between height and width.
  Type           : Integer.
  Allowed values : Any positive integer values (expect zero).

  PAPER_TYPE
  Description    : Name of a predefined paper format. 
  Type           : Symbol.
  Allowed values : One of values [A, dollar] .


next up previous contents index
Next: Geometrical operators Up: Paper shape operators Previous: \square   Contents   Index
Doodle reference manual HTML version generated using LaTeX2HTML by Jérôme Gout, 2001-10-29
Doodle is hosted by Sourceforge, go to SourceForge Logo for more information
©2000-2001 Doodle