npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@myrmidon/cadmus-codicology-ui

v6.1.1

Published

Cadmus codicology - general UI components.

Downloads

16

Readme

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   ]
  1. mt: top margin height, followed by / (used as a regions separator).
  2. 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 /.
  3. ah: area height, followed by /.
  4. 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 /.
  5. 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 height
  • 30 = 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]
  1. ml: left margin width.
  2. column(s), inside []; for each column:
    1. cle/clw: left column margin, either empty (e when suffixed with * or outside []) or written (w), followed by /.
    2. cw: column width, followed by /.
    3. cre/crw: right column margin, either empty (e when suffixed with * or outside []) or written (w), followed by /.
    4. if followed by other columns, cg is the gap between this and the next column, wrapped in ().
  3. 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-]
      ***                         ***********************************