@myrmidon/cadmus-codicology-ui v6.0.0
Cadmus Codicology UI
This library was generated with Angular CLI version 13.2.0.
Images component and manuscript layout figure.
Layout Figure
The manuscript layout figure is drawn after a modified version of the canonical formula used in codicology. Its general syntax is N x N = <height> x <width>
, where all dimensions are expressed in mm.
In the following scheme, -
vs +
mark portions which are alternative (where -
stands for empty, and +
for written):
240 × 150 = 30 / 5 [5 / 170 / 5] 5 / 40 × 15 / 5 [5 / 50 / 5* (20) 5* / 40 / 5] 5 / 15
----++++ +++++---- ----++++ - || - ++++----
hhh www hhhhhhhhhhhhhhhhhhhhhhhhhhh wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
1111111111111111 || 22222222222222
h w mt he hw ah fw fe mb ml cle clw cw crX cg clX cw crw cre mr
height:
[mt ]
[he/hw]
[ah ]
[fe/fw]
[mb ]
width:
col1 col2
[ml] [cle/clw][cw][cre/crw] [cg][cle/clw][cw][cre/crw]... [mr]
Examples:
240 × 150 = 30 / 5 [170 / 5] 40 × 15 [5 / 50 / 5* (20) 5* / 40] 5 / 15
200 x 160 = 30 [130] 40 x 15 [5 / 50 / 5 (10) 5 / 50 / 5] 15
200 x 160 = 30 [130] 40 x 15 [5 / 50 / 5* (10) 5* / 50 / 5] 15
200 x 150 = 30 [130] 40 x 30 [5 / 95] 20
200 x 150 = 30 [130] 40 x 30 [5 / 90 / 5] 20
210 x 150 = 30 [5 / 130 / 5] 40 x 20 [50 (10) 50] 20
250 x 150 = 30 / 5 [170 / 5] 40 x 30 [5 / 90] 5 / 20
Let us examine the height and width in more detail.
Layout Figure Height
As for height, we have 5 rectangular regions:
[mt ]
[he/hw]
[ah ]
[fe/fw]
[mb ]
mt
: top margin height, followed by/
(used as a regions separator).he
/hw
: header height, either empty (e
) or written (w
). When written, it's preceded by[
as square brackets are used to encompass the written regions. Followed by/
.ah
: area height, followed by/
.fe
/fw
: footer height, either empty (e
) or written (w
). When written, it's followed by]
as square brackets are used to encompass the written regions. Followed by/
.mb
: bottom margin height.
For instance, in 250 × 160 = 30 / 5 [170 / 5] 40 × 15 [5 / 50 / 5* (20) 5 / 40] 5 / 15
:
250
= page height30
= top margin.5
= empty header.170
= area height.5
= written footer height.40
= bottom margin.
250 × 160 = 30 / 5 [170 / 5] 40 × 15 [5 / 50 / 5* (20) 5 / 40] 5 / 15
hhh mt he ah fw mb
*** *******************
Layout Figure Width
As for width, we have a variable number of rectangular regions, laid out as in this scheme:
col1 col2
[ml] [cle/clw][cw][cre/crw] [cg][cle/clw][cw][cre/crw]... [mr]
ml
: left margin width.- column(s), inside
[]
; for each column:cle
/clw
: left column margin, either empty (e
when suffixed with*
or outside[]
) or written (w
), followed by/
.cw
: column width, followed by/
.cre
/crw
: right column margin, either empty (e
when suffixed with*
or outside[]
) or written (w
), followed by/
.- if followed by other columns,
cg
is the gap between this and the next column, wrapped in()
.
mr
: right margin width.
For instance, in 250 × 160 = 30 / 5 [170 / 5] 40 × 15 [5 / 50 / 5* (20) 5 / 40] 5 / 15
:
250 × 160 = 30 / 5 [170 / 5] 40 × 15 [5 / 50 / 5* (20) 5 / 40] 5 / 15
www ml clw cw cre cg clw w cre mr
[col-1------] [col-2-]
*** ***********************************