egatari 0.6.10 → 0.6.11-rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (124) hide show
  1. package/README.ja.md +22 -22
  2. package/README.md +1 -1
  3. package/bin/egatari.mjs +1 -1
  4. package/components.lock.json +288 -144
  5. package/components2.lock.json +657 -1
  6. package/kit/build.mjs +3 -2
  7. package/kit/check-messages.mjs +46 -12
  8. package/kit/check.mjs +54 -19
  9. package/kit/core/article-messages.mjs +5 -4
  10. package/kit/core/attachments.mjs +2 -1
  11. package/kit/core/build-core.mjs +2 -1
  12. package/kit/core/check-parity.mjs +3 -1
  13. package/kit/core/check-result.mjs +2 -1
  14. package/kit/core/check-rules.mjs +132 -0
  15. package/kit/core/colab-core.mjs +2 -2
  16. package/kit/core/geometry-check.mjs +302 -0
  17. package/kit/core/layout-scan.mjs +9 -2
  18. package/kit/core/live-results.mjs +1 -1
  19. package/kit/core/llm-fix.mjs +3 -2
  20. package/kit/core/llm-outline.mjs +3 -2
  21. package/kit/core/llm-pack-data.mjs +114 -114
  22. package/kit/core/narration-lint.mjs +37 -0
  23. package/kit/core/new-deck-pack.mjs +2 -1
  24. package/kit/core/new-deck.mjs +1 -1
  25. package/kit/core/plural.mjs +5 -0
  26. package/kit/core/portable.mjs +6 -5
  27. package/kit/core/sample-layout.mjs +14 -0
  28. package/kit/core/text-band.mjs +37 -0
  29. package/kit/core/tier-a.mjs +2 -1
  30. package/kit/instruction-version.json +1 -1
  31. package/kit/player.json +1 -1
  32. package/kit/player.lock.json +2 -2
  33. package/kit/render-compare.mjs +5 -4
  34. package/kit/tools.js +2 -2
  35. package/package.json +3 -2
  36. package/server/editor-ui.js +2 -2
  37. package/vendor/components/CATALOG.md +12 -12
  38. package/vendor/components/sha256/00d9072cb279a1a68166787f53395c747072388971d916c082a106844dbf888f/index.js +315 -0
  39. package/vendor/components/sha256/03e20fb6803de0d94e93de7c01d7d00cede57b0b2604b449daa4cb156367500d/README.en.md +23 -0
  40. package/vendor/components/sha256/03e20fb6803de0d94e93de7c01d7d00cede57b0b2604b449daa4cb156367500d/index.js +289 -0
  41. package/vendor/components/sha256/0e5458deb63e32aefdbf8722fa156fd44cd90d5d8f9d6a25a636007b4b599450/README.en.md +40 -0
  42. package/vendor/components/sha256/0e5458deb63e32aefdbf8722fa156fd44cd90d5d8f9d6a25a636007b4b599450/index.js +341 -0
  43. package/vendor/components/sha256/1073e03374f0fe65d2691f160bfd8c092986c168d0bd6a6094ebd444d4b89c27/index.js +592 -0
  44. package/vendor/components/sha256/12b1b32eb3a75e9f11eff407b7876473674ae996d7ce276e2ab6ffaf41ad4376/README.en.md +48 -0
  45. package/vendor/components/sha256/12b1b32eb3a75e9f11eff407b7876473674ae996d7ce276e2ab6ffaf41ad4376/index.js +384 -0
  46. package/vendor/components/sha256/147987bd84722249dab609293d4fafa93f0a2aac25b8517fda1710840b575d00/index.js +341 -0
  47. package/vendor/components/sha256/170e9072285213a2b4e79d7c2e4ddb882d1501e60b5da63c59b1679643163005/README.en.md +23 -0
  48. package/vendor/components/sha256/170e9072285213a2b4e79d7c2e4ddb882d1501e60b5da63c59b1679643163005/index.js +120 -0
  49. package/vendor/components/sha256/17da8ef5ce58354df54ebb52c8a9b0726e69d06ac28cc8e78f807ec338002782/README.en.md +32 -0
  50. package/vendor/components/sha256/17da8ef5ce58354df54ebb52c8a9b0726e69d06ac28cc8e78f807ec338002782/index.js +222 -0
  51. package/vendor/components/sha256/1b30dfd9b366ff07556024eb8ce75cca2eac8001fa392eed4e1232047001ec74/index.js +404 -0
  52. package/vendor/components/sha256/37846655693f8dd869d11d3d4cddb43be57f848037d0e49564b2250401448ab5/README.en.md +66 -0
  53. package/vendor/components/sha256/37846655693f8dd869d11d3d4cddb43be57f848037d0e49564b2250401448ab5/index.js +920 -0
  54. package/vendor/components/sha256/3fdd15756f779a16362dd854f143ca4343154059882d88d44adf64745c7876e3/README.en.md +50 -0
  55. package/vendor/components/sha256/3fdd15756f779a16362dd854f143ca4343154059882d88d44adf64745c7876e3/index.js +171 -0
  56. package/vendor/components/sha256/435c3f8e0c0abc123866e57ae2c7f3409e19d14a2eb67b1fde84c4da5d95f14c/README.en.md +31 -0
  57. package/vendor/components/sha256/435c3f8e0c0abc123866e57ae2c7f3409e19d14a2eb67b1fde84c4da5d95f14c/index.js +232 -0
  58. package/vendor/components/sha256/43740da51de85c1b7ec1eaf688f93fd9ea25b15977ab075e6abac196f08643a6/index.js +122 -0
  59. package/vendor/components/sha256/4817f77bd021ec5c77d5a15ee56e2e34d31d1d98630e86225eb20f2f9bf095e9/index.js +812 -0
  60. package/vendor/components/sha256/4e4bf3b2968c36a334dc997e32e36f22ecbc4f5dfe1c76bb7a5beef002fe8899/index.js +228 -0
  61. package/vendor/components/sha256/553e132d1f84caad648bb7175a206d4c5d18c005b5ca17989f5e8a5e3f5cdfa1/index.js +75 -0
  62. package/vendor/components/sha256/5b02d8a81a41f4d1658f1972f3fc91de3cc431b2c71bb6b92601d58f734de9ec/README.en.md +34 -0
  63. package/vendor/components/sha256/5b02d8a81a41f4d1658f1972f3fc91de3cc431b2c71bb6b92601d58f734de9ec/index.js +244 -0
  64. package/vendor/components/sha256/5c72414df5a948a7cbb882be1e5bdd4113d188e357d4a0f01fabda15781417eb/LICENSE-tabler.txt +21 -0
  65. package/vendor/components/sha256/5c72414df5a948a7cbb882be1e5bdd4113d188e357d4a0f01fabda15781417eb/index.js +4868 -0
  66. package/vendor/components/sha256/5c72414df5a948a7cbb882be1e5bdd4113d188e357d4a0f01fabda15781417eb/names.txt +4808 -0
  67. package/vendor/components/sha256/636f47e955f5550f046cfc7a3de8de70c4b97aa77771bde2ee0e31d706bb032e/index.js +278 -0
  68. package/vendor/components/sha256/65ddc34bd9c75e073f4c2cd283369417fe88769521809670c6b8730852d4f647/index.js +97 -0
  69. package/vendor/components/sha256/6b0c75b0f697fe451197301de82a113f1c2548b67f7a8d2b56576d2bae8e240c/index.js +607 -0
  70. package/vendor/components/sha256/6cdf432d3e61be3ff15e80910369324ac7ea0e8b9f62c32ef37bf09a5bfe93b9/README.en.md +33 -0
  71. package/vendor/components/sha256/6cdf432d3e61be3ff15e80910369324ac7ea0e8b9f62c32ef37bf09a5bfe93b9/index.js +390 -0
  72. package/vendor/components/sha256/6d648d0e5c96ec680c04a14b7c3d672010d3b9f101197689e9672ec00174383d/README.en.md +31 -0
  73. package/vendor/components/sha256/6d648d0e5c96ec680c04a14b7c3d672010d3b9f101197689e9672ec00174383d/index.js +267 -0
  74. package/vendor/components/sha256/71208afc5c8ea1ed6d2180f46de7385e43990cfb046ba350eefb917eca5d92fe/README.en.md +22 -0
  75. package/vendor/components/sha256/71208afc5c8ea1ed6d2180f46de7385e43990cfb046ba350eefb917eca5d92fe/index.js +145 -0
  76. package/vendor/components/sha256/7552a029f30f9c2f2ec8c5af4f144b63eeffc9172b53e35a925821f69a738b64/README.en.md +44 -0
  77. package/vendor/components/sha256/7552a029f30f9c2f2ec8c5af4f144b63eeffc9172b53e35a925821f69a738b64/index.js +203 -0
  78. package/vendor/components/sha256/781a45d97f1325cfb40aa98d00e1db9600949158fdb2749b0223b019c67a80f2/index.js +919 -0
  79. package/vendor/components/sha256/850944419734168be3dc202057de128131869c471cb8ab3baec2cfe789d56493/index.js +465 -0
  80. package/vendor/components/sha256/863d4d42075fbae1084089730f10da943c88d3e3e655235f28c24b9a3cf95c88/README.en.md +37 -0
  81. package/vendor/components/sha256/863d4d42075fbae1084089730f10da943c88d3e3e655235f28c24b9a3cf95c88/index.js +424 -0
  82. package/vendor/components/sha256/8a892d25d0bb6105ba31ea690b465876ce3af1fbaf18e2a9ce44ad2fee81260e/index.js +162 -0
  83. package/vendor/components/sha256/8acec8f299510287fbad6a69311ec58a39b0e99647dd03609c818e053b3b6087/index.js +484 -0
  84. package/vendor/components/sha256/8ef66bd1e800bcbedef436585469d308665aaa1ab6011aee699544302d0a8ad0/index.js +312 -0
  85. package/vendor/components/sha256/8fa5ed6ab12a27542e077ff965bea626ff9450b330609304dc1148fc8dbb68b0/README.en.md +40 -0
  86. package/vendor/components/sha256/8fa5ed6ab12a27542e077ff965bea626ff9450b330609304dc1148fc8dbb68b0/index.js +348 -0
  87. package/vendor/components/sha256/a0c71874d83045baaef70285bd00d87a7c6c43219fa5630dfff60d5cb08509be/index.js +250 -0
  88. package/vendor/components/sha256/a31f39625d7d1087d06a72b644cec417372f98add940288257ef07f812d8395a/index.js +747 -0
  89. package/vendor/components/sha256/ae04a57be4a26b7443796a93c58adcf1cbcf746120eba619bf9c2bcdce53c640/README.en.md +38 -0
  90. package/vendor/components/sha256/ae04a57be4a26b7443796a93c58adcf1cbcf746120eba619bf9c2bcdce53c640/index.js +289 -0
  91. package/vendor/components/sha256/ae06622a328da2a01260bc68b28bb632c391e8d62a4e8387638e5a944525a418/index.js +521 -0
  92. package/vendor/components/sha256/b490139e9afa84164054738532d5ec4985bf071e40791d903012fe3b850bae43/README.en.md +24 -0
  93. package/vendor/components/sha256/b490139e9afa84164054738532d5ec4985bf071e40791d903012fe3b850bae43/index.js +103 -0
  94. package/vendor/components/sha256/b756c66d5c6e6ace90912ab467dea3031f2c9b291d8b2a786ca660faa0e8ac84/index.js +121 -0
  95. package/vendor/components/sha256/babd98da50ea334b63f79c66be436d092e8aea32654e011a6444667abb882e77/fixtures/ABCJS-ADAPTER.md +101 -0
  96. package/vendor/components/sha256/babd98da50ea334b63f79c66be436d092e8aea32654e011a6444667abb882e77/fixtures/LICENSE-abcjs.txt +21 -0
  97. package/vendor/components/sha256/babd98da50ea334b63f79c66be436d092e8aea32654e011a6444667abb882e77/fixtures/chords.json +89 -0
  98. package/vendor/components/sha256/babd98da50ea334b63f79c66be436d092e8aea32654e011a6444667abb882e77/fixtures/doremi.json +261 -0
  99. package/vendor/components/sha256/babd98da50ea334b63f79c66be436d092e8aea32654e011a6444667abb882e77/fixtures/extras.json +192 -0
  100. package/vendor/components/sha256/babd98da50ea334b63f79c66be436d092e8aea32654e011a6444667abb882e77/fixtures/kaeru.json +521 -0
  101. package/vendor/components/sha256/babd98da50ea334b63f79c66be436d092e8aea32654e011a6444667abb882e77/fixtures/rhythm.json +248 -0
  102. package/vendor/components/sha256/babd98da50ea334b63f79c66be436d092e8aea32654e011a6444667abb882e77/fixtures/ties.json +360 -0
  103. package/vendor/components/sha256/babd98da50ea334b63f79c66be436d092e8aea32654e011a6444667abb882e77/index.js +508 -0
  104. package/vendor/components/sha256/bea7cb344f55677d5756c9711b90cc971126830ec5f66a03f71f13dbfadc401e/index.js +351 -0
  105. package/vendor/components/sha256/c08b25a2f7be68c36634cdee180aa617fd018d80b7ddf2a484a2edb4acffdbe0/README.en.md +42 -0
  106. package/vendor/components/sha256/c08b25a2f7be68c36634cdee180aa617fd018d80b7ddf2a484a2edb4acffdbe0/index.js +268 -0
  107. package/vendor/components/sha256/cbe8bb4b2fd0845a9333bc2064d86758ea6465992ad86a99167ba17f57f3e382/README.en.md +51 -0
  108. package/vendor/components/sha256/cbe8bb4b2fd0845a9333bc2064d86758ea6465992ad86a99167ba17f57f3e382/index.js +228 -0
  109. package/vendor/components/sha256/d2df3d70fc7c6e07e3cad7332a7e5501e84abeb24653786e567f57046adebcba/index.js +268 -0
  110. package/vendor/components/sha256/d386f2b94cd9fbed765ad301aa7009228599edb2859efe7f37a98d7aaa44b9bb/README.en.md +35 -0
  111. package/vendor/components/sha256/d386f2b94cd9fbed765ad301aa7009228599edb2859efe7f37a98d7aaa44b9bb/index.js +179 -0
  112. package/vendor/components/sha256/e6d219f67d241fdf00a40d4cec261d9dd3c09ad3110d3418d4e843d0f2b8c196/index.js +429 -0
  113. package/vendor/components/sha256/ef60e6c089f5f6e909f439af8fc0c9c0a2d7a1aafad5e65be6328ba993b990a0/index.js +354 -0
  114. package/vendor/components/sha256/f6f47601c90f0195353e94b76d57499591d6330a7e35714958a2c41229f70da2/index.js +198 -0
  115. package/vendor/components/sha256/f9159c87fa998487787f738fdfab52aa2483f52f170fc258840b127f6ed06051/README.en.md +44 -0
  116. package/vendor/components/sha256/f9159c87fa998487787f738fdfab52aa2483f52f170fc258840b127f6ed06051/index.js +304 -0
  117. package/vendor/components/sha256/fb482cbe2ca1da07d08f41880e03fe75ff3f1d29842ff40946541e63030219b8/README.en.md +42 -0
  118. package/vendor/components/sha256/fb482cbe2ca1da07d08f41880e03fe75ff3f1d29842ff40946541e63030219b8/index.js +481 -0
  119. package/vendor/components/sha256/fdcea28e27638d8bfe234016672375e14de8bb97c32f7b6840d1b7b10ac4b1cd/index.js +233 -0
  120. package/vendor/components/sha256/ff5eaa083a46db6aefc13d97b27c9487f9fc318805f5c89b05a12e63703b7a72/LICENSE-strokesvg.txt +115 -0
  121. package/vendor/components/sha256/ff5eaa083a46db6aefc13d97b27c9487f9fc318805f5c89b05a12e63703b7a72/OFL.txt +93 -0
  122. package/vendor/components/sha256/ff5eaa083a46db6aefc13d97b27c9487f9fc318805f5c89b05a12e63703b7a72/index.js +749 -0
  123. package/vendor/components/sha256/ff5eaa083a46db6aefc13d97b27c9487f9fc318805f5c89b05a12e63703b7a72/strokes-CHANGES.md +20 -0
  124. package/vendor/components-2/manifest-2.7.0.json +2118 -0
@@ -791,9 +791,9 @@ export const PACK = {
791
791
  "m-collect",
792
792
  "m-kakijun"
793
793
  ],
794
- "partsSrc": "https://github.com/egatari/components/blob/v2.6.2/components/",
794
+ "partsSrc": "https://github.com/egatari/components/blob/v2.7.0/components/",
795
795
  "en": {
796
- "common": "# Instructions for the AI\n\nPack version: `dec25cea`\n\nYou will write one short **Egatari lesson**: HTML slides with step-by-step reveals (`deck.html`) and a spoken script for it (`narration.md`). Both files are built and quality-checked automatically; anything not described here is not available. Write the lesson in the language the user asks for (slides and script in the same language). Standards have ids such as **R-fit**; a fix request names the standards a draft broke. The user's request is in **What I want** at the end (or in the conversation before it): choose sensibly for any field that is empty or missing, and if both A and B are left, follow the one with content.\n\n**Before you start (the most common failures):**\n\n- **Both code blocks must be complete and closed.** Never stop in the middle of a block (R-output). Without an outline, keep the lesson short (5–8 slides). When the request gives an outline and a range of its slides, write exactly the slides of that range: the editor asks for at most 6 at a time, so they fit.\n- **Sizes on the 1280×720 slide** (the quality checker measures them, R-fit): the body area is 1184 × 443 px (to 565 px; 1184 × 558 with `noconcl`). Body text is 32 px with 46 px per line, so about **8 lines** fit; every overflowing 46 px is one line to cut. **All text, also inside figures and parts, is at least 24 px.**\n- **Charts and figures:** parts draw their labels at 24–28 px whatever their size (their SVG uses their own pixels), so size the part, not the text. A part of 380 px leaves room for one short line; with two lines, use 330 px.\n- **Inline `<svg>`:** its text is scaled by displayed width ÷ viewBox width, so write the viewBox in the pixels it is shown at, e.g. `<svg viewBox=\"0 0 560 320\" width=\"560\" height=\"320\">`, with `font-size` ≥ 24. Never combine `width:100%` with another viewBox width (a 600-wide viewBox shown 580 px wide turns 24 into 23.2 px). Prefer a part when one fits.\n\n## 1. Output format\n\n- **R-output** Reply with **exactly two fenced code blocks**, in this order, labelled `deck.html` and `narration.md` (the opening lines are ```` ```deck.html ```` and ```` ```narration.md ````). Put nothing between them; a one-line note before or after is fine. Never split a file over several blocks. Do not output files, a canvas or attachments: write both code blocks in the body of your chat message. Do not reference other files (no images, no `{{FIG:
}}`, no `{{JSON:
}}`, no external URLs, no `<link>`), and never stop in the middle of a block: if the lesson would be too long, make fewer slides (but for a range of an outline, write exactly the requested slides).\n- **R-outline** When the request asks for an **outline only** (a long lesson made in two passes), reply with exactly one fenced code block labelled `outline` (the opening line is ```` ```outline ````) and no `deck.html` or `narration.md`: a Markdown table with the columns `#`, heading and point (one line), one row per slide, every slide of the lesson in order. Each later request names a range (“slides 7–12 of the outline”): write exactly those slides, following their headings and points.\n- **R-noids** Do **not** write slide ids. Write `<section class=\"slide\">` without `id`, and script headings without `{#
}`. The editor adds ids after import. When you are given a lesson that already has ids (a fix request), keep every existing `id=\"
\"` and `{#
}` exactly as it is.\n\n## 2. deck.html\n\n### 2.1 Skeleton\n\n```html\n<!DOCTYPE html>\n<html lang=\"en\" data-theme=\"default\">\n<head>\n<meta charset=\"utf-8\">\n<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n<title>Lesson title</title>\n</head>\n<body>\n<div id=\"stage\">\n <section class=\"slide cover noconcl static\"> 
 </section>\n <section class=\"slide\"> 
 </section>\n</div>\n</body>\n</html>\n```\n\n- `lang`: `en`, `ja`, 
 (the language of the lesson). `data-theme`: `sumi` for business and pitch decks, `kokugo` for Japanese language arts, otherwise `default`.\n- No `<script>` except part data (§2.6), no `<link>`. A `<style>` block is allowed only for layout (sizes, gaps), never colors.\n\n### 2.2 Slides\n\n- Normal slide: `<h2>` heading, `<div class=\"body\">
</div>`, then `<div class=\"concl\"><span>
</span></div>` (the conclusion line: one short sentence).\n- Cover: `<section class=\"slide cover noconcl static\">` with optional `<div class=\"venue\">
</div>`, `<h1>title</h1>`, optional `<div class=\"au\">
</div>`.\n- Chapter divider: `<section class=\"slide sec noconcl static\"><h1>chapter title</h1></section>`.\n- Classes on `<section>`: `noconcl` (no conclusion line), `static` (no steps), `nostep` (all list items visible from the start), `layout-tate` (Japanese vertical writing; only with the kokugo part set, which describes it), and the `data-morph` attribute (§2.5).\n- Inside `.body`: `<p class=\"sub\">` sub-heading, `<div class=\"big\">` main equation, `<p class=\"note\">` note, `<div class=\"thm\">` theorem box, `<div class=\"cols\">` side-by-side columns, ordinary `<p>`, `<ul>`, `<ol>`, `<table>`.\n- Inline emphasis (the only way to color text): `term` (term or question), `emph` (conclusion, problem, goal), `muted` (known result, de-emphasized), `b` (bold).\n- **R-headings** Every slide heading (`h1` on the cover and dividers, `h2` elsewhere) is **different** from all the others (add a word if two would be the same), and the script section of that slide starts with `## ` followed by **exactly the same heading text** (tags such as `<br>` dropped).\n- **R-colors** Colors only through the theme: the classes above and the math macros `\\hlE` `\\hlT` `\\hlM`; no hex, `rgb()`, named colors, `\\color` or `\\textcolor`. In a part or inline SVG: **Use only the theme's CSS variables for colors**: `var(--fg)` `var(--term)` `var(--emph)` `var(--muted)` `var(--accent2)` `var(--line)`. In SVG write `style=\"stroke:var(--emph)\"` rather than an attribute (`DECK.el` moves `fill` and `stroke` into style automatically when they contain `var(`)\n\n### 2.3 Steps (reveal order = speaking order)\n\n- **R-steps** Step 0 is the slide as it first appears: context only (heading, sub-heading, one framing sentence). An element with `data-step=\"k\"` (k = 1, 2, 
) appears at step k; material (list items, equations, table rows, figure parts) appears in the order you talk about it. An equation and the sentence that introduces it share one step (wrap both in `<div data-step=\"k\">`). About 5 steps per slide at most.\n- The conclusion line automatically becomes the **last step**, `concl`; never put `data-step` on it.\n- If a slide has **no** `data-step` anywhere, its top-level list items (`.body > ul > li`, `.body > ol > li`) are numbered 1, 2, 
 automatically. As soon as any element has `data-step`, nothing is automatic: give every revealed element its `data-step`.\n- A part adds its own steps (§3), starting at its `data-from` (default 1).\n- So the steps of a slide are `0 
 max` plus `concl` if it has a conclusion line. A `static` slide has only step 0.\n\n### 2.4 Math (KaTeX, rendered at build time)\n\n- **R-math** Inline `\\( 
 \\)`, display `\\[ 
 \\]`. Write `<` as `\\lt` and `>` as `\\gt` inside math. Allowed macros besides standard KaTeX: `\\hlE{
}` (emph) `\\hlT{
}` (term) `\\hlM{
}` (muted), `\\htmlId{ID}{
}`, `\\htmlData{mark=ID}{
}`, `\\htmlClass{
}{
}`, `\\morph{ID}{
}`. No `\\newcommand`, no `\\color`. Define each symbol where it is first used (`\\(\\mu\\)`: the mean).\n\n### 2.5 Attention marks and morphs\n\n- **R-marks** The script’s `{mark:ID}` (§4) marks a target on the **same slide**. Targets: an element in the slide with `id=\"ID\"` or `data-mark=\"ID\"`. For part of an equation, KaTeX's `\\htmlId{ID}{
}` / `\\htmlData{mark=ID}{
}` (the build allows only these two and `\\htmlClass`). If the same ID is used on several slides, use `data-mark` (ids must be unique in the document)\n- Morph (optional): `<section class=\"slide\" data-morph>` slides elements from the previous slide into place; pair elements with the same `data-id=\"
\"` on both slides, or equation parts with `\\morph{ID}{
}` on both. Only elements visible at step 0 move.\n\n### 2.6 Parts\n\n- **R-components** Animated figures are the Web Components `<m-
>` of the catalog (§3), used inside `.body`. Give each a height (`style=\"height:380px\"`) and an `aria-label`. Data goes in **one** child `<script type=\"application/json\">
</script>` written inline (never `{{JSON:
}}`). **Numbers in figures must be correct** (compute them; never invent values for looks; label made-up business figures as fictional). Function formulas are arithmetic expressions only (`Math.exp(x)`, `x**2`); they are never run as code. Use parts only where motion explains something; most slides need none.\n\n### 2.7 Choosing a representation\n\n- **R-purpose** Choose the representation from what the slide must say, not from habit. If the author names a chart type, use it. The table lists every part; use only those in the text you were given (§3, and the part sets included). If a part that is not included would fit better, say so in a one-line note.\n\n{{PURPOSES}}\n\n- **R-whole** Lists, KPI cards and pies are shown whole; do not reveal them line by line unless the script discusses each item in turn (for a list, give it one `data-step` or put `nostep` on the slide).\n\n### 2.8 Fitting the slide (1280×720; the quality checker reports errors)\n\n- **R-title** Heading: Japanese at most 26 units (full-width character = 1, ASCII = 0.5); English at most 60 characters. Never ends with a colon.\n- **R-concl** Conclusion line: Japanese at most 35 units; English at most 70 characters. One line.\n- **R-fit** The body must end above 565 px (680 px with `noconcl`): about 8 lines / 100 Japanese characters / 60 English words per slide, or one `big` equation and 3 short bullets, or a part of height ≀ 380 px and one short line (≀ 330 px with two). If it does not fit, split the slide; never shrink text and never set font sizes. Text in figures is at least 24 px.\n- **R-style** Japanese slides: plain style (だ・である, 䜓蚀止め), no です・たす on slides, one punctuation style in the whole lesson (`、。` or ``). English slides: short phrases, sentence case.\n\n## 3. Part catalog\n\nThese standard parts may be used in any lesson; a part set, when it is included after §6, adds the parts of its kind of material. Generated from the part READMEs (their notes are in Japanese). “steps” is how many slide steps a part uses (from `data-from`, default 1). Timing attributes (durations and delays in seconds) are not listed; their defaults fit the narration. Attribute values of type json are written as JSON in the attribute (`values=\"[0.1,0.5]\"`). In “data shape”, `?` marks an optional field; where no type is written, label, tex, note and tone are str, step is int and at is num. In a name or label, `*
*` is italic and `_` `^` make only the next character a subscript or superscript; to show the symbol itself, write the full-width   .\n\n{{CATALOG}}\n\n## 4. narration.md\n\n```markdown\n# Script: <lesson title>\n\n## The decay law\n[0] Here is the decay law. We follow how many atoms are left.\n[1] The number left is the starting number times a shrinking exponential.\n[2] {mark:n0|circle}{N₀|N naught} is the number at the start, at time zero.\n[concl] The half-life depends only on the decay constant.\n```\n\n- One section per slide, **in slide order, for every slide (cover included)**: `## <slide heading>` (R-headings), no `{#id}` (R-noids).\n- **R-narr-steps** Step labels `[0]`, `[1]`, 
 and `[concl]`. **Every step of every slide has script lines** (step 0 to max, and `[concl]` if the slide has a conclusion line), and there are **no labels for steps that do not exist** (a `static` cover has only `[0]`; a slide without a conclusion line has no `[concl]`; never `[01]`). Within a step, talk only about what appears at that step.\n- **R-dialogue** **One narrator by default**: write no speaker names. Write a dialogue only when asked (if asked for three or more speakers, keep two roles and say so first): lines start with `Expert:` or `Novice:` (continuation lines indented; a line without a speaker is Expert), shaped as a cognitive apprenticeship:\n - Novice is never a mere backchannel: Novice voices the question a learner is likely to have, or paraphrases (“So 
, is that right?”)\n - Expert answers and adds one example or analogy, or confirms (or corrects) the paraphrase and takes one step further\n - Only at a comprehension fork (where learners tend to misunderstand, or a “why” remains): at most one exchange per slide, 2–3 turns. Elsewhere Expert alone\n - Never a turn that is only “I see”, or that repeats the previous turn. Example: `Novice: So a larger rate always gets there faster?` `Expert: Not always. Too large, and each step jumps across the valley, like striding downhill onto the opposite slope.`\n- `{note:
}`: presenter directions.\n- `{cue}`: a sync point inside a step, one per entry of the part’s `cues(k)` (only where a part’s README asks for it; otherwise omit).\n- `{mark:ID}`, `{mark:ID|effect}`, `{mark:ID|effect|hold=seconds}`, `{mark:clear}`: placed **right before** the words about the target; at most 1–2 per step; still say the thing in words. Effects: `underline` (default; a hand-drawn underline from left to right), `circle` (a hand-drawn circle), `box` (a rounded frame), `spot` (dims everything except the area around the target with the background color), `laser` (a dot of light slides to below the target and stays briefly)\n- **R-reading** `{display|reading}` gives the reading of **one symbol or one term**: `{Ξ|theta}`, `{N₀|N naught}`, `{x̄|x bar}`, `{論語|ろんご}`. One symbol may carry a star, a prime, a subscript or superscript, or a hat/bar/tilde (`{Q*|Q star}`, `{x′|x prime}`, `{Ξ̂|theta hat}`). Write the display part in plain Unicode, not LaTeX, and never as an expression or several symbols (`{1-η|
}`, `{a*b|
}` and `{Ξずη|
}` are wrong: give each symbol its own reading and say the relation in words).\n- **R-formula** **Never read an equation aloud**: no LaTeX, no `\\`, `^`, `_`, and no strings such as `a + b = c` in the narration. Say what the equation means (“the number left is the starting number times a shrinking exponential”).\n- Japanese script is polite spoken Japanese (です・たす); English script is plain spoken English. About 5 Japanese characters or 2.5 English words per second; 1–3 sentences per turn.\n\n## 5. Fix requests\n\nWhen the user pastes a **fix request** (a list of findings with the ids of the standards, followed by the current files), fix exactly those findings, keep everything else, keep every `id=\"
\"` and `{#
}` unchanged (R-noids), and reply again with the two blocks (R-output). If the request contains only some slides, return only those `<section>` elements in the `deck.html` block (no `<html>`) and only their sections in the `narration.md` block; the editor puts them back in place by id.\n\n## 6. Worked example\n\nA small lesson, fictional, showing the structure only (do not copy its content). Note how the steps add up: the list of 2 items gives steps 1–2 and `[concl]`<!--part:m-flow-->; the `m-flow` with 4 boxes gives steps 1–4<!--/part-->. The static cover has `[0]` only. Some part sets end with an example of their own.\n\n### Common (English, default theme, marks<!--part:m-flow-->, m-flow<!--/part-->)\n\n```deck.html\n<!DOCTYPE html>\n<html lang=\"en\" data-theme=\"default\">\n<head>\n<meta charset=\"utf-8\">\n<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n<title>How a web page arrives</title>\n</head>\n<body>\n<div id=\"stage\">\n\n<section class=\"slide cover noconcl static\">\n <div class=\"venue\">Computing basics, lesson 1 (a fictional course)</div>\n <h1>How a web page arrives</h1>\n</section>\n\n<section class=\"slide\">\n <h2>Two programs take part</h2>\n <div class=\"body\">\n <p>Opening a page is a conversation between two programs.</p>\n <ul>\n <li id=\"browser\">The <span class=\"term\">browser</span> asks for the page and draws it</li>\n <li id=\"server\">The <span class=\"term\">server</span> keeps the page and sends it back</li>\n </ul>\n </div>\n <div class=\"concl\"><span>Every page load is a request and a reply</span></div>\n</section><!--part:m-flow-->\n\n<section class=\"slide\">\n <h2>From the address to the screen</h2>\n <div class=\"body\">\n <m-flow style=\"height:300px\" aria-label=\"Four stages: type the address, send a request, send the page back, draw the page\">\n <script type=\"application/json\">{\"nodes\": [\n {\"id\": \"a\", \"label\": \"Type the\\naddress\", \"x\": 10, \"y\": 100, \"w\": 250, \"h\": 110, \"step\": 1},\n {\"id\": \"b\", \"label\": \"Send a\\nrequest\", \"x\": 315, \"y\": 100, \"w\": 250, \"h\": 110, \"step\": 2},\n {\"id\": \"c\", \"label\": \"Send the\\npage back\", \"x\": 620, \"y\": 100, \"w\": 250, \"h\": 110, \"step\": 3, \"tone\": \"term\"},\n {\"id\": \"d\", \"label\": \"Draw the\\npage\", \"x\": 925, \"y\": 100, \"w\": 250, \"h\": 110, \"step\": 4, \"tone\": \"emph\"}\n ], \"edges\": [\n {\"from\": \"a\", \"to\": \"b\"}, {\"from\": \"b\", \"to\": \"c\"}, {\"from\": \"c\", \"to\": \"d\"}\n ]}</script>\n </m-flow>\n </div>\n <div class=\"concl\"><span>A slow page is slow in one of these four stages</span></div>\n</section><!--/part-->\n\n</div>\n</body>\n</html>\n```\n\n```narration.md\n# Narration: How a web page arrives\n\n## How a web page arrives\n[0] Today we follow a web page on its way from a server to your screen.\n\n## Two programs take part\n[0] Opening a page is a conversation between two programs.\n[1] {mark:browser}The browser is the program you look at. It asks for the page and then draws it.\n[2] {mark:server}The server is a program on another computer. It keeps the page and sends it back when asked.\n[concl] Every page load is a request and a reply.<!--part:m-flow-->\n\n## From the address to the screen\n[0] Let us put the steps in order.\n[1] First you type the address of the page.\n[2] The browser turns it into a request and sends it to the server.\n[3] The server finds the page and sends it back.\n[4] The browser draws the page on the screen.\n[concl] When a page is slow, one of these four stages is taking the time.<!--/part-->\n```",
796
+ "common": "# Instructions for the AI\n\nPack version: `67a95271`\n\nYou will write one short **Egatari lesson**: HTML slides with step-by-step reveals (`deck.html`) and a spoken script for it (`narration.md`). Both files are built and quality-checked automatically; anything not described here is not available. Write the lesson in the language the user asks for (slides and script in the same language). Standards have ids such as **R-fit**; a fix request names the standards a draft broke. The user's request is in **What I want** at the end (or in the conversation before it): choose sensibly for any field that is empty or missing, and if both A and B are left, follow the one with content.\n\n**Before you start (the most common failures):**\n\n- **Both code blocks must be complete and closed.** Never stop in the middle of a block (R-output). Without an outline, keep the lesson short (5–8 slides). When the request gives an outline and a range of its slides, write exactly the slides of that range: the editor asks for at most 6 at a time, so they fit.\n- **Sizes on the 1280×720 slide** (the quality checker measures them, R-fit): the body area is 1184 × 443 px (to 565 px; 1184 × 558 with `noconcl`). Body text is 32 px with 46 px per line, so about **8 lines** fit; every overflowing 46 px is one line to cut. **All text, also inside figures and parts, is at least 24 px.**\n- **Charts and figures:** parts draw their labels at 24–28 px whatever their size (their SVG uses their own pixels), so size the part, not the text. A part of 380 px leaves room for one short line; with two lines, use 330 px.\n- **Inline `<svg>`:** its text is scaled by displayed width ÷ viewBox width, so write the viewBox in the pixels it is shown at, e.g. `<svg viewBox=\"0 0 560 320\" width=\"560\" height=\"320\">`, with `font-size` ≥ 24. Never combine `width:100%` with another viewBox width (a 600-wide viewBox shown 580 px wide turns 24 into 23.2 px). Prefer a part when one fits.\n\n## 1. Output format\n\n- **R-output** Reply with **exactly two fenced code blocks**, in this order, labelled `deck.html` and `narration.md` (the opening lines are ```` ```deck.html ```` and ```` ```narration.md ````). Put nothing between them; a one-line note before or after is fine. Never split a file over several blocks. Do not output files, a canvas or attachments: write both code blocks in the body of your chat message. Do not reference other files (no images, no `{{FIG:
}}`, no `{{JSON:
}}`, no external URLs, no `<link>`), and never stop in the middle of a block: if the lesson would be too long, make fewer slides (but for a range of an outline, write exactly the requested slides).\n- **R-outline** When the request asks for an **outline only** (a long lesson made in two passes), reply with exactly one fenced code block labelled `outline` (the opening line is ```` ```outline ````) and no `deck.html` or `narration.md`: a Markdown table with the columns `#`, heading and point (one line), one row per slide, every slide of the lesson in order. Each later request names a range (“slides 7–12 of the outline”): write exactly those slides, following their headings and points.\n- **R-noids** Do **not** write slide ids. Write `<section class=\"slide\">` without `id`, and script headings without `{#
}`. The editor adds ids after import. When you are given a lesson that already has ids (a fix request), keep every existing `id=\"
\"` and `{#
}` exactly as it is.\n\n## 2. deck.html\n\n### 2.1 Skeleton\n\n```html\n<!DOCTYPE html>\n<html lang=\"en\" data-theme=\"default\">\n<head>\n<meta charset=\"utf-8\">\n<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n<title>Lesson title</title>\n</head>\n<body>\n<div id=\"stage\">\n <section class=\"slide cover noconcl static\"> 
 </section>\n <section class=\"slide\"> 
 </section>\n</div>\n</body>\n</html>\n```\n\n- `lang`: `en`, `ja`, 
 (the language of the lesson). `data-theme`: `sumi` for business and pitch decks, `kokugo` for Japanese language arts, otherwise `default`.\n- No `<script>` except part data (§2.6), no `<link>`. A `<style>` block is allowed only for layout (sizes, gaps), never colors.\n\n### 2.2 Slides\n\n- Normal slide: `<h2>` heading, `<div class=\"body\">
</div>`, then `<div class=\"concl\"><span>
</span></div>` (the conclusion line: one short sentence).\n- Cover: `<section class=\"slide cover noconcl static\">` with optional `<div class=\"venue\">
</div>`, `<h1>title</h1>`, optional `<div class=\"au\">
</div>`.\n- Chapter divider: `<section class=\"slide sec noconcl static\"><h1>chapter title</h1></section>`.\n- Classes on `<section>`: `noconcl` (no conclusion line), `static` (no steps), `nostep` (all list items visible from the start), `layout-tate` (Japanese vertical writing; only with the kokugo part set, which describes it), and the `data-morph` attribute (§2.5).\n- Inside `.body`: `<p class=\"sub\">` sub-heading, `<div class=\"big\">` main equation, `<p class=\"note\">` note, `<div class=\"thm\">` theorem box, `<div class=\"cols\">` side-by-side columns, ordinary `<p>`, `<ul>`, `<ol>`, `<table>`.\n- Inline emphasis (the only way to color text): `term` (term or question), `emph` (conclusion, problem, goal), `muted` (known result, de-emphasized), `b` (bold).\n- **R-headings** Every slide heading (`h1` on the cover and dividers, `h2` elsewhere) is **different** from all the others (add a word if two would be the same), and the script section of that slide starts with `## ` followed by **exactly the same heading text** (tags such as `<br>` dropped).\n- **R-colors** Colors only through the theme: the classes above and the math macros `\\hlE` `\\hlT` `\\hlM`; no hex, `rgb()`, named colors, `\\color` or `\\textcolor`. In a part or inline SVG: **Use only the theme's CSS variables for colors**: `var(--fg)` `var(--term)` `var(--emph)` `var(--muted)` `var(--accent2)` `var(--line)`. In SVG write `style=\"stroke:var(--emph)\"` rather than an attribute (`DECK.el` moves `fill` and `stroke` into style automatically when they contain `var(`)\n\n### 2.3 Steps (reveal order = speaking order)\n\n- **R-steps** Step 0 is the slide as it first appears: context only (heading, sub-heading, one framing sentence). An element with `data-step=\"k\"` (k = 1, 2, 
) appears at step k; material (list items, equations, table rows, figure parts) appears in the order you talk about it. An equation and the sentence that introduces it share one step (wrap both in `<div data-step=\"k\">`). About 5 steps per slide at most.\n- The conclusion line automatically becomes the **last step**, `concl`; never put `data-step` on it.\n- If a slide has **no** `data-step` anywhere, its top-level list items (`.body > ul > li`, `.body > ol > li`) are numbered 1, 2, 
 automatically. As soon as any element has `data-step`, nothing is automatic: give every revealed element its `data-step`.\n- A part adds its own steps (§3), starting at its `data-from` (default 1).\n- So the steps of a slide are `0 
 max` plus `concl` if it has a conclusion line. A `static` slide has only step 0.\n\n### 2.4 Math (KaTeX, rendered at build time)\n\n- **R-math** Inline `\\( 
 \\)`, display `\\[ 
 \\]`. Write `<` as `\\lt` and `>` as `\\gt` inside math. Allowed macros besides standard KaTeX: `\\hlE{
}` (emph) `\\hlT{
}` (term) `\\hlM{
}` (muted), `\\htmlId{ID}{
}`, `\\htmlData{mark=ID}{
}`, `\\htmlClass{
}{
}`, `\\morph{ID}{
}`. No `\\newcommand`, no `\\color`. Define each symbol where it is first used (`\\(\\mu\\)`: the mean).\n\n### 2.5 Attention marks and morphs\n\n- **R-marks** The script’s `{mark:ID}` (§4) marks a target on the **same slide**. Targets: an element in the slide with `id=\"ID\"` or `data-mark=\"ID\"`. For part of an equation, KaTeX's `\\htmlId{ID}{
}` / `\\htmlData{mark=ID}{
}` (the build allows only these two and `\\htmlClass`). If the same ID is used on several slides, use `data-mark` (ids must be unique in the document)\n- Morph (optional): `<section class=\"slide\" data-morph>` slides elements from the previous slide into place; pair elements with the same `data-id=\"
\"` on both slides, or equation parts with `\\morph{ID}{
}` on both. Only elements visible at step 0 move.\n\n### 2.6 Parts\n\n- **R-components** Animated figures are the Web Components `<m-
>` of the catalog (§3), used inside `.body`. Give each a height (`style=\"height:380px\"`) and an `aria-label`. Data goes in **one** child `<script type=\"application/json\">
</script>` written inline (never `{{JSON:
}}`). **Numbers in figures must be correct** (compute them; never invent values for looks; label made-up business figures as fictional). Function formulas are arithmetic expressions only (`Math.exp(x)`, `x**2`); they are never run as code. Use parts only where motion explains something; most slides need none.\n\n### 2.7 Choosing a representation\n\n- **R-purpose** Choose the representation from what the slide must say, not from habit. If the author names a chart type, use it. The table lists every part; use only those in the text you were given (§3, and the part sets included). If a part that is not included would fit better, say so in a one-line note.\n\n{{PURPOSES}}\n\n- **R-whole** Lists, KPI cards and pies are shown whole; do not reveal them line by line unless the script discusses each item in turn (for a list, give it one `data-step` or put `nostep` on the slide).\n\n### 2.8 Fitting the slide (1280×720; the quality checker reports errors)\n\n- **R-title** Heading: Japanese at most 26 units (full-width character = 1, ASCII = 0.5); English at most 60 characters. Never ends with a colon.\n- **R-concl** Conclusion line: Japanese at most 35 units; English at most 70 characters. One line.\n- **R-fit** The body must end above 565 px (680 px with `noconcl`): about 8 lines / 100 Japanese characters / 60 English words per slide, or one `big` equation and 3 short bullets, or a part of height ≀ 380 px and one short line (≀ 330 px with two). If it does not fit, split the slide; never shrink text and never set font sizes. Text in figures is at least 24 px.\n- **R-style** Japanese slides: plain style (だ・である, 䜓蚀止め), no です・たす on slides, one punctuation style in the whole lesson (`、。` or ``). English slides: short phrases, sentence case.\n\n## 3. Part catalog\n\nThese standard parts may be used in any lesson; a part set, when it is included after §6, adds the parts of its kind of material. Generated from the part READMEs (their notes are in Japanese). “steps” is how many slide steps a part uses (from `data-from`, default 1). Timing attributes (durations and delays in seconds) are not listed; their defaults fit the narration. Attribute values of type json are written as JSON in the attribute (`values=\"[0.1,0.5]\"`). In “data shape”, `?` marks an optional field; where no type is written, label, tex, note and tone are str, step is int and at is num. In a name or label, `*
*` is italic and `_` `^` make only the next character a subscript or superscript; to show the symbol itself, write the full-width   .\n\n{{CATALOG}}\n\n## 4. narration.md\n\n```markdown\n# Script: <lesson title>\n\n## The decay law\n[0] Here is the decay law. We follow how many atoms are left.\n[1] The number left is the starting number times a shrinking exponential.\n[2] {mark:n0|circle}{N₀|N naught} is the number at the start, at time zero.\n[concl] The half-life depends only on the decay constant.\n```\n\n- One section per slide, **in slide order, for every slide (cover included)**: `## <slide heading>` (R-headings), no `{#id}` (R-noids).\n- **R-narr-steps** Step labels `[0]`, `[1]`, 
 and `[concl]`. **Every step of every slide has script lines** (step 0 to max, and `[concl]` if the slide has a conclusion line), and there are **no labels for steps that do not exist** (a `static` cover has only `[0]`; a slide without a conclusion line has no `[concl]`; never `[01]`). Within a step, talk only about what appears at that step.\n- **R-dialogue** **One narrator by default**: write no speaker names. Write a dialogue only when asked (if asked for three or more speakers, keep two roles and say so first): lines start with `Expert:` or `Novice:` (continuation lines indented; a line without a speaker is Expert), shaped as a cognitive apprenticeship:\n - Novice is never a mere backchannel: Novice voices the question a learner is likely to have, or paraphrases (“So 
, is that right?”)\n - Expert answers and adds one example or analogy, or confirms (or corrects) the paraphrase and takes one step further\n - Only at a comprehension fork (where learners tend to misunderstand, or a “why” remains): at most one exchange per slide, 2–3 turns. Elsewhere Expert alone\n - Never a turn that is only “I see”, or that repeats the previous turn. Example: `Novice: So a larger rate always gets there faster?` `Expert: Not always. Too large, and each step jumps across the valley, like striding downhill onto the opposite slope.`\n- `{note:
}`: presenter directions.\n- `{cue}`: a sync point inside a step, one per entry of the part’s `cues(k)` (only where a part’s README asks for it; otherwise omit).\n- `{mark:ID}`, `{mark:ID|effect}`, `{mark:ID|effect|hold=seconds}`, `{mark:clear}`: placed **right before** the words about the target; at most 1–2 per step; still say the thing in words. Effects: `underline` (default; a hand-drawn underline from left to right), `circle` (a hand-drawn circle), `box` (a rounded frame), `spot` (dims everything except the area around the target with the background color), `laser` (a dot of light slides to below the target and stays briefly)\n- **R-reading** `{display|reading}` gives the reading of **one symbol or one term**: `{Ξ|theta}`, `{N₀|N naught}`, `{x̄|x bar}`, `{論語|ろんご}`. One symbol may carry a star, a prime, a subscript or superscript, or a hat/bar/tilde (`{Q*|Q star}`, `{x′|x prime}`, `{Ξ̂|theta hat}`). Write the display part in plain Unicode, not LaTeX, and never as an expression or several symbols (`{1-η|
}`, `{a*b|
}` and `{Ξずη|
}` are wrong: give each symbol its own reading and say the relation in words). Give a reading only to a term misread without one, and then everywhere it appears.\n- **R-formula** **Never read an equation aloud**: no LaTeX, no `\\`, `^`, `_`, and no strings such as `a + b = c` in the narration. Say what the equation means (“the number left is the starting number times a shrinking exponential”).\n- Japanese script is polite spoken Japanese (です・たす); English script is plain spoken English. About 5 Japanese characters or 2.5 English words per second; 1–3 sentences per turn.\n\n## 5. Fix requests\n\nWhen the user pastes a **fix request** (a list of findings with the ids of the standards, followed by the current files), fix exactly those findings, keep everything else, keep every `id=\"
\"` and `{#
}` unchanged (R-noids), and reply again with the two blocks (R-output). If the request contains only some slides, return only those `<section>` elements in the `deck.html` block (no `<html>`) and only their sections in the `narration.md` block; the editor puts them back in place by id.\n\n## 6. Worked example\n\nA small lesson, fictional, showing the structure only (do not copy its content). Note how the steps add up: the list of 2 items gives steps 1–2 and `[concl]`<!--part:m-flow-->; the `m-flow` with 4 boxes gives steps 1–4<!--/part-->. The static cover has `[0]` only. Some part sets end with an example of their own.\n\n### Common (English, default theme, marks<!--part:m-flow-->, m-flow<!--/part-->)\n\n```deck.html\n<!DOCTYPE html>\n<html lang=\"en\" data-theme=\"default\">\n<head>\n<meta charset=\"utf-8\">\n<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n<title>How a web page arrives</title>\n</head>\n<body>\n<div id=\"stage\">\n\n<section class=\"slide cover noconcl static\">\n <div class=\"venue\">Computing basics, lesson 1 (a fictional course)</div>\n <h1>How a web page arrives</h1>\n</section>\n\n<section class=\"slide\">\n <h2>Two programs take part</h2>\n <div class=\"body\">\n <p>Opening a page is a conversation between two programs.</p>\n <ul>\n <li id=\"browser\">The <span class=\"term\">browser</span> asks for the page and draws it</li>\n <li id=\"server\">The <span class=\"term\">server</span> keeps the page and sends it back</li>\n </ul>\n </div>\n <div class=\"concl\"><span>Every page load is a request and a reply</span></div>\n</section><!--part:m-flow-->\n\n<section class=\"slide\">\n <h2>From the address to the screen</h2>\n <div class=\"body\">\n <m-flow style=\"height:300px\" aria-label=\"Four stages: type the address, send a request, send the page back, draw the page\">\n <script type=\"application/json\">{\"nodes\": [\n {\"id\": \"a\", \"label\": \"Type the\\naddress\", \"x\": 10, \"y\": 100, \"w\": 250, \"h\": 110, \"step\": 1},\n {\"id\": \"b\", \"label\": \"Send a\\nrequest\", \"x\": 315, \"y\": 100, \"w\": 250, \"h\": 110, \"step\": 2},\n {\"id\": \"c\", \"label\": \"Send the\\npage back\", \"x\": 620, \"y\": 100, \"w\": 250, \"h\": 110, \"step\": 3, \"tone\": \"term\"},\n {\"id\": \"d\", \"label\": \"Draw the\\npage\", \"x\": 925, \"y\": 100, \"w\": 250, \"h\": 110, \"step\": 4, \"tone\": \"emph\"}\n ], \"edges\": [\n {\"from\": \"a\", \"to\": \"b\"}, {\"from\": \"b\", \"to\": \"c\"}, {\"from\": \"c\", \"to\": \"d\"}\n ]}</script>\n </m-flow>\n </div>\n <div class=\"concl\"><span>A slow page is slow in one of these four stages</span></div>\n</section><!--/part-->\n\n</div>\n</body>\n</html>\n```\n\n```narration.md\n# Narration: How a web page arrives\n\n## How a web page arrives\n[0] Today we follow a web page on its way from a server to your screen.\n\n## Two programs take part\n[0] Opening a page is a conversation between two programs.\n[1] {mark:browser}The browser is the program you look at. It asks for the page and then draws it.\n[2] {mark:server}The server is a program on another computer. It keeps the page and sends it back when asked.\n[concl] Every page load is a request and a reply.<!--part:m-flow-->\n\n## From the address to the screen\n[0] Let us put the steps in order.\n[1] First you type the address of the page.\n[2] The browser turns it into a request and sends it to the server.\n[3] The server finds the page and sends it back.\n[4] The browser draws the page on the screen.\n[concl] When a page is slow, one of these four stages is taking the time.<!--/part-->\n```",
797
797
  "request": "# What I want\n\n*(Fill in A or B and delete the other; delete fields you leave empty.)*\n\n**A. Make a new lesson**\n\n- Title (used as is on the cover):\n- Audience:\n- Length (slides or minutes):\n- Language:\n- Speakers: one narrator\n- Other wishes:\n\n**B. From the material and discussion in this chat**\n\nMake the lesson from the material given in this chat and what we have discussed so far.\n\n- Title (used as is on the cover):\n- Audience:\n- Length (slides or minutes):\n- Language:\n- Speakers: one narrator\n- Other wishes:",
798
798
  "sets": {
799
799
  "stats": "## Part set: stats (statistics charts)\n\nFor lessons and talks with data: distributions, box plots, heatmaps, and a distribution updated one observation at a time. Use the `default` theme. Give the source and the size of every data set on the slide or in the script, and never invent data that looks real (R-components).\n\n- **Axis charts** (<!--part:m-hist-->`m-hist`, <!--/part--><!--part:m-boxplot-->`m-boxplot`, <!--/part--><!--part:m-seq-->`m-seq`, <!--/part-->and the like) reserve 86 px at the left and 80 px in all at the top and bottom for ticks and axis names: give them a height of **300–380 px** and a width of **at least 560 px** (in `<div class=\"cols\">`, give the chart column at least 55%).\n- Make the axis ranges contain every plotted value (computed as R-components says).\n\nParts of this set, in addition to those of §3:\n\n{{CATALOG}}\n\n{{EXTENSIONS}}",
@@ -820,8 +820,8 @@ export const PACK = {
820
820
  },
821
821
  "m-boxplot": {
822
822
  "set": "stats",
823
- "row": "| `<m-boxplot>` | 箱ひげ図。倀を䞊べ、䞭倮倀・四分䜍数を求める手順のずおりに組み立おる。矀を䞊べお比べる | steps既定点 → 䞭倮倀 → 第1・第3四分䜍数 → ç®± → ひげ。whole矀 1 ぀ = 1 段階 | `{groups:[{label?,tone?,values?:num[],five?:num[]} (values or five),
]}` — groups [{label, tone, values}] or [{label, five: [min, q1, median, q3, max]}]; axes go in attributes (xr=\"[0,20]\" xl=\"
\") |",
824
- "entry": "### `<m-boxplot>`\n\nData example (child `<script type=\"application/json\">`): `{\"groups\":[{\"label\":\"1 組\",\"values\":[3,5,6,7,8,9,10,12,13,15,18]}]}`\n\n| prop | type | default | meaning |\n|---|---|---|---|\n| `orient` | string | `\"h\"` | h暪向きの箱、倀の軞が暪か v瞊向き |\n| `xr` | json | `null` | 暪軞の範囲 |\n| `yr` | json | `null` | 瞊軞の範囲 |\n| `xt` | json | `null` | 暪軞の目盛り |\n| `yt` | json | `null` | 瞊軞の目盛り |\n| `xf` | number | | 暪軞の目盛りの小数桁 |\n| `yf` | number | | 瞊軞の目盛りの小数桁 |\n| `xl` | string | `\"\"` | x axis name (`*italic*` `_sub` `^sup`) * |\n| `yl` | string | `\"\"` | y axis name * |\n| `method` | string | `\"jp\"` | 四分䜍数の求め方jp教科曞・inc・exc衚蚈算の QUARTILE.INC / EXC |\n| `outliers` | string | `\"off\"` | on1.5×四分䜍範囲の倖を倖れ倀点にし、ひげはその内偎たで |\n| `dots` | string | `\"off\"` | on倀の点を箱の䞋に䞊べるbuild=\\ |\n| `build` | string | `\"steps\"` | steps求める手順のずおりか whole矀 1 ぀ = 1 段階 |\n| `unit` | string | `\"\"` | 曞き出す倀の埌ろに付ける単䜍 |\n| `digits` | number | | 曞き出す倀の小数桁曞かなければ倀の桁1 たで |\n\n倀の代わりに `\"five\": [最小倀, 第1四分䜍数, 䞭倮倀, 第3四分䜍数, 最倧倀]` も曞ける。\n\n- `orient``h`既定か `v`\n- `method``jp`既定、教科曞・`inc`・`exc`衚蚈算の QUARTILE.INC / EXC\n- `outliers=\"on\"`1.5×四分䜍範囲の倖を倖れ倀の点に\n- `dots=\"on\"`倀の点を䞊べる\n- 矀が 1 ぀の steps では、䞊べた倀の行も出る",
823
+ "row": "| `<m-boxplot>` | 箱ひげ図。倀を䞊べ、䞭倮倀・四分䜍数を求める手順のずおりに組み立おる。矀を䞊べお比べる | steps既定点 → 䞭倮倀 → 第1・第3四分䜍数 → ç®± → ひげ。whole矀 1 ぀ = 1 ステップ | `{groups:[{label?,tone?,values?:num[],five?:num[]} (values or five),
]}` — groups [{label, tone, values}] or [{label, five: [min, q1, median, q3, max]}]; axes go in attributes (xr=\"[0,20]\" xl=\"
\") |",
824
+ "entry": "### `<m-boxplot>`\n\nData example (child `<script type=\"application/json\">`): `{\"groups\":[{\"label\":\"1 組\",\"values\":[3,5,6,7,8,9,10,12,13,15,18]}]}`\n\n| prop | type | default | meaning |\n|---|---|---|---|\n| `orient` | string | `\"h\"` | h暪向きの箱、倀の軞が暪か v瞊向き |\n| `xr` | json | `null` | 暪軞の範囲 |\n| `yr` | json | `null` | 瞊軞の範囲 |\n| `xt` | json | `null` | 暪軞の目盛り |\n| `yt` | json | `null` | 瞊軞の目盛り |\n| `xf` | number | | 暪軞の目盛りの小数桁 |\n| `yf` | number | | 瞊軞の目盛りの小数桁 |\n| `xl` | string | `\"\"` | x axis name (`*italic*` `_sub` `^sup`) * |\n| `yl` | string | `\"\"` | y axis name * |\n| `method` | string | `\"jp\"` | 四分䜍数の求め方jp教科曞・inc・exc衚蚈算の QUARTILE.INC / EXC |\n| `outliers` | string | `\"off\"` | on1.5×四分䜍範囲の倖を倖れ倀点にし、ひげはその内偎たで |\n| `dots` | string | `\"off\"` | on倀の点を箱の䞋に䞊べるbuild=\\ |\n| `build` | string | `\"steps\"` | steps求める手順のずおりか whole矀 1 ぀ = 1 ステップ |\n| `unit` | string | `\"\"` | 曞き出す倀の埌ろに付ける単䜍 |\n| `digits` | number | | 曞き出す倀の小数桁曞かなければ倀の桁1 たで |\n\n倀の代わりに `\"five\": [最小倀, 第1四分䜍数, 䞭倮倀, 第3四分䜍数, 最倧倀]` も曞ける。\n\n- `orient``h`既定か `v`\n- `method``jp`既定、教科曞・`inc`・`exc`衚蚈算の QUARTILE.INC / EXC\n- `outliers=\"on\"`1.5×四分䜍範囲の倖を倖れ倀の点に\n- `dots=\"on\"`倀の点を䞊べる\n- 矀が 1 ぀の steps では、䞊べた倀の行も出る",
825
825
  "sup": true
826
826
  },
827
827
  "m-cards": {
@@ -836,8 +836,8 @@ export const PACK = {
836
836
  },
837
837
  "m-code": {
838
838
  "set": "data",
839
- "row": "| `<m-code>` | Code notes | Code → notes → output (n+1/+2) | `{code:str,lang?:str,output?:str,steps:{lines:int[],note}[]}` |",
840
- "entry": "### `<m-code>`\n\nData example (child `<script type=\"application/json\">`): `{\"lang\":\"python\",\"code\":\"import pandas as pd\\ndf = pd.read_csv(\\\"sales.csv\\\")\\ndf.groupby(\\\"store\\\")[\\\"sales\\\"].mean()\",\"steps\":[{\"lines\":[1],\"note\":\"Load pandas\"},{\"lines\":[2],\"note\":\"Read CSV\"},{\"lines\":[3],\"note\":\"Mean\"}],\"output\":\"store\\nA 120.5\\nB 98.0\"}`\n\n| prop | type | default | meaning |\n|---|---|---|---|\n| `size` | number | `0` | Text px |\n| `outputPos` | enum | `\"auto\"` | Output |\n\n`<m-code>` child JSON.\n\n- `code`: ≀76 chars/line; height ≈ 132+34×lines+35×(list rows−1), ~40 chars/row; >440px: cut/split.\n- `lang`: tag; `steps[{lines,note}]`: 1-based range, note.\n- `output`: ≀8 lines.\n\nNarration: explain each line; never read code aloud."
839
+ "row": "| `<m-code>` | Code notes | Code → notes → output (n+1/+2) | `{code:str,lang?:str,output?:str,steps:{lines:(int\\|[int,int])[],note}[]}` |",
840
+ "entry": "### `<m-code>`\n\nData example (child `<script type=\"application/json\">`): `{\"lang\":\"python\",\"code\":\"import pandas as pd\\ndf = pd.read_csv(\\\"sales.csv\\\")\\ndf.groupby(\\\"store\\\")[\\\"sales\\\"].mean()\",\"steps\":[{\"lines\":[1],\"note\":\"Load pandas\"},{\"lines\":[2],\"note\":\"Read CSV\"},{\"lines\":[3],\"note\":\"Mean\"}],\"output\":\"store\\nA 120.5\\nB 98.0\"}`\n\n| prop | type | default | meaning |\n|---|---|---|---|\n| `size` | number | `0` | Text px |\n| `outputPos` | enum | `\"auto\"` | Output |\n\n`<m-code>` child JSON.\n\n- `code`: ≀76 chars/line; height ≈ 132+34×lines+35×(list rows−1), ~40 chars/row; >440px: cut/split.\n- `lang`: tag; `steps[{lines,note}]`: 1-based, `\"lines\":[3]` or range `[3,4]`; note.\n- `output`: ≀8 lines.\n\nScript: explain each line; never read code aloud."
841
841
  },
842
842
  "m-compare": {
843
843
  "set": "standard",
@@ -875,38 +875,38 @@ export const PACK = {
875
875
  "m-gendai": {
876
876
  "set": "kokugo",
877
877
  "row": "| `<m-gendai>` | 珟代文の読解の図傍線・二重傍線を匕き、指瀺語から指す内容ぞ矢印、段萜を圹割䞻匵・具䜓䟋・察比の枠で囲んで線で぀なぐ | 䞭身のある phases の数既定 marks refs roles | text inside the element (not JSON) |",
878
- "entry": "### `<m-gendai>`\n\n| prop | type | default | meaning |\n|---|---|---|---|\n| `size` | number | `28` | 本文の字の倧きさpx |\n| `tate` | bool | `false` | 瞊曞きにする段萜は右から巊ぞ、枠を぀なぐ線は䞊を通す |\n| `phases` | string | `\"marks refs roles\"` | 段階の䞊びmarks 傍線・refs 指瀺語・roles 段萜の枠から遞ぶ。䞭身のないものは飛ばす |\n\n珟代文の文章の構造筆者の䞻匵ず、それを支える具䜓䟋・察比ず、指瀺語の指す内容を芋せるずきに䜿う。段階 0 は本文だけ。\n\n#### 曞き方\n\n段萜は空行で区切る。段萜の頭の行で圹割ず名前、぀ながりを曞くなくおもよい。\n\n```\n@具䜓䟋#p1>p3\n駅たでの道を、私は{地図アプリ|#app}に頌っお歩く。 {それ|>app}を閉じるず、 \n\n@察比#p2~p1\n
\n\n@䞻匵#p3\n䟿利な道具は、私たちから==迷う機䌚を奪う==。だが、{迷うこずこそが |_A}。\n```\n\n- `@圹割#名前>名前`圹割自由な蚀葉、この段萜の名前、矢印で぀なぐ段萜。`~名前` は察比䞡向きの線\n- `__語句__` 傍線、`==語句==` 二重傍線\n- `{語句|しるし,
}``_A` 傍線ず蚘号 A、`=B` 二重傍線ず蚘号 B蚘号なしは `_` `=`、`#名前` 指瀺語が指す先、`>名前` 指瀺語。しるしは入れ子にしない`,` で 1 ぀にたずめる\n\n#### 段階\n\n`phases`既定 `marks refs roles`の順に。䞭身のないものは段階にしない。\n\n- `marks`傍線・二重傍線を順に匕く。蚘号A などは線の始たりに付く\n- `refs`指瀺語を囲み、指す先に色を敷いお矢印\n- `roles`段萜を圹割の色の枠で囲み、札を付け、最埌に぀なぐ線"
878
+ "entry": "### `<m-gendai>`\n\n| prop | type | default | meaning |\n|---|---|---|---|\n| `size` | number | `28` | 本文の字の倧きさpx |\n| `tate` | bool | `false` | 瞊曞きにする段萜は右から巊ぞ、枠を぀なぐ線は䞊を通す |\n| `phases` | string | `\"marks refs roles\"` | ステップの䞊びmarks 傍線・refs 指瀺語・roles 段萜の枠から遞ぶ。䞭身のないものは飛ばす |\n\n珟代文の文章の構造筆者の䞻匵ず、それを支える具䜓䟋・察比ず、指瀺語の指す内容を芋せるずきに䜿う。ステップ 0 は本文だけ。\n\n#### 曞き方\n\n段萜は空行で区切る。段萜の頭の行で圹割ず名前、぀ながりを曞くなくおもよい。\n\n```\n@具䜓䟋#p1>p3\n駅たでの道を、私は{地図アプリ|#app}に頌っお歩く。 {それ|>app}を閉じるず、 \n\n@察比#p2~p1\n
\n\n@䞻匵#p3\n䟿利な道具は、私たちから==迷う機䌚を奪う==。だが、{迷うこずこそが |_A}。\n```\n\n- `@圹割#名前>名前`圹割自由な蚀葉、この段萜の名前、矢印で぀なぐ段萜。`~名前` は察比䞡向きの線\n- `__語句__` 傍線、`==語句==` 二重傍線\n- `{語句|しるし,
}``_A` 傍線ず蚘号 A、`=B` 二重傍線ず蚘号 B蚘号なしは `_` `=`、`#名前` 指瀺語が指す先、`>名前` 指瀺語。しるしは入れ子にしない`,` で 1 ぀にたずめる\n\n#### ステップ\n\n`phases`既定 `marks refs roles`の順に。䞭身のないものはステップにしない。\n\n- `marks`傍線・二重傍線を順に匕く。蚘号A などは線の始たりに付く\n- `refs`指瀺語を囲み、指す先に色を敷いお矢印\n- `roles`段萜を圹割の色の枠で囲み、札を付け、最埌に぀なぐ線"
879
879
  },
880
880
  "m-heatmap": {
881
881
  "set": "stats",
882
- "row": "| `<m-heatmap>` | ヒヌトマップ。倀で塗ったセルの栌子混同行列・盞関行列・泚意の重み | rows行を 1 ぀ず぀normalize=\"row\" の既定。whole党䜓を 1 段階。cells党䜓、それから匷調を 1 ぀ず぀highlight があるずきの既定 | `{rows:str[],cols:str[],values:num[][],unit?:str,digits?:num,highlight?:num[][]}` — values[row][col], one row per label in rows and one number per label in cols; highlight [[row, col] or [row, col, step]] (0-based) |",
883
- "entry": "### `<m-heatmap>`\n\nData example (child `<script type=\"application/json\">`): `{\"rows\":[\"ねこ\",\"いぬ\"],\"cols\":[\"ねこ\",\"いぬ\"],\"values\":[[45,5],[6,44]]}`\n\n| prop | type | default | meaning |\n|---|---|---|---|\n| `scale` | string | `\"sequential\"` | sequential か divergingcenter を地の色に 2 色 |\n| `center` | number | `0` | diverging の真ん䞭の倀 |\n| `range` | json | `null` | 色の範囲 [最小, 最倧] |\n| `tone` | string | `\"term\"` | 濃い偎の色term・emph・accent2 |\n| `lowtone` | string | `\"emph\"` | diverging の center より䞋の色 |\n| `normalize` | string | `\"none\"` | row行ごずの割合混同行列 |\n| `show` | string | `\"percent\"` | normalize=row の数字percent・count・both |\n| `numbers` | string | `\"auto\"` | セルの数字auto・on・off |\n| `diag` | string | `\"off\"` | on察角を枠で匷調 |\n| `build` | string | `\"\"` | rows・whole・cells |\n| `rotate` | string | `\"auto\"` | 列の名前auto・0・90 |\n| `xl` | string | `\"\"` | 列の芋出し |\n| `yl` | string | `\"\"` | 行の芋出し |\n| `unit` | string | | セルの数字の埌ろに付ける単䜍JSON の unit より先 |\n| `digits` | number | | セルの数字の小数桁既定は倀の桁、2 桁たで。割合は 0 |\n\n`highlight: [[行, 列], 
]`0 から。3 ぀目に段階で --emph の枠。\n\n- 混同行列`normalize=\"row\" diag=\"on\"`数字は `show` で割合・数・䞡方\n- 盞関行列`scale=\"diverging\" range=\"[-1,1]\"`center の䞊䞋で 2 色\n- 曞かなければ最初の芋せ方fade"
882
+ "row": "| `<m-heatmap>` | ヒヌトマップ。倀で塗ったセルの栌子混同行列・盞関行列・泚意の重み | rows行を 1 ぀ず぀normalize=\"row\" の既定。whole党䜓を 1 ステップ。cells党䜓、それから匷調を 1 ぀ず぀highlight があるずきの既定 | `{rows:str[],cols:str[],values:num[][],unit?:str,digits?:num,highlight?:num[][]}` — values[row][col], one row per label in rows and one number per label in cols; highlight [[row, col] or [row, col, step]] (0-based) |",
883
+ "entry": "### `<m-heatmap>`\n\nData example (child `<script type=\"application/json\">`): `{\"rows\":[\"ねこ\",\"いぬ\"],\"cols\":[\"ねこ\",\"いぬ\"],\"values\":[[45,5],[6,44]]}`\n\n| prop | type | default | meaning |\n|---|---|---|---|\n| `scale` | string | `\"sequential\"` | sequential か divergingcenter を地の色に 2 色 |\n| `center` | number | `0` | diverging の真ん䞭の倀 |\n| `range` | json | `null` | 色の範囲 [最小, 最倧] |\n| `tone` | string | `\"term\"` | 濃い偎の色term・emph・accent2。曞かなければテヌマの色の階調なければ term |\n| `lowtone` | string | `\"emph\"` | diverging の center より䞋の色 |\n| `normalize` | string | `\"none\"` | row行ごずの割合混同行列 |\n| `show` | string | `\"percent\"` | normalize=row の数字percent・count・both |\n| `numbers` | string | `\"auto\"` | セルの数字auto・on・off |\n| `diag` | string | `\"off\"` | on察角を枠で匷調 |\n| `build` | string | `\"\"` | rows・whole・cells |\n| `rotate` | string | `\"auto\"` | 列の名前auto・0・90 |\n| `xl` | string | `\"\"` | 列の芋出し |\n| `yl` | string | `\"\"` | 行の芋出し |\n| `unit` | string | | セルの数字の埌ろに付ける単䜍JSON の unit より先 |\n| `digits` | number | | セルの数字の小数桁既定は倀の桁、2 桁たで。割合は 0 |\n\n`highlight: [[行, 列], 
]`0 から。3 ぀目にステップで --emph の枠。\n\n- 混同行列`normalize=\"row\" diag=\"on\"`数字は `show` で割合・数・䞡方\n- 盞関行列`scale=\"diverging\" range=\"[-1,1]\"`center の䞊䞋で 2 色\n- 曞かなければ最初の芋せ方fade"
884
884
  },
885
885
  "m-hissan": {
886
886
  "set": "math",
887
- "row": "| `<m-hissan>` | 筆算たし算・ひき算・かけ算・わり算、小数も。匏を曞けば、郚品が教科曞の手順で蚈算しお曞く | −は䜍ごず、×は 1 段ごずfine で 1 けたず぀→たす、÷は商 1 けたごずper=\"phase\" で たおる・かける・ひく・おろす ごず | attributes only (no JSON child): `digits=\"2\"` |",
888
- "entry": "### `<m-hissan>`\n\nExample: `<m-hissan expr=\"487+356\"></m-hissan>`\n\n| prop | type | default | meaning |\n|---|---|---|---|\n| `expr` | string | `\"\"` | 匏487+356、1003-457、36×24、851÷23、3.6×2.4、7.56÷1.8× は * でも、÷ は / でもよい |\n| `build` | string | `\"steps\"` | steps手順ごずか whole1 段階で党郚 |\n| `fine` | string | `\"off\"` | かけ算on なら 1 けたず぀小さなくり䞊がりを曞く |\n| `per` | string | `\"round\"` | わり算round商 1 けた1 段階か phaseたおる・かける・ひく・おろす を別の段階に |\n| `kari` | string | `\"off\"` | わり算on なら倧きすぎる仮の商を 1 回芋せお盎す |\n| `rem` | string | `\"off\"` | わり算on なら商を敎数で止めお あたり を出す |\n| `digits` | json | `null` | わり算商を小数第䜕䜍たで求めるか |\n| `carry` | string | `\"line\"` | たし算のくり䞊がりline答えの線のすぐ䞊か top䞊の数の䞊 |\n| `words` | string | `\"on\"` | off なら右の手順の蚀葉を出さない |\n| `focus` | string | `\"on\"` | いた蚈算しおいる䜍・行に薄い色 |\n\n`<m-hissan expr=\"1003-457\">`。匏は `487+356` `36×24` `851÷23` `3.6×2.4` `7.56÷1.8`。\n\n- くり䞊がり・くり䞋がり・小数点・あたり は郚品が曞く\n- `fine=\"on\"`かけ算を 1 けたず぀\n- `kari=\"on\"`仮の商を芋せお 1 ず぀盎す\n- `carry=\"top\"`くり䞊がりを䞊の数の䞊に。`words=\"off\"`右の蚀葉を出さない\n- `rem=\"on\"`商を敎数で止めお あたり。`digits=\"2\"`商を小数第二䜍たで"
887
+ "row": "| `<m-hissan>` | 筆算たし算・ひき算・かけ算・わり算、小数も。匏を曞けば、パヌツが教科曞の手順で蚈算しお曞く | −は䜍ごず、×は 1 段ごずfine で 1 けたず぀→たす、÷は商 1 けたごずper=\"phase\" で たおる・かける・ひく・おろす ごず | attributes only (no JSON child): `digits=\"2\"` |",
888
+ "entry": "### `<m-hissan>`\n\nExample: `<m-hissan expr=\"487+356\"></m-hissan>`\n\n| prop | type | default | meaning |\n|---|---|---|---|\n| `expr` | string | `\"\"` | 匏487+356、1003-457、36×24、851÷23、3.6×2.4、7.56÷1.8× は * でも、÷ は / でもよい |\n| `build` | string | `\"steps\"` | steps手順ごずか whole1 ステップで党郚 |\n| `fine` | string | `\"off\"` | かけ算on なら 1 けたず぀小さなくり䞊がりを曞く |\n| `per` | string | `\"round\"` | わり算round商 1 けた1 ステップか phaseたおる・かける・ひく・おろす を別のステップに |\n| `kari` | string | `\"off\"` | わり算on なら倧きすぎる仮の商を 1 回芋せお盎す |\n| `rem` | string | `\"off\"` | わり算on なら商を敎数で止めお あたり を出す |\n| `digits` | json | `null` | わり算商を小数第䜕䜍たで求めるか |\n| `carry` | string | `\"line\"` | たし算のくり䞊がりline答えの線のすぐ䞊か top䞊の数の䞊 |\n| `words` | string | `\"on\"` | off なら右の手順の蚀葉を出さない |\n| `focus` | string | `\"on\"` | いた蚈算しおいる䜍・行に薄い色 |\n\n`<m-hissan expr=\"1003-457\">`。匏は `487+356` `36×24` `851÷23` `3.6×2.4` `7.56÷1.8`。\n\n- くり䞊がり・くり䞋がり・小数点・あたり はパヌツが曞く\n- `fine=\"on\"`かけ算を 1 けたず぀\n- `kari=\"on\"`仮の商を芋せお 1 ず぀盎す\n- `carry=\"top\"`くり䞊がりを䞊の数の䞊に。`words=\"off\"`右の蚀葉を出さない\n- `rem=\"on\"`商を敎数で止めお あたり。`digits=\"2\"`商を小数第二䜍たで"
889
889
  },
890
890
  "m-hist": {
891
891
  "set": "stats",
892
- "row": "| `<m-hist>` | ヒストグラム・床数折れ線・ドットプロット。平均倀・䞭倮倀・最頻倀の線も | 分垃系列 1 ぀ = 1 段階→ 床数折れ線 → 代衚倀を 1 ぀ず぀ | `{values?:num[],table?:{from:num,to:num,count:int}[],bins?:{start:num,width:num},series?:[{label?,tone?,values?:num[],table?:{from:num,to:num,count:int}[]} (values or table),
]} (values or table or series)` — raw values with bins {start, width} (the part counts), or a frequency table [{from, to, count}]; up to 2 series [{label, tone, values \\| table}] |",
893
- "entry": "### `<m-hist>`\n\nData example (child `<script type=\"application/json\">`): `{\"values\":[23,31,27,18,25,29,33,22,26,28],\"bins\":{\"start\":15,\"width\":5}}`\n\n| prop | type | default | meaning |\n|---|---|---|---|\n| `xr` | json | `null` | 暪軞の範囲曞かなければ階玚から |\n| `yr` | json | `null` | 瞊軞の範囲曞かなければ床数から |\n| `xt` | json | `null` | 暪軞の目盛り曞かなければ階玚の境 |\n| `yt` | json | `null` | 瞊軞の目盛り曞かなければ自動 |\n| `xf` | number | | 暪軞の目盛りの小数桁 |\n| `yf` | number | | 瞊軞の目盛りの小数桁 |\n| `xl` | string | `\"\"` | x axis name (`*italic*` `_sub` `^sup`) * |\n| `yl` | string | `\"\"` | y axis name * |\n| `unit` | string | `\"\"` | 代衚倀の数の埌ろに付ける単䜍 |\n| `digits` | number | | 代衚倀の小数桁曞かなければ倀の桁1 たで |\n| `polygon` | string | `\"off\"` | on床数折れ線 |\n| `relative` | string | `\"off\"` | on盞察床数 |\n| `cumulative` | string | `\"off\"` | on环積床数 |\n| `kind` | string | `\"bars\"` | bars柱状グラフか dotsドットプロット |\n| `marks` | string | `\"\"` | 代衚倀の印mean,median,mode のどれか曞いた順に 1 ぀ず぀ |\n| `build` | string | `\"whole\"` | whole・values倀を 1 ぀ず぀数える・bins階玚を 1 ぀ず぀ |\n\n子の JSON の䞊び郚品が数える。か `{\"table\": [{\"from\", \"to\", \"count\"}]}`。2 組なら `\"series\": [{\"label\", \"values\" か \"table\"}]`重ねる。\n\n- 階玚は start 以䞊 startwidth 未満\n- `kind=\"dots\"`ドットプロットvalues が芁る\n- `polygon` `relative` `cumulative``\"on\"`\n- `marks=\"mean,median,mode\"`代衚倀の線\n- `build=\"values\"`倀を 1 ぀ず぀積む。`\"bins\"`階玚を 1 ぀ず぀",
892
+ "row": "| `<m-hist>` | ヒストグラム・床数折れ線・ドットプロット。平均倀・䞭倮倀・最頻倀の線も | 分垃系列 1 ぀ = 1 ステップ→ 床数折れ線 → 代衚倀を 1 ぀ず぀ | `{values?:num[],table?:{from:num,to:num,count:int}[],bins?:{start:num,width:num},series?:[{label?,tone?,values?:num[],table?:{from:num,to:num,count:int}[]} (values or table),
]} (values or table or series)` — raw values with bins {start, width} (the part counts), or a frequency table [{from, to, count}]; up to 2 series [{label, tone, values \\| table}] |",
893
+ "entry": "### `<m-hist>`\n\nData example (child `<script type=\"application/json\">`): `{\"values\":[23,31,27,18,25,29,33,22,26,28],\"bins\":{\"start\":15,\"width\":5}}`\n\n| prop | type | default | meaning |\n|---|---|---|---|\n| `xr` | json | `null` | 暪軞の範囲曞かなければ階玚から |\n| `yr` | json | `null` | 瞊軞の範囲曞かなければ床数から |\n| `xt` | json | `null` | 暪軞の目盛り曞かなければ階玚の境 |\n| `yt` | json | `null` | 瞊軞の目盛り曞かなければ自動 |\n| `xf` | number | | 暪軞の目盛りの小数桁 |\n| `yf` | number | | 瞊軞の目盛りの小数桁 |\n| `xl` | string | `\"\"` | x axis name (`*italic*` `_sub` `^sup`) * |\n| `yl` | string | `\"\"` | y axis name * |\n| `unit` | string | `\"\"` | 代衚倀の数の埌ろに付ける単䜍 |\n| `digits` | number | | 代衚倀の小数桁曞かなければ倀の桁1 たで |\n| `polygon` | string | `\"off\"` | on床数折れ線 |\n| `relative` | string | `\"off\"` | on盞察床数 |\n| `cumulative` | string | `\"off\"` | on环積床数 |\n| `kind` | string | `\"bars\"` | bars柱状グラフか dotsドットプロット |\n| `marks` | string | `\"\"` | 代衚倀の印mean,median,mode のどれか曞いた順に 1 ぀ず぀ |\n| `build` | string | `\"whole\"` | whole・values倀を 1 ぀ず぀数える・bins階玚を 1 ぀ず぀ |\n\n子の JSON の䞊びパヌツが数える。か `{\"table\": [{\"from\", \"to\", \"count\"}]}`。2 組なら `\"series\": [{\"label\", \"values\" か \"table\"}]`重ねる。\n\n- 階玚は start 以䞊 startwidth 未満\n- `kind=\"dots\"`ドットプロットvalues が芁る\n- `polygon` `relative` `cumulative``\"on\"`\n- `marks=\"mean,median,mode\"`代衚倀の線\n- `build=\"values\"`倀を 1 ぀ず぀積む。`\"bins\"`階玚を 1 ぀ず぀",
894
894
  "sup": true
895
895
  },
896
896
  "m-kanbun": {
897
897
  "set": "kokugo",
898
898
  "row": "| `<m-kanbun>` | 癜文に返り点・送り仮名を付け、蚓読の順に字をたどり返り点で䞊ぞ戻るずころに匧、曞き䞋し文にする瞊曞き | phases の数order は句の数だけ、order-by=\"all\" なら 1。既定蚓点 1句の数曞き䞋し文 1 | text inside the element (not JSON) |",
899
- "entry": "### `<m-kanbun>`\n\n| prop | type | default | meaning |\n|---|---|---|---|\n| `size` | number | `60` | 挢字の倧きさpx。送り仮名・返り点はその 0.42 倍24px より小さくしない |\n| `phases` | string | `\"kunten order kaki\"` | 段階の䞊びkunten 蚓点・order 読む順・kaki 曞き䞋し文から遞ぶ |\n| `kaki` | number | `36` | 曞き䞋し文の字の倧きさpx |\n| `nums` | bool | `true` | 読む順の番号を字の巊䞊に出す |\n| `order-by` | string | `\"col\"` | 読む順の段階の分け方col は列句ごずに 1 段階、all は読む順の党䜓で 1 段階たで |\n\n挢文の授業で、癜文 → 蚓点 → 読む順 → 曞き䞋し文 を 1 枚で芋せるずきに䜿う。段階 0 は癜文。\n\n#### 曞き方\n\n芁玠の䞭に、1 行に 1 列句を曞く。行の䞭の空癜は読たない。字の埌ろに付けるもの順は問わない\n\n| 曞き方 | 意味 | 䟋 |\n|---|---|---|\n| `(
)` | 送り仮名片仮名。右䞋に出す | `芚(゚)` |\n| `[
]` | 返り点`レ` `侀` `二` `侉` `四` `五` `侊` `äž­` `例` `甲` `乙` `侙` `䞁` `倩` `地` `人`、`䞀レ` `䞊レ` `甲レ` `倩レ` | `聞(ク)[二]啌鳥(ヲ)[侀]` |\n| `レ` | レ点`[レ]` ず同じ | `䞍{=ず}レ芚(゚)レ暁(ヲ)` |\n| `{
}` | 振り仮名右に出す。曞き䞋し文ではルビ | `濺{そそ}(ギ)` |\n| `{=
}` | 曞き䞋し文で平仮名にする字助字の読み | `䞍{=ず}`、`也{=なり}` |\n| `{-}` | 眮き字読たない | `而{-}` |\n| `(右\\|二床目)` | 再読文字右の送り仮名ず二床目の読み | `未(ダ\\|ず)`、`将(ニ\\|ス)` |\n| `字-字` | 竪点続けお読む熟語。返り点はたずたり党䜓に効く | `読-曞` |\n| `、` `。` | 句読点癜文では出さない | `人(ヲ)、` |\n\n括匧は党角でもよい。\n\n#### 段階\n\n`phases`既定 `kunten order kaki`の順に 1 段階ず぀\n\n- `kunten`返り点・送り仮名・振り仮名・句読点が出る\n- `order`句列ごずに 1 段階。読む順に字をたどり、番号ず、䞊ぞ戻るずころに匧の矢印を付ける。`slot` 秒で 1 字。台本の [n] は句ごずに曞く\n - `order-by=\"all\"`読む順の党䜓を 1 段階でたどる既定 `col` は句ごずに 1 段階。口述原皿の `{cue}` を句ごずに眮ける\n- `kaki`曞き䞋し文が巊に瞊曞きで出る\n\n`phases=\"kunten kaki\"` のように䞀郚だけにもできる`kunten` を倖すず蚓点は初めから出る。\n\n#### 泚意\n\n- 字は芁玠の倧きさに合わせる。収たらなければ句を分けるか、芁玠を高くする"
899
+ "entry": "### `<m-kanbun>`\n\n| prop | type | default | meaning |\n|---|---|---|---|\n| `size` | number | `60` | 挢字の倧きさpx。送り仮名・返り点はその 0.42 倍24px より小さくしない |\n| `phases` | string | `\"kunten order kaki\"` | ステップの䞊びkunten 蚓点・order 読む順・kaki 曞き䞋し文から遞ぶ |\n| `kaki` | number | `36` | 曞き䞋し文の字の倧きさpx |\n| `nums` | bool | `true` | 読む順の番号を字の巊䞊に出す |\n| `order-by` | string | `\"col\"` | 読む順のステップの分け方col は列句ごずに 1 ステップ、all は読む順の党䜓で 1 ステップたで |\n\n挢文の授業で、癜文 → 蚓点 → 読む順 → 曞き䞋し文 を 1 枚で芋せるずきに䜿う。ステップ 0 は癜文。\n\n#### 曞き方\n\n芁玠の䞭に、1 行に 1 列句を曞く。行の䞭の空癜は読たない。字の埌ろに付けるもの順は問わない\n\n| 曞き方 | 意味 | 䟋 |\n|---|---|---|\n| `(
)` | 送り仮名片仮名。右䞋に出す | `芚(゚)` |\n| `[
]` | 返り点`レ` `侀` `二` `侉` `四` `五` `侊` `äž­` `例` `甲` `乙` `侙` `䞁` `倩` `地` `人`、`䞀レ` `䞊レ` `甲レ` `倩レ` | `聞(ク)[二]啌鳥(ヲ)[侀]` |\n| `レ` | レ点`[レ]` ず同じ | `䞍{=ず}レ芚(゚)レ暁(ヲ)` |\n| `{
}` | 振り仮名右に出す。曞き䞋し文ではルビ | `濺{そそ}(ギ)` |\n| `{=
}` | 曞き䞋し文で平仮名にする字助字の読み | `䞍{=ず}`、`也{=なり}` |\n| `{-}` | 眮き字読たない | `而{-}` |\n| `(右\\|二床目)` | 再読文字右の送り仮名ず二床目の読み | `未(ダ\\|ず)`、`将(ニ\\|ス)` |\n| `字-字` | 竪点続けお読む熟語。返り点はたずたり党䜓に効く | `読-曞` |\n| `、` `。` | 句読点癜文では出さない | `人(ヲ)、` |\n\n括匧は党角でもよい。\n\n#### ステップ\n\n`phases`既定 `kunten order kaki`の順に 1 ステップず぀\n\n- `kunten`返り点・送り仮名・振り仮名・句読点が出る\n- `order`句列ごずに 1 ステップ。読む順に字をたどり、番号ず、䞊ぞ戻るずころに匧の矢印を付ける。`slot` 秒で 1 字。台本の [n] は句ごずに曞く\n - `order-by=\"all\"`読む順の党䜓を 1 ステップでたどる既定 `col` は句ごずに 1 ステップ。台本の `{cue}` を句ごずに眮ける\n- `kaki`曞き䞋し文が巊に瞊曞きで出る\n\n`phases=\"kunten kaki\"` のように䞀郚だけにもできる`kunten` を倖すず蚓点は初めから出る。\n\n#### 泚意\n\n- 字は芁玠の倧きさに合わせる。収たらなければ句を分けるか、芁玠を高くする"
900
900
  },
901
901
  "m-keyboard": {
902
902
  "set": "music",
903
- "row": "| `<m-keyboard>` | ピアノの鍵盀。音階・和音・半音ず党音を光らせる | steps の 1 ぀ = 1 段階鍵盀は t でずらしお順に光る | `{range:str,names?:\"solfa\"\\|\"abc\"\\|\"iroha\"\\|\"none\",cumulative?:bool,dur?:num,steps:{keys:str[],label?,t?:num[],tone?,dur?:num}[]}` — range \"C4-C6\" (include every key you use, at least one octave (e.g. C4-C5); white keys at both ends, up to 3 octaves); steps [{keys: [\"C4\", \"E4\"], label, t: [seconds per key], tone, dur}] |",
904
- "entry": "### `<m-keyboard>`\n\nData example (child `<script type=\"application/json\">`): `{\"range\":\"C4-C6\",\"names\":\"solfa\",\"steps\":[{\"keys\":[\"C4\",\"E4\",\"G4\"],\"label\":\"䞻和音ドミ゜\"}]}`\n\n| prop | type | default | meaning |\n|---|---|---|---|\n| `なし。子の JSON` | | | |\n\n- `range`䜿う鍵を党郚含め、1 オクタヌブ以䞊䟋 C4-C5。䞡端は癜鍵、3 オクタヌブたでInclude every key you use, at least one octave (e.g. C4-C5). Both ends on white keys, up to 3 octaves.\n- `names``solfa`ドレミ・`abc`・`iroha`ハニホ、嬰ハ・倉ニ・`none`\n- `t`鍵盀ごずの秒。ずらすず音階、同じなら和音\n- `cumulative: true`前の段階の鍵盀も薄く残す\n- `tone`光の色。`dur`音の秒既定は次の音たで、最埌は 0.8"
903
+ "row": "| `<m-keyboard>` | ピアノの鍵盀。音階・和音・半音ず党音を光らせる | steps の 1 ぀ = 1 ステップ鍵盀は t でずらしお順に光る | `{range:str,names?:\"solfa\"\\|\"abc\"\\|\"iroha\"\\|\"none\",cumulative?:bool,dur?:num,steps:{keys:str[],label?,t?:num[],tone?,dur?:num}[]}` — range \"C4-C6\" (include every key you use, at least one octave (e.g. C4-C5); white keys at both ends, up to 3 octaves); steps [{keys: [\"C4\", \"E4\"], label, t: [seconds per key], tone, dur}] |",
904
+ "entry": "### `<m-keyboard>`\n\nData example (child `<script type=\"application/json\">`): `{\"range\":\"C4-C6\",\"names\":\"solfa\",\"steps\":[{\"keys\":[\"C4\",\"E4\",\"G4\"],\"label\":\"䞻和音ドミ゜\"}]}`\n\n| prop | type | default | meaning |\n|---|---|---|---|\n| `なし。子の JSON` | | | |\n\n- `range`䜿う鍵を党郚含め、1 オクタヌブ以䞊䟋 C4-C5。䞡端は癜鍵、3 オクタヌブたでInclude every key you use, at least one octave (e.g. C4-C5). Both ends on white keys, up to 3 octaves.\n- `names``solfa`ドレミ・`abc`・`iroha`ハニホ、嬰ハ・倉ニ・`none`\n- `t`鍵盀ごずの秒。ずらすず音階、同じなら和音\n- `cumulative: true`前のステップの鍵盀も薄く残す\n- `tone`光の色。`dur`音の秒既定は次の音たで、最埌は 0.8"
905
905
  },
906
906
  "m-kobun": {
907
907
  "set": "kokugo",
908
908
  "row": "| `<m-kobun>` | 叀文を語に切りスラッシュ、品詞で色を分けお 1 文ず぀芋せ、最埌に珟代語蚳ず䞊べる。助動詞を抌すず掻甚衚ず意味 | 文の数珟代語蚳があれば 1 | text inside the element (not JSON) |",
909
- "entry": "### `<m-kobun>`\n\n| prop | type | default | meaning |\n|---|---|---|---|\n| `size` | number | `34` | 本文の字の倧きさpx |\n| `tate` | bool | `false` | 瞊曞きにする品詞は語の巊、珟代語蚳は文の巊に |\n| `yaku` | bool | `true` | 珟代語蚳= の行があれば、最埌の段階で䞊べる |\n| `detail` | bool | `false` | 品詞の䞋に [ ] の䞭をすべお掻甚の皮類・掻甚圢など出す |\n\n叀文の品詞分解を、板曞のように 1 文ず぀芋せるずきに䜿う。段階 0 は切っおいない本文。\n\n#### 曞き方\n\n1 行が 1 文1 段階。語は `/` で切り、語の埌ろの `[ ]` に品詞ず、`・` で区切っお詳しいこずを曞く。`[ ]` の埌ろの字`、` `。`は語に付けお出す。\n\n```\n春[名]/は[係助]/あけがの[名]。\n= 春は明け方がよい。\n玫だち[動・タ四・連甚]/たる[助動・たり・存続・連䜓]/雲[名]/の[栌助]/
\n```\n\n- 品詞`名` `代` `動` `補動` `圢` `圢動` `副` `連䜓` `接` `感` `助動` `栌助` `係助` `副助` `接助` `終助` `間助` `接頭` `接尟`\n- 助動詞`[助動・基本圢・この文での意味・掻甚圢]`。基本圢は文語の助動詞 28 語の衚から匕く`なり`・`たり` は意味で分ける。衚にないものは知らせる\n- `= 
` の行盎前の文の珟代語蚳最埌の段階で、本文の䞋、瞊曞きでは巊に出す\n- `{挢字|かな}`振り仮名\n\n#### 属性\n\n- `tate`瞊曞き品詞は語の巊\n- `detail`品詞の䞋に `[ ]` の䞭をすべお出す掻甚の皮類・掻甚圢たで。語の間が広がる\n - `detail` がなければ、助動詞の意味・掻甚圢は抌したずきの札にだけ出る印刷には出ない。印刷や動画で芋せるなら `detail` を付ける\n- `yaku=\"false\"`珟代語蚳の段階を䜜らない"
909
+ "entry": "### `<m-kobun>`\n\n| prop | type | default | meaning |\n|---|---|---|---|\n| `size` | number | `34` | 本文の字の倧きさpx |\n| `tate` | bool | `false` | 瞊曞きにする品詞は語の巊、珟代語蚳は文の巊に |\n| `yaku` | bool | `true` | 珟代語蚳= の行があれば、最埌のステップで䞊べる |\n| `detail` | bool | `false` | 品詞の䞋に [ ] の䞭をすべお掻甚の皮類・掻甚圢など出す |\n\n叀文の品詞分解を、板曞のように 1 文ず぀芋せるずきに䜿う。ステップ 0 は切っおいない本文。\n\n#### 曞き方\n\n1 行が 1 文1 ステップ。語は `/` で切り、語の埌ろの `[ ]` に品詞ず、`・` で区切っお詳しいこずを曞く。`[ ]` の埌ろの字`、` `。`は語に付けお出す。\n\n```\n春[名]/は[係助]/あけがの[名]。\n= 春は明け方がよい。\n玫だち[動・タ四・連甚]/たる[助動・たり・存続・連䜓]/雲[名]/の[栌助]/
\n```\n\n- 品詞`名` `代` `動` `補動` `圢` `圢動` `副` `連䜓` `接` `感` `助動` `栌助` `係助` `副助` `接助` `終助` `間助` `接頭` `接尟`\n- 助動詞`[助動・基本圢・この文での意味・掻甚圢]`。基本圢は文語の助動詞 28 語の衚から匕く`なり`・`たり` は意味で分ける。衚にないものは知らせる\n- `= 
` の行盎前の文の珟代語蚳最埌のステップで、本文の䞋、瞊曞きでは巊に出す\n- `{挢字|かな}`振り仮名\n\n#### 属性\n\n- `tate`瞊曞き品詞は語の巊\n- `detail`品詞の䞋に `[ ]` の䞭をすべお出す掻甚の皮類・掻甚圢たで。語の間が広がる\n - `detail` がなければ、助動詞の意味・掻甚圢は抌したずきの札にだけ出る印刷には出ない。印刷や動画で芋せるなら `detail` を付ける\n- `yaku=\"false\"`珟代語蚳のステップを䜜らない"
910
910
  },
911
911
  "m-kpi": {
912
912
  "set": "standard",
@@ -915,13 +915,13 @@ export const PACK = {
915
915
  },
916
916
  "m-map-japan": {
917
917
  "set": "maps",
918
- "row": "| `<m-map-japan>` | 日本の 47 郜道府県の地図。地域の匷調、統蚈の塗り分け、点、矢印、経床・緯床の重ね描きを段階ごずに出す | 項目の step の最倧既定 1。地図そのものは段階 0 から出おいる | `{regions?:[{id?:str\\|int,group?:str,label?,tone?,step?,at?} (id or group),
],values?:object,classes?:num[],valuesStep?:int,points?:[{lon?:num,lat?:num,code?:str\\|int,label?,tone?,anchor?:\"right\"\\|\"left\"\\|\"above\"\\|\"below\"\\|\"top\"\\|\"bottom\",step?,at?} (lon + lat or code),
],flows?:{from:str\\|int\\|any[],to:str\\|int\\|any[],label?,tone?,value?:num,bend?:num,via?:any[][],labelAt?:any[],step?,at?}[],shapes?:[{polygon?:any[][],line?:any[][],label?,labelAt?:any[],tone?,dash?:bool,step?,at?} (polygon or line),
]}` — prefectures by JIS code \"01\"–\"47\" (or \"JP-13\", \"東京郜\") in regions[].id; the 8 regions (hokkaido, tohoku, kanto, chubu, kinki, chugoku, shikoku, kyushu) in regions[].group; values is an object {code: number}; classes are the lower bounds of the classes (default 4, at most 5); points, shapes and flows[].via use lon/lat in degrees |",
919
- "entry": "### `<m-map-japan>`\n\nData example (child `<script type=\"application/json\">`): `{\"regions\":[{\"id\":\"13\",\"tone\":\"emph\",\"step\":1},{\"group\":\"kinki\",\"tone\":\"series-2\",\"step\":2}],\"points\":[{\"lon\":135.5,\"lat\":34.69,\"label\":\"倧阪\",\"step\":3}],\"flows\":[{\"from\":\"13\",\"to\":\"27\",\"step\":4}]}`\n\n| prop | type | default | meaning |\n|---|---|---|---|\n| `layout` | string | `\"inset\"` | inset南西諞島を枠に入れお描くか true本圓の䜍眮。日本が小さくなる |\n| `islands` | string | `\"main\"` | main か allinset で小笠原諞島の枠も描く |\n| `labels` | string | `\"focus\"` | 地域の名前focusregions に曞いた地域だけ・all名前が䞭に入る郜道府県すべお・none |\n| `show` | string | `\"none\"` | 塗り分けた地域の䞊に倀を曞くかnone曞かない、既定・value䞭に入る地域だけ倀を曞く |\n| `unit` | string | `\"\"` | 倀の単䜍凡䟋の芋出しに曞く |\n| `digits` | number | `0` | 倀の小数桁 |\n| `legend` | string | `\"\"` | 凡䟋の芋出し䟋人口。unit があれば埌ろに単䜍を足す |\n\n地理・歎史の授業で堎所を瀺すずきに䜿う。子の JSONどれも `step` `at` `tone` を持おる\n\n- `regions``id``\"01\"`〜`\"47\"`か `group``hokkaido` `tohoku` `kanto` `chubu` `kinki` `chugoku` `shikoku` `kyushu`。`label`\n- `values``{\"13\": 1406, 
}` ず `classes`階玚の䞋限。最初はいちばん小さい倀以䞋に。曞かなければ四分䜍で 4 階玚。5 ぀たでで塗り分け。凡䟋に階玚を曞く。塗り分けの段階は `valuesStep`既定 1。`values` は `step` を持おない\n- `points``lon` `lat`たたは `code` で県庁の䜍眮、`label`、`anchor`\n- `flows``from` `to`番号か `[経床, 緯床]`の矢印。`via`通る点 `[[経床, 緯床], 
]`。海の道は沖に、`label` `labelAt` `value`数。線が倀で倪くなる\n- `shapes``polygon` か `line``[[経床, 緯床], 
]`。`label` `dash`\n\n`labels``focus`既定・`all`・`none`。`show=\"value\"` で入る地域に倀を曞く既定は曞かない。\n\n日本の範囲・東西南北の端・排他的経枈氎域を芋せるずきは layout=\"true\"小窓なし、本圓の䜍眮\n\n地図デヌタNatural Earthパブリックドメむンを加工。"
918
+ "row": "| `<m-map-japan>` | 日本の 47 郜道府県の地図。地域の匷調、統蚈の塗り分け、点、矢印、経床・緯床の重ね描きをステップごずに出す | 項目の step の最倧既定 1。地図そのものはステップ 0 から出おいる | `{regions?:[{id?:str\\|int,group?:str,label?,tone?,step?,at?} (id or group),
],values?:object,classes?:num[],valuesStep?:int,points?:[{lon?:num,lat?:num,code?:str\\|int,label?,tone?,anchor?:\"right\"\\|\"left\"\\|\"above\"\\|\"below\"\\|\"top\"\\|\"bottom\",step?,at?} (lon + lat or code),
],flows?:{from:str\\|int\\|any[],to:str\\|int\\|any[],label?,tone?,value?:num,bend?:num,via?:any[][],labelAt?:any[],step?,at?}[],shapes?:[{polygon?:any[][],line?:any[][],label?,labelAt?:any[],tone?,dash?:bool,step?,at?} (polygon or line),
]}` — prefectures by JIS code \"01\"–\"47\" (or \"JP-13\", \"東京郜\") in regions[].id; the 8 regions (hokkaido, tohoku, kanto, chubu, kinki, chugoku, shikoku, kyushu) in regions[].group; values is an object {code: number}; classes are the lower bounds of the classes (default 4, at most 5); points, shapes and flows[].via use lon/lat in degrees |",
919
+ "entry": "### `<m-map-japan>`\n\nData example (child `<script type=\"application/json\">`): `{\"regions\":[{\"id\":\"13\",\"tone\":\"emph\",\"step\":1},{\"group\":\"kinki\",\"tone\":\"series-2\",\"step\":2}],\"points\":[{\"lon\":135.5,\"lat\":34.69,\"label\":\"倧阪\",\"step\":3}],\"flows\":[{\"from\":\"13\",\"to\":\"27\",\"step\":4}]}`\n\n| prop | type | default | meaning |\n|---|---|---|---|\n| `layout` | string | `\"inset\"` | inset南西諞島を枠に入れお描くか true本圓の䜍眮。日本が小さくなる |\n| `islands` | string | `\"main\"` | main か allinset で小笠原諞島の枠も描く |\n| `labels` | string | `\"focus\"` | 地域の名前focusregions に曞いた地域だけ・all名前が䞭に入る郜道府県すべお・none |\n| `show` | string | `\"none\"` | 塗り分けた地域の䞊に倀を曞くかnone曞かない、既定・value䞭に入る地域だけ倀を曞く |\n| `unit` | string | `\"\"` | 倀の単䜍凡䟋の芋出しに曞く |\n| `digits` | number | `0` | 倀の小数桁 |\n| `legend` | string | `\"\"` | 凡䟋の芋出し䟋人口。unit があれば埌ろに単䜍を足す |\n\n地理・歎史の授業で堎所を瀺すずきに䜿う。子の JSONどれも `step` `at` `tone` を持おる\n\n- `regions``id``\"01\"`〜`\"47\"`か `group``hokkaido` `tohoku` `kanto` `chubu` `kinki` `chugoku` `shikoku` `kyushu`。`label`\n- `values``{\"13\": 1406, 
}` ず `classes`階玚の䞋限。最初はいちばん小さい倀以䞋に。曞かなければ四分䜍で 4 階玚。5 ぀たでで塗り分け。凡䟋に階玚を曞く。塗り分けのステップは `valuesStep`既定 1。`values` は `step` を持おない\n- `points``lon` `lat`たたは `code` で県庁の䜍眮、`label`、`anchor`\n- `flows``from` `to`番号か `[経床, 緯床]`の矢印。`via`通る点 `[[経床, 緯床], 
]`。海の道は沖に、`label` `labelAt` `value`数。線が倀で倪くなる\n- `shapes``polygon` か `line``[[経床, 緯床], 
]`。`label` `dash`\n\n`labels``focus`既定・`all`・`none`。`show=\"value\"` で入る地域に倀を曞く既定は曞かない。\n\n日本の範囲・東西南北の端・排他的経枈氎域を芋せるずきは layout=\"true\"小窓なし、本圓の䜍眮\n\n地図デヌタNatural Earthパブリックドメむンを加工。"
920
920
  },
921
921
  "m-map-world": {
922
922
  "set": "maps",
923
- "row": "| `<m-map-world>` | 䞖界の囜・地域の地図倪平掋が䞭倮。囜や州の匷調、区分ず倀の塗り分け、点、矢印を段階ごずに出す | 項目の step の最倧既定 1。地図そのものは段階 0 から出おいる | `{regions?:[{id?:str,group?:str,label?,tone?,step?,at?} (id or group),
],categories?:{label,ids:str[],tone?,step?,at?}[],values?:object,classes?:num[],valuesStep?:int,points?:[{lon?:num,lat?:num,code?:str,label?,tone?,anchor?:\"right\"\\|\"left\"\\|\"above\"\\|\"below\"\\|\"top\"\\|\"bottom\",step?,at?} (lon + lat or code),
],flows?:{from:str\\|any[],to:str\\|any[],label?,tone?,value?:num,bend?:num,via?:any[][],labelAt?:any[],step?,at?}[],shapes?:[{polygon?:any[][],line?:any[][],label?,labelAt?:any[],tone?,dash?:bool,step?,at?} (polygon or line),
]}` — countries by ISO alpha-3 or Natural Earth code (\"JPN\", \"USA\") or Japanese name; the six regions (asia, europe, africa, north-america, south-america, oceania) in regions[].group and categories[].ids; values is an object {code: number}; classes are the lower bounds (default 4, at most 5); points, shapes and [lon, lat] in flows use degrees |",
924
- "entry": "### `<m-map-world>`\n\nData example (child `<script type=\"application/json\">`): `{\"regions\":[{\"id\":\"JPN\",\"tone\":\"emph\",\"step\":1},{\"group\":\"africa\",\"tone\":\"series-2\",\"step\":2}],\"points\":[{\"lon\":139.69,\"lat\":35.69,\"label\":\"東京\",\"step\":3}],\"flows\":[{\"from\":[139.69,35.69],\"to\":\"AUS\",\"step\":4}]}`\n\n| prop | type | default | meaning |\n|---|---|---|---|\n| `labels` | string | `\"focus\"` | 名前focusregions に曞いた地域だけ・all名前が䞭に入る囜すべお・none |\n| `grid` | string | `\"none\"` | none・equator赀道・graticule30° ごずの経線・緯線ず赀道 |\n| `show` | string | `\"none\"` | 塗り分けた囜の䞊に倀を曞くかnone既定・value䞭に入る囜だけ |\n| `unit` | string | `\"\"` | 倀の単䜍凡䟋の芋出しに曞く |\n| `digits` | number | `0` | 倀の小数桁 |\n| `legend` | string | `\"\"` | 凡䟋の芋出し䟋人口。unit があれば埌ろに単䜍を足す |\n\n䞖界地理・歎史の授業で囜や郜垂の堎所を瀺すずきに䜿う。子の JSONどれも `step` `at` `tone` を持おる\n\n- `regions``id``\"JPN\"` など ISO の 3 文字か囜名か `group`六州。`label`\n- `categories``label` ず `ids`囜か州。凡䟋に出す。4 区分たで\n- `values``{\"JPN\": 72, 
}` ず `classes`階玚の䞋限。塗り分けの段階は `valuesStep`既定 1\n- `points``lon` `lat`、`label`、`anchor`\n- `flows``from` `to``[経床, 緯床]` か囜、`via` `label` `bend`、`value`数。線の倪さが倀で倉わるいちばん倧きい倀で 10 px、`labelAt`名前を眮く `[経床, 緯床]`\n- `shapes`重ね描き。`polygon`3 点以䞊の `[[経床, 緯床], 
]`、薄く塗るか `line`2 点以䞊。`label` `labelAt` `dash`\n\n継ぎ目は 30°W倧西掋を暪切る矢印は描けない。\n\n地図デヌタNatural Earthパブリックドメむンを加工。"
923
+ "row": "| `<m-map-world>` | 䞖界の囜・地域の地図倪平掋が䞭倮。囜や州の匷調、区分ず倀の塗り分け、点、矢印をステップごずに出す | 項目の step の最倧既定 1。地図そのものはステップ 0 から出おいる | `{regions?:[{id?:str,group?:str,label?,tone?,step?,at?} (id or group),
],categories?:{label,ids:str[],tone?,step?,at?}[],values?:object,classes?:num[],valuesStep?:int,points?:[{lon?:num,lat?:num,code?:str,label?,tone?,anchor?:\"right\"\\|\"left\"\\|\"above\"\\|\"below\"\\|\"top\"\\|\"bottom\",step?,at?} (lon + lat or code),
],flows?:{from:str\\|any[],to:str\\|any[],label?,tone?,value?:num,bend?:num,via?:any[][],labelAt?:any[],step?,at?}[],shapes?:[{polygon?:any[][],line?:any[][],label?,labelAt?:any[],tone?,dash?:bool,step?,at?} (polygon or line),
]}` — countries by ISO alpha-3 or Natural Earth code (\"JPN\", \"USA\") or Japanese name; the six regions (asia, europe, africa, north-america, south-america, oceania) in regions[].group and categories[].ids; values is an object {code: number}; classes are the lower bounds (default 4, at most 5); points, shapes and [lon, lat] in flows use degrees |",
924
+ "entry": "### `<m-map-world>`\n\nData example (child `<script type=\"application/json\">`): `{\"regions\":[{\"id\":\"JPN\",\"tone\":\"emph\",\"step\":1},{\"group\":\"africa\",\"tone\":\"series-2\",\"step\":2}],\"points\":[{\"lon\":139.69,\"lat\":35.69,\"label\":\"東京\",\"step\":3}],\"flows\":[{\"from\":[139.69,35.69],\"to\":\"AUS\",\"step\":4}]}`\n\n| prop | type | default | meaning |\n|---|---|---|---|\n| `labels` | string | `\"focus\"` | 名前focusregions に曞いた地域だけ・all名前が䞭に入る囜すべお・none |\n| `grid` | string | `\"none\"` | none・equator赀道・graticule30° ごずの経線・緯線ず赀道 |\n| `show` | string | `\"none\"` | 塗り分けた囜の䞊に倀を曞くかnone既定・value䞭に入る囜だけ |\n| `unit` | string | `\"\"` | 倀の単䜍凡䟋の芋出しに曞く |\n| `digits` | number | `0` | 倀の小数桁 |\n| `legend` | string | `\"\"` | 凡䟋の芋出し䟋人口。unit があれば埌ろに単䜍を足す |\n\n䞖界地理・歎史の授業で囜や郜垂の堎所を瀺すずきに䜿う。子の JSONどれも `step` `at` `tone` を持おる\n\n- `regions``id``\"JPN\"` など ISO の 3 文字か囜名か `group`六州。`label`\n- `categories``label` ず `ids`囜か州。凡䟋に出す。4 区分たで\n- `values``{\"JPN\": 72, 
}` ず `classes`階玚の䞋限。塗り分けのステップは `valuesStep`既定 1\n- `points``lon` `lat`、`label`、`anchor`\n- `flows``from` `to``[経床, 緯床]` か囜、`via` `label` `bend`、`value`数。線の倪さが倀で倉わるいちばん倧きい倀で 10 px、`labelAt`名前を眮く `[経床, 緯床]`\n- `shapes`重ね描き。`polygon`3 点以䞊の `[[経床, 緯床], 
]`、薄く塗るか `line`2 点以䞊。`label` `labelAt` `dash`\n\n継ぎ目は 30°W倧西掋を暪切る矢印は描けない。\n\n地図デヌタNatural Earthパブリックドメむンを加工。"
925
925
  },
926
926
  "m-mapping": {
927
927
  "set": "data",
@@ -931,7 +931,7 @@ export const PACK = {
931
931
  "m-market": {
932
932
  "set": "business",
933
933
  "row": "| `<m-market>` | 垂堎芏暡の入れ子の円TAM / SAM / SOM。倖の円から 1 ぀ず぀、前の円の倧きさから瞮んで珟れる | rings の数 | `{rings:{key?:str,value:num,basis?:str,tone?}[]}` |",
934
- "entry": "### `<m-market>`\n\nData example (child `<script type=\"application/json\">`): `{\"rings\":[{\"key\":\"TAM\",\"value\":3000,\"basis\":\"囜内の \"},{\"key\":\"SAM\",\"value\":600,\"basis\":\"
\"},{\"key\":\"SOM\",\"value\":30,\"basis\":\"
\"}]}`\n\n| prop | type | default | meaning |\n|---|---|---|---|\n| `unit` | string | `\"\"` | 倀の単䜍数字の埌ろに付ける |\n| `digits` | number | `0` | 倀の小数桁 |\n| `scale` | string | `\"fixed\"` | fixed決たった比か area面積を倀に比䟋 |\n| `layout` | string | `\"bottom\"` | bottom䞋端をそろえるか center同心 |\n| `count` | bool | `false` | 倀の数字を瞮みに合わせお数え䞊げる |\n\n垂堎の倧きさを、党䜓TAMから手の届く範囲SAM、最初に取る範囲SOMぞ絞り蟌んで芋せるずきに䜿う。\n\n子の JSON の䞊び倖から順。\n\n- 段階 j で j 番目の円が、1 ぀倖の円の倧きさず䜍眮から瞮んで珟れる。前の円はそのたた残る\n- 名前`key`・倀・根拠`basis`、䜕を数えたかは円の右に曞き、円の䞭の点から匕き出し線で結ぶ。倀は `digits` 桁で 3 桁ごずにカンマを入れ、`unit` を埌ろに付ける\n- `scale=\"fixed\"`既定は芋やすい決たった比1・0.64・0.34・0.16。`scale=\"area\"` は面積を倀に比䟋させる小さすぎる円は最も倧きい円の 0.14 倍の半埄にする。面積に比䟋させるず SOM がほずんど芋えないこずが倚いので、既定は fixed にしお倀を字で瀺す\n- `layout=\"bottom\"`既定は円の䞋端をそろえ、`layout=\"center\"` は同心にする\n- 色は倖の 2 ぀が `--term`、内の円が `--emph``tone` で倉えられる`term`・`emph`・`muted`・`accent2`・`series-1..4`。ほかの倀は `term`\n- `dur`1 ぀の円が瞮んで珟れる秒数既定 0.9。数字はそのあず 0.35 秒で出る\n- 倀の数字は円が瞮みきっおから出す。`count=\"true\"` なら瞮みに合わせお数え䞊げる"
934
+ "entry": "### `<m-market>`\n\nData example (child `<script type=\"application/json\">`): `{\"rings\":[{\"key\":\"TAM\",\"value\":3000,\"basis\":\"囜内の \"},{\"key\":\"SAM\",\"value\":600,\"basis\":\"
\"},{\"key\":\"SOM\",\"value\":30,\"basis\":\"
\"}]}`\n\n| prop | type | default | meaning |\n|---|---|---|---|\n| `unit` | string | `\"\"` | 倀の単䜍数字の埌ろに付ける |\n| `digits` | number | `0` | 倀の小数桁 |\n| `scale` | string | `\"fixed\"` | fixed決たった比か area面積を倀に比䟋 |\n| `layout` | string | `\"bottom\"` | bottom䞋端をそろえるか center同心 |\n| `count` | bool | `false` | 倀の数字を瞮みに合わせお数え䞊げる |\n\n垂堎の倧きさを、党䜓TAMから手の届く範囲SAM、最初に取る範囲SOMぞ絞り蟌んで芋せるずきに䜿う。\n\n子の JSON の䞊び倖から順。\n\n- ステップ j で j 番目の円が、1 ぀倖の円の倧きさず䜍眮から瞮んで珟れる。前の円はそのたた残る\n- 名前`key`・倀・根拠`basis`、䜕を数えたかは円の右に曞き、円の䞭の点から匕き出し線で結ぶ。倀は `digits` 桁で 3 桁ごずにカンマを入れ、`unit` を埌ろに付ける\n- `scale=\"fixed\"`既定は芋やすい決たった比1・0.64・0.34・0.16。`scale=\"area\"` は面積を倀に比䟋させる小さすぎる円は最も倧きい円の 0.14 倍の半埄にする。面積に比䟋させるず SOM がほずんど芋えないこずが倚いので、既定は fixed にしお倀を字で瀺す\n- `layout=\"bottom\"`既定は円の䞋端をそろえ、`layout=\"center\"` は同心にする\n- 色は倖の 2 ぀が `--term`、内の円が `--emph``tone` で倉えられる`term`・`emph`・`muted`・`accent2`・`series-1..4`。ほかの倀は `term`\n- `dur`1 ぀の円が瞮んで珟れる秒数既定 0.9。数字はそのあず 0.35 秒で出る\n- 倀の数字は円が瞮みきっおから出す。`count=\"true\"` なら瞮みに合わせお数え䞊げる"
935
935
  },
936
936
  "m-menu": {
937
937
  "set": "standard",
@@ -940,18 +940,18 @@ export const PACK = {
940
940
  },
941
941
  "m-numberline": {
942
942
  "set": "math",
943
- "row": "| `<m-numberline>` | 数盎線。点・□・ゞャンプ・䞍等匏の範囲・0.1 の拡倧。2 本で比䟋数盎線 | build の順既定 ticks,marks,links,jumps,ranges,magnifyに項目 1 ぀ = 1 段階。whole党郚で 1 段階 | `{lines:{from:num\\|str,to:num\\|str,step?:num\\|str,sub?:int,unit?:str,label?,labels?:str\\|any[]}[],marks?:{at:num\\|str,line?:int,label?,kind?:\"dot\"\\|\"open\"\\|\"box\",tone?,show?:int}[],jumps?:{from:num\\|str,to:num\\|str,line?:int,label?,tone?,show?:int}[],ranges?:[{from?:num\\|str,to?:num\\|str,incl?:[bool,bool],line?:int,label?,tone?,show?:int} (from or to),
],link?:(any[]\\|object)[],magnify?:{from:num\\|str,to:num\\|str,step?:num\\|str,labels?:str\\|any[],show?:int}[]}` — lines [{from, to, step, sub, unit, label, labels}] (1 or 2); marks [{at, kind: dot\\|open\\|box, label}]; jumps [{from, to, label}]; ranges [{from, to, incl: [bool, bool]}]; link [[top value, bottom value]]; magnify [{from, to, step}]. Values are numbers or \"1/3\" |",
944
- "entry": "### `<m-numberline>`\n\nData example (child `<script type=\"application/json\">`): `{\"lines\":[{\"from\":0,\"to\":10,\"step\":1}],\"marks\":[{\"at\":3}],\"jumps\":[{\"from\":3,\"to\":7,\"label\":\"+4\"}]}`\n\n| prop | type | default | meaning |\n|---|---|---|---|\n| `build` | string | `\"ticks,marks,links,jumps,ranges,magnify\"` | 出す順皮類をコンマでか whole党郚を 1 段階で |\n| `arrow` | string | `\"off\"` | on線の右の端を矢印に |\n\n子の JSON の倀は数か `\"1/3\"`分数で曞く。\n\n- lines1 本か 2 本0 をそろえる`{from, to, step, sub, label, unit, labels: \"ends\" | [倀]}`\n- marks`{at, kind: \"dot\" | \"open\" | \"box\", label}`。box は □\n- jumps`{from, to, label}`巊向きも\n- ranges`{from, to, incl: [true, false]}`。端がなければ矢印。重なれば共通郚分を塗る\n- link2 本`[[䞊の倀, 䞋の倀]]`砎線か `{at: [䞊の倀, 䞋の倀], label: \"×3\"}`䞊の線から䞋の線ぞの矢印。`dir: \"up\"` なら䞋から䞊ぞ\n- magnify`{from, to, step}`。区間を䞋の線に広げる既定 10 等分\n- 項目の `line`0 か 1。拡倧の線は 1, 2,  、`show`段階\n- `tone`marks・jumps・ranges・名前のある link`term`・`emph`・`muted`・`accent2`・`fg`・`series-1..4`。既定は `term`、範囲は `series-1..4` の順\n- `arrow=\"on\"`右端を矢印に"
943
+ "row": "| `<m-numberline>` | 数盎線。点・□・ゞャンプ・䞍等匏の範囲・0.1 の拡倧。2 本で比䟋数盎線 | build の順既定 ticks,marks,links,jumps,ranges,magnifyに項目 1 ぀ = 1 ステップ。whole党郚で 1 ステップ | `{lines:{from:num\\|str,to:num\\|str,step?:num\\|str,sub?:int,unit?:str,label?,labels?:str\\|any[]}[],marks?:{at:num\\|str,line?:int,label?,kind?:\"dot\"\\|\"open\"\\|\"box\",tone?,show?:int}[],jumps?:{from:num\\|str,to:num\\|str,line?:int,label?,tone?,show?:int}[],ranges?:[{from?:num\\|str,to?:num\\|str,incl?:[bool,bool],line?:int,label?,tone?,show?:int} (from or to),
],link?:(any[]\\|object)[],magnify?:{from:num\\|str,to:num\\|str,step?:num\\|str,labels?:str\\|any[],show?:int}[]}` — lines [{from, to, step, sub, unit, label, labels}] (1 or 2); marks [{at, kind: dot\\|open\\|box, label}]; jumps [{from, to, label}]; ranges [{from, to, incl: [bool, bool]}]; link [[top value, bottom value]]; magnify [{from, to, step}]. Values are numbers or \"1/3\" |",
944
+ "entry": "### `<m-numberline>`\n\nData example (child `<script type=\"application/json\">`): `{\"lines\":[{\"from\":0,\"to\":10,\"step\":1}],\"marks\":[{\"at\":3}],\"jumps\":[{\"from\":3,\"to\":7,\"label\":\"+4\"}]}`\n\n| prop | type | default | meaning |\n|---|---|---|---|\n| `build` | string | `\"ticks,marks,links,jumps,ranges,magnify\"` | 出す順皮類をコンマでか whole党郚を 1 ステップで |\n| `arrow` | string | `\"off\"` | on線の右の端を矢印に |\n\n子の JSON の倀は数か `\"1/3\"`分数で曞く。\n\n- lines1 本か 2 本0 をそろえる`{from, to, step, sub, label, unit, labels: \"ends\" | [倀]}`\n- marks`{at, kind: \"dot\" | \"open\" | \"box\", label}`。box は □\n- jumps`{from, to, label}`巊向きも\n- ranges`{from, to, incl: [true, false]}`。端がなければ矢印。重なれば共通郚分を塗る\n- link2 本`[[䞊の倀, 䞋の倀]]`砎線か `{at: [䞊の倀, 䞋の倀], label: \"×3\"}`䞊の線から䞋の線ぞの矢印。`dir: \"up\"` なら䞋から䞊ぞ\n- magnify`{from, to, step}`。区間を䞋の線に広げる既定 10 等分\n- 項目の `line`0 か 1。拡倧の線は 1, 2,  、`show`ステップ\n- `tone`marks・jumps・ranges・名前のある link`term`・`emph`・`muted`・`accent2`・`fg`・`series-1..4`。既定は `term`、範囲は `series-1..4` の順\n- `arrow=\"on\"`右端を矢印に"
945
945
  },
946
946
  "m-orbit": {
947
947
  "set": "science",
948
- "row": "| `<m-orbit>` | 月の満ち欠け金星の満ち欠け。北極の䞊から芋た図ず地球から芋た圢を䞊べ、月を䜍眮から䜍眮ぞ動かす。圢は䜍眮から蚈算する | 動く先の数既定は 8 ぀の䜍眮を新月から 1 呚 = 8 段階。visit で決める | `{positions?:int,start?:int,visit?:int[],labels?:(str\\|null)[],notes?:(str\\|null)[],eclipse?:bool}` |",
949
- "entry": "### `<m-orbit>`\n\nData example (child `<script type=\"application/json\">`): `{\"positions\":8,\"visit\":[1,2,3,4,5,6,7,0]}`\n\n| prop | type | default | meaning |\n|---|---|---|---|\n| `mode` | string | `\"moon\"` | moon月の満ち欠けか venus金星の満ち欠け |\n| `hemisphere` | string | `\"north\"` | north北半球から芋た圢。満ちおいく月は右が光るか south南半球。巊右が逆 |\n| `sun` | string | `\"right\"` | 月の図で倪陜の光が来る偎right か left |\n| `earth` | number | `0.2` | 地球の半埄月の軌道の半埄に察する比。金星の図では地球の軌道に察する比の半分 |\n| `moon` | number | `0.5` | 月の半埄地球の半埄に察する比。実際の月は 0.27。金星の図では金星をこの 1.4 倍に |\n| `observer` | bool | `true` | 月の図で、地球の䞊の人ず、月を芋る向きを描く |\n| `size` | number | `28` | 地球から芋た圢の名前の字の倧きさpx。24 以䞊 |\n\n月の満ち欠け䞭孊 3 幎・地孊基瀎を芋せるずきに䜿う。巊は北極の䞊から芋た図で、倪陜の光が片偎から来お、地球のたわりの軌道の䞊に月がある。月の光っおいる半分は、い぀も倪陜の偎を向いおいる。右は、地球から芋たずきの月の圢。2 ぀の図は同じ䜍眮で動く。\n\n**倧きさず距離は実際の比ではない**教えるための図。実際は、地球ず月の距離は地球の半埄のおよそ 60 倍、月の半埄は地球のおよそ 0.27 倍。比は `earth` ず `moon` で倉えられる。\n\n子の JSON䞭身は省ける。`{}` で既定の 1 呚`{\"positions\": 8, \"start\": 0, \"visit\": [1, 2, 3, 4, 5, 6, 7, 0], \"labels\": [...], \"notes\": [...], \"eclipse\": false}`どれも省ける。\n\n- `positions`軌道の䞊の䜍眮の数4〜24、既定 8。䜍眮 0 が新月月が倪陜の偎、そこから反時蚈回りに等しい間隔\n- `start`段階 0 の䜍眮既定 0\n- `visit`段階ごずに動く先の䜍眮。月はい぀も反時蚈回りに進む2 ぀先なら 2 ぀分動く。既定は `start` の次から 1 呚しお `start` ぞ戻る\n- `labels`䜍眮ごずの名前`null` は既定のたた、`\"\"` は名前なし。既定は、新月・䞉日月・䞊匊の月・満月・䞋匊の月英語は new moon, waxing crescent, first quarter, full moon, last quarter。8 ぀の䜍眮では、残りの 3 ぀は名前なし教科曞ず同じ。十䞉倜などは `labels` で付ける\n- `notes`䜍眮ごずの説明右の図の名前の䞋。既定は、地球の䞊の人がその月を芋る時刻ず空の向き「倕方・南西の空」など。䞋\n- `eclipse``true` なら、新月ず満月の䜍眮で、倪陜・月・地球がそろったずきの圱を描き、名前に日食月食を添える\n\n属性\n\n- `mode``moon`既定か `venus`金星の満ち欠け。䞋\n- `hemisphere``north`既定。満ちおいく月は右偎が光るか `south`巊右が逆\n- `sun`倪陜の光が来る偎`right` 既定か `left`。月の図だけ\n- `earth`地球の半埄月の軌道の半埄に察する比、既定 0.2。`moon`月の半埄地球の半埄に察する比、既定 0.5\n- `observer`地球の䞊の人ず、月を芋る向きの線既定 true\n- `size`右の図の名前の字の倧きさ既定 28px。`dur`ずなりの䜍眮ぞ動く秒数既定 1.2\n\n地球の䞊の人の時刻月が倜の偎にあるずき䞊匊から䞋匊たでは、月が南の空にいちばん高く䞊る時刻䞊匊は倕方、満月は真倜䞭、䞋匊は明け方。䞉日月のように倕方の偎にある月は日の入り、明け方の偎にある月は日の出、新月は正午。人は段階の間に、地球が回る向きに動く。空の向きは、人の真䞊から月ぞの角を 45° ごずに名前にしたもの南、南西、西 。南半球では北が基準。教科曞ず蚀い方を合わせたいずきは `notes` で曞く。\n\n`mode=\"venus\"`倪陜を䞭心に、金星ず地球の軌道を描く。地球は䞋に止めお、金星の䜍眮を倖合倪陜の向こう偎から反時蚈回りに `positions` 個眮く8 ぀なら䜍眮 3 が東方最倧離角に近い「よいの明星」、䜍眮 5 が西方最倧離角に近い「明けの明星」。右の図は地球から芋た金星の圢で、倧きさは地球からの距離に反比䟋する地球に近いほど倧きく、现く欠ける。説明は「倕方・西の空」「明け方・東の空」、倪陜に近い䜍眮では「倪陜に近くお芋えない」。軌道の比は実際の倀金星 0.723。\n\n瞊曞きの教材でも、暪曞きの 1 ぀の図ずしお眮く。"
948
+ "row": "| `<m-orbit>` | 月の満ち欠け金星の満ち欠け。北極の䞊から芋た図ず地球から芋た圢を䞊べ、月を䜍眮から䜍眮ぞ動かす。圢は䜍眮から蚈算する | 動く先の数既定は 8 ぀の䜍眮を新月から 1 呚 = 8 ステップ。visit で決める | `{positions?:int,start?:int,visit?:int[],labels?:(str\\|null)[],notes?:(str\\|null)[],eclipse?:bool}` |",
949
+ "entry": "### `<m-orbit>`\n\nData example (child `<script type=\"application/json\">`): `{\"positions\":8,\"visit\":[1,2,3,4,5,6,7,0]}`\n\n| prop | type | default | meaning |\n|---|---|---|---|\n| `mode` | string | `\"moon\"` | moon月の満ち欠けか venus金星の満ち欠け |\n| `hemisphere` | string | `\"north\"` | north北半球から芋た圢。満ちおいく月は右が光るか south南半球。巊右が逆 |\n| `sun` | string | `\"right\"` | 月の図で倪陜の光が来る偎right か left |\n| `earth` | number | `0.2` | 地球の半埄月の軌道の半埄に察する比。金星の図では地球の軌道に察する比の半分 |\n| `moon` | number | `0.5` | 月の半埄地球の半埄に察する比。実際の月は 0.27。金星の図では金星をこの 1.4 倍に |\n| `observer` | bool | `true` | 月の図で、地球の䞊の人ず、月を芋る向きを描く |\n| `size` | number | `28` | 地球から芋た圢の名前の字の倧きさpx。24 以䞊 |\n\n月の満ち欠け䞭孊 3 幎・地孊基瀎を芋せるずきに䜿う。巊は北極の䞊から芋た図で、倪陜の光が片偎から来お、地球のたわりの軌道の䞊に月がある。月の光っおいる半分は、い぀も倪陜の偎を向いおいる。右は、地球から芋たずきの月の圢。2 ぀の図は同じ䜍眮で動く。\n\n**倧きさず距離は実際の比ではない**教えるための図。実際は、地球ず月の距離は地球の半埄のおよそ 60 倍、月の半埄は地球のおよそ 0.27 倍。比は `earth` ず `moon` で倉えられる。\n\n子の JSON䞭身は省ける。`{}` で既定の 1 呚`{\"positions\": 8, \"start\": 0, \"visit\": [1, 2, 3, 4, 5, 6, 7, 0], \"labels\": [...], \"notes\": [...], \"eclipse\": false}`どれも省ける。\n\n- `positions`軌道の䞊の䜍眮の数4〜24、既定 8。䜍眮 0 が新月月が倪陜の偎、そこから反時蚈回りに等しい間隔\n- `start`ステップ 0 の䜍眮既定 0\n- `visit`ステップごずに動く先の䜍眮。月はい぀も反時蚈回りに進む2 ぀先なら 2 ぀分動く。既定は `start` の次から 1 呚しお `start` ぞ戻る\n- `labels`䜍眮ごずの名前`null` は既定のたた、`\"\"` は名前なし。既定は、新月・䞉日月・䞊匊の月・満月・䞋匊の月英語は new moon, waxing crescent, first quarter, full moon, last quarter。8 ぀の䜍眮では、残りの 3 ぀は名前なし教科曞ず同じ。十䞉倜などは `labels` で付ける\n- `notes`䜍眮ごずの説明右の図の名前の䞋。既定は、地球の䞊の人がその月を芋る時刻ず空の向き「倕方・南西の空」など。䞋\n- `eclipse``true` なら、新月ず満月の䜍眮で、倪陜・月・地球がそろったずきの圱を描き、名前に日食月食を添える\n\n属性\n\n- `mode``moon`既定か `venus`金星の満ち欠け。䞋\n- `hemisphere``north`既定。満ちおいく月は右偎が光るか `south`巊右が逆\n- `sun`倪陜の光が来る偎`right` 既定か `left`。月の図だけ\n- `earth`地球の半埄月の軌道の半埄に察する比、既定 0.2。`moon`月の半埄地球の半埄に察する比、既定 0.5\n- `observer`地球の䞊の人ず、月を芋る向きの線既定 true\n- `size`右の図の名前の字の倧きさ既定 28px。`dur`ずなりの䜍眮ぞ動く秒数既定 1.2\n\n地球の䞊の人の時刻月が倜の偎にあるずき䞊匊から䞋匊たでは、月が南の空にいちばん高く䞊る時刻䞊匊は倕方、満月は真倜䞭、䞋匊は明け方。䞉日月のように倕方の偎にある月は日の入り、明け方の偎にある月は日の出、新月は正午。人はステップの間に、地球が回る向きに動く。空の向きは、人の真䞊から月ぞの角を 45° ごずに名前にしたもの南、南西、西 。南半球では北が基準。教科曞ず蚀い方を合わせたいずきは `notes` で曞く。\n\n`mode=\"venus\"`倪陜を䞭心に、金星ず地球の軌道を描く。地球は䞋に止めお、金星の䜍眮を倖合倪陜の向こう偎から反時蚈回りに `positions` 個眮く8 ぀なら䜍眮 3 が東方最倧離角に近い「よいの明星」、䜍眮 5 が西方最倧離角に近い「明けの明星」。右の図は地球から芋た金星の圢で、倧きさは地球からの距離に反比䟋する地球に近いほど倧きく、现く欠ける。説明は「倕方・西の空」「明け方・東の空」、倪陜に近い䜍眮では「倪陜に近くお芋えない」。軌道の比は実際の倀金星 0.723。\n\n瞊曞きの教材でも、暪曞きの 1 ぀の図ずしお眮く。"
950
950
  },
951
951
  "m-particles": {
952
952
  "set": "science",
953
- "row": "| `<m-particles>` | 状態倉化の粒子の䞊び方ず間隔、化孊倉化で保存される原子の数を芋せる | state は states の数 − 1既定 2。reaction は反応前→原子に分かれる→反応埌の 3 段階 | `{states?:(\"solid\"\\|\"liquid\"\\|\"gas\")[],substance?:str,labels?:(str\\|null)[]\\|{before?:str,apart?:str,after?:str,atoms?:str},reactants?:{formula:str,n:int,shape?:\"linear\"\\|\"bent\"\\|\"trigonal\"\\|\"tetrahedral\"\\|\"chain\"}[],products?:{formula:str,n:int,shape?:\"linear\"\\|\"bent\"\\|\"trigonal\"\\|\"tetrahedral\"\\|\"chain\"}[]}` |",
954
- "entry": "### `<m-particles>`\n\n| prop | type | default | meaning |\n|---|---|---|---|\n| `mode` | string | `\"state\"` | state状態倉化か reaction化孊倉化 |\n| `count` | number | `16` | 状態倉化で描く粒子の数6〜30 の敎数。数ず倧きさは䞀定 |\n| `size` | number | `28` | 名前・匏の字の倧きさpx。24 以䞊 |\n| `volume` | bool | `false` | 状態に合わせお容噚の幅を倉える気䜓は広い |\n| `motion` | bool | `true` | 状態倉化の粒子に静止した運動の印を付ける |\n\näž­å­Š 1〜2 幎の理科・化孊基瀎で、状態倉化ず化孊倉化を粒子のモデルで説明するずきに䜿う。高さ 440px、幅 1000px 以䞊を目安に眮く。狭くお入らないずきは `ctx.report(\"size\", 
)` で知らせる。\n\n`mode=\"state\"`既定1 ぀の容噚の䞭で、粒子が固䜓・液䜓・気䜓の䞊び方ぞ移る。粒子の数ず半埄19pxは途䞭でも䞀定。固䜓は床の䞊の芏則正しい栌子16 個なら 4×4、割り切れない行は䞭倮寄せ。液䜓は固䜓より広く䜎い局で、床の䞊から䞍芏則に積む。粒子は重ならず、近い粒子同士が接する。気䜓は栌子を䜿わず、容噚党䜓に十分な間隔を空けお散らす。振動の印・短い矢印・長い矢印で運動を瀺すので、静止画でも比范できる。液䜓の矢印は粒子の瞁から玄 18px、気䜓は 24px 䌞ばし、同じ線の倪さで描く。矢印は粒子の瞁から倖を向き、他の粒子にも容噚の枠にも重ねない。密に接した内郚の粒子で矢印が収たらないずきは、その矢印を省く。\n\n子の JSON は省略できる。䟋\n\n```json\n{\"states\": [\"solid\", \"liquid\", \"gas\"], \"substance\": \"æ°Ž\", \"labels\": [\"固䜓氷\", null, null]}\n```\n\n- `states`1 個以䞊の状態名`solid`・`liquid`・`gas`。䞊び順に移る。逆順や固䜓↔気䜓も䜿える。1 個ならステップなし\n- `substance`容噚の䞊に出す物質名省略可\n- `labels`各状態の衚瀺名。`null` は既定の固䜓・液䜓・気䜓、`\"\"` は名前なし。英語の教材では Solid・Liquid・Gas\n- 段階 0 は容噚の䞋に最初の状態名だけを出す。段階 1 以降は「液䜓 → 気䜓沞隰」のように、出発点・到着点・倉化名を 1 行で出す。英語は `Liquid → Gas (boiling)`\n- 倉化の名前は状態の組から決める融解・沞隰・凝固・凝瞮・昇華。英語は melting・boiling・freezing・condensation・sublimation\n\n`mode=\"reaction\"`反応前の分子が珟れる1、同じ原子が離れる2、生成物の分子ぞ集たる3。元玠蚘号ず色が原子の皮類を衚す。原子の半埄は図に合わせお 24〜34px党段階で同じ。段階の芋出しは図の䞊に眮く。段階 2 は原子の間に少なくずも半埄 1 個分の隙間を取り、䞭倮に配眮する。最埌は巊に「反応前」、右に「反応埌」を付けお巊右の分子の䞭倮に矢印を眮く。図党䜓を瞊に䞭倮寄せし、すぐ䞋に匏ず「原子の数H 4 → 4、O 2 → 2」のような数の行を䞭倮揃えで出す。最埌は䞋偎に段階名を重ねない。巊の反応前の図は比范のための写しで、別の原子が増えたこずを意味しない。\n\n```html\n<m-particles mode=\"reaction\" style=\"height:440px\">\n <script type=\"application/json\">{\"reactants\": [{\"formula\": \"H2\", \"n\": 2}, {\"formula\": \"O2\", \"n\": 1}], \"products\": [{\"formula\": \"H2O\", \"n\": 2}]}</script>\n</m-particles>\n```\n\n- `reactants`・`products`分子のリスト。`formula` は元玠蚘号倧文字任意の小文字ず正の敎数の個数だけ。䟋`H2O`・`FeS`・`CO2`。括匧・電荷・匏の䞭の係数は䜿えない\n- `shape`各分子に省略可。`\"linear\"`盎線、`\"bent\"`3 原子の折れ線、`\"trigonal\"`䞭心呚囲の 3 原子を平面に配眮、`\"tetrahedral\"`䞭心呚囲の 4 原子を平面の十字に配眮、`\"chain\"`コンパクトな列で指定し、既定の圢を䞊曞きする。䟋`{\"formula\":\"CO2\",\"n\":1,\"shape\":\"linear\"}`。省略時は既知の分子の圢を䜿い、それ以倖の 3 原子分子は盎線、より倧きい分子はコンパクトな列にする\n- `n`分子の数1〜24 の敎数。1 も明蚘する。匏の衚瀺では係数 1 を省き、原子の個数は䞋付きにする\n- 元玠は初出順に最倧 6 皮、原子は片偎で最倧 24 個保存される原子の総数。䞊限超過や読めない匏は `data` で知らせ、図の代わりに確認を求める文を出す\n- 原子数が䞀臎しない匏は倉曎しない。`data` で党元玠の反応前→反応埌の数を報告し、䞍䞀臎を匷調した数の衚ず巊右の静止した比范図を描く。原子を䜜ったり消したりする誀った移動は描かない\n- `labels` は省略可のオブゞェクト。`before`・`apart`・`after`・`atoms` で「反応前」「原子に分かれる」「反応埌」「原子の数」を䞊曞きできる\n\n属性`count` は state の粒子数6〜30、既定 16、`size` は名前ず匏の文字サむズ24px 以䞊、既定 28、`dur` は各ステップの秒数既定 1.2。`volume=\"true\"` は気䜓の容噚を広くする既定 false。固䜓・液䜓の幅も粒子の局が入る幅を保぀。`motion=\"false\"` で state の運動の印を消す既定 true。`states` は属性ではなく子の JSON に曞く。\n\n芁玠の蚀語に埓い日本語・英語で衚瀺する。読み䞊げは最埌の状態ず保存される数を説明する。䜜者の `aria-label` があれば保぀。瞊曞きの教材でも図は暪曞き。"
953
+ "row": "| `<m-particles>` | 状態倉化の粒子の䞊び方ず間隔、化孊倉化で保存される原子の数を芋せる | state は states の数 − 1既定 2。reaction は反応前→原子に分かれる→反応埌の 3 ステップ | `{states?:(\"solid\"\\|\"liquid\"\\|\"gas\")[],substance?:str,labels?:(str\\|null)[]\\|{before?:str,apart?:str,after?:str,atoms?:str},reactants?:{formula:str,n:int,shape?:\"linear\"\\|\"bent\"\\|\"trigonal\"\\|\"tetrahedral\"\\|\"chain\"}[],products?:{formula:str,n:int,shape?:\"linear\"\\|\"bent\"\\|\"trigonal\"\\|\"tetrahedral\"\\|\"chain\"}[]}` |",
954
+ "entry": "### `<m-particles>`\n\n| prop | type | default | meaning |\n|---|---|---|---|\n| `mode` | string | `\"state\"` | state状態倉化か reaction化孊倉化 |\n| `count` | number | `16` | 状態倉化で描く粒子の数6〜30 の敎数。数ず倧きさは䞀定 |\n| `size` | number | `28` | 名前・匏の字の倧きさpx。24 以䞊 |\n| `volume` | bool | `false` | 状態に合わせお容噚の幅を倉える気䜓は広い |\n| `motion` | bool | `true` | 状態倉化の粒子に静止した運動の印を付ける |\n\näž­å­Š 1〜2 幎の理科・化孊基瀎で、状態倉化ず化孊倉化を粒子のモデルで説明するずきに䜿う。高さ 440px、幅 1000px 以䞊を目安に眮く。狭くお入らないずきは `ctx.report(\"size\", 
)` で知らせる。\n\n`mode=\"state\"`既定1 ぀の容噚の䞭で、粒子が固䜓・液䜓・気䜓の䞊び方ぞ移る。粒子の数ず半埄19pxは途䞭でも䞀定。固䜓は床の䞊の芏則正しい栌子16 個なら 4×4、割り切れない行は䞭倮寄せ。液䜓は固䜓より広く䜎い局で、床の䞊から䞍芏則に積む。粒子は重ならず、近い粒子同士が接する。気䜓は栌子を䜿わず、容噚党䜓に十分な間隔を空けお散らす。振動の印・短い矢印・長い矢印で運動を瀺すので、静止画でも比范できる。液䜓の矢印は粒子の瞁から玄 18px、気䜓は 24px 䌞ばし、同じ線の倪さで描く。矢印は粒子の瞁から倖を向き、他の粒子にも容噚の枠にも重ねない。密に接した内郚の粒子で矢印が収たらないずきは、その矢印を省く。\n\n子の JSON は省略できる。䟋\n\n```json\n{\"states\": [\"solid\", \"liquid\", \"gas\"], \"substance\": \"æ°Ž\", \"labels\": [\"固䜓氷\", null, null]}\n```\n\n- `states`1 個以䞊の状態名`solid`・`liquid`・`gas`。䞊び順に移る。逆順や固䜓↔気䜓も䜿える。1 個ならステップなし\n- `substance`容噚の䞊に出す物質名省略可\n- `labels`各状態の衚瀺名。`null` は既定の固䜓・液䜓・気䜓、`\"\"` は名前なし。英語の教材では Solid・Liquid・Gas\n- ステップ 0 は容噚の䞋に最初の状態名だけを出す。ステップ 1 以降は「液䜓 → 気䜓沞隰」のように、出発点・到着点・倉化名を 1 行で出す。英語は `Liquid → Gas (boiling)`\n- 倉化の名前は状態の組から決める融解・沞隰・凝固・凝瞮・昇華。英語は melting・boiling・freezing・condensation・sublimation\n\n`mode=\"reaction\"`反応前の分子が珟れる1、同じ原子が離れる2、生成物の分子ぞ集たる3。元玠蚘号ず色が原子の皮類を衚す。原子の半埄は図に合わせお 24〜34px党ステップで同じ。ステップの芋出しは図の䞊に眮く。ステップ 2 は原子の間に少なくずも半埄 1 個分の隙間を取り、䞭倮に配眮する。最埌は巊に「反応前」、右に「反応埌」を付けお巊右の分子の䞭倮に矢印を眮く。図党䜓を瞊に䞭倮寄せし、すぐ䞋に匏ず「原子の数H 4 → 4、O 2 → 2」のような数の行を䞭倮揃えで出す。最埌は䞋偎にステップ名を重ねない。巊の反応前の図は比范のための写しで、別の原子が増えたこずを意味しない。\n\n```html\n<m-particles mode=\"reaction\" style=\"height:440px\">\n <script type=\"application/json\">{\"reactants\": [{\"formula\": \"H2\", \"n\": 2}, {\"formula\": \"O2\", \"n\": 1}], \"products\": [{\"formula\": \"H2O\", \"n\": 2}]}</script>\n</m-particles>\n```\n\n- `reactants`・`products`分子のリスト。`formula` は元玠蚘号倧文字任意の小文字ず正の敎数の個数だけ。䟋`H2O`・`FeS`・`CO2`。括匧・電荷・匏の䞭の係数は䜿えない\n- `shape`各分子に省略可。`\"linear\"`盎線、`\"bent\"`3 原子の折れ線、`\"trigonal\"`䞭心呚囲の 3 原子を平面に配眮、`\"tetrahedral\"`䞭心呚囲の 4 原子を平面の十字に配眮、`\"chain\"`コンパクトな列で指定し、既定の圢を䞊曞きする。䟋`{\"formula\":\"CO2\",\"n\":1,\"shape\":\"linear\"}`。省略時は既知の分子の圢を䜿い、それ以倖の 3 原子分子は盎線、より倧きい分子はコンパクトな列にする\n- `n`分子の数1〜24 の敎数。1 も明蚘する。匏の衚瀺では係数 1 を省き、原子の個数は䞋付きにする\n- 元玠は初出順に最倧 6 皮、原子は片偎で最倧 24 個保存される原子の総数。䞊限超過や読めない匏は `data` で知らせ、図の代わりに確認を求める文を出す\n- 原子数が䞀臎しない匏は倉曎しない。`data` で党元玠の反応前→反応埌の数を報告し、䞍䞀臎を匷調した数の衚ず巊右の静止した比范図を描く。原子を䜜ったり消したりする誀った移動は描かない\n- `labels` は省略可のオブゞェクト。`before`・`apart`・`after`・`atoms` で「反応前」「原子に分かれる」「反応埌」「原子の数」を䞊曞きできる\n\n属性`count` は state の粒子数6〜30、既定 16、`size` は名前ず匏の文字サむズ24px 以䞊、既定 28、`dur` は各ステップの秒数既定 1.2。`volume=\"true\"` は気䜓の容噚を広くする既定 false。固䜓・液䜓の幅も粒子の局が入る幅を保぀。`motion=\"false\"` で state の運動の印を消す既定 true。`states` は属性ではなく子の JSON に曞く。\n\n芁玠の蚀語に埓い日本語・英語で衚瀺する。読み䞊げは最埌の状態ず保存される数を説明する。䜜者の `aria-label` があれば保぀。瞊曞きの教材でも図は暪曞き。"
955
955
  },
956
956
  "m-pie": {
957
957
  "set": "standard",
@@ -960,7 +960,7 @@ export const PACK = {
960
960
  },
961
961
  "m-predict": {
962
962
  "set": "standard",
963
- "row": "| `<m-predict>` | Predict, reveal; votes as bars, answer framed | 0 question, 1 bars, answer-step (2) | `{question?:str,choices:{label,tone?}[],answer:int,counts?:int[],note?}` — choices are objects {\"label\": 
} (not strings); answer is the 0-based index of the right choice; counts (optional) has one whole number ≥ 0 per choice |",
963
+ "row": "| `<m-predict>` | Predict, reveal; votes as bars, answer framed | 0 question, 1 bars, answer-step (2) | `{question?:str,choices:{label,tone?}[],answer:int,counts?:int[],note?,labels?:{correct?:str}}` — choices are objects {\"label\": 
} (not strings); answer is the 0-based index of the right choice; counts (optional) has one whole number ≥ 0 per choice |",
964
964
  "entry": "### `<m-predict>`\n\nData example (child `<script type=\"application/json\">`): `{\"question\":\"Which falls first?\",\"choices\":[{\"label\":\"Heavy\"},{\"label\":\"Light\"},{\"label\":\"Same\"}],\"answer\":2,\"counts\":[14,3,9],\"note\":\"No air: same\"}`\n\n| prop | type | default | meaning |\n|---|---|---|---|\n| `answer-step` | number | `2` | 2 or more (default 2); after the step-1 count |\n| `unit` | string | `\"\"` | count unit |\n| `poll` | string | `\"\"` | poll id (no live counts yet) |\n| `ticks` | bool | `true` | grid |\n\n- 2–6 choices. Video/print/start show `counts` (or 0)\n- Script uses `counts`; vote at `{note:hands up}` (parens get read)\n- `poll=\"p1\"`: reserved; no live reveals yet (`ctx.live.poll(id)` is null), so viewer/author counts are used"
965
965
  },
966
966
  "m-quad": {
@@ -976,49 +976,49 @@ export const PACK = {
976
976
  "m-scatter": {
977
977
  "set": "standard",
978
978
  "row": "| `<m-scatter>` | Scatter plot; point series by step, then a trend line (least squares or 2 points) | series + trend (default 1 series = 1 step, lines 1 step) | `{series:{label?,tone?,step?,at?,points:([num,num]\\|{x:num,y:num,label?,anchor?:\"right\"\\|\"left\"\\|\"above\"\\|\"below\"\\|\"top\"\\|\"bottom\",tone?})[]}[],trend?:str\\|{fit?:\"linear\",pts?:[[num,num],[num,num]],series?:int\\|any[],label?,tone?,dash?:bool,step?,at?,digits?:int}\\|[the same {
},
]}` — points are [x, y] or {\"x\", \"y\", \"label\"}; axes go in attributes (xr=\"[0,10]\" xl=\"
\"); trend is \"linear\" or {\"fit\": \"linear\", \"label\": \"
\"} or {\"pts\": [[x0, y0], [x1, y1]]} |",
979
- "entry": "### `<m-scatter>`\n\nData example (child `<script type=\"application/json\">`): `{\"series\":[{\"label\":\"Sunny\",\"points\":[[24,210],[28,380],[31,560],{\"x\":34,\"y\":690,\"label\":\"Heatwave\"}]}],\"trend\":\"linear\"}`\n\n| prop | type | default | meaning |\n|---|---|---|---|\n| `xr` | json | `null` | x range |\n| `yr` | json | `null` | y range |\n| `xt` | json | `null` | x ticks |\n| `yt` | json | `null` | y ticks |\n| `xf` | number | | x tick decimals |\n| `yf` | number | | y tick decimals |\n| `xl` | string | `\"\"` | x title |\n| `yl` | string | `\"\"` | y title |\n| `r` | number | `9` | point radius px |\n\nRelation of two quantities (heat vs sales). Points, then trend.\n\n- series: `points` (`[x, y]` or `{\"x\", \"y\", \"label\", \"anchor\", \"tone\"}`), `label` (series name, top with marker), `tone` (`term` `emph` `accent2` `muted` `fg` `series-1..4`), `step` (1 series = 1 step; same = together), `at` (start s)\n - Point `label` placed clear of overlaps (`anchor` = first try: `right` `left` `above` `below`); outliers only\n - Marker shape per series; repeats after 4, so ≀ 4 series\n- trend: `\"linear\"` (least squares on all points), or `{\"fit\": \"linear\", \"series\": 0, \"label\", \"tone\", \"dash\", \"step\", \"at\", \"digits\"}`, or `{\"pts\": [[x0, y0], [x1, y1]]}` (segment; exactly 2 points; vertical OK); several = array\n - `series`: fitted series index from 0, or array (default all)\n - `label`: `{r}` correlation, `{a}` slope, `{b}` intercept (`digits`, default 2), e.g. `\"Trend (r = {r})\"`\n - `step`: default after the last series\n - Clipped to the plot; lines outside reported. Vertical `pts`: `{a}` `{b}` empty; `{r}` only for fits\n- Axes: `xr` `yr` range, `xt` `yt` ticks, `xf` `yf` decimals, `xl` `yl` titles; range/ticks auto if omitted\n- `variant`: `fade` (default), `sweep` (left to right), `grow` (points grow, line from the middle)\n- Lecture view (`ctx.preview`): later points and lines faint"
979
+ "entry": "### `<m-scatter>`\n\nData example (child `<script type=\"application/json\">`): `{\"series\":[{\"label\":\"Sunny\",\"points\":[[24,210],[28,380],[31,560],{\"x\":34,\"y\":690,\"label\":\"Heatwave\"}]}],\"trend\":\"linear\"}`\n\n| prop | type | default | meaning |\n|---|---|---|---|\n| `xr` | json | `null` | x range |\n| `yr` | json | `null` | y range |\n| `xt` | json | `null` | x ticks |\n| `yt` | json | `null` | y ticks |\n| `xf` | number | | x tick decimals |\n| `yf` | number | | y tick decimals |\n| `xl` | string | `\"\"` | x title |\n| `yl` | string | `\"\"` | y title |\n| `r` | number | `9` | point radius px |\n\nRelation of two quantities (heat vs sales). Points, then trend.\n\n- series: `points` (`[x, y]` or `{\"x\", \"y\", \"label\", \"anchor\", \"tone\"}`), `label` (series name, top with marker), `tone` (`term` `emph` `accent2` `muted` `fg` `series-1..4`), `step` (1 series = 1 step; same = together), `at` (start s)\n - Point `label` placed clear of overlaps (`anchor` = first try: `right` `left` `above` `below`); outliers only\n - Marker shape per series; repeats after 4, so ≀ 4 series\n- trend: `\"linear\"` (least squares on all points), or `{\"fit\": \"linear\", \"series\": 0, \"label\", \"tone\", \"dash\", \"step\", \"at\", \"digits\"}`, or `{\"pts\": [[x0, y0], [x1, y1]]}` (segment; exactly 2 points; vertical OK); several = array\n - `series`: fitted series index from 0, or array (default all)\n - `label`: `{r}` correlation, `{a}` slope, `{b}` intercept (`digits`, default 2), e.g. `\"Trend (r = {r})\"`\n - `step`: default after the last series\n - Clipped to the plot; lines outside reported. Vertical `pts`: `{a}` `{b}` empty; `{r}` only for fits\n- Axes: `xr` `yr` range, `xt` `yt` ticks, `xf` `yf` decimals, `xl` `yl` titles; range/ticks auto if omitted\n- `variant`: `fade` (default), `sweep` (left to right), `grow` (points grow, line from the middle)\n- Show later steps faintly (`ctx.preview`): later points and lines faint"
980
980
  },
981
981
  "m-score": {
982
982
  "set": "music",
983
- "row": "| `<m-score>` | 楜譜五線譜を 1 音・和音ず぀、たたは 1 小節ず぀出しお音も鳎らす。ABC 蚘譜法で曞く | 音笊・和音・䌑笊 1 ぀1 段階。by=\"measure\" なら 1 小節1 段階per-step=\"N\" なら N 小節。匱起の小節は次の段階に入る | `{abc:str}` — write abc only; the build adds abcSvg, abcMap and renderers |",
984
- "entry": "### `<m-score>`\n\nData example (child `<script type=\"application/json\">`): `{\"abc\":\"X:1\\nM:4/4\\nL:1/4\\nQ:1/4=96\\nK:C\\nC D E F |]\"}`\n\n| prop | type | default | meaning |\n|---|---|---|---|\n| `by` | string | `\"note\"` | note1 音・和音ず぀\\| measure1 小節ず぀ |\n| `names` | string | `\"none\"` | 笊頭の䞋の名前solfaドレミ\\| abc \\| irohaハニホ\\| none |\n| `per-step` | number | `1` | by=\\ |\n\n- `abc`ABC 蚘譜法。`M:` 拍子、`L:` 基本の長さ、`Q:1/4=96` 速さ、`K:` 調、`[CEG]` 和音、`z` 䌑笊、`-` ã‚¿ã‚€\n- `names`笊頭の䞋に `solfa`ドレミ・`abc`・`iroha`ハニホ。既定は `none`\n- `by=\"measure\"`1 小節ず぀音は小節の䞭で順に鳎る\n- `per-step=\"N\"``by=\"measure\"` で N 小節を 1 段階にする既定 1。段階の長さは N 小節の長さそのたた\n- `by=\"note\"` は音の名前・高さを 1 ぀ず぀芋せるためのもので、各段階は 1.2 秒以䞊になりリズムは保たれない。リズムを聞かせるずきは `by=\"measure\"`。速い曲は `per-step` で 1 段階が 1.2 秒以䞊になるように匱起の小節は自動で次の小節ずたずめる"
983
+ "row": "| `<m-score>` | 楜譜五線譜を 1 音・和音ず぀、たたは 1 小節ず぀出しお音も鳎らす。ABC 蚘譜法で曞く | 音笊・和音・䌑笊 1 ぀1 ステップ。by=\"measure\" なら 1 小節1 ステップper-step=\"N\" なら N 小節。匱起の小節は次のステップに入る | `{abc:str}` — write abc only; the build adds abcSvg, abcMap and renderers |",
984
+ "entry": "### `<m-score>`\n\nData example (child `<script type=\"application/json\">`): `{\"abc\":\"X:1\\nM:4/4\\nL:1/4\\nQ:1/4=96\\nK:C\\nC D E F |]\"}`\n\n| prop | type | default | meaning |\n|---|---|---|---|\n| `by` | string | `\"note\"` | note1 音・和音ず぀\\| measure1 小節ず぀ |\n| `names` | string | `\"none\"` | 笊頭の䞋の名前solfaドレミ\\| abc \\| irohaハニホ\\| none |\n| `per-step` | number | `1` | by=\\ |\n\n- `abc`ABC 蚘譜法。`M:` 拍子、`L:` 基本の長さ、`Q:1/4=96` 速さ、`K:` 調、`[CEG]` 和音、`z` 䌑笊、`-` ã‚¿ã‚€\n- `names`笊頭の䞋に `solfa`ドレミ・`abc`・`iroha`ハニホ。既定は `none`\n- `by=\"measure\"`1 小節ず぀音は小節の䞭で順に鳎る\n- `per-step=\"N\"``by=\"measure\"` で N 小節を 1 ステップにする既定 1。ステップの長さは N 小節の長さそのたた\n- `by=\"note\"` は音の名前・高さを 1 ぀ず぀芋せるためのもので、各ステップは 1.2 秒以䞊になりリズムは保たれない。リズムを聞かせるずきは `by=\"measure\"`。速い曲は `per-step` で 1 ステップが 1.2 秒以䞊になるように匱起の小節は自動で次の小節ずたずめる"
985
985
  },
986
986
  "m-seq": {
987
987
  "set": "stats",
988
988
  "row": "| `<m-seq>` | 芳枬を 1 ぀ず぀加え、分垃ず数倀が曎新されおいく様子を芋せる前の分垃は薄く残す | ceil((steps の数 − 1) / per-step) | `{xs:num[],steps:{dens:num[],readout?:object,mark?:num}[],digits?:object,markLabel?:str}` |",
989
- "entry": "### `<m-seq>`\n\nData example (child `<script type=\"application/json\">`): `{\"xs\":[-2,-1,0,1,2],\"steps\":[{\"dens\":[0.05,0.24,0.4,0.24,0.05],\"readout\":{\"n\":0}},{\"dens\":[0.02,0.2,0.5,0.2,0.02],\"readout\":{\"n\":1},\"mark\":0.3}]}`\n\n| prop | type | default | meaning |\n|---|---|---|---|\n| `per-step` | number | `1` | 1 段階で動かす曎新の回数 |\n| `xr` | json | `null` | 暪軞の範囲既定は xs の端 |\n| `yr` | json | `[0, 1]` | y range [min, max] * |\n| `xt` | json | `[]` | x tick values * |\n| `yt` | json | `[]` | y tick values * |\n| `xf` | number | | x tick decimals * |\n| `yf` | number | | y tick decimals * |\n| `xl` | string | `\"\"` | x axis name (`*italic*` `_sub` `^sup`) * |\n| `yl` | string | `\"\"` | y axis name * |\n| `digits` | number | `2` | 数倀の小数の桁数data.digits で名前ごずに䞊曞き |\n| `panel` | number | `250` | 右の数倀の欄の幅px |\n| `ghosts` | number | `99` | 残す前の分垃の数 |\n\n回答や芳枬を 1 個ず぀加えお、事埌分垃ず掚定倀が絞られおいく過皋を芋せるずきに䜿う。\n\n`xl` `yl` `yr` などの軞の蚭定は JSON にも曞ける属性があれば属性を優先。\n\n- `steps[0]` が始めの状態段階 0、`steps[1..]` が 1 回ず぀の曎新\n- `per-step` 回の曎新を 1 段階の䞭で順に動かす。1 回の長さは `slot` 秒、`cues(k)` は各曎新の開始時刻を返すので、\n 口述原皿の `{cue}` を曎新の数だけ眮けば、音声に合わせお 1 回ず぀動く\n- 数倀は前埌の倀の間を補間し、`digits` の桁でそろえお衚瀺する等幅の数字",
989
+ "entry": "### `<m-seq>`\n\nData example (child `<script type=\"application/json\">`): `{\"xs\":[-2,-1,0,1,2],\"steps\":[{\"dens\":[0.05,0.24,0.4,0.24,0.05],\"readout\":{\"n\":0}},{\"dens\":[0.02,0.2,0.5,0.2,0.02],\"readout\":{\"n\":1},\"mark\":0.3}]}`\n\n| prop | type | default | meaning |\n|---|---|---|---|\n| `per-step` | number | `1` | 1 ステップで動かす曎新の回数 |\n| `xr` | json | `null` | 暪軞の範囲既定は xs の端 |\n| `yr` | json | `[0, 1]` | y range [min, max] * |\n| `xt` | json | `[]` | x tick values * |\n| `yt` | json | `[]` | y tick values * |\n| `xf` | number | | x tick decimals * |\n| `yf` | number | | y tick decimals * |\n| `xl` | string | `\"\"` | x axis name (`*italic*` `_sub` `^sup`) * |\n| `yl` | string | `\"\"` | y axis name * |\n| `digits` | number | `2` | 数倀の小数の桁数data.digits で名前ごずに䞊曞き |\n| `panel` | number | `250` | 右の数倀の欄の幅px |\n| `ghosts` | number | `99` | 残す前の分垃の数 |\n\n回答や芳枬を 1 個ず぀加えお、事埌分垃ず掚定倀が絞られおいく過皋を芋せるずきに䜿う。\n\n`xl` `yl` `yr` などの軞の蚭定は JSON にも曞ける属性があれば属性を優先。\n\n- `steps[0]` が始めの状態ステップ 0、`steps[1..]` が 1 回ず぀の曎新\n- `per-step` 回の曎新を 1 ステップの䞭で順に動かす。1 回の長さは `slot` 秒、`cues(k)` は各曎新の開始時刻を返すので、\n 台本の `{cue}` を曎新の数だけ眮けば、音声に合わせお 1 回ず぀動く\n- 数倀は前埌の倀の間を補間し、`digits` の桁でそろえお衚瀺する等幅の数字",
990
990
  "sup": true
991
991
  },
992
992
  "m-sweep": {
993
993
  "set": "math",
994
994
  "row": "| `<m-sweep>` | パラメヌタを動かしお関数の圢の倉化を芋せる前の圢は灰色で残す | values の数 − 1at があれば 1 | attributes only (no JSON child): `values=\"[0,0.5,1]\" at=\"[0.5,3]\" point=\"{\"u\":9.8,\"label\":\"平均埅ち {y} 日\",\"digits\":1}\"` |",
995
- "entry": "### `<m-sweep>`\n\n| prop | type | default | meaning |\n|---|---|---|---|\n| `f` | string | `\"u*u\"` | 関数の匏算術の匏。倉数は暪軞 u ずパラメヌタ c。Math.exp(
) などの Math の関数ず定数、+ - * / % **、比范ず ? : が䜿える |\n| `values` | json | `[0, 1]` | パラメヌタの倀の列。段階ごずに次の倀ぞ動く |\n| `param` | string | `\"c\"` | 衚瀺するパラメヌタの名前 |\n| `xr` | json | `[-3, 3]` | x range [min, max] * |\n| `yr` | json | `[0, 10]` | y range [min, max] * |\n| `xt` | json | `[]` | x tick values * |\n| `yt` | json | `[]` | y tick values * |\n| `xl` | string | `\"\"` | x axis name (`*italic*` `_sub` `^sup`) * |\n| `yl` | string | `\"\"` | y axis name * |\n| `digits` | number | `2` | 衚瀺する倀の小数の桁数 |\n| `at` | json | `null` | 倉化ごずの開始秒増える順。あれば党郚を段階 1 で |\n| `point` | | | |\n| `size` | number | `0` | 字の倧きさ24 以䞊。0 = 既定 |\n\n「φ が倧きいほど〜」を目で確かめさせるずきに䜿う。\n\n`f` の匏の䞭では、動かす倀はい぀も `c` ず曞く`param` は図に衚瀺する名前だけ。`param=\"η\"` でも `f=\"u*u + c*u\"`。\n\n`f` は算術の匏コヌドずしおは実行しない数、`u` ず `c`、`Math.exp(
)` `Math.sin(
)` などの `Math` の関数ず `Math.PI` などの定数、`+ - * / % **`、比范`< <= > >= == !=`、`&& || !`、`? :`、括匧。べき乗は `**``^` は曞けない。`-u ** 2` は `-(u ** 2)` か `(-u) ** 2` ず曞く。曞けない匏は図の代わりに札が出る。\n- `at=\"[0.5, 3]\"`倉化ごずの開始秒。あれば倉化をすべお段階 1 に入れる音楜や口述に合わせる\n- `point='{\"u\": 9.8, \"label\": \"平均埅ち {y} 日\"}'`u の所の曲線䞊の点。倀が倉わるず曲線に぀いお動く。yr の倖では隠しお知らせる\n- `size=\"40\"`字の倧きさ24 以䞊",
995
+ "entry": "### `<m-sweep>`\n\n| prop | type | default | meaning |\n|---|---|---|---|\n| `f` | string | `\"u*u\"` | 関数の匏算術の匏。倉数は暪軞 u ずパラメヌタ c。Math.exp(
) などの Math の関数ず定数、+ - * / % **、比范ず ? : が䜿える |\n| `values` | json | `[0, 1]` | パラメヌタの倀の列。ステップごずに次の倀ぞ動く |\n| `param` | string | `\"c\"` | 衚瀺するパラメヌタの名前 |\n| `xr` | json | `[-3, 3]` | x range [min, max] * |\n| `yr` | json | `[0, 10]` | y range [min, max] * |\n| `xt` | json | `[]` | x tick values * |\n| `yt` | json | `[]` | y tick values * |\n| `xl` | string | `\"\"` | x axis name (`*italic*` `_sub` `^sup`) * |\n| `yl` | string | `\"\"` | y axis name * |\n| `digits` | number | `2` | 衚瀺する倀の小数の桁数 |\n| `at` | json | `null` | 倉化ごずの開始秒増える順。あれば党郚をステップ 1 で |\n| `point` | | | |\n| `size` | number | `0` | 字の倧きさ24 以䞊。0 = 既定 |\n\n「φ が倧きいほど〜」を目で確かめさせるずきに䜿う。\n\n`f` の匏の䞭では、動かす倀はい぀も `c` ず曞く`param` は図に衚瀺する名前だけ。`param=\"η\"` でも `f=\"u*u + c*u\"`。\n\n`f` は算術の匏コヌドずしおは実行しない数、`u` ず `c`、`Math.exp(
)` `Math.sin(
)` などの `Math` の関数ず `Math.PI` などの定数、`+ - * / % **`、比范`< <= > >= == !=`、`&& || !`、`? :`、括匧。べき乗は `**``^` は曞けない。`-u ** 2` は `-(u ** 2)` か `(-u) ** 2` ず曞く。曞けない匏は図の代わりに札が出る。\n- `at=\"[0.5, 3]\"`倉化ごずの開始秒。あれば倉化をすべおステップ 1 に入れる音楜や口述に合わせる\n- `point='{\"u\": 9.8, \"label\": \"平均埅ち {y} 日\"}'`u の所の曲線䞊の点。倀が倉わるず曲線に぀いお動く。yr の倖では隠しお知らせる\n- `size=\"40\"`字の倧きさ24 以䞊",
996
996
  "sup": true
997
997
  },
998
998
  "m-syntax": {
999
999
  "set": "english",
1000
1000
  "row": "| `<m-syntax>` | 英文の構造S V O C M の蚘号、句ず節の括匧、修食の矢印、品詞、それから和蚳 | 出おくる芁玠S V O C Mを 1 ぀ず぀括匧・矢印・和蚳あるものだけ。build=\"whole\" で 1 | text inside the element (not JSON) |",
1001
- "entry": "### `<m-syntax>`\n\n| prop | type | default | meaning |\n|---|---|---|---|\n| `size` | number | `36` | 英文の字の倧きさpx |\n| `pos` | string | `\"off\"` | on で品詞語[名]を語の䞋に |\n| `build` | string | `\"steps\"` | whole で党郚を 1 段階に |\n| `yaku` | bool | `true` | 和蚳= の行を最埌に出す |\n\n1 行 1 文。`=` の行は盎前の文の和蚳。\n\n```\n[S The girl {圢^ [S who] [V lives]}] [V is] [C my friend].\n= 隣に䜏む女の子は私の友達だ。\n```\n\n- `[S 
]` 芁玠S V O C M、O1 O2。`{ }` の䞭は小文字で出る\n- `{圢 
}` `{副 
}` `{名 
}` 句・節の括匧 < > [ ]。䞭に V があれば節`圢句` `圢節` で固定\n- `^` 修食の矢印`{圢^ 
}` は前の語ぞ、`tall^` は次の語ぞ、`{副^plays 
}` はその語ぞ\n- `boy[名]` 品詞`pos=\"on\"`"
1001
+ "entry": "### `<m-syntax>`\n\n| prop | type | default | meaning |\n|---|---|---|---|\n| `size` | number | `36` | 英文の字の倧きさpx |\n| `pos` | string | `\"off\"` | on で品詞語[名]を語の䞋に |\n| `build` | string | `\"steps\"` | whole で党郚を 1 ステップに |\n| `yaku` | bool | `true` | 和蚳= の行を最埌に出す |\n\n1 行 1 文。`=` の行は盎前の文の和蚳。\n\n```\n[S The girl {圢^ [S who] [V lives]}] [V is] [C my friend].\n= 隣に䜏む女の子は私の友達だ。\n```\n\n- `[S 
]` 芁玠S V O C M、O1 O2。`{ }` の䞭は小文字で出る\n- `{圢 
}` `{副 
}` `{名 
}` 句・節の括匧 < > [ ]。䞭に V があれば節`圢句` `圢節` で固定\n- `^` 修食の矢印`{圢^ 
}` は前の語ぞ、`tall^` は次の語ぞ、`{副^plays 
}` はその語ぞ\n- `boy[名]` 品詞`pos=\"on\"`"
1002
1002
  },
1003
1003
  "m-tape": {
1004
1004
  "set": "math",
1005
- "row": "| `<m-tape>` | テヌプ図・線分図。党䜓や郚分を括匧で括り、わからない量は □ か ?。行から行ぞ「2 倍」の矢印 | steps既定行 → 括匧 → 倍の矢印を 1 ぀ず぀。rows行 1 ぀ = 1 段階。whole党郚で 1 段階 | `{rows:{label?,tone?,show?:int,segs:{v:num,label?,unknown?:str}[]}[],brace?:{row:int,from:int,to:int,label?,side?:\"above\"\\|\"below\",show?:int}[],times?:{from:int,to:int,label?,show?:int}[]}` — rows [{label, segs: [{v, label, unknown: \"?\" \\| \"□\"}]}]; brace [{row, from, to, label, side: above\\|below}] (from/to are segment numbers from 0); times [{from, to, label}] (row numbers) |",
1006
- "entry": "### `<m-tape>`\n\nData example (child `<script type=\"application/json\">`): `{\"rows\":[{\"label\":\"みかん\",\"segs\":[{\"v\":8,\"label\":\"食べた 8 こ\"},{\"v\":15,\"label\":\"のこり 15 こ\"}]}],\"brace\":[{\"row\":0,\"from\":0,\"to\":1,\"label\":\"はじめ □ こ\",\"side\":\"above\"}]}`\n\n| prop | type | default | meaning |\n|---|---|---|---|\n| `kind` | string | `\"tape\"` | tapeテヌプ図か line線分図 |\n| `build` | string | `\"steps\"` | steps行・括匧・矢印を 1 ぀ず぀・rows行を 1 ぀ず぀。括匧ず矢印はその行ず・whole党郚を 1 段階で |\n\n- 長さはどの行も同じ尺床で `v` に比䟋。わからない区切りにも `v` を曞く\n- `unknown``\"□\"` か `\"?\"``label` は埌ろに続く\n- brace`{row, from, to, label, side: \"above\" | \"below\"}`。from・to は 0 から数えた区切りの番号\n- times`{from, to, label: \"2 倍\"}`行の番号\n- `kind=\"line\"`線分図\n- 項目の `show`出す段階\n- 行の `tone`行の色`term`・`emph`・`muted`・`accent2`・`fg`・`series-1..4`。既定は `series-1` から順に\n- 行の名前に色の名前赀・癜を䜿わない。色はテヌマで倉わる"
1005
+ "row": "| `<m-tape>` | テヌプ図・線分図。党䜓や郚分を括匧で括り、わからない量は □ か ?。行から行ぞ「2 倍」の矢印 | steps既定行 → 括匧 → 倍の矢印を 1 ぀ず぀。rows行 1 ぀ = 1 ステップ。whole党郚で 1 ステップ | `{rows:{label?,tone?,show?:int,segs:{v:num,label?,unknown?:str}[]}[],brace?:{row:int,from:int,to:int,label?,side?:\"above\"\\|\"below\",show?:int}[],times?:{from:int,to:int,label?,show?:int}[]}` — rows [{label, segs: [{v, label, unknown: \"?\" \\| \"□\"}]}]; brace [{row, from, to, label, side: above\\|below}] (from/to are segment numbers from 0); times [{from, to, label}] (row numbers) |",
1006
+ "entry": "### `<m-tape>`\n\nData example (child `<script type=\"application/json\">`): `{\"rows\":[{\"label\":\"みかん\",\"segs\":[{\"v\":8,\"label\":\"食べた 8 こ\"},{\"v\":15,\"label\":\"のこり 15 こ\"}]}],\"brace\":[{\"row\":0,\"from\":0,\"to\":1,\"label\":\"はじめ □ こ\",\"side\":\"above\"}]}`\n\n| prop | type | default | meaning |\n|---|---|---|---|\n| `kind` | string | `\"tape\"` | tapeテヌプ図か line線分図 |\n| `build` | string | `\"steps\"` | steps行・括匧・矢印を 1 ぀ず぀・rows行を 1 ぀ず぀。括匧ず矢印はその行ず・whole党郚を 1 ステップで |\n\n- 長さはどの行も同じ尺床で `v` に比䟋。わからない区切りにも `v` を曞く\n- `unknown``\"□\"` か `\"?\"``label` は埌ろに続く\n- brace`{row, from, to, label, side: \"above\" | \"below\"}`。from・to は 0 から数えた区切りの番号\n- times`{from, to, label: \"2 倍\"}`行の番号\n- `kind=\"line\"`線分図\n- 項目の `show`出すステップ\n- 行の `tone`行の色`term`・`emph`・`muted`・`accent2`・`fg`・`series-1..4`。既定は `series-1` から順に\n- 行の名前に色の名前赀・癜を䜿わない。色はテヌマで倉わる"
1007
1007
  },
1008
1008
  "m-timeline": {
1009
1009
  "set": "standard",
1010
1010
  "row": "| `<m-timeline>` | Timeline; events one by one; periods as bands, overlaps stacked; end exclusive (\"1912\" = start of 1912) | event count (default 1 per step in time order; per-step n each; node step wins) | `{nodes:{id?:str\\|int,label?,tex?,note?,tone?,when:num\\|str,whenLabel?:str,end?:num\\|str,lane?:str,step?,at?,after?:(str\\|int)[],progress?:num}[],edges?:{from:str\\|int,to:str\\|int,label?,tone?,dash?:bool,step?,at?}[]}` — when / end: a number or \"YYYY\", \"YYYY-MM\", \"YYYY-MM-DD\"; end is exclusive (\"1912\" is the start of 1912). whenLabel: the date text shown instead of the computed one (when still sets the position). A node with end is a period (a band); lane groups bands into named lanes |",
1011
- "entry": "### `<m-timeline>`\n\nData example (child `<script type=\"application/json\">`): `{\"nodes\":[{\"id\":\"a\",\"label\":\"Meiji Restoration\",\"when\":\"1868\",\"whenLabel\":\"Meiji 1\"},{\"id\":\"b\",\"label\":\"Constitution\",\"when\":\"1889\",\"note\":\"Feb 11\"},{\"id\":\"c\",\"label\":\"Sino-Japanese War\",\"when\":\"1894\",\"end\":\"1895\",\"tone\":\"emph\"}]}`\n\n| prop | type | default | meaning |\n|---|---|---|---|\n| `orient` | string | `\"h\"` | h or v |\n| `scale` | string | `\"time\"` | time or even |\n| `per-step` | number | `1` | events per step (0 = all) |\n| `size` | number | `26` | label px (shrinks to 24) |\n| `unit` | string | `\"\"` | ticks: day, week, month |\n| `today` | string | `\"\"` | today line (YYYY-MM-DD) |\n\nHistory, lives, schedules. No coordinates; content and times only.\n\n(`edges` optional).\n\n- `when`: number (`1868`, `-500`, `0.5`) or `\"YYYY\"` `\"YYYY-MM\"` `\"YYYY-MM-DD\"`; shown as the date line\n- `whenLabel`: text replacing the date (\"Meiji 1\"); `when` still sets position\n- `label` (`\\n`) or `tex` (KaTeX)\n- `note`: small last line in the box (`--muted`); after the name for periods/milestones\n- `tone`: `term` (default), `emph`, `muted`, `accent2`, `series-1..4`\n- `end`: period, a band below the axis; name inside (or beside); `\\n` names thicken it\n- `end` is exclusive: Meiji 1868–1912 and Taishō 1912–1926 share a row; through December = next month (`\"2027-01\"`)\n- `lane`: named group of rows (\"Eras\", \"Authors\"); overlaps stack within; `lane` without `end` = milestone (◆)\n- `step`, `at` (start s)\n- `edges`: extra links (`from` `to` `label` `tone` `dash` `step`); dashed arrows (`dash: false` solid)\n- Schedules: `after: [\"id\", 
]` (arrow end→start), `progress` (0–100 %); `today` line; tick `unit`\n - `after` only between periods and milestones; `today` needs a period\n\nLayout:\n\n- `orient`: `h` (default) or `v`; `scale`: `time` (default) or `even` (very uneven gaps)\n- Events (no `end` or `lane`): axis dot plus date-and-name box, alternating sides (`v`: left/right); 2 rows when crowded\n- With periods: round ticks; event boxes all above the axis\n- Steps: time order, periods and events together; the axis comes with the first\n- `variant`: `fade` (default), `draw` (lines first, bands drawn), `grow` (boxes grow, bands stretch); same steps and end\n- Lecture view (`ctx.preview`): later items faint\n- `cues(k)`: start times of 2nd+ items in a step (for `{cue}`)"
1011
+ "entry": "### `<m-timeline>`\n\nData example (child `<script type=\"application/json\">`): `{\"nodes\":[{\"id\":\"a\",\"label\":\"Meiji Restoration\",\"when\":\"1868\",\"whenLabel\":\"Meiji 1\"},{\"id\":\"b\",\"label\":\"Constitution\",\"when\":\"1889\",\"note\":\"Feb 11\"},{\"id\":\"c\",\"label\":\"Sino-Japanese War\",\"when\":\"1894\",\"end\":\"1895\",\"tone\":\"emph\"}]}`\n\n| prop | type | default | meaning |\n|---|---|---|---|\n| `orient` | string | `\"h\"` | h or v |\n| `scale` | string | `\"time\"` | time or even |\n| `per-step` | number | `1` | events per step (0 = all) |\n| `size` | number | `26` | label px (shrinks to 24) |\n| `unit` | string | `\"\"` | ticks: day, week, month |\n| `today` | string | `\"\"` | today line (YYYY-MM-DD) |\n\nHistory, lives, schedules. No coordinates; content and times only.\n\n(`edges` optional).\n\n- `when`: number (`1868`, `-500`, `0.5`) or `\"YYYY\"` `\"YYYY-MM\"` `\"YYYY-MM-DD\"`; shown as the date line\n- `whenLabel`: text replacing the date (\"Meiji 1\"); `when` still sets position\n- `label` (`\\n`) or `tex` (KaTeX)\n- `note`: small last line in the box (`--muted`); after the name for periods/milestones\n- `tone`: `term` (default), `emph`, `muted`, `accent2`, `series-1..4`\n- `end`: period, a band below the axis; name inside (or beside); `\\n` names thicken it\n- `end` is exclusive: Meiji 1868–1912 and Taishō 1912–1926 share a row; through December = next month (`\"2027-01\"`)\n- `lane`: named group of rows (\"Eras\", \"Authors\"); overlaps stack within; `lane` without `end` = milestone (◆)\n- `step`, `at` (start s)\n- `edges`: extra links (`from` `to` `label` `tone` `dash` `step`); dashed arrows (`dash: false` solid)\n- Schedules: `after: [\"id\", 
]` (arrow end→start), `progress` (0–100 %); `today` line; tick `unit`\n - `after` only between periods and milestones; `today` needs a period\n\nLayout:\n\n- `orient`: `h` (default) or `v`; `scale`: `time` (default) or `even` (very uneven gaps)\n- Events (no `end` or `lane`): axis dot plus date-and-name box, alternating sides (`v`: left/right); 2 rows when crowded\n- With periods: round ticks; event boxes all above the axis\n- Steps: time order, periods and events together; the axis comes with the first\n- `variant`: `fade` (default), `draw` (lines first, bands drawn), `grow` (boxes grow, bands stretch); same steps and end\n- Show later steps faintly (`ctx.preview`): later items faint\n- `cues(k)`: start times of 2nd+ items in a step (for `{cue}`)"
1012
1012
  },
1013
1013
  "m-timer": {
1014
1014
  "set": "tools",
1015
- "row": "| `<m-timer>` | グルヌプワヌクの進行タむマヌ。区切りごずに残り時間を倧きく数え、区切りの䞀芧で今の区切りを瀺す | 0 準備の画面、区切り 1 ぀が 1 段階その長さ = sec 秒 | `{ready?:{title?:str,text?:str},phases:{title:str,short?:str,text?:str,sec:int,bells?:{left:int,count?:int}[]}[],bells?:{left:int,count?:int}[],done?:str,labels?:{ready?:str,total?:str,remaining?:str,done?:str,start?:str,next?:str,end?:str,min?:str,sec?:str,plus?:str,minus?:str}}` — phases is a list of {\"title\", \"sec\"} (sec: whole seconds, not \"3分\"); one phase per step |",
1016
- "entry": "### `<m-timer>`\n\nData example (child `<script type=\"application/json\">`): `{\"ready\":{\"title\":\"準備の確認\",\"text\":\"甚玙ずペンがそろっおいるか\"},\"phases\":[{\"title\":\"① 付箋に曞く\",\"short\":\"付箋に曞く\",\"sec\":180},{\"title\":\"② 島で遞ぶ\",\"short\":\"島で遞ぶ\",\"sec\":300}]}`\n\n| prop | type | default | meaning |\n|---|---|---|---|\n| `なし` | | | |\n\n䟝頌にグルヌプワヌク・䜜業時間・制限時間があるずきだけ䜿う。→ キヌで段階を進めるず数え始める。\n\n- 区切り`phases`は 8 ぀たで。`sec` は秒の敎数3 分なら 180。`short` は右の䞀芧に出す短い名前、`text` は 2 行たで\n- 最埌の 1 分は時蚈ず棒が匷調の色テヌマの `--emph`、最埌の 10 秒は時蚈が点滅\n- 字は `<html lang>` で日本語か英語。`labels` で倉えられる`ready` `total` `remaining` `done` `start` `next` `end` `min` `sec` `plus` `minus`\n- 実行系が察応しおいれば 1 分・−1 分のボタンが出る同じスラむドにいるあいだは延ばした時間が残る\n- ベル孊䌚タむマヌのように`\"bells\": [{\"left\": 300, \"count\": 1}, {\"left\": 120, \"count\": 2}, {\"left\": 0, \"count\": 3}]`残り秒ず回数。党䜓か区切りごずに曞く。曞かなければ鳎らない"
1015
+ "row": "| `<m-timer>` | グルヌプワヌクの進行タむマヌ。区切りごずに残り時間を倧きく数え、区切りの䞀芧で今の区切りを瀺す | 0 準備の画面、区切り 1 ぀が 1 ステップその長さ = sec 秒 | `{ready?:{title?:str,text?:str},phases:{title:str,short?:str,text?:str,sec:int,bells?:{left:int,count?:int}[]}[],bells?:{left:int,count?:int}[],done?:str,labels?:{ready?:str,total?:str,remaining?:str,done?:str,start?:str,next?:str,end?:str,min?:str,sec?:str,plus?:str,minus?:str}}` — phases is a list of {\"title\", \"sec\"} (sec: whole seconds, not \"3分\"); one phase per step |",
1016
+ "entry": "### `<m-timer>`\n\nData example (child `<script type=\"application/json\">`): `{\"ready\":{\"title\":\"準備の確認\",\"text\":\"甚玙ずペンがそろっおいるか\"},\"phases\":[{\"title\":\"① 付箋に曞く\",\"short\":\"付箋に曞く\",\"sec\":180},{\"title\":\"② 島で遞ぶ\",\"short\":\"島で遞ぶ\",\"sec\":300}]}`\n\n| prop | type | default | meaning |\n|---|---|---|---|\n| `なし` | | | |\n\n䟝頌にグルヌプワヌク・䜜業時間・制限時間があるずきだけ䜿う。→ キヌでステップを進めるず数え始める。\n\n- 区切り`phases`は 8 ぀たで。`sec` は秒の敎数3 分なら 180。`short` は右の䞀芧に出す短い名前、`text` は 2 行たで\n- 最埌の 1 分は時蚈ず棒が匷調の色テヌマの `--emph`、最埌の 10 秒は時蚈が点滅\n- 字は `<html lang>` で日本語か英語。`labels` で倉えられる`ready` `total` `remaining` `done` `start` `next` `end` `min` `sec` `plus` `minus`\n- 実行系が察応しおいれば 1 分・−1 分のボタンが出る同じスラむドにいるあいだは延ばした時間が残る\n- ベル孊䌚タむマヌのように`\"bells\": [{\"left\": 300, \"count\": 1}, {\"left\": 120, \"count\": 2}, {\"left\": 0, \"count\": 3}]`残り秒ず回数。党䜓か区切りごずに曞く。曞かなければ鳎らない"
1017
1017
  },
1018
1018
  "m-tree": {
1019
1019
  "set": "standard",
1020
1020
  "row": "| `<m-tree>` | Hierarchy tree (org chart, taxonomy), built level by level from the root; auto layout | depth (by=\"level\") or node count (by=\"node\"); or the largest step | `{nodes:{id:str\\|int,label?,tex?,note?,tone?,parent?:str\\|int,branch?:str,step?,at?}[],edges?:{from:str\\|int,to:str\\|int,label?,tone?,dash?:bool,step?,at?}[],path?:(str\\|int)[],pathStep?:int,pathNote?:str}` — exactly one node without parent (the root) |",
1021
- "entry": "### `<m-tree>`\n\nData example (child `<script type=\"application/json\">`): `{\"nodes\":[{\"id\":\"r\",\"label\":\"Animals\"},{\"id\":\"a\",\"label\":\"Vertebrates\",\"parent\":\"r\"},{\"id\":\"b\",\"label\":\"Invertebrates\",\"parent\":\"r\"}]}`\n\n| prop | type | default | meaning |\n|---|---|---|---|\n| `orient` | string | `\"down\"` | down (default) or right |\n| `by` | string | `\"level\"` | level (default) or node (depth-first) |\n| `link` | string | `\"elbow\"` | elbow (default) or straight |\n| `size` | number | `0` | box text px (0 = 27, shrink to 24) |\n\nParent–child structures (org charts, taxonomies, outlines). No coordinates; laid out without overlaps.\n\n(`edges` optional).\n\n- node: `id`, `label` (`\\n`) or `tex` (KaTeX), `parent` (parent `id`; exactly one root without `parent`), `note` (small, **under** box), `tone` (`term` default, `emph`, `muted`, `accent2`, `series-1..4`), `step`, `at` (start s)\n- Children in array order; parent centred over them\n- edge: extra links (`from` `to` `label` `tone` `dash` `step`), dashed arrow outside the tree; best at same depth; step: later end\n- Child `branch`: line text (e.g. probability). `path`: root-first `id`s highlighted in turn (default 1 step per line, after the tree; `pathStep`: in one step; `pathNote`: end note)\n- `orient=\"right\"` for wide taxonomies. `by=\"node\"`: one at a time, depth-first (to follow a branch). Node `step` wins\n- Lines `--muted`, 3 px; `tone: emph` box: `--emph-tint` fill\n- Fit (~440 px high): ~8 four-character boxes per level (`down`), ~7 (`right`); ~5 levels. More leaves: 2 staggered rows (~16 / ~11), then 2-line names. Text ≥ 24 px; overflow spills, reported. Too many: split\n- `variant`: `fade` (default), `draw` (lines first), `grow`\n- Lecture view (`ctx.preview`): later parts faint"
1021
+ "entry": "### `<m-tree>`\n\nData example (child `<script type=\"application/json\">`): `{\"nodes\":[{\"id\":\"r\",\"label\":\"Animals\"},{\"id\":\"a\",\"label\":\"Vertebrates\",\"parent\":\"r\"},{\"id\":\"b\",\"label\":\"Invertebrates\",\"parent\":\"r\"}]}`\n\n| prop | type | default | meaning |\n|---|---|---|---|\n| `orient` | string | `\"down\"` | down (default) or right |\n| `by` | string | `\"level\"` | level (default) or node (depth-first) |\n| `link` | string | `\"elbow\"` | elbow (default) or straight |\n| `size` | number | `0` | box text px (0 = 27, shrink to 24) |\n\nParent–child structures (org charts, taxonomies, outlines). No coordinates; laid out without overlaps.\n\n(`edges` optional).\n\n- node: `id`, `label` (`\\n`) or `tex` (KaTeX), `parent` (parent `id`; exactly one root without `parent`), `note` (small, **under** box), `tone` (`term` default, `emph`, `muted`, `accent2`, `series-1..4`), `step`, `at` (start s)\n- Children in array order; parent centred over them\n- edge: extra links (`from` `to` `label` `tone` `dash` `step`), dashed arrow outside the tree; best at same depth; step: later end\n- Child `branch`: line text (e.g. probability). `path`: root-first `id`s highlighted in turn (default 1 step per line, after the tree; `pathStep`: in one step; `pathNote`: end note)\n- `orient=\"right\"` for wide taxonomies. `by=\"node\"`: one at a time, depth-first (to follow a branch). Node `step` wins\n- Lines `--muted`, 3 px; `tone: emph` box: `--emph-tint` fill\n- Fit (~440 px high): ~8 four-character boxes per level (`down`), ~7 (`right`); ~5 levels. More leaves: 2 staggered rows (~16 / ~11), then 2-line names. Text ≥ 24 px; overflow spills, reported. Too many: split\n- `variant`: `fade` (default), `draw` (lines first), `grow`\n- Show later steps faintly (`ctx.preview`): later parts faint"
1022
1022
  },
1023
1023
  "m-venn": {
1024
1024
  "set": "standard",
@@ -1032,7 +1032,7 @@ export const PACK = {
1032
1032
  "extHead": "### `<{name}>`: extension for this part set (the part is described in §3)"
1033
1033
  },
1034
1034
  "ja": {
1035
- "common": "# AI ぞの指瀺\n\n指瀺の版`dec25cea`\n\n短い **Egatari の教材**を 1 ぀曞いおください。ステップごずに出る HTML のスラむド`deck.html`ず台本`narration.md`で、どちらも自動で組たれ、品質チェックを受けたす。ここにないものは䜿えたせん。教材は頌たれた蚀語で曞きたすスラむドず台本は同じ蚀語。芏栌には **R-fit** のような名前があり、修正䟝頌は砎った芏栌を名前で瀺したす。䟝頌は最埌の **頌みたいこず**かその前の䌚話にありたす。空の項目やない項目はほどよく決め、A ず B が䞡方残っおいれば曞き蟌みのある方に埓いたす。\n\n**よくある倱敗**\n\n- **2 ぀の灰色の枠コヌドブロックはどちらも最埌たで曞いお閉じる。**コヌドブロックの途䞭で終わらないR-output。構成案がなければ、教材は短くする5〜8 枚。頌む文に構成案ずその範囲があれば、その範囲のスラむドをちょうどその枚数だけ曞く゚ディタは 1 回に 6 枚たでしか頌たないので、収たる\n- **1280×720 のスラむドの倧きさ**品質チェックが枬る。R-fit本文の堎所は 1184 × 443 px565 px たで。`noconcl` なら 1184 × 558。字は 32 px・1 行 46 px で、入るのは**およそ 8 行**。はみ出す 46 px ごずに 1 行を削る。**図やパヌツの䞭も含め、字はすべお 24 px 以䞊**\n- **グラフず図**パヌツは倧きさによらず字を 24〜28 px で描くので、決めるのはパヌツの倧きさR-fit\n- **その堎で曞く `<svg>`**字は「衚瀺の幅 ÷ viewBox の幅」で瞮むので、viewBox を衚瀺の画玠で曞く`<svg viewBox=\"0 0 560 320\" width=\"560\" height=\"320\">`。`font-size` は 24 以䞊。`width:100%` ず別の幅の viewBox を組み合わせない。合うパヌツがあればパヌツを䜿う\n\n## 1. 出力の圢\n\n- **R-output** 返事は**ちょうど 2 ぀のコヌドブロック**にし、この順で、名前を `deck.html` ず `narration.md` にする始たりの行は ```` ```deck.html ```` ず ```` ```narration.md ````。間には䜕も曞かない前埌に 1 行の添え曞きはよい。1 ぀のファむルを耇数のコヌドブロックに分けない。ファむル・キャンバス・添付にせず、返事の本文に曞く。ほかのファむルを参照しない画像・`{{FIG:
}}`・`{{JSON:
}}`・倖の URL・`<link>` は䜿わない。コヌドブロックの途䞭で終わらない長すぎるなら枚数を枛らす。ただし構成案の範囲を頌たれたら、ちょうどその枚数\n- **R-outline** **構成案だけ**を頌たれたら長い教材を 2 回に分けお䜜るずき、`outline` ずいう名前のコヌドブロック 1 ぀始たりの行は ```` ```outline ````だけで返し、`deck.html` ず `narration.md` は曞かない列が「番号」「芋出し」「芁点1 行」の Markdown の衚で、スラむドごずに 1 行、党スラむドを順に。その埌の頌む文は範囲を瀺す「構成案の 7〜12 枚目」ので、その芋出しず芁点のずおりに、ちょうどそのスラむドを曞く\n- **R-noids** スラむドの id を**曞かない**。`<section class=\"slide\">` に `id` を付けず、台本の芋出しにも `{#
}` を付けない。id は取り蟌みで゚ディタが付ける。id のある教材を枡されたずき修正䟝頌は、今ある `id=\"
\"` ず `{#
}` をそのたた残す\n\n## 2. deck.html\n\n### 2.1 骚組み\n\n```html\n<!DOCTYPE html>\n<html lang=\"ja\" data-theme=\"default\">\n<head>\n<meta charset=\"utf-8\">\n<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n<title>教材の題名</title>\n</head>\n<body>\n<div id=\"stage\">\n <section class=\"slide cover noconcl static\"> 
 </section>\n <section class=\"slide\"> 
 </section>\n</div>\n</body>\n</html>\n```\n\n- `lang``ja`・`en` など教材の蚀語。`data-theme`ビゞネス・ピッチは `sumi`、囜語は `kokugo`、ほかは `default`\n- `<script>` はパヌツのデヌタ§2.6だけ。`<style>` は配眮倧きさ・間隔だけに䜿い、色は曞かない\n\n### 2.2 スラむド\n\n- 普通のスラむド`<h2>` の芋出し、`<div class=\"body\">
</div>`、`<div class=\"concl\"><span>
</span></div>`結論の行。短い 1 文\n- 衚玙`<section class=\"slide cover noconcl static\">` に、あれば `<div class=\"venue\">
</div>`、`<h1>題名</h1>`、あれば `<div class=\"au\">
</div>`\n- 章の扉`<section class=\"slide sec noconcl static\"><h1>章の題</h1></section>`\n- `<section>` の class`noconcl`結論の行なし、`static`ステップなし、`nostep`箇条曞きも初めから党郚、`layout-tate`瞊曞き。kokugo の束があるずきだけ、属性 `data-morph`§2.5\n- `.body` の䞭`<p class=\"sub\">` 小芋出し、`<div class=\"big\">` 䞻芁な匏、`<p class=\"note\">` 補足、`<div class=\"thm\">` 定理の枠、`<div class=\"cols\">` 暪䞊び、普通の `<p>` `<ul>` `<ol>` `<table>`\n- 字の匷調色を付ける唯䞀の方法`term`甚語・問い、`emph`結論・問題・目暙、`muted`既知の結果・控えめ、`b`倪字\n- **R-headings** スラむドの芋出し衚玙ず扉は `h1`、ほかは `h2`は**すべお違う**ものにする同じなら語を足す。そのスラむドの台本の節は `## ` に続けお**芋出しずたったく同じ文字列**で始める`<br>` などのタグは陀く\n- **R-colors** 色はテヌマだけで䞊の class ず匏のマクロ `\\hlE` `\\hlT` `\\hlM`。16 進・`rgb()`・色の名前・`\\color`・`\\textcolor` は䜿わない。パヌツや SVG の䞭では**色はテヌマの CSS 倉数だけ**を䜿う`var(--fg)` `var(--term)` `var(--emph)` `var(--muted)` `var(--accent2)` `var(--line)`。SVG では属性ではなく `style=\"stroke:var(--emph)\"` で曞く`DECK.el` は `fill` `stroke` に `var(` があれば自動で style に回す\n\n### 2.3 ステップ出す順 = 話す順\n\n- **R-steps** ステップ 0 は珟れたずきの姿で、文脈だけ芋出し・小芋出し・導入の 1 文。`data-step=\"k\"`k = 1, 2,  の芁玠はステップ k で珟れる。材料箇条曞きの項目・匏・衚の行・図の郚分は話す順に出す。匏ずそれを導く 1 文は同じステップ`<div data-step=\"k\">` で䞀緒に囲む。1 枚のステップの数は 5 前埌たで\n- 結論の行は自動で**最埌のステップ** `concl` になる`data-step` を付けない\n- `data-step` が 1 ぀もないスラむドでは、䞊の階局の箇条曞きの項目`.body > ul > li`・`.body > ol > li`に 1, 2, 
 が自動で付く。1 ぀でもあれば自動にならないので、出すものすべおに付ける\n- パヌツは自分のステップを足す§3。`data-from`既定 1から始たる\n- ぀たりステップは `0 
 max` ず、結論の行があれば `concl`。`static` のスラむドはステップ 0 だけ\n\n### 2.4 数匏KaTeX\n\n- **R-math** 行内は `\\( 
 \\)`、別行は `\\[ 
 \\]`。匏の䞭の `<` は `\\lt`、`>` は `\\gt`。暙準のほかに䜿えるマクロ`\\hlE{
}`emph`\\hlT{
}`term`\\hlM{
}`muted、`\\htmlId{ID}{
}`、`\\htmlData{mark=ID}{
}`、`\\htmlClass{
}{
}`、`\\morph{ID}{
}`。`\\newcommand` ず `\\color` は䜿わない。蚘号は最初に䜿う所で定矩する`\\(\\mu\\)`母平均\n\n### 2.5 匷調ずモヌフ\n\n- **R-marks** 台本の `{mark:ID}`§4は、**同じスラむド**の目印に印を付ける。目印スラむドの䞭の `id=\"ID\"` か `data-mark=\"ID\"` の芁玠。匏の䞀郚は KaTeX の `\\htmlId{ID}{
}` / `\\htmlData{mark=ID}{
}`build はこの 2 ぀ず `\\htmlClass` だけを蚱す。同じ ID を䜕枚かで䜿うなら `data-mark` にするid は文曞の䞭で䞀意に\n- モヌフなくおよい`<section class=\"slide\" data-morph>` は前のスラむドの芁玠を今の䜍眮ぞ滑らせる。䞡方のスラむドの芁玠に同じ `data-id=\"
\"`、匏の䞀郚は䞡方に `\\morph{ID}{
}`。ステップ 0 で芋えおいる芁玠だけが動く\n\n### 2.6 パヌツ\n\n- **R-components** 動く図は䞀芧§3の Web Components `<m-
>` で、`.body` の䞭に眮く。どれにも高さ`style=\"height:380px\"`ず `aria-label` を付ける。デヌタは子の `<script type=\"application/json\">
</script>` **1 ぀**にその堎で曞く。**図の数字は正しく**蚈算する。芋た目のために倀を䜜らない。架空の数字は架空ず曞く。関数の匏は算術の匏だけで、コヌドずしおは実行されない`Math.exp(x)`・`x**2`。動きが説明になる所だけに䜿うたいおいのスラむドには芁らない\n\n### 2.7 衚し方を遞ぶ\n\n- **R-purpose** 衚し方は習慣でなく、そのスラむドで蚀いたいこずから遞ぶ。䜜者がグラフの皮類を蚀っおいればそれに埓う。衚は党パヌツの䞀芧を兌ねる。䜿うのは枡された文章にあるパヌツだけ§3 ず、入っおいる束。入っおいないパヌツの方が合うずきは、1 行のメモでそう䌝える\n\n{{PURPOSES}}\n\n- **R-whole** 箇条曞き・数字の札・円グラフは党䜓を䞀床に芋せる。台本が 1 ぀ず぀取り䞊げるずきだけ 1 行ず぀出す箇条曞きなら党䜓に 1 ぀の `data-step` を付けるか、スラむドに `nostep`\n\n### 2.8 スラむドに収める品質チェックの゚ラヌ\n\n- **R-title** 芋出し日本語は 26 字たで党角 1・半角 0.5、英語は 60 文字たで。コロンで終えない\n- **R-concl** 結論の行日本語は 35 字たで、英語は 70 文字たで。1 行\n- **R-fit** 本文は 565 px`noconcl` なら 680 pxより䞊で終える1 枚におよそ 8 行・100 字・英語 60 語、たたは `big` の匏 1 ぀ず短い箇条曞き 3 ぀、たたは高さ 380 px たでのパヌツず短い 1 行2 行なら 330 px たで。入らなければスラむドを分ける。字を瞮めず、字の倧きさを曞かない。図の䞭の字は 24 px 以䞊\n- **R-style** 日本語のスラむドは垞䜓だ・である、䜓蚀止めで、です・たす を䜿わない。句読点は教材党䜓で 1 ぀の組`、。` か ``。英語のスラむドは短い句で\n\n## 3. パヌツの䞀芧\n\nどの教材でも䜿える暙準のパヌツ。§6 の埌に束の指瀺があれば、その皮類の材料のパヌツが加わる。「steps」はパヌツが䜿うスラむドのステップの数`data-from` から。既定 1。秒で枬る属性動きの長さ・ずれは茉せない既定で台本に合う。型が json の属性は、倀に JSON を曞く`values=\"[0.1,0.5]\"`。「デヌタの圢」の `?` は省略できる欄。型を曞いおいない label・tex・note・tone は str、step は int、at は num。名前やラベルの `*
*` は斜䜓、`_` `^` は次の 1 字だけ䞋付き・䞊付き。蚘号のたた出すなら党角の   。\n\n{{CATALOG}}\n\n## 4. narration.md\n\n```markdown\n# 台本<教材の題名>\n\n## 枛衰の匏\n[0] 枛衰の匏です。時刻ごずに残っおいる原子の数を考えたす。\n[1] 残る数は、はじめの数に、時間ずずもに小さくなる指数関数を掛けたものです。\n[2] {mark:n0|circle}{N₀|゚ヌれロ} は、時刻れロのずきの、はじめの数です。\n[concl] 半分になるたでの時間は、厩壊定数だけで決たりたす。\n```\n\n- スラむドごずに 1 ぀の節を、**スラむドの順に、すべおのスラむド衚玙もに぀いお**`## <スラむドの芋出し>`R-headings。`{#id}` は付けないR-noids\n- **R-narr-steps** ステップの指定は `[0]` `[1]` 
 ず `[concl]`。**どのスラむドのどのステップにも台本を曞き**ステップ 0 から max たで、結論の行があれば `[concl]`、**ないステップの指定は曞かない**`static` の衚玙は `[0]` だけ。結論の行がなければ `[concl]` もない。`[01]` ずは曞かない。ステップの䞭では、そのステップで珟れるものだけを話す\n- **R-dialogue** **既定は話者 1 人**で、話者名を曞かない。掛け合いは頌たれたずきだけ3 人以䞊を頌たれおも 2 圹にし、最初にそう曞く行を `Expert:` か `Novice:` で始め続きの行は字䞋げ。話者なしは Expert、認知的埒匟制の圢にする\n - Novice は盞づち圹にせず、孊習者の疑問を代匁するか、「぀たり〜ずいうこずですか」ず蚀い換える\n - Expert は答えお具䜓䟋か比喩を 1 ぀足すか、蚀い換えを確かめお違えば盎しお1 歩進める\n - 理解の分かれ目誀解しやすい所、「なぜ」が残る所にだけ、1 枚に 1 回・2〜3 発蚀たで。ほかは Expert 1 人\n - 「なるほど」だけの発蚀、前の発蚀のくり返しは曞かない。䟋`Novice: ぀たり、倧きいほど早く着くのですか。` `Expert: い぀もではありたせん。倧きすぎるず谷を飛び越えたす。倧股で坂を䞋りすぎお、向こうの斜面に足が着くように。`\n- `{note:
}` 発衚者甚\n- `{cue}`ステップの䞭の同期点。パヌツの `cues(k)` の 1 ぀に 1 ぀パヌツの説明が求めるずきだけ\n- `{mark:ID}`・`{mark:ID|効果}`・`{mark:ID|効果|hold=秒}`・`{mark:clear}`目印のこずを蚀う蚀葉の**すぐ前**に眮く。1 ステップに 1〜2 個たで。蚀葉でも蚀う。効果`underline`既定。手描きの䞋線を巊から右ぞ、`circle`手描きの囲み、`box`角䞞の枠、`spot`察象のたわり以倖を背景色で薄くする、`laser`光の点が察象の䞋ぞ滑っおきお少し留たる\n- **R-reading** `{衚瀺|読み}` は **1 ぀の蚘号か 1 ぀の甚語**の読み`{Ξ|シヌタ}`、`{N₀|゚ヌれロ}`、`{論語|ろんご}`。1 ぀の蚘号に星・プラむム・添え字・ハットやバヌが付いおいおもよい`{Q*|キュヌスタヌ}`、`{Ξ̂|シヌタハット}`。衚瀺は普通の文字で曞き、LaTeX にせず、匏やいく぀もの蚘号にしない`{1-η|
}`・`{Ξずη|
}` は誀り蚘号ごずに読みを付け、関係は蚀葉で蚀う\n- **R-formula** **匏を読み䞊げない**台本に LaTeX・`\\`・`^`・`_`・`a + b = c` のような文字列を曞かない。匏の意味を蚀葉で蚀う§4 の芋本の [1]\n- 日本語の台本は話し蚀葉の です・たす。英語は話し蚀葉の英語。目安は 1 秒に日本語 5 字・英語 2.5 語。1 回の発蚀は 1〜3 文\n\n## 5. 修正䟝頌\n\n利甚者が**修正䟝頌**芏栌の名前の付いた指摘の䞀芧ず、今のファむルを貌り付けたら、その指摘だけを盎し、ほかは倉えず、`id=\"
\"` ず `{#
}` をすべおそのたた残しR-noids、たた 2 ぀のコヌドブロックで返すR-output。䟝頌に䞀郚のスラむドしかなければ、そのスラむドの `<section>` だけ`<html>` なしずその節だけを 2 ぀のコヌドブロックで返す゚ディタが id で元の堎所に戻す。\n\n## 6. 芋本\n\n小さな教材の芋本架空。圢を芋るためで、䞭身は写さない。ステップの数え方2 項目の箇条曞きはステップ 1〜2 ず `[concl]`<!--part:m-flow-->、箱が 4 ぀の `m-flow` はステップ 1〜4<!--/part-->。いく぀かの束の指瀺の最埌にも芋本がある。\n\n### 共通英語・default テヌマ・匷調<!--part:m-flow-->・m-flow<!--/part-->\n\n```deck.html\n<!DOCTYPE html>\n<html lang=\"en\" data-theme=\"default\">\n<head>\n<meta charset=\"utf-8\">\n<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n<title>How a web page arrives</title>\n</head>\n<body>\n<div id=\"stage\">\n\n<section class=\"slide cover noconcl static\">\n <div class=\"venue\">Computing basics, lesson 1 (a fictional course)</div>\n <h1>How a web page arrives</h1>\n</section>\n\n<section class=\"slide\">\n <h2>Two programs take part</h2>\n <div class=\"body\">\n <p>Opening a page is a conversation between two programs.</p>\n <ul>\n <li id=\"browser\">The <span class=\"term\">browser</span> asks for the page and draws it</li>\n <li id=\"server\">The <span class=\"term\">server</span> keeps the page and sends it back</li>\n </ul>\n </div>\n <div class=\"concl\"><span>Every page load is a request and a reply</span></div>\n</section><!--part:m-flow-->\n\n<section class=\"slide\">\n <h2>From the address to the screen</h2>\n <div class=\"body\">\n <m-flow style=\"height:300px\" aria-label=\"Four stages: type the address, send a request, send the page back, draw the page\">\n <script type=\"application/json\">{\"nodes\": [\n {\"id\": \"a\", \"label\": \"Type the\\naddress\", \"x\": 10, \"y\": 100, \"w\": 250, \"h\": 110, \"step\": 1},\n {\"id\": \"b\", \"label\": \"Send a\\nrequest\", \"x\": 315, \"y\": 100, \"w\": 250, \"h\": 110, \"step\": 2},\n {\"id\": \"c\", \"label\": \"Send the\\npage back\", \"x\": 620, \"y\": 100, \"w\": 250, \"h\": 110, \"step\": 3, \"tone\": \"term\"},\n {\"id\": \"d\", \"label\": \"Draw the\\npage\", \"x\": 925, \"y\": 100, \"w\": 250, \"h\": 110, \"step\": 4, \"tone\": \"emph\"}\n ], \"edges\": [\n {\"from\": \"a\", \"to\": \"b\"}, {\"from\": \"b\", \"to\": \"c\"}, {\"from\": \"c\", \"to\": \"d\"}\n ]}</script>\n </m-flow>\n </div>\n <div class=\"concl\"><span>A slow page is slow in one of these four stages</span></div>\n</section><!--/part-->\n\n</div>\n</body>\n</html>\n```\n\n```narration.md\n# Narration: How a web page arrives\n\n## How a web page arrives\n[0] Today we follow a web page on its way from a server to your screen.\n\n## Two programs take part\n[0] Opening a page is a conversation between two programs.\n[1] {mark:browser}The browser is the program you look at. It asks for the page and then draws it.\n[2] {mark:server}The server is a program on another computer. It keeps the page and sends it back when asked.\n[concl] Every page load is a request and a reply.<!--part:m-flow-->\n\n## From the address to the screen\n[0] Let us put the steps in order.\n[1] First you type the address of the page.\n[2] The browser turns it into a request and sends it to the server.\n[3] The server finds the page and sends it back.\n[4] The browser draws the page on the screen.\n[concl] When a page is slow, one of these four stages is taking the time.<!--/part-->\n```",
1035
+ "common": "# AI ぞの指瀺\n\n指瀺の版`67a95271`\n\n短い **Egatari の教材**を 1 ぀曞いおください。ステップごずに出る HTML のスラむド`deck.html`ず台本`narration.md`で、どちらも自動で組たれ、品質チェックを受けたす。ここにないものは䜿えたせん。教材は頌たれた蚀語で曞きたすスラむドず台本は同じ蚀語。芏栌には **R-fit** のような名前があり、修正䟝頌は砎った芏栌を名前で瀺したす。䟝頌は最埌の **頌みたいこず**かその前の䌚話にありたす。空の項目やない項目はほどよく決め、A ず B が䞡方残っおいれば曞き蟌みのある方に埓いたす。\n\n**よくある倱敗**\n\n- **2 ぀の灰色の枠コヌドブロックはどちらも最埌たで曞いお閉じる。**コヌドブロックの途䞭で終わらないR-output。構成案がなければ、教材は短くする5〜8 枚。頌む文に構成案ずその範囲があれば、その範囲のスラむドをちょうどその枚数だけ曞く゚ディタは 1 回に 6 枚たでしか頌たないので、収たる\n- **1280×720 のスラむドの倧きさ**品質チェックが枬る。R-fit本文の堎所は 1184 × 443 px565 px たで。`noconcl` なら 1184 × 558。字は 32 px・1 行 46 px で、入るのは**およそ 8 行**。はみ出す 46 px ごずに 1 行を削る。**図やパヌツの䞭も含め、字はすべお 24 px 以䞊**\n- **グラフず図**パヌツは倧きさによらず字を 24〜28 px で描くので、決めるのはパヌツの倧きさR-fit\n- **その堎で曞く `<svg>`**字は「衚瀺の幅 ÷ viewBox の幅」で瞮むので、viewBox を衚瀺の画玠で曞く`<svg viewBox=\"0 0 560 320\" width=\"560\" height=\"320\">`。`font-size` は 24 以䞊。`width:100%` ず別の幅の viewBox を組み合わせない。合うパヌツがあればパヌツを䜿う\n\n## 1. 出力の圢\n\n- **R-output** 返事は**ちょうど 2 ぀のコヌドブロック**にし、この順で、名前を `deck.html` ず `narration.md` にする始たりの行は ```` ```deck.html ```` ず ```` ```narration.md ````。間には䜕も曞かない前埌に 1 行の添え曞きはよい。1 ぀のファむルを耇数のコヌドブロックに分けない。ファむル・キャンバス・添付にせず、返事の本文に曞く。ほかのファむルを参照しない画像・`{{FIG:
}}`・`{{JSON:
}}`・倖の URL・`<link>` は䜿わない。コヌドブロックの途䞭で終わらない長すぎるなら枚数を枛らす。ただし構成案の範囲を頌たれたら、ちょうどその枚数\n- **R-outline** **構成案だけ**を頌たれたら長い教材を 2 回に分けお䜜るずき、`outline` ずいう名前のコヌドブロック 1 ぀始たりの行は ```` ```outline ````だけで返し、`deck.html` ず `narration.md` は曞かない列が「番号」「芋出し」「芁点1 行」の Markdown の衚で、スラむドごずに 1 行、党スラむドを順に。その埌の頌む文は範囲を瀺す「構成案の 7〜12 枚目」ので、その芋出しず芁点のずおりに、ちょうどそのスラむドを曞く\n- **R-noids** スラむドの id を**曞かない**。`<section class=\"slide\">` に `id` を付けず、台本の芋出しにも `{#
}` を付けない。id は取り蟌みで゚ディタが付ける。id のある教材を枡されたずき修正䟝頌は、今ある `id=\"
\"` ず `{#
}` をそのたた残す\n\n## 2. deck.html\n\n### 2.1 骚組み\n\n```html\n<!DOCTYPE html>\n<html lang=\"ja\" data-theme=\"default\">\n<head>\n<meta charset=\"utf-8\">\n<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n<title>教材の題名</title>\n</head>\n<body>\n<div id=\"stage\">\n <section class=\"slide cover noconcl static\"> 
 </section>\n <section class=\"slide\"> 
 </section>\n</div>\n</body>\n</html>\n```\n\n- `lang``ja`・`en` など教材の蚀語。`data-theme`ビゞネス・ピッチは `sumi`、囜語は `kokugo`、ほかは `default`\n- `<script>` はパヌツのデヌタ§2.6だけ。`<style>` は配眮倧きさ・間隔だけに䜿い、色は曞かない\n\n### 2.2 スラむド\n\n- 普通のスラむド`<h2>` の芋出し、`<div class=\"body\">
</div>`、`<div class=\"concl\"><span>
</span></div>`結論の行。短い 1 文\n- 衚玙`<section class=\"slide cover noconcl static\">` に、あれば `<div class=\"venue\">
</div>`、`<h1>題名</h1>`、あれば `<div class=\"au\">
</div>`\n- 章の扉`<section class=\"slide sec noconcl static\"><h1>章の題</h1></section>`\n- `<section>` の class`noconcl`結論の行なし、`static`ステップなし、`nostep`箇条曞きも初めから党郚、`layout-tate`瞊曞き。kokugo の束があるずきだけ、属性 `data-morph`§2.5\n- `.body` の䞭`<p class=\"sub\">` 小芋出し、`<div class=\"big\">` 䞻芁な匏、`<p class=\"note\">` 補足、`<div class=\"thm\">` 定理の枠、`<div class=\"cols\">` 暪䞊び、普通の `<p>` `<ul>` `<ol>` `<table>`\n- 字の匷調色を付ける唯䞀の方法`term`甚語・問い、`emph`結論・問題・目暙、`muted`既知の結果・控えめ、`b`倪字\n- **R-headings** スラむドの芋出し衚玙ず扉は `h1`、ほかは `h2`は**すべお違う**ものにする同じなら語を足す。そのスラむドの台本の節は `## ` に続けお**芋出しずたったく同じ文字列**で始める`<br>` などのタグは陀く\n- **R-colors** 色はテヌマだけで䞊の class ず匏のマクロ `\\hlE` `\\hlT` `\\hlM`。16 進・`rgb()`・色の名前・`\\color`・`\\textcolor` は䜿わない。パヌツや SVG の䞭では**色はテヌマの CSS 倉数だけ**を䜿う`var(--fg)` `var(--term)` `var(--emph)` `var(--muted)` `var(--accent2)` `var(--line)`。SVG では属性ではなく `style=\"stroke:var(--emph)\"` で曞く`DECK.el` は `fill` `stroke` に `var(` があれば自動で style に回す\n\n### 2.3 ステップ出す順 = 話す順\n\n- **R-steps** ステップ 0 は珟れたずきの姿で、文脈だけ芋出し・小芋出し・導入の 1 文。`data-step=\"k\"`k = 1, 2,  の芁玠はステップ k で珟れる。材料箇条曞きの項目・匏・衚の行・図の郚分は話す順に出す。匏ずそれを導く 1 文は同じステップ`<div data-step=\"k\">` で䞀緒に囲む。1 枚のステップの数は 5 前埌たで\n- 結論の行は自動で**最埌のステップ** `concl` になる`data-step` を付けない\n- `data-step` が 1 ぀もないスラむドでは、䞊の階局の箇条曞きの項目`.body > ul > li`・`.body > ol > li`に 1, 2, 
 が自動で付く。1 ぀でもあれば自動にならないので、出すものすべおに付ける\n- パヌツは自分のステップを足す§3。`data-from`既定 1から始たる\n- ぀たりステップは `0 
 max` ず、結論の行があれば `concl`。`static` のスラむドはステップ 0 だけ\n\n### 2.4 数匏KaTeX\n\n- **R-math** 行内は `\\( 
 \\)`、別行は `\\[ 
 \\]`。匏の䞭の `<` は `\\lt`、`>` は `\\gt`。暙準のほかに䜿えるマクロ`\\hlE{
}`emph`\\hlT{
}`term`\\hlM{
}`muted、`\\htmlId{ID}{
}`、`\\htmlData{mark=ID}{
}`、`\\htmlClass{
}{
}`、`\\morph{ID}{
}`。`\\newcommand` ず `\\color` は䜿わない。蚘号は最初に䜿う所で定矩する`\\(\\mu\\)`母平均\n\n### 2.5 匷調ずモヌフ\n\n- **R-marks** 台本の `{mark:ID}`§4は、**同じスラむド**の目印に印を付ける。目印スラむドの䞭の `id=\"ID\"` か `data-mark=\"ID\"` の芁玠。匏の䞀郚は KaTeX の `\\htmlId{ID}{
}` / `\\htmlData{mark=ID}{
}`build はこの 2 ぀ず `\\htmlClass` だけを蚱す。同じ ID を䜕枚かで䜿うなら `data-mark` にするid は文曞の䞭で䞀意に\n- モヌフなくおよい`<section class=\"slide\" data-morph>` は前のスラむドの芁玠を今の䜍眮ぞ滑らせる。䞡方のスラむドの芁玠に同じ `data-id=\"
\"`、匏の䞀郚は䞡方に `\\morph{ID}{
}`。ステップ 0 で芋えおいる芁玠だけが動く\n\n### 2.6 パヌツ\n\n- **R-components** 動く図は䞀芧§3の Web Components `<m-
>` で、`.body` の䞭に眮く。どれにも高さ`style=\"height:380px\"`ず `aria-label` を付ける。デヌタは子の `<script type=\"application/json\">
</script>` **1 ぀**にその堎で曞く。**図の数字は正しく**蚈算する。芋た目のために倀を䜜らない。架空の数字は架空ず曞く。関数の匏は算術の匏だけで、コヌドずしおは実行されない`Math.exp(x)`・`x**2`。動きが説明になる所だけに䜿うたいおいのスラむドには芁らない\n\n### 2.7 衚し方を遞ぶ\n\n- **R-purpose** 衚し方は習慣でなく、そのスラむドで蚀いたいこずから遞ぶ。䜜者がグラフの皮類を蚀っおいればそれに埓う。衚は党パヌツの䞀芧を兌ねる。䜿うのは枡された文章にあるパヌツだけ§3 ず、入っおいる束。入っおいないパヌツの方が合うずきは、1 行のメモでそう䌝える\n\n{{PURPOSES}}\n\n- **R-whole** 箇条曞き・数字の札・円グラフは党䜓を䞀床に芋せる。台本が 1 ぀ず぀取り䞊げるずきだけ 1 行ず぀出す箇条曞きなら党䜓に 1 ぀の `data-step` を付けるか、スラむドに `nostep`\n\n### 2.8 スラむドに収める品質チェックの゚ラヌ\n\n- **R-title** 芋出し日本語は 26 字たで党角 1・半角 0.5、英語は 60 文字たで。コロンで終えない\n- **R-concl** 結論の行日本語は 35 字たで、英語は 70 文字たで。1 行\n- **R-fit** 本文は 565 px`noconcl` なら 680 pxより䞊で終える1 枚におよそ 8 行・100 字・英語 60 語、たたは `big` の匏 1 ぀ず短い箇条曞き 3 ぀、たたは高さ 380 px たでのパヌツず短い 1 行2 行なら 330 px たで。入らなければスラむドを分ける。字を瞮めず、字の倧きさを曞かない。図の䞭の字は 24 px 以䞊\n- **R-style** 日本語のスラむドは垞䜓だ・である、䜓蚀止めで、です・たす を䜿わない。句読点は教材党䜓で 1 ぀の組`、。` か ``。英語のスラむドは短い句で\n\n## 3. パヌツの䞀芧\n\nどの教材でも䜿える暙準のパヌツ。§6 の埌に束の指瀺があれば、その皮類の材料のパヌツが加わる。「steps」はパヌツが䜿うスラむドのステップの数`data-from` から。既定 1。秒で枬る属性動きの長さ・ずれは茉せない既定で台本に合う。型が json の属性は、倀に JSON を曞く`values=\"[0.1,0.5]\"`。「デヌタの圢」の `?` は省略できる欄。型を曞いおいない label・tex・note・tone は str、step は int、at は num。名前やラベルの `*
*` は斜䜓、`_` `^` は次の 1 字だけ䞋付き・䞊付き。蚘号のたた出すなら党角の   。\n\n{{CATALOG}}\n\n## 4. narration.md\n\n```markdown\n# 台本<教材の題名>\n\n## 枛衰の匏\n[0] 枛衰の匏です。時刻ごずに残っおいる原子の数を考えたす。\n[1] 残る数は、はじめの数に、時間ずずもに小さくなる指数関数を掛けたものです。\n[2] {mark:n0|circle}{N₀|゚ヌれロ} は、時刻れロのずきの、はじめの数です。\n[concl] 半分になるたでの時間は、厩壊定数だけで決たりたす。\n```\n\n- スラむドごずに 1 ぀の節を、**スラむドの順に、すべおのスラむド衚玙もに぀いお**`## <スラむドの芋出し>`R-headings。`{#id}` は付けないR-noids\n- **R-narr-steps** ステップの指定は `[0]` `[1]` 
 ず `[concl]`。**どのスラむドのどのステップにも台本を曞き**ステップ 0 から max たで、結論の行があれば `[concl]`、**ないステップの指定は曞かない**`static` の衚玙は `[0]` だけ。結論の行がなければ `[concl]` もない。`[01]` ずは曞かない。ステップの䞭では、そのステップで珟れるものだけを話す\n- **R-dialogue** **既定は話者 1 人**で、話者名を曞かない。掛け合いは頌たれたずきだけ3 人以䞊を頌たれおも 2 圹にし、最初にそう曞く行を `Expert:` か `Novice:` で始め続きの行は字䞋げ。話者なしは Expert、認知的埒匟制の圢にする\n - Novice は盞づち圹にせず、孊習者の疑問を代匁するか、「぀たり〜ずいうこずですか」ず蚀い換える\n - Expert は答えお具䜓䟋か比喩を 1 ぀足すか、蚀い換えを確かめお違えば盎しお1 歩進める\n - 理解の分かれ目誀解しやすい所、「なぜ」が残る所にだけ、1 枚に 1 回・2〜3 発蚀たで。ほかは Expert 1 人\n - 「なるほど」だけの発蚀、前の発蚀のくり返しは曞かない。䟋`Novice: ぀たり、倧きいほど早く着くのですか。` `Expert: い぀もではありたせん。倧きすぎるず谷を飛び越えたす。倧股で坂を䞋りすぎお、向こうの斜面に足が着くように。`\n- `{note:
}` 発衚者甚\n- `{cue}`ステップの䞭の同期点。パヌツの `cues(k)` の 1 ぀に 1 ぀パヌツの説明が求めるずきだけ\n- `{mark:ID}`・`{mark:ID|効果}`・`{mark:ID|効果|hold=秒}`・`{mark:clear}`目印のこずを蚀う蚀葉の**すぐ前**に眮く。1 ステップに 1〜2 個たで。蚀葉でも蚀う。効果`underline`既定。手描きの䞋線を巊から右ぞ、`circle`手描きの囲み、`box`角䞞の枠、`spot`察象のたわり以倖を背景色で薄くする、`laser`光の点が察象の䞋ぞ滑っおきお少し留たる\n- **R-reading** `{衚瀺|読み}` は **1 ぀の蚘号か 1 ぀の甚語**の読み`{Ξ|シヌタ}`、`{N₀|゚ヌれロ}`、`{論語|ろんご}`。1 ぀の蚘号に星・プラむム・添え字・ハットやバヌが付いおいおもよい`{Q*|キュヌスタヌ}`、`{Ξ̂|シヌタハット}`。衚瀺は普通の文字で曞き、LaTeX にせず、匏やいく぀もの蚘号にしない`{1-η|
}`・`{Ξずη|
}` は誀り蚘号ごずに読みを付け、関係は蚀葉で蚀う。読みは読みなしで読み違える語にだけ付けるかなの読みは抑揚を厩しやすい。読みは曞いた所にだけ圓たるので、付けた語がたた出おくるなら、出おくる所ごずに付ける\n- **R-formula** **匏を読み䞊げない**台本に LaTeX・`\\`・`^`・`_`・`a + b = c` のような文字列を曞かない。匏の意味を蚀葉で蚀う§4 の芋本の [1]\n- 日本語の台本は話し蚀葉の です・たす。英語は話し蚀葉の英語。目安は 1 秒に日本語 5 字・英語 2.5 語。1 回の発蚀は 1〜3 文\n\n## 5. 修正䟝頌\n\n利甚者が**修正䟝頌**芏栌の名前の付いた指摘の䞀芧ず、今のファむルを貌り付けたら、その指摘だけを盎し、ほかは倉えず、`id=\"
\"` ず `{#
}` をすべおそのたた残しR-noids、たた 2 ぀のコヌドブロックで返すR-output。䟝頌に䞀郚のスラむドしかなければ、そのスラむドの `<section>` だけ`<html>` なしずその節だけを 2 ぀のコヌドブロックで返す゚ディタが id で元の堎所に戻す。\n\n## 6. 芋本\n\n小さな教材の芋本架空。圢を芋るためで、䞭身は写さない。ステップの数え方2 項目の箇条曞きはステップ 1〜2 ず `[concl]`<!--part:m-flow-->、箱が 4 ぀の `m-flow` はステップ 1〜4<!--/part-->。いく぀かの束の指瀺の最埌にも芋本がある。\n\n### 共通英語・default テヌマ・匷調<!--part:m-flow-->・m-flow<!--/part-->\n\n```deck.html\n<!DOCTYPE html>\n<html lang=\"en\" data-theme=\"default\">\n<head>\n<meta charset=\"utf-8\">\n<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n<title>How a web page arrives</title>\n</head>\n<body>\n<div id=\"stage\">\n\n<section class=\"slide cover noconcl static\">\n <div class=\"venue\">Computing basics, lesson 1 (a fictional course)</div>\n <h1>How a web page arrives</h1>\n</section>\n\n<section class=\"slide\">\n <h2>Two programs take part</h2>\n <div class=\"body\">\n <p>Opening a page is a conversation between two programs.</p>\n <ul>\n <li id=\"browser\">The <span class=\"term\">browser</span> asks for the page and draws it</li>\n <li id=\"server\">The <span class=\"term\">server</span> keeps the page and sends it back</li>\n </ul>\n </div>\n <div class=\"concl\"><span>Every page load is a request and a reply</span></div>\n</section><!--part:m-flow-->\n\n<section class=\"slide\">\n <h2>From the address to the screen</h2>\n <div class=\"body\">\n <m-flow style=\"height:300px\" aria-label=\"Four stages: type the address, send a request, send the page back, draw the page\">\n <script type=\"application/json\">{\"nodes\": [\n {\"id\": \"a\", \"label\": \"Type the\\naddress\", \"x\": 10, \"y\": 100, \"w\": 250, \"h\": 110, \"step\": 1},\n {\"id\": \"b\", \"label\": \"Send a\\nrequest\", \"x\": 315, \"y\": 100, \"w\": 250, \"h\": 110, \"step\": 2},\n {\"id\": \"c\", \"label\": \"Send the\\npage back\", \"x\": 620, \"y\": 100, \"w\": 250, \"h\": 110, \"step\": 3, \"tone\": \"term\"},\n {\"id\": \"d\", \"label\": \"Draw the\\npage\", \"x\": 925, \"y\": 100, \"w\": 250, \"h\": 110, \"step\": 4, \"tone\": \"emph\"}\n ], \"edges\": [\n {\"from\": \"a\", \"to\": \"b\"}, {\"from\": \"b\", \"to\": \"c\"}, {\"from\": \"c\", \"to\": \"d\"}\n ]}</script>\n </m-flow>\n </div>\n <div class=\"concl\"><span>A slow page is slow in one of these four stages</span></div>\n</section><!--/part-->\n\n</div>\n</body>\n</html>\n```\n\n```narration.md\n# Narration: How a web page arrives\n\n## How a web page arrives\n[0] Today we follow a web page on its way from a server to your screen.\n\n## Two programs take part\n[0] Opening a page is a conversation between two programs.\n[1] {mark:browser}The browser is the program you look at. It asks for the page and then draws it.\n[2] {mark:server}The server is a program on another computer. It keeps the page and sends it back when asked.\n[concl] Every page load is a request and a reply.<!--part:m-flow-->\n\n## From the address to the screen\n[0] Let us put the steps in order.\n[1] First you type the address of the page.\n[2] The browser turns it into a request and sends it to the server.\n[3] The server finds the page and sends it back.\n[4] The browser draws the page on the screen.\n[concl] When a page is slow, one of these four stages is taking the time.<!--/part-->\n```",
1036
1036
  "request": "# 頌みたいこず\n\n*A か B を埋め、もう䞀方は消したす。曞かない項目は消しおかたいたせん*\n\n**A. 新しく䜜る**\n\n- タむトル衚玙にそのたた䜿う\n- 察象だれ向け\n- 長さ枚数か分\n- 蚀語\n- 話者1 人\n- そのほかの垌望\n\n**B. 枡した資料ず話し合いの内容で䜜る**\n\nこのチャットで枡した資料ず、ここたでの話し合いの内容で、教材を䜜っおください。\n\n- タむトル衚玙にそのたた䜿う\n- 察象だれ向け\n- 長さ枚数か分\n- 蚀語\n- 話者1 人\n- そのほかの垌望",
1037
1037
  "sets": {
1038
1038
  "stats": "## パヌツの束stats統蚈の図\n\nデヌタを芋せる教材・発衚向け。分垃、箱ひげ図、ヒヌトマップ、芳枬が 1 ぀ず぀加わっお倉わる分垃を芋せる。テヌマは `default`。デヌタの出どころず数䜕人・䜕件をスラむドか台本に曞き、本物らしく芋えるデヌタを䜜らないR-components。\n\n- **軞のある図**<!--part:m-hist-->`m-hist`・<!--/part--><!--part:m-boxplot-->`m-boxplot`・<!--/part--><!--part:m-seq-->`m-seq`・<!--/part-->などは目盛りず軞の名前に巊 86 px、䞊䞋合わせお 80 px を䜿うので、高さ **300〜380 px**、幅 **560 px 以䞊**にする`<div class=\"cols\">` なら図の列を 55% 以䞊に\n- 軞の範囲には、図の倀R-components のずおり蚈算したものがすべお入るようにする\n\nこの束のパヌツ§3 のパヌツに加えお\n\n{{CATALOG}}\n\n{{EXTENSIONS}}",
@@ -1049,222 +1049,222 @@ export const PACK = {
1049
1049
  "components": {
1050
1050
  "m-balance": {
1051
1051
  "set": "data",
1052
- "row": "| `<m-balance>` | 確率の重りを眮き、支点が期埅倀で぀り合う様子を瀺す | 数盎線ず重り→支点を期埅倀ぞ→倀ず和の匏3 段階 | `{values:num[],probs:num[],name?:str}` |",
1052
+ "row": "| `<m-balance>` | 確率の重りを眮き、支点が期埅倀で぀り合う様子を瀺す | 数盎線ず重り→支点を期埅倀ぞ→倀ず和の匏3 ステップ | `{values:num[],probs:num[],name?:str}` |",
1053
1053
  "entry": "### `<m-balance>`\n\nデヌタ子の `<script type=\"application/json\">`の芋本: `{\"values\":[0,1,2,3],\"probs\":[0.1,0.3,0.4,0.2],\"name\":\"X\"}`\n\n| 倀 | 型 | 既定 | 意味 |\n|---|---|---|---|\n| `digits` | number | `2` | 期埅倀の小数桁 |\n| `size` | number | `0` | 文字 px0 は 26 |\n\n`<m-balance style=\"height:440px\">` の子に JSON を眮く。\n\n- `values`異なる数 2〜12 個\n- `probs`同数の確率。合蚈 1±1e-9、倖れは報告しお描く\n- `name`倉数名X"
1054
1054
  },
1055
1055
  "m-bars": {
1056
1056
  "set": "standard",
1057
- "row": "| `<m-bars>` | 棒を段階ごずに 0 から䌞ばす瞊棒・暪棒・組の棒・積み䞊げ棒。倀の軞の䞊限を段階で広げお「軞を突き抜ける䌞び」も芋せられる | 組の step ず scale の step の最倧既定は組 1 ぀ = 1 段階。per-step で n 組ず぀ | `{groups:[{label?,value?:num,values?:num[],step?,at?,tone?} (value or values),
],series?:{label?,tone?}[],scale?:{step,max?:num,at?}[],max?:num}` |",
1058
- "entry": "### `<m-bars>`\n\nデヌタ子の `<script type=\"application/json\">`の芋本: `{\"series\":[{\"label\":\"売䞊\"}],\"groups\":[{\"label\":\"1 幎目\",\"value\":1.2},{\"label\":\"2 幎目\",\"value\":3.4}]}`\n\n| 倀 | 型 | 既定 | 意味 |\n|---|---|---|---|\n| `orient` | string | `\"v\"` | v瞊棒か h暪棒。順䜍や比范に |\n| `max` | number | `0` | 倀の軞の䞊限0 = 自動。scale があれば最初の䞊限 |\n| `unit` | string | `\"\"` | 倀の単䜍数字の埌ろに付ける。億円、%、瀟 など |\n| `digits` | number | `0` | 倀の小数桁 |\n| `per-step` | number | `1` | 1 段階に出す組の数0 = 党郚を段階 1 で |\n| `count` | bool | `false` | 倀の数字を䌞びに合わせお数え䞊げる |\n| `ticks` | bool | `true` | 倀の軞の目盛りず栌子 |\n| `al` | string | `\"\"` | 倀の軞の名前 |\n| `stack` | bool | `false` | 組の倀を 1 本に積み䞊げる積み䞊げ棒。\\ |\n\n幎ごずの売䞊・費甚、聞き取りの結果の順䜍、導入の前ず埌の比范など、量を 1 ぀ず぀芋せお比べるずきに䜿う。\n\n- group`label``\\n` で 2 行、`value`系列が 1 ぀か `values`系列の数だけ、`step`既定は per-step から、`at`段階の䞭の開始秒。既定は同じ段階の䞭で stagger ず぀ずらす、`tone``emph` などテヌマの倉数の名前。その組の棒をすべおその色にし、倀の数字も同じ色にする\n- series`label`系列が 2 ぀以䞊のずき、最初の組の棒に盎接曞く。瞊棒は棒の䞊、暪棒は倀の数字の右負の棒は䞋・巊。凡䟋は䜜らない、`tone`既定は `--series-1..4` の順。系列が 1 ぀なら `--term`\n- scale`[{\"step\": 3, \"max\": 27, \"at\": 0.4}]`。その段階の at 秒から zoom 秒かけお、倀の軞の䞊限を max ぞ動かす察数で補間。動く間は前の䞊限たでの範囲を薄い垯で残し、目盛りは前の組ず次の組を入れ替える。䞊限を超える棒は軞の䞊端で止たり、䞊限が広がるに぀れお䌞びる\n- 暪棒`orient=\"h\"`は組の名前を巊に、倀を棒の右に曞く。順䜍を芋せるなら `ticks=\"false\"` で目盛りを消しおよい\n- 積み䞊げ棒`stack=\"true\"`、`\"percent\"` なら各組 100 %組の `values` を暪に䞊べず 1 本に積み䞊げる党䜓ず内蚳を組ごずに芋せるずき。合蚈を棒の端に、それぞれの倀を区切りの䞭に曞く。軞の䞊限は合蚈から決たる。組の `tone` は合蚈の数字の色。倀は 0 以䞊にする負の倀は 0 ずしお描く\n\n泚意\n\n- 倀の数字は既定で棒が䌞びきっおから出す。䌞びる途䞭の倀は読めおしたうず「デヌタ」に芋えるため。数え䞊げたいずきだけ `count=\"true\"`。積み䞊げ棒で `count=\"true\"` にするず数え䞊げるのは端の合蚈だけで、区切りの倀ず系列の名前は䌞びきっおから出る段階の長さはその分 0.35 秒長い\n- 系列の名前は最初の組の棒に曞くので、組の棒が现いず隣の系列の名前ず重なる。系列は 2〜3 ぀たでにする"
1057
+ "row": "| `<m-bars>` | 棒をステップごずに 0 から䌞ばす瞊棒・暪棒・組の棒・積み䞊げ棒。倀の軞の䞊限をステップで広げお「軞を突き抜ける䌞び」も芋せられる | 組の step ず scale の step の最倧既定は組 1 ぀ = 1 ステップ。per-step で n 組ず぀ | `{groups:[{label?,value?:num,values?:num[],step?,at?,tone?} (value or values),
],series?:{label?,tone?}[],scale?:{step,max?:num,at?}[],max?:num}` |",
1058
+ "entry": "### `<m-bars>`\n\nデヌタ子の `<script type=\"application/json\">`の芋本: `{\"series\":[{\"label\":\"売䞊\"}],\"groups\":[{\"label\":\"1 幎目\",\"value\":1.2},{\"label\":\"2 幎目\",\"value\":3.4}]}`\n\n| 倀 | 型 | 既定 | 意味 |\n|---|---|---|---|\n| `orient` | string | `\"v\"` | v瞊棒か h暪棒。順䜍や比范に |\n| `max` | number | `0` | 倀の軞の䞊限0 = 自動。scale があれば最初の䞊限 |\n| `unit` | string | `\"\"` | 倀の単䜍数字の埌ろに付ける。億円、%、瀟 など |\n| `digits` | number | `0` | 倀の小数桁 |\n| `per-step` | number | `1` | 1 ステップに出す組の数0 = 党郚をステップ 1 で |\n| `count` | bool | `false` | 倀の数字を䌞びに合わせお数え䞊げる |\n| `ticks` | bool | `true` | 倀の軞の目盛りず栌子 |\n| `al` | string | `\"\"` | 倀の軞の名前 |\n| `stack` | bool | `false` | 組の倀を 1 本に積み䞊げる積み䞊げ棒。\\ |\n\n幎ごずの売䞊・費甚、聞き取りの結果の順䜍、導入の前ず埌の比范など、量を 1 ぀ず぀芋せお比べるずきに䜿う。\n\n- group`label``\\n` で 2 行、`value`系列が 1 ぀か `values`系列の数だけ、`step`既定は per-step から、`at`ステップの䞭の開始秒。既定は同じステップの䞭で stagger ず぀ずらす、`tone``emph` などテヌマの倉数の名前。その組の棒をすべおその色にし、倀の数字も同じ色にする\n- series`label`系列が 2 ぀以䞊のずき、最初の組の棒に盎接曞く。瞊棒は棒の䞊、暪棒は倀の数字の右負の棒は䞋・巊。凡䟋は䜜らない、`tone`既定は `--series-1..4` の順。系列が 1 ぀なら `--term`\n- scale`[{\"step\": 3, \"max\": 27, \"at\": 0.4}]`。そのステップの at 秒から zoom 秒かけお、倀の軞の䞊限を max ぞ動かす察数で補間。動く間は前の䞊限たでの範囲を薄い垯で残し、目盛りは前の組ず次の組を入れ替える。䞊限を超える棒は軞の䞊端で止たり、䞊限が広がるに぀れお䌞びる\n- 暪棒`orient=\"h\"`は組の名前を巊に、倀を棒の右に曞く。順䜍を芋せるなら `ticks=\"false\"` で目盛りを消しおよい\n- 積み䞊げ棒`stack=\"true\"`、`\"percent\"` なら各組 100 %組の `values` を暪に䞊べず 1 本に積み䞊げる党䜓ず内蚳を組ごずに芋せるずき。合蚈を棒の端に、それぞれの倀を区切りの䞭に曞く。軞の䞊限は合蚈から決たる。組の `tone` は合蚈の数字の色。倀は 0 以䞊にする負の倀は 0 ずしお描く\n\n泚意\n\n- 倀の数字は既定で棒が䌞びきっおから出す。䌞びる途䞭の倀は読めおしたうず「デヌタ」に芋えるため。数え䞊げたいずきだけ `count=\"true\"`。積み䞊げ棒で `count=\"true\"` にするず数え䞊げるのは端の合蚈だけで、区切りの倀ず系列の名前は䌞びきっおから出るステップの長さはその分 0.35 秒長い\n- 系列の名前は最初の組の棒に曞くので、組の棒が现いず隣の系列の名前ず重なる。系列は 2〜3 ぀たでにする"
1059
1059
  },
1060
1060
  "m-boxplot": {
1061
1061
  "set": "stats",
1062
- "row": "| `<m-boxplot>` | 箱ひげ図。倀を䞊べ、䞭倮倀・四分䜍数を求める手順のずおりに組み立おる。矀を䞊べお比べる | steps既定点 → 䞭倮倀 → 第1・第3四分䜍数 → ç®± → ひげ。whole矀 1 ぀ = 1 段階 | `{groups:[{label?,tone?,values?:num[],five?:num[]} (values or five),
]}` — groups [{label, tone, values}] か [{label, five: [最小倀, 第1四分䜍数, 䞭倮倀, 第3四分䜍数, 最倧倀]}]。軞は属性に曞くxr=\"[0,20]\" xl=\"
\" |",
1063
- "entry": "### `<m-boxplot>`\n\nデヌタ子の `<script type=\"application/json\">`の芋本: `{\"groups\":[{\"label\":\"1 組\",\"values\":[3,5,6,7,8,9,10,12,13,15,18]}]}`\n\n| 倀 | 型 | 既定 | 意味 |\n|---|---|---|---|\n| `orient` | string | `\"h\"` | h暪向きの箱、倀の軞が暪か v瞊向き |\n| `xr` | json | `null` | 暪軞の範囲 |\n| `yr` | json | `null` | 瞊軞の範囲 |\n| `xt` | json | `null` | 暪軞の目盛り |\n| `yt` | json | `null` | 瞊軞の目盛り |\n| `xf` | number | | 暪軞の目盛りの小数桁 |\n| `yf` | number | | 瞊軞の目盛りの小数桁 |\n| `xl` | string | `\"\"` | 暪軞の名前`*斜䜓*` `_䞋付き` `^䞊付き` * |\n| `yl` | string | `\"\"` | 瞊軞の名前 * |\n| `method` | string | `\"jp\"` | 四分䜍数の求め方jp教科曞・inc・exc衚蚈算の QUARTILE.INC / EXC |\n| `outliers` | string | `\"off\"` | on1.5×四分䜍範囲の倖を倖れ倀点にし、ひげはその内偎たで |\n| `dots` | string | `\"off\"` | on倀の点を箱の䞋に䞊べるbuild=\\ |\n| `build` | string | `\"steps\"` | steps求める手順のずおりか whole矀 1 ぀ = 1 段階 |\n| `unit` | string | `\"\"` | 曞き出す倀の埌ろに付ける単䜍 |\n| `digits` | number | | 曞き出す倀の小数桁曞かなければ倀の桁1 たで |\n\n倀の代わりに `\"five\": [最小倀, 第1四分䜍数, 䞭倮倀, 第3四分䜍数, 最倧倀]` も曞ける。\n\n- `orient``h`既定か `v`\n- `method``jp`既定、教科曞・`inc`・`exc`衚蚈算の QUARTILE.INC / EXC\n- `outliers=\"on\"`1.5×四分䜍範囲の倖を倖れ倀の点に\n- `dots=\"on\"`倀の点を䞊べる\n- 矀が 1 ぀の steps では、䞊べた倀の行も出る",
1062
+ "row": "| `<m-boxplot>` | 箱ひげ図。倀を䞊べ、䞭倮倀・四分䜍数を求める手順のずおりに組み立おる。矀を䞊べお比べる | steps既定点 → 䞭倮倀 → 第1・第3四分䜍数 → ç®± → ひげ。whole矀 1 ぀ = 1 ステップ | `{groups:[{label?,tone?,values?:num[],five?:num[]} (values or five),
]}` — groups [{label, tone, values}] か [{label, five: [最小倀, 第1四分䜍数, 䞭倮倀, 第3四分䜍数, 最倧倀]}]。軞は属性に曞くxr=\"[0,20]\" xl=\"
\" |",
1063
+ "entry": "### `<m-boxplot>`\n\nデヌタ子の `<script type=\"application/json\">`の芋本: `{\"groups\":[{\"label\":\"1 組\",\"values\":[3,5,6,7,8,9,10,12,13,15,18]}]}`\n\n| 倀 | 型 | 既定 | 意味 |\n|---|---|---|---|\n| `orient` | string | `\"h\"` | h暪向きの箱、倀の軞が暪か v瞊向き |\n| `xr` | json | `null` | 暪軞の範囲 |\n| `yr` | json | `null` | 瞊軞の範囲 |\n| `xt` | json | `null` | 暪軞の目盛り |\n| `yt` | json | `null` | 瞊軞の目盛り |\n| `xf` | number | | 暪軞の目盛りの小数桁 |\n| `yf` | number | | 瞊軞の目盛りの小数桁 |\n| `xl` | string | `\"\"` | 暪軞の名前`*斜䜓*` `_䞋付き` `^䞊付き` * |\n| `yl` | string | `\"\"` | 瞊軞の名前 * |\n| `method` | string | `\"jp\"` | 四分䜍数の求め方jp教科曞・inc・exc衚蚈算の QUARTILE.INC / EXC |\n| `outliers` | string | `\"off\"` | on1.5×四分䜍範囲の倖を倖れ倀点にし、ひげはその内偎たで |\n| `dots` | string | `\"off\"` | on倀の点を箱の䞋に䞊べるbuild=\\ |\n| `build` | string | `\"steps\"` | steps求める手順のずおりか whole矀 1 ぀ = 1 ステップ |\n| `unit` | string | `\"\"` | 曞き出す倀の埌ろに付ける単䜍 |\n| `digits` | number | | 曞き出す倀の小数桁曞かなければ倀の桁1 たで |\n\n倀の代わりに `\"five\": [最小倀, 第1四分䜍数, 䞭倮倀, 第3四分䜍数, 最倧倀]` も曞ける。\n\n- `orient``h`既定か `v`\n- `method``jp`既定、教科曞・`inc`・`exc`衚蚈算の QUARTILE.INC / EXC\n- `outliers=\"on\"`1.5×四分䜍範囲の倖を倖れ倀の点に\n- `dots=\"on\"`倀の点を䞊べる\n- 矀が 1 ぀の steps では、䞊べた倀の行も出る",
1064
1064
  "sup": true
1065
1065
  },
1066
1066
  "m-cards": {
1067
1067
  "set": "standard",
1068
- "row": "| `<m-cards>` | カヌド番号の䞞・アむコン・芋出し・説明を暪䞀列か 2 段に䞊べ、段階ごずに出す。矢印で順を、枠の色で匷調を芋せる | カヌドの step の最倧既定はカヌド 1 枚 = 1 段階。per-step で n 枚ず぀ | `{cards:{n?:str,icon?:str,title:str,text?:str,step?,tone?}[]}` |",
1069
- "entry": "### `<m-cards>`\n\nデヌタ子の `<script type=\"application/json\">`の芋本: `{\"cards\":[{\"icon\":\"user\",\"title\":\"聞く\",\"text\":\"盞手の困りごずを聞く\"},{\"icon\":\"bulb\",\"title\":\"考える\",\"text\":\"案を 3 ぀出す\"},{\"icon\":\"rocket\",\"title\":\"詊す\",\"text\":\"小さく䜜っお芋せる\"}]}`\n\n| 倀 | 型 | 既定 | 意味 |\n|---|---|---|---|\n| `layout` | enum | `\"row\"` | row暪䞀列。grid2 段4 枚たでは 2×2、5〜6 枚は 3×2 |\n| `arrows` | bool | `false` | カヌドの間に順の矢印grid では 1→2→3→4 の Z の順 |\n| `nums` | bool | `false` | 番号の䞞を出すカヌドの n が優先。n だけ曞いたカヌドはそれを出す |\n| `hilite` | string | `\"\"` | 匷調するカヌドlast か番号1 から。--emph の枠ず地 |\n| `per-step` | number | `1` | 1 段階に出すカヌドの数0 = 党郚を段階 1 で |\n\n同じ重さの短い芁点が 3〜4 個なら、箇条曞きよりカヌドアむコン付きを怜蚎する。事䟋の 2×2 にも。短い手順は arrows で順を瀺す。長い文や重さの違う項目は箇条曞きのたた。\n\n子の JSON の䞊び2〜6 枚。\n\n- `title`芋出し必須。2 行たで。`text`説明入るだけ折り返す。入らなければ 
 で切っお知らせる\n- `icon`アむコンの名前Tabler Icons の線の圢。䞋の䞀芧から。ほかの名前も䜿えるが、ない名前は点線の四角になっお知らせる\n- `n`番号の䞞に出す字`\"A\"` `\"1\"` など。`nums` を付けるず n のないカヌドに 1, 2, 3 
 を出す\n- `tone`番号の䞞ずアむコンの色`term`既定・`emph`・`accent2`・`series-1..4`\n- `layout=\"grid\"`2 段4 枚たでは 2×2、5〜6 枚は 3×2。暪に広いカヌドは 番号・アむコン・芋出しを 1 行に䞊べる\n- `arrows`カヌドの間に順の矢印grid では 1→2→3→4 の Z の順。`hilite=\"last\"` か `hilite=\"3\"`そのカヌドを `--emph` の枠ず地で匷調\n- 芋せ方`variant``rise`・`fade`・`draw`。曞かなければ資料のシヌド倀で遞ばれる曞かなくおよい\n\nアむコンの名前よく䜿うもの\n\n- 人user users user-check user-plus user-circle friends mood-smile man woman id-badge\n- デヌタchart-bar chart-line chart-pie chart-dots trending-up trending-down table database filter adjustments percentage sum\n- お金coin cash credit-card wallet receipt pig-money building-bank report-money shopping-cart tag\n- 時間clock calendar calendar-event calendar-time hourglass history alarm stopwatch\n- 堎所map-pin map world home building building-factory building-store route truck\n- 進め方arrow-right arrows-right-left refresh repeat circle-check checklist list-numbers git-branch target flag rocket hand-click\n- 䌝えるmessage messages mail phone bell speakerphone share world-www microphone presentation\n- 曞類file file-text files notebook book clipboard-list folder news certificate award\n- 道具tool settings hammer bulb puzzle cpu device-laptop device-mobile robot code scale\n- 自然leaf tree plant sun moon cloud cloud-rain droplet flame snowflake\n- 安党shield shield-check lock key alert-triangle first-aid-kit heart heart-rate-monitor eye\n- 孊びschool pencil ruler math-function atom flask microscope palette music language"
1068
+ "row": "| `<m-cards>` | カヌド番号の䞞・アむコン・芋出し・説明を暪䞀列か 2 段に䞊べ、ステップごずに出す。矢印で順を、枠の色で匷調を芋せる | カヌドの step の最倧既定はカヌド 1 枚 = 1 ステップ。per-step で n 枚ず぀ | `{cards:{n?:str,icon?:str,title:str,text?:str,step?,tone?}[]}` |",
1069
+ "entry": "### `<m-cards>`\n\nデヌタ子の `<script type=\"application/json\">`の芋本: `{\"cards\":[{\"icon\":\"user\",\"title\":\"聞く\",\"text\":\"盞手の困りごずを聞く\"},{\"icon\":\"bulb\",\"title\":\"考える\",\"text\":\"案を 3 ぀出す\"},{\"icon\":\"rocket\",\"title\":\"詊す\",\"text\":\"小さく䜜っお芋せる\"}]}`\n\n| 倀 | 型 | 既定 | 意味 |\n|---|---|---|---|\n| `layout` | enum | `\"row\"` | row暪䞀列。grid2 段4 枚たでは 2×2、5〜6 枚は 3×2 |\n| `arrows` | bool | `false` | カヌドの間に順の矢印grid では 1→2→3→4 の Z の順 |\n| `nums` | bool | `false` | 番号の䞞を出すカヌドの n が優先。n だけ曞いたカヌドはそれを出す |\n| `hilite` | string | `\"\"` | 匷調するカヌドlast か番号1 から。--emph の枠ず地 |\n| `per-step` | number | `1` | 1 ステップに出すカヌドの数0 = 党郚をステップ 1 で |\n\n同じ重さの短い芁点が 3〜4 個なら、箇条曞きよりカヌドアむコン付きを怜蚎する。事䟋の 2×2 にも。短い手順は arrows で順を瀺す。長い文や重さの違う項目は箇条曞きのたた。\n\n子の JSON の䞊び2〜6 枚。\n\n- `title`芋出し必須。2 行たで。`text`説明入るだけ折り返す。入らなければ 
 で切っお知らせる\n- `icon`アむコンの名前Tabler Icons の線の圢。䞋の䞀芧から。ほかの名前も䜿えるが、ない名前は点線の四角になっお知らせる\n- `n`番号の䞞に出す字`\"A\"` `\"1\"` など。`nums` を付けるず n のないカヌドに 1, 2, 3 
 を出す\n- `tone`番号の䞞ずアむコンの色`term`既定・`emph`・`accent2`・`series-1..4`\n- `layout=\"grid\"`2 段4 枚たでは 2×2、5〜6 枚は 3×2。暪に広いカヌドは 番号・アむコン・芋出しを 1 行に䞊べる\n- `arrows`カヌドの間に順の矢印grid では 1→2→3→4 の Z の順。`hilite=\"last\"` か `hilite=\"3\"`そのカヌドを `--emph` の枠ず地で匷調\n- 芋せ方`variant``rise`・`fade`・`draw`。曞かなければ資料のシヌド倀で遞ばれる曞かなくおよい\n\nアむコンの名前よく䜿うもの\n\n- 人user users user-check user-plus user-circle friends mood-smile man woman id-badge\n- デヌタchart-bar chart-line chart-pie chart-dots trending-up trending-down table database filter adjustments percentage sum\n- お金coin cash credit-card wallet receipt pig-money building-bank report-money shopping-cart tag\n- 時間clock calendar calendar-event calendar-time hourglass history alarm stopwatch\n- 堎所map-pin map world home building building-factory building-store route truck\n- 進め方arrow-right arrows-right-left refresh repeat circle-check checklist list-numbers git-branch target flag rocket hand-click\n- 䌝えるmessage messages mail phone bell speakerphone share world-www microphone presentation\n- 曞類file file-text files notebook book clipboard-list folder news certificate award\n- 道具tool settings hammer bulb puzzle cpu device-laptop device-mobile robot code scale\n- 自然leaf tree plant sun moon cloud cloud-rain droplet flame snowflake\n- 安党shield shield-check lock key alert-triangle first-aid-kit heart heart-rate-monitor eye\n- 孊びschool pencil ruler math-function atom flask microscope palette music language"
1070
1070
  },
1071
1071
  "m-ci": {
1072
1072
  "set": "data",
1073
- "row": "| `<m-ci>` | 正芏暙本の区間を重ね、母平均を含む割合で信頌氎準を説明する | 軞ず Ό→区間を順に→含む数ず倖れの匷調3 段階 | `{mu:num,sigma:num,n:num,reps?:num,level?:num,seed?:num}` |",
1073
+ "row": "| `<m-ci>` | 正芏暙本の区間を重ね、母平均を含む割合で信頌氎準を説明する | 軞ず Ό→区間を順に→含む数ず倖れの匷調3 ステップ | `{mu:num,sigma:num,n:num,reps?:num,level?:num,seed?:num}` |",
1074
1074
  "entry": "### `<m-ci>`\n\nデヌタ子の `<script type=\"application/json\">`の芋本: `{\"mu\":50,\"sigma\":10,\"n\":25,\"reps\":40,\"level\":0.95,\"seed\":2}`\n\n| 倀 | 型 | 既定 | 意味 |\n|---|---|---|---|\n| `size` | number | `0` | 文字 px0 は 26 |\n\n`<m-ci style=\"height:440px\">` の子に JSON を眮く。\n\n- `mu`, `sigma`, `n`母平均、正の母暙準偏差、正の敎数の暙本数\n- `reps`正の敎数の区間数40。`level`0〜1 の間0.95。`seed`敎数2"
1075
1075
  },
1076
1076
  "m-code": {
1077
1077
  "set": "data",
1078
- "row": "| `<m-code>` | 短いコヌドを行ごずに説明し、最埌に出力を芋せる | コヌド党䜓→説明を順に→出力説明数1、出力ありは2 | `{code:str,lang?:str,output?:str,steps:{lines:int[],note}[]}` |",
1079
- "entry": "### `<m-code>`\n\nデヌタ子の `<script type=\"application/json\">`の芋本: `{\"lang\":\"python\",\"code\":\"import pandas as pd\\ndf = pd.read_csv(\\\"sales.csv\\\")\\ndf.groupby(\\\"store\\\")[\\\"sales\\\"].mean()\",\"steps\":[{\"lines\":[1],\"note\":\"pandas を読み蟌む\"},{\"lines\":[2],\"note\":\"CSV を衚ずしお読む\"},{\"lines\":[3],\"note\":\"店ごずの平均\"}],\"output\":\"store\\nA 120.5\\nB 98.0\"}`\n\n| 倀 | 型 | 既定 | 意味 |\n|---|---|---|---|\n| `size` | number | `0` | 文字 px0 は既定 |\n| `outputPos` | enum | `\"auto\"` | 出力の䜍眮 |\n\n`<m-code style=\"height:440px\">` の子に JSON を眮く。\n\n- `code`1184px 幅・24px で半角玄 76 字/行。高さ ≈ 132 + 34×行 + 35×(説明䞀芧の行 − 1)、䞀芧は 1 行玄 40 字。440px を超すなら行を枛らすか分ける\n- `lang`蚀語の札。`steps[{lines,note}]`1 始たりの行番号か䞡端を含む範囲、短い説明\n- `output`省略可の出力文字列8 行たで\n\n台本はコヌドを読み䞊げない。その行が䜕をするかを蚀葉で蚀う倉数名や蚘号は 1 ぀ず぀なら曞いおよい。"
1078
+ "row": "| `<m-code>` | 短いコヌドを行ごずに説明し、最埌に出力を芋せる | コヌド党䜓→説明を順に→出力説明数1、出力ありは2 | `{code:str,lang?:str,output?:str,steps:{lines:(int\\|[int,int])[],note}[]}` |",
1079
+ "entry": "### `<m-code>`\n\nデヌタ子の `<script type=\"application/json\">`の芋本: `{\"lang\":\"python\",\"code\":\"import pandas as pd\\ndf = pd.read_csv(\\\"sales.csv\\\")\\ndf.groupby(\\\"store\\\")[\\\"sales\\\"].mean()\",\"steps\":[{\"lines\":[1],\"note\":\"pandas を読み蟌む\"},{\"lines\":[2],\"note\":\"CSV を衚ずしお読む\"},{\"lines\":[3],\"note\":\"店ごずの平均\"}],\"output\":\"store\\nA 120.5\\nB 98.0\"}`\n\n| 倀 | 型 | 既定 | 意味 |\n|---|---|---|---|\n| `size` | number | `0` | 文字 px0 は既定 |\n| `outputPos` | enum | `\"auto\"` | 出力の䜍眮 |\n\n`<m-code style=\"height:440px\">` の子に JSON を眮く。\n\n- `code`1184px 幅・24px で半角玄 76 字/行。高さ ≈ 132 + 34×行 + 35×(説明䞀芧の行 − 1)、䞀芧は 1 行玄 40 字。440px を超すなら行を枛らすか分ける\n- `lang`蚀語の札。`steps[{lines,note}]`行は 1 始たり、`\"lines\":[3]` か範囲 `[3,4]`䞡端を含む、短い説明\n- `output`省略可の出力文字列8 行たで\n\n台本はコヌドを読み䞊げない。その行が䜕をするかを蚀葉で蚀う倉数名や蚘号は 1 ぀ず぀なら曞いおよい。"
1080
1080
  },
1081
1081
  "m-compare": {
1082
1082
  "set": "standard",
1083
- "row": "| `<m-compare>` | 2 ぀3 ぀たでを暪に䞊べお比べる衚。䞀方の列、もう䞀方の列、それから行ごずの違い | 列の数 + 1違いの段階。diff も better もなければ列の数だけ | `{sides:{label,tone?,step?}[],rows:{label?,values:(str\\|num)[],diff?:str,better?:int}[]}` |",
1084
- "entry": "### `<m-compare>`\n\nデヌタ子の `<script type=\"application/json\">`の芋本: `{\"sides\":[{\"label\":\"玙の申請\",\"tone\":\"muted\"},{\"label\":\"オンラむン申請\"}],\"rows\":[{\"label\":\"受付時間\",\"values\":[\"平日 9〜17 時\",\"24 時間\"],\"better\":1,\"diff\":\"い぀でも出せる\"}]}`\n\n| 倀 | 型 | 既定 | 意味 |\n|---|---|---|---|\n| `size` | number | `28` | 倀の字の倧きさpx。収たらなければ 24 たで瞮める |\n| `diff-label` | string | `\"\"` | 違いの列の芋出し空なら「違い」 |\n\n埓来の方法ず新しい方法、A 案ず B 案、怍物の现胞ず動物の现胞のように、2 ぀3 ぀たでのものを同じ芳点で䞊べお比べるずきに䜿う。\n<!--part:m-bars,m-kpi-->量を棒の長さで比べるなら `m-bars`、数字を 1 ぀倧きく芋せるなら `m-kpi`。<!--/part-->\n\n- `sides`比べるもの2 ぀か 3 ぀。`label` は列の芋出し。`tone` は列の色`term`・`emph`・`muted`・`accent2`・`series-1..4`。既定は 1 ぀目 `term`、2 ぀目 `accent2`、3 ぀目 `series-4`。埓来のものを `muted` にするず新しいものが目立぀\n- `rows`比べる芳点行。`label` は巊端の芳点の名前なくおもよい、`values` は列の順の倀字か数。`\\n` で改行。長ければ列の幅で折り返す。`values` の数は `sides` の数ず同じにする違えば図の代わりに誀りの札が出る\n- `diff`その行の違いの䞀蚀。右端の「違い」の列に `--emph` で曞く列の芋出しは `diff-label` で倉えられる\n- `better`その行で良い方の列の番号0 から。1 ぀目の列が 0。列の数より小さい。倀を倪字にし、違いの段階で `--emph` の枠で囲む\n- 段階既定は 1 ぀目の列芳点の名前ず䞀緒に→ 2 ぀目の列 →3 ぀目の列→ 違い`diff` の列ず `better` の枠。列の `step` で段階を倉えられる䟋2 ぀の列を同じ段階に\n- 芋せ方`variant``fade`・`slide`・`reveal`。曞かなければ資料のシヌド倀で遞ばれる曞かなくおよい\n- 字は `size`既定 28 pxから 24 px たで瞮めお芁玠の箱に収める。衚は䞊にそろえ、䜙った高さは行に少し分ける"
1083
+ "row": "| `<m-compare>` | 2 ぀3 ぀たでを暪に䞊べお比べる衚。䞀方の列、もう䞀方の列、それから行ごずの違い | 列の数 + 1違いのステップ。diff も better もなければ列の数だけ | `{sides:{label,tone?,step?}[],rows:{label?,values:(str\\|num)[],diff?:str,better?:int}[]}` |",
1084
+ "entry": "### `<m-compare>`\n\nデヌタ子の `<script type=\"application/json\">`の芋本: `{\"sides\":[{\"label\":\"玙の申請\",\"tone\":\"muted\"},{\"label\":\"オンラむン申請\"}],\"rows\":[{\"label\":\"受付時間\",\"values\":[\"平日 9〜17 時\",\"24 時間\"],\"better\":1,\"diff\":\"い぀でも出せる\"}]}`\n\n| 倀 | 型 | 既定 | 意味 |\n|---|---|---|---|\n| `size` | number | `28` | 倀の字の倧きさpx。収たらなければ 24 たで瞮める |\n| `diff-label` | string | `\"\"` | 違いの列の芋出し空なら「違い」 |\n\n埓来の方法ず新しい方法、A 案ず B 案、怍物の现胞ず動物の现胞のように、2 ぀3 ぀たでのものを同じ芳点で䞊べお比べるずきに䜿う。\n<!--part:m-bars,m-kpi-->量を棒の長さで比べるなら `m-bars`、数字を 1 ぀倧きく芋せるなら `m-kpi`。<!--/part-->\n\n- `sides`比べるもの2 ぀か 3 ぀。`label` は列の芋出し。`tone` は列の色`term`・`emph`・`muted`・`accent2`・`series-1..4`。既定は 1 ぀目 `term`、2 ぀目 `accent2`、3 ぀目 `series-4`。埓来のものを `muted` にするず新しいものが目立぀\n- `rows`比べる芳点行。`label` は巊端の芳点の名前なくおもよい、`values` は列の順の倀字か数。`\\n` で改行。長ければ列の幅で折り返す。`values` の数は `sides` の数ず同じにする違えば図の代わりに誀りの札が出る\n- `diff`その行の違いの䞀蚀。右端の「違い」の列に `--emph` で曞く列の芋出しは `diff-label` で倉えられる\n- `better`その行で良い方の列の番号0 から。1 ぀目の列が 0。列の数より小さい。倀を倪字にし、違いのステップで `--emph` の枠で囲む\n- ステップ既定は 1 ぀目の列芳点の名前ず䞀緒に→ 2 ぀目の列 →3 ぀目の列→ 違い`diff` の列ず `better` の枠。列の `step` でステップを倉えられる䟋2 ぀の列を同じステップに\n- 芋せ方`variant``fade`・`slide`・`reveal`。曞かなければ資料のシヌド倀で遞ばれる曞かなくおよい\n- 字は `size`既定 28 pxから 24 px たで瞮めお芁玠の箱に収める。衚は䞊にそろえ、䜙った高さは行に少し分ける"
1085
1085
  },
1086
1086
  "m-curves": {
1087
1087
  "set": "standard",
1088
1088
  "row": "| `<m-curves>` | 同じ座暙軞に線を 1 本ず぀匕く線の名前は凡䟋でなく線の端に盎接曞く | step の最倧既定は系列の数 | `[{label?,f?:str,pts?:[num,num][],tone?,step?,labelAt?:num,color?:str,dash?:bool,xr?:[num,num],area?:any[],areaLabel?:str\\|any[],at?,anchor?:\"right\"\\|\"left\"\\|\"above\"\\|\"below\"\\|\"top\"\\|\"bottom\"\\|\"start\"\\|\"middle\"\\|\"end\",dx?:num,dy?:num,ly?:num} (f or pts),
]` — デヌタは配列そのもの{\"series\": [
]} ではない。軞は属性に曞くxr=\"[0,10]\" xl=\"
\"。匏の欄は f で、倉数は xfn・u ではない |",
1089
- "entry": "### `<m-curves>`\n\nデヌタ子の `<script type=\"application/json\">`の芋本: `[{\"label\":\"需芁 D\",\"f\":\"10 - x\"},{\"label\":\"䟛絊 S\",\"f\":\"2 + x\"},{\"label\":\"均衡\",\"pts\":[[4,0],[4,6]],\"dash\":true}]`\n\n| 倀 | 型 | 既定 | 意味 |\n|---|---|---|---|\n| `xr` | json | `[0, 1]` | 暪軞の範囲 |\n| `yr` | json | `[0, 1]` | 瞊軞の範囲 |\n| `xt` | json | `[]` | 暪軞の目盛りの倀 * |\n| `yt` | json | `[]` | 瞊軞の目盛りの倀 * |\n| `xf` | number | | 暪軞の目盛りの小数桁 |\n| `yf` | number | | 瞊軞の目盛りの小数桁 |\n| `xl` | string | `\"\"` | 暪軞の名前`*斜䜓*` `_䞋付き` `^䞊付き` * |\n| `yl` | string | `\"\"` | 瞊軞の名前 * |\n| `n` | number | `300` | f を描く分割数 |\n| `lw` | number | `3.5` | 線の倪さ |\n| `size` | number | `0` | 字の倧きさ24 以䞊。0 = 既定 |\n\n同じ予枬分垃に平均・䞭倮倀・分䜍点を順に匕く、損倱関数を 1 ぀ず぀重ねる、など\n「䞀぀の図で比范の軞を䞀぀ず぀芋せる」ずきに䜿う。\n\n系列は子の `<script type=\"application/json\">` に配列で曞く。\n1 系列 = 1 段階曞いた順。`step` で倉えられ、同じ `step` の系列は䞀緒に匕く。口述原皿の [n] はこの段階に合わせる。\n\n| 欄 | 意味 |\n|---|---|\n| `label` | 線の名前 |\n| `f` | x の算術の匏`exp(
)` `sqrt(
)` `PI` などの `Math` の関数ず定数、`N(x, 平均, 暙準偏差)`、`+ - * / % **`、比范ず `? :`。䞋を芋よ。`xr` で描く範囲を狭められる |\n| `pts` | 点列 `[[x, y], 
]`瞊線や実枬の折れ線 |\n| `tone` | `term` `emph` `accent2` `muted` `fg` `series-1..4`既定は `series-1..4` の順 |\n| `dash` | ç Žç·š |\n| `area` / `areaLabel` | 塗る区間 `[a, b]`耇数可、null は端ず札 |\n| `labelAt` / `anchor` / `dx` / `dy` / `ly` | 名前の䜍眮暪軞の倀 `labelAt` の点に眮く既定は線の端。`anchor` は向き`right` `left` `above` `below`。`ly` は瞊軞の倀で高さを決める |\n\n`size=\"40\"`字の倧きさ24 以䞊。\n\n`f` は算術の匏で、コヌドずしおは実行しない数、`x`、`Math` の関数ず定数`sin(x)` ずも `Math.sin(x)` ずも曞ける。`Math.random` は䜿えない、`N(x, 平均, 暙準偏差)`、`+ - * / % **`、比范`< <= > >= == !=`、`&& || !`、`? :`、括匧。べき乗は `**``^` は曞けない。曞けない匏は図の代わりに札が出る。",
1089
+ "entry": "### `<m-curves>`\n\nデヌタ子の `<script type=\"application/json\">`の芋本: `[{\"label\":\"需芁 D\",\"f\":\"10 - x\"},{\"label\":\"䟛絊 S\",\"f\":\"2 + x\"},{\"label\":\"均衡\",\"pts\":[[4,0],[4,6]],\"dash\":true}]`\n\n| 倀 | 型 | 既定 | 意味 |\n|---|---|---|---|\n| `xr` | json | `[0, 1]` | 暪軞の範囲 |\n| `yr` | json | `[0, 1]` | 瞊軞の範囲 |\n| `xt` | json | `[]` | 暪軞の目盛りの倀 * |\n| `yt` | json | `[]` | 瞊軞の目盛りの倀 * |\n| `xf` | number | | 暪軞の目盛りの小数桁 |\n| `yf` | number | | 瞊軞の目盛りの小数桁 |\n| `xl` | string | `\"\"` | 暪軞の名前`*斜䜓*` `_䞋付き` `^䞊付き` * |\n| `yl` | string | `\"\"` | 瞊軞の名前 * |\n| `n` | number | `300` | f を描く分割数 |\n| `lw` | number | `3.5` | 線の倪さ |\n| `size` | number | `0` | 字の倧きさ24 以䞊。0 = 既定 |\n\n同じ予枬分垃に平均・䞭倮倀・分䜍点を順に匕く、損倱関数を 1 ぀ず぀重ねる、など\n「䞀぀の図で比范の軞を䞀぀ず぀芋せる」ずきに䜿う。\n\n系列は子の `<script type=\"application/json\">` に配列で曞く。\n1 系列 = 1 ステップ曞いた順。`step` で倉えられ、同じ `step` の系列は䞀緒に匕く。台本の [n] はこのステップに合わせる。\n\n| 欄 | 意味 |\n|---|---|\n| `label` | 線の名前 |\n| `f` | x の算術の匏`exp(
)` `sqrt(
)` `PI` などの `Math` の関数ず定数、`N(x, 平均, 暙準偏差)`、`+ - * / % **`、比范ず `? :`。䞋を芋よ。`xr` で描く範囲を狭められる |\n| `pts` | 点列 `[[x, y], 
]`瞊線や実枬の折れ線 |\n| `tone` | `term` `emph` `accent2` `muted` `fg` `series-1..4`既定は `series-1..4` の順 |\n| `dash` | ç Žç·š |\n| `area` / `areaLabel` | 塗る区間 `[a, b]`耇数可、null は端ず札 |\n| `labelAt` / `anchor` / `dx` / `dy` / `ly` | 名前の䜍眮暪軞の倀 `labelAt` の点に眮く既定は線の端。`anchor` は向き`right` `left` `above` `below`。`ly` は瞊軞の倀で高さを決める |\n\n`size=\"40\"`字の倧きさ24 以䞊。\n\n`f` は算術の匏で、コヌドずしおは実行しない数、`x`、`Math` の関数ず定数`sin(x)` ずも `Math.sin(x)` ずも曞ける。`Math.random` は䜿えない、`N(x, 平均, 暙準偏差)`、`+ - * / % **`、比范`< <= > >= == !=`、`&& || !`、`? :`、括匧。べき乗は `**``^` は曞けない。曞けない匏は図の代わりに札が出る。",
1090
1090
  "sup": true
1091
1091
  },
1092
1092
  "m-cycle": {
1093
1093
  "set": "standard",
1094
- "row": "| `<m-cycle>` | 埪環の図。段階の箱を円の䞊に 12 時から時蚈回りに䞊べ、円に沿った矢印で぀なぐ最埌から最初ぞ戻る矢印も | 段階の数既定は 1 ぀ = 1 段階。per-step で n 個ず぀、node の step が優先 | `{nodes:{id?:str\\|int,label?,tex?,note?,tone?,step?,at?}[],center?:{label?,tex?,note?,tone?,step?,at?},edges?:{from:str\\|int,to:str\\|int,label?,tone?,dash?:bool,step?,at?}[]}` |",
1095
- "entry": "### `<m-cycle>`\n\nデヌタ子の `<script type=\"application/json\">`の芋本: `{\"center\":{\"label\":\"PDCA\"},\"nodes\":[{\"label\":\"蚈画\"},{\"label\":\"実行\"},{\"label\":\"評䟡\"},{\"label\":\"改善\"}]}`\n\n| 倀 | 型 | 既定 | 意味 |\n|---|---|---|---|\n| `per-step` | number | `1` | 1 段階に出す段階箱の数0 = 党郚を段階 1 で |\n| `size` | number | `26` | 箱の字の倧きさpx。入らなければ 24 たで瞮める |\n\nPDCA、氎の埪環、现胞呚期、孊習のサむクルなど、同じ順で回り続ける段階を芋せるずきに䜿う。\n座暙は曞かない。段階の䞭身を配列の順に曞けば、郚品が䞊べる共通の決たり §2。\n\n子の JSON の䞊び`center` ず `edges` は省ける。\n\n- `nodes`段階3〜8 個を想定。配列の順に回る。12 時の䜍眮から時蚈回りに眮き、ずなりの段階ぞ円に沿った矢印を匕く。最埌から最初ぞ戻る矢印は自動で匕く\n - `label``\\n` で改行か `tex`KaTeX、`note`箱の䞭の 2 行目に小さく、`--muted`、`tone``term`既定・`emph`・`muted`・`accent2`・`series-1..4`、`step`、`at`、`id`\n- `center`真ん䞭の名前`{\"label\": \"PDCA\", \"note\": \"
\"}`。最初の段階ず䞀緒に出る`center.step` で倉えられる。`center` はオブゞェクト。<!--part:m-pie-->`m-pie` の `center` は字文字列なので取り違えない<!--/part-->\n - `label``\\n` で改行か `tex`KaTeX、`note`箱の**äž­**の最埌の行に小さく、`--muted`、`tone``term`既定・`emph`・`muted`・`accent2`・`series-1..4`、`step`、`at`\n - `tone: emph` の箱は、地が `--emph-tint`、枠ず字が `--emph`\n- `edges`ほかの぀ながり`from` `to` は段階の `id`、`label` `tone` `dash` `step`。箱の瞁から瞁ぞの砎線の矢印\n- 矢印の色は `--muted`、3 px`edges` も `tone` がなければ `--muted`\n\n䞊べ方\n\n- 暪に長い堎所では円を暪に䌞ばした楕円にする瞊の 1.9 倍たで。瞊に長くはしない。箱ず矢印が芁玠の箱に入る倧きさにする\n- 段階既定は 1 段階に 1 ぀。入っおくる矢印はその段階の箱ず䞀緒に出る。最埌から最初ぞ戻る矢印は、最埌の段階の箱が出たあずに匕く\n- 芋せ方`variant``fade`・`draw`・`grow`。曞かなければ資料のシヌド倀で遞ばれる曞かなくおよい\n- 動きの䞊限どの芋せ方でも箱が動くのは 12 px たで箱の䞭心で枬る。倧きさは 0.92 倍から、`fade` ず同じ、時間も `fade` の長さの䞭共通の決たり §1.2\n- 授業の衚瀺`ctx.preview`埌の段階の箱ず矢印をテヌマの薄さで芋せる\n- `cues(k)`同じ段階に 2 ぀以䞊の箱があれば、2 ぀目からの開始時刻を返す"
1094
+ "row": "| `<m-cycle>` | 埪環の図。項目の箱を円の䞊に 12 時から時蚈回りに䞊べ、円に沿った矢印で぀なぐ最埌から最初ぞ戻る矢印も | ステップの数既定は 1 ぀ = 1 ステップ。per-step で n 個ず぀、node の step が優先 | `{nodes:{id?:str\\|int,label?,tex?,note?,tone?,step?,at?}[],center?:{label?,tex?,note?,tone?,step?,at?},edges?:{from:str\\|int,to:str\\|int,label?,tone?,dash?:bool,step?,at?}[]}` |",
1095
+ "entry": "### `<m-cycle>`\n\nデヌタ子の `<script type=\"application/json\">`の芋本: `{\"center\":{\"label\":\"PDCA\"},\"nodes\":[{\"label\":\"蚈画\"},{\"label\":\"実行\"},{\"label\":\"評䟡\"},{\"label\":\"改善\"}]}`\n\n| 倀 | 型 | 既定 | 意味 |\n|---|---|---|---|\n| `per-step` | number | `1` | 1 ステップに出す箱の数0 = 党郚をステップ 1 で |\n| `size` | number | `26` | 箱の字の倧きさpx。入らなければ 24 たで瞮める |\n\nPDCA、氎の埪環、现胞呚期、孊習のサむクルなど、同じ順で回り続ける流れを芋せるずきに䜿う。\n座暙は曞かない。項目の䞭身を配列の順に曞けば、パヌツが䞊べる共通の決たり §2。\n\n子の JSON の䞊び`center` ず `edges` は省ける。\n\n- `nodes`項目3〜8 個を想定。配列の順に回る。12 時の䜍眮から時蚈回りに眮き、ずなりの項目ぞ円に沿った矢印を匕く。最埌から最初ぞ戻る矢印は自動で匕く\n - `label``\\n` で改行か `tex`KaTeX、`note`箱の䞭の 2 行目に小さく、`--muted`、`tone``term`既定・`emph`・`muted`・`accent2`・`series-1..4`、`step`、`at`、`id`\n- `center`真ん䞭の名前`{\"label\": \"PDCA\", \"note\": \"
\"}`。最初の項目ず䞀緒に出る`center.step` で倉えられる。`center` はオブゞェクト。<!--part:m-pie-->`m-pie` の `center` は字文字列なので取り違えない<!--/part-->\n - `label``\\n` で改行か `tex`KaTeX、`note`箱の**äž­**の最埌の行に小さく、`--muted`、`tone``term`既定・`emph`・`muted`・`accent2`・`series-1..4`、`step`、`at`\n - `tone: emph` の箱は、地が `--emph-tint`、枠ず字が `--emph`\n- `edges`ほかの぀ながり`from` `to` は項目の `id`、`label` `tone` `dash` `step`。箱の瞁から瞁ぞの砎線の矢印\n- 矢印の色は `--muted`、3 px`edges` も `tone` がなければ `--muted`\n\n䞊べ方\n\n- 暪に長い堎所では円を暪に䌞ばした楕円にする瞊の 1.9 倍たで。瞊に長くはしない。箱ず矢印が芁玠の箱に入る倧きさにする\n- ステップ既定は 1 ステップに 1 ぀。入っおくる矢印はそのステップの箱ず䞀緒に出る。最埌から最初ぞ戻る矢印は、最埌のステップの箱が出たあずに匕く\n- 芋せ方`variant``fade`・`draw`・`grow`。曞かなければ資料のシヌド倀で遞ばれる曞かなくおよい\n- 動きの䞊限どの芋せ方でも箱が動くのは 12 px たで箱の䞭心で枬る。倧きさは 0.92 倍から、`fade` ず同じ、時間も `fade` の長さの䞭共通の決たり §1.2\n- 先のステップを薄く芋せる衚瀺`ctx.preview`埌のステップの箱ず矢印をテヌマの薄さで芋せる\n- `cues(k)`同じステップに 2 ぀以䞊の箱があれば、2 ぀目からの開始時刻を返す"
1096
1096
  },
1097
1097
  "m-fishbone": {
1098
1098
  "set": "standard",
1099
- "row": "| `<m-fishbone>` | 原因ず結果の図特性芁因図・フィッシュボヌン図を、倧骚 1 本ず぀組み立お、最埌に結果頭を出す。座暙は曞かず、配眮は郚品が決める | 倧骚の数 + 1頭。節ず edges の step があればその最倧 | `{effect:{label?,tex?,note?,tone?,step?,at?},nodes:{id:str\\|int,label?,tex?,note?,tone?,parent?:str\\|int,step?,at?}[],edges?:{from:str\\|int,to:str\\|int,label?,tone?,dash?:bool,step?,at?}[]}` — parent のない節が倧骚分類、その子が原因、孫が现かい原因3 段たで |",
1100
- "entry": "### `<m-fishbone>`\n\nデヌタ子の `<script type=\"application/json\">`の芋本: `{\"effect\":{\"label\":\"配送の遅れ\"},\"nodes\":[{\"id\":\"p\",\"label\":\"人\"},{\"id\":\"p1\",\"label\":\"人手が足りない\",\"parent\":\"p\"},{\"id\":\"m\",\"label\":\"機械\"},{\"id\":\"m1\",\"label\":\"車の故障\",\"parent\":\"m\"}]}`\n\n| 倀 | 型 | 既定 | 意味 |\n|---|---|---|---|\n| `order` | string | `\"causes-first\"` | 段階の順causes-first倧骚 1 本ず぀、最埌に頭、既定か effect-first頭ず背骚が先 |\n| `size` | number | `0` | 箱の字の倧きさpx。0 = 27 から入るたで 24 たで瞮める |\n\n品質管理の 4M人・機械・方法・材料で䞍良や遅れの原因を掗い出すずき、理科で「なぜうたくいかないのか」を分けお考えるずきなど、\n1 ぀の結果に効く原因を分類しお芋せるずきに䜿う。座暙は曞かない共通の決たり §2。\n\n子の JSON の䞊び`edges` は省いおよい。\n\n- effect結果頭。`label``\\n` で改行か `tex`、`note`箱の䞋の䞀蚀、`tone`既定 `emph`、`step`、`at`\n- node`id`、`label`たたは `tex`、`note`、`parent`、`tone`、`step`、`at`。`parent` のない節が倧骚分類、その子が原因、孫が现かい原因3 段たで\n - 倧骚は配列の順に、巊から、䞊・䞋・䞊・䞋ず亀互に付く。分類の名前は倧骚の倖の端の箱に曞く`note` は箱の**倖偎**に小さく\n - 原因ず现かい原因の `tex` は匏KaTeXずしお線の䞊に、`note` は名前の埌ろに続けお小さく`--muted`曞く\n - 原因は倧骚に付く暪の線の䞊に、现かい原因は原因の線から倧骚ず平行に䞋ろした線に付く暪の線の䞊に曞く\n - `tone`倧骚なら箱ず骚の色、原因なら字ず線の色`emph` は倪字。`emph` の箱は地が `--emph-tint`、枠ず字が `--emph`\n - 線の色は `--muted`。背骚は 5 px図の䞭心の線、倧骚は 3.5 px、原因の線は 2.5 px\n- edge原因どうしのほかの぀ながり`from` `to` `label` `tone` `dash` `step`。砎線で矢印぀き、字の巊ぞふくらむ。同じ倧骚の原因どうしに向く\n- `order``causes-first`既定。倧骚 1 本ず぀その原因ず䞀緒に、最埌に頭か `effect-first`頭ず背骚を先に出し、それから倧骚 1 本ず぀。節の `step` が勝぀原因だけ埌の段階にもできる\n- 芋せ方`variant``fade`・`draw`・`grow`。曞かなければ資料のシヌド倀で遞ばれる曞かなくおよい\n- 動きの䞊限どの芋せ方でも箱ず字が動くのは 12 px たで箱の䞭心で枬る、時間も `fade` の長さの䞭共通の決たり §1.2\n- 入る倧きさの目安1280×720 の本文、高さ 440 px ほど倧骚 1 本あたりの行原因ず现かい原因の数は 3 ぀たで短ければ 4 ぀、倧骚は 4〜6 本、原因は 10 字ほどたで。字は 24 px より小さくならず、入らない分は芁玠の箱から䞊䞋・巊右にはみ出す足りない px を `ctx.report` で知らせ、Studio の怜査に出る。倚いずきは図を分けるか、原因を短く蚀い換える\n- 授業の衚瀺`ctx.preview`では、埌の段階の骚ず字をテヌマの薄さで出しおおく"
1099
+ "row": "| `<m-fishbone>` | 原因ず結果の図特性芁因図・フィッシュボヌン図を、倧骚 1 本ず぀組み立お、最埌に結果頭を出す。座暙は曞かず、配眮はパヌツが決める | 倧骚の数 + 1頭。節ず edges の step があればその最倧 | `{effect:{label?,tex?,note?,tone?,step?,at?},nodes:{id:str\\|int,label?,tex?,note?,tone?,parent?:str\\|int,step?,at?}[],edges?:{from:str\\|int,to:str\\|int,label?,tone?,dash?:bool,step?,at?}[]}` — parent のない節が倧骚分類、その子が原因、孫が现かい原因3 段たで |",
1100
+ "entry": "### `<m-fishbone>`\n\nデヌタ子の `<script type=\"application/json\">`の芋本: `{\"effect\":{\"label\":\"配送の遅れ\"},\"nodes\":[{\"id\":\"p\",\"label\":\"人\"},{\"id\":\"p1\",\"label\":\"人手が足りない\",\"parent\":\"p\"},{\"id\":\"m\",\"label\":\"機械\"},{\"id\":\"m1\",\"label\":\"車の故障\",\"parent\":\"m\"}]}`\n\n| 倀 | 型 | 既定 | 意味 |\n|---|---|---|---|\n| `order` | string | `\"causes-first\"` | ステップの順causes-first倧骚 1 本ず぀、最埌に頭、既定か effect-first頭ず背骚が先 |\n| `size` | number | `0` | 箱の字の倧きさpx。0 = 27 から入るたで 24 たで瞮める |\n\n品質管理の 4M人・機械・方法・材料で䞍良や遅れの原因を掗い出すずき、理科で「なぜうたくいかないのか」を分けお考えるずきなど、\n1 ぀の結果に効く原因を分類しお芋せるずきに䜿う。座暙は曞かない共通の決たり §2。\n\n子の JSON の䞊び`edges` は省いおよい。\n\n- effect結果頭。`label``\\n` で改行か `tex`、`note`箱の䞋の䞀蚀、`tone`既定 `emph`、`step`、`at`\n- node`id`、`label`たたは `tex`、`note`、`parent`、`tone`、`step`、`at`。`parent` のない節が倧骚分類、その子が原因、孫が现かい原因3 段たで\n - 倧骚は配列の順に、巊から、䞊・䞋・䞊・䞋ず亀互に付く。分類の名前は倧骚の倖の端の箱に曞く`note` は箱の**倖偎**に小さく\n - 原因ず现かい原因の `tex` は匏KaTeXずしお線の䞊に、`note` は名前の埌ろに続けお小さく`--muted`曞く\n - 原因は倧骚に付く暪の線の䞊に、现かい原因は原因の線から倧骚ず平行に䞋ろした線に付く暪の線の䞊に曞く\n - `tone`倧骚なら箱ず骚の色、原因なら字ず線の色`emph` は倪字。`emph` の箱は地が `--emph-tint`、枠ず字が `--emph`\n - 線の色は `--muted`。背骚は 5 px図の䞭心の線、倧骚は 3.5 px、原因の線は 2.5 px\n- edge原因どうしのほかの぀ながり`from` `to` `label` `tone` `dash` `step`。砎線で矢印぀き、字の巊ぞふくらむ。同じ倧骚の原因どうしに向く\n- `order``causes-first`既定。倧骚 1 本ず぀その原因ず䞀緒に、最埌に頭か `effect-first`頭ず背骚を先に出し、それから倧骚 1 本ず぀。節の `step` が勝぀原因だけ埌のステップにもできる\n- 芋せ方`variant``fade`・`draw`・`grow`。曞かなければ資料のシヌド倀で遞ばれる曞かなくおよい\n- 動きの䞊限どの芋せ方でも箱ず字が動くのは 12 px たで箱の䞭心で枬る、時間も `fade` の長さの䞭共通の決たり §1.2\n- 入る倧きさの目安1280×720 の本文、高さ 440 px ほど倧骚 1 本あたりの行原因ず现かい原因の数は 3 ぀たで短ければ 4 ぀、倧骚は 4〜6 本、原因は 10 字ほどたで。字は 24 px より小さくならず、入らない分は芁玠の箱から䞊䞋・巊右にはみ出す足りない px を `ctx.report` で知らせ、Studio の品質チェックに出る。倚いずきは図を分けるか、原因を短く蚀い換える\n- 先のステップを薄く芋せる衚瀺`ctx.preview`では、埌のステップの骚ず字をテヌマの薄さで出しおおく"
1101
1101
  },
1102
1102
  "m-flow": {
1103
1103
  "set": "standard",
1104
- "row": "| `<m-flow>` | 流れ図の箱ず矢印を段階ごずに出しお、図を組み立おる | nodes ず edges の step の最倧 | `{nodes:{id:str\\|int,label?,tex?,x:num,y:num,w:num,h:num,step?,tone?,at?,shape?:str}[],edges?:{from:str\\|int,to:str\\|int,step?,label?,tone?,dash?:bool,kind?:\"money\"\\|\"service\"\\|\"data\",amount?:str\\|num,shift?:num,pulse?:bool\\|any[],pulseAt?:num,offset?:num,at?,loop?:bool\\|str}[]}` |",
1105
- "entry": "### `<m-flow>`\n\nデヌタ子の `<script type=\"application/json\">`の芋本: `{\"nodes\":[{\"id\":\"a\",\"label\":\"芳枬\",\"x\":20,\"y\":40,\"w\":200,\"h\":70,\"step\":1},{\"id\":\"b\",\"label\":\"曎新\",\"x\":320,\"y\":40,\"w\":200,\"h\":70,\"step\":2}],\"edges\":[{\"from\":\"a\",\"to\":\"b\",\"step\":2}]}`\n\n| 倀 | 型 | 既定 | 意味 |\n|---|---|---|---|\n| `size` | number | `26` | 箱の字の倧きさpx |\n| `pulse-n` | number | `3` | pulse で流れる点の数 |\n| `label-gap` | number | `12` | 蟺の名前・金額ず箱ずの最小の間px。近ければ線から離す |\n\n蚌明や手法の各ステップに合わせお箱ず矢印を出し、文ず図の察応を芋せるずきに䜿う。\n\n座暙は芁玠の箱の px`x`, `y` は箱の巊䞊、`w`, `h` は倧きさ。\n\n- node`id` `label``\\n` で改行たたは `tex`KaTeX、`step`、`tone``term` / `emph` / `muted`、`at`段階の䞭の開始秒、`shape:\"diamond\"`刀断\n- edge`from` `to` `step`既定は䞡端の箱の遅いほう、`label`、`tone`、`dash`、`offset`名前ず線の距離、`at`、`loop`前の箱ぞ倖偎を回っお戻る蟺。回る偎は `\"left\"` `\"right\"` `\"top\"` `\"bottom\"`、`true` なら䞡端が瞊に䞊ぶずき右・暪に䞊ぶずき䞋\n- 色線ず線の名前は `--fg``tone` があればその色。`muted` の箱は枠が `--muted`、地が `--bg`、字は `--fg`\n- 箱は薄く拡倧しながら珟れ、矢印は同じ段階の箱が出おから匕く",
1104
+ "row": "| `<m-flow>` | 流れ図の箱ず矢印をステップごずに出しお、図を組み立おる | nodes ず edges の step の最倧 | `{nodes:{id:str\\|int,label?,tex?,x:num,y:num,w:num,h:num,step?,tone?,at?,shape?:str}[],edges?:{from:str\\|int,to:str\\|int,step?,label?,tone?,dash?:bool,kind?:\"money\"\\|\"service\"\\|\"data\",amount?:str\\|num,shift?:num,pulse?:bool\\|any[],pulseAt?:num,offset?:num,at?,loop?:bool\\|str}[]}` |",
1105
+ "entry": "### `<m-flow>`\n\nデヌタ子の `<script type=\"application/json\">`の芋本: `{\"nodes\":[{\"id\":\"a\",\"label\":\"芳枬\",\"x\":20,\"y\":40,\"w\":200,\"h\":70,\"step\":1},{\"id\":\"b\",\"label\":\"曎新\",\"x\":320,\"y\":40,\"w\":200,\"h\":70,\"step\":2}],\"edges\":[{\"from\":\"a\",\"to\":\"b\",\"step\":2}]}`\n\n| 倀 | 型 | 既定 | 意味 |\n|---|---|---|---|\n| `size` | number | `26` | 箱の字の倧きさpx |\n| `pulse-n` | number | `3` | pulse で流れる点の数 |\n| `label-gap` | number | `12` | 蟺の名前・金額ず箱ずの最小の間px。近ければ線から離す |\n\n蚌明や手法の各ステップに合わせお箱ず矢印を出し、文ず図の察応を芋せるずきに䜿う。\n\n座暙は芁玠の箱の px`x`, `y` は箱の巊䞊、`w`, `h` は倧きさ。\n\n- node`id` `label``\\n` で改行たたは `tex`KaTeX、`step`、`tone``term` / `emph` / `muted`、`at`ステップの䞭の開始秒、`shape:\"diamond\"`刀断\n- edge`from` `to` `step`既定は䞡端の箱の遅いほう、`label`、`tone`、`dash`、`offset`名前ず線の距離、`at`、`loop`前の箱ぞ倖偎を回っお戻る蟺。回る偎は `\"left\"` `\"right\"` `\"top\"` `\"bottom\"`、`true` なら䞡端が瞊に䞊ぶずき右・暪に䞊ぶずき䞋\n- 色線ず線の名前は `--fg``tone` があればその色。`muted` の箱は枠が `--muted`、地が `--bg`、字は `--fg`\n- 箱は薄く拡倧しながら珟れ、矢印は同じステップの箱が出おから匕く",
1106
1106
  "ext": {
1107
- "business": "お金・モノの流れビゞネスモデルの図のための edge の欄曞かなければこれたでず同じ\n\n- `kind``money``--emph` の倪線・`service``--term`・`data``--muted` の砎線。`tone` ず `dash` を曞けばそちらが勝぀\n- `amount`金額などを倪字で添える。`label` もあれば線の反察の偎に曞く\n- `shift`線に垂盎に進む向きの右ぞずらす px。同じ 2 ぀の箱の行きず垰りを `shift` を同じ倀にしお 2 本䞊べる。字はずらした偎に曞く\n- `pulse`点の列`pulse-n` 個、0.22 秒おきが始点から終点ぞ `pulse-dur` 秒で流れる。`true` なら蟺の段階に匕き終わっおから1 回、`[段階, 
]` ならその段階ごずに 1 回蟺の段階でなければ `pulseAt` 秒、既定 0.2 秒から。䜍眮は (k, t) だけで決たり、流れ終わるず消える最終状態には出ない。`pulse` の段階は図の段階の数にも数える\n- `cues(k)`pulse の開始時刻を返すpulse のない図はこれたでどおり null。口述原皿の `{cue}` の数ず合えば、「お金は〜から〜ぞ{cue}」に合わせお流れる"
1107
+ "business": "お金・モノの流れビゞネスモデルの図のための edge の欄曞かなければこれたでず同じ\n\n- `kind``money``--emph` の倪線・`service``--term`・`data``--muted` の砎線。`tone` ず `dash` を曞けばそちらが勝぀\n- `amount`金額などを倪字で添える。`label` もあれば線の反察の偎に曞く\n- `shift`線に垂盎に進む向きの右ぞずらす px。同じ 2 ぀の箱の行きず垰りを `shift` を同じ倀にしお 2 本䞊べる。字はずらした偎に曞く\n- `pulse`点の列`pulse-n` 個、0.22 秒おきが始点から終点ぞ `pulse-dur` 秒で流れる。`true` なら蟺のステップに匕き終わっおから1 回、`[段階, 
]` ならそのステップごずに 1 回蟺のステップでなければ `pulseAt` 秒、既定 0.2 秒から。䜍眮は (k, t) だけで決たり、流れ終わるず消える最終状態には出ない。`pulse` のステップは図のステップの数にも数える\n- `cues(k)`pulse の開始時刻を返すpulse のない図はこれたでどおり null。台本の `{cue}` の数ず合えば、「お金は〜から〜ぞ{cue}」に合わせお流れる"
1108
1108
  }
1109
1109
  },
1110
1110
  "m-folds": {
1111
1111
  "set": "data",
1112
- "row": "| `<m-folds>` | 怜蚌甚の区画を順に替え、各分割の誀差ず平均を瀺す | 分割を 1 行ず぀→平均k + 1 段階 | `{k:num,errors?:num[],labels?:str[]}` |",
1112
+ "row": "| `<m-folds>` | 怜蚌甚の区画を順に替え、各分割の誀差ず平均を瀺す | 分割を 1 行ず぀→平均k + 1 ステップ | `{k:num,errors?:num[],labels?:str[]}` |",
1113
1113
  "entry": "### `<m-folds>`\n\nデヌタ子の `<script type=\"application/json\">`の芋本: `{\"k\":5,\"errors\":[0.21,0.18,0.25,0.19,0.22],\"labels\":[\"1\",\"2\",\"3\",\"4\",\"5\"]}`\n\n| 倀 | 型 | 既定 | 意味 |\n|---|---|---|---|\n| `size` | number | `0` | 文字 px0 は 26 |\n\n`<m-folds style=\"height:440px\">` の子に JSON を眮く。\n\n- `k`分割数 2〜10 の敎数。既定文字で k = 5 は高さ 316px 以䞊誀差なし 264px\n- `errors`省略可。k 個の非負誀差\n- `labels`省略可。k 個の区画名既定 1〜k"
1114
1114
  },
1115
1115
  "m-gendai": {
1116
1116
  "set": "kokugo",
1117
1117
  "row": "| `<m-gendai>` | 珟代文の読解の図傍線・二重傍線を匕き、指瀺語から指す内容ぞ矢印、段萜を圹割䞻匵・具䜓䟋・察比の枠で囲んで線で぀なぐ | 䞭身のある phases の数既定 marks refs roles | 芁玠の䞭の字JSON ではない |",
1118
- "entry": "### `<m-gendai>`\n\n| 倀 | 型 | 既定 | 意味 |\n|---|---|---|---|\n| `size` | number | `28` | 本文の字の倧きさpx |\n| `tate` | bool | `false` | 瞊曞きにする段萜は右から巊ぞ、枠を぀なぐ線は䞊を通す |\n| `phases` | string | `\"marks refs roles\"` | 段階の䞊びmarks 傍線・refs 指瀺語・roles 段萜の枠から遞ぶ。䞭身のないものは飛ばす |\n\n珟代文の文章の構造筆者の䞻匵ず、それを支える具䜓䟋・察比ず、指瀺語の指す内容を芋せるずきに䜿う。段階 0 は本文だけ。\n\n#### 曞き方\n\n段萜は空行で区切る。段萜の頭の行で圹割ず名前、぀ながりを曞くなくおもよい。\n\n```\n@具䜓䟋#p1>p3\n駅たでの道を、私は{地図アプリ|#app}に頌っお歩く。 {それ|>app}を閉じるず、 \n\n@察比#p2~p1\n
\n\n@䞻匵#p3\n䟿利な道具は、私たちから==迷う機䌚を奪う==。だが、{迷うこずこそが |_A}。\n```\n\n- `@圹割#名前>名前`圹割自由な蚀葉、この段萜の名前、矢印で぀なぐ段萜。`~名前` は察比䞡向きの線\n- `__語句__` 傍線、`==語句==` 二重傍線\n- `{語句|しるし,
}``_A` 傍線ず蚘号 A、`=B` 二重傍線ず蚘号 B蚘号なしは `_` `=`、`#名前` 指瀺語が指す先、`>名前` 指瀺語。しるしは入れ子にしない`,` で 1 ぀にたずめる\n\n#### 段階\n\n`phases`既定 `marks refs roles`の順に。䞭身のないものは段階にしない。\n\n- `marks`傍線・二重傍線を順に匕く。蚘号A などは線の始たりに付く\n- `refs`指瀺語を囲み、指す先に色を敷いお矢印\n- `roles`段萜を圹割の色の枠で囲み、札を付け、最埌に぀なぐ線"
1118
+ "entry": "### `<m-gendai>`\n\n| 倀 | 型 | 既定 | 意味 |\n|---|---|---|---|\n| `size` | number | `28` | 本文の字の倧きさpx |\n| `tate` | bool | `false` | 瞊曞きにする段萜は右から巊ぞ、枠を぀なぐ線は䞊を通す |\n| `phases` | string | `\"marks refs roles\"` | ステップの䞊びmarks 傍線・refs 指瀺語・roles 段萜の枠から遞ぶ。䞭身のないものは飛ばす |\n\n珟代文の文章の構造筆者の䞻匵ず、それを支える具䜓䟋・察比ず、指瀺語の指す内容を芋せるずきに䜿う。ステップ 0 は本文だけ。\n\n#### 曞き方\n\n段萜は空行で区切る。段萜の頭の行で圹割ず名前、぀ながりを曞くなくおもよい。\n\n```\n@具䜓䟋#p1>p3\n駅たでの道を、私は{地図アプリ|#app}に頌っお歩く。 {それ|>app}を閉じるず、 \n\n@察比#p2~p1\n
\n\n@䞻匵#p3\n䟿利な道具は、私たちから==迷う機䌚を奪う==。だが、{迷うこずこそが |_A}。\n```\n\n- `@圹割#名前>名前`圹割自由な蚀葉、この段萜の名前、矢印で぀なぐ段萜。`~名前` は察比䞡向きの線\n- `__語句__` 傍線、`==語句==` 二重傍線\n- `{語句|しるし,
}``_A` 傍線ず蚘号 A、`=B` 二重傍線ず蚘号 B蚘号なしは `_` `=`、`#名前` 指瀺語が指す先、`>名前` 指瀺語。しるしは入れ子にしない`,` で 1 ぀にたずめる\n\n#### ステップ\n\n`phases`既定 `marks refs roles`の順に。䞭身のないものはステップにしない。\n\n- `marks`傍線・二重傍線を順に匕く。蚘号A などは線の始たりに付く\n- `refs`指瀺語を囲み、指す先に色を敷いお矢印\n- `roles`段萜を圹割の色の枠で囲み、札を付け、最埌に぀なぐ線"
1119
1119
  },
1120
1120
  "m-heatmap": {
1121
1121
  "set": "stats",
1122
- "row": "| `<m-heatmap>` | ヒヌトマップ。倀で塗ったセルの栌子混同行列・盞関行列・泚意の重み | rows行を 1 ぀ず぀normalize=\"row\" の既定。whole党䜓を 1 段階。cells党䜓、それから匷調を 1 ぀ず぀highlight があるずきの既定 | `{rows:str[],cols:str[],values:num[][],unit?:str,digits?:num,highlight?:num[][]}` — values[行][列]。rows の名前ごずに 1 行、cols の名前ごずに 1 ぀の数。highlight は [[行, 列] か [行, 列, 段階]]0 から数える |",
1123
- "entry": "### `<m-heatmap>`\n\nデヌタ子の `<script type=\"application/json\">`の芋本: `{\"rows\":[\"ねこ\",\"いぬ\"],\"cols\":[\"ねこ\",\"いぬ\"],\"values\":[[45,5],[6,44]]}`\n\n| 倀 | 型 | 既定 | 意味 |\n|---|---|---|---|\n| `scale` | string | `\"sequential\"` | sequential か divergingcenter を地の色に 2 色 |\n| `center` | number | `0` | diverging の真ん䞭の倀 |\n| `range` | json | `null` | 色の範囲 [最小, 最倧] |\n| `tone` | string | `\"term\"` | 濃い偎の色term・emph・accent2 |\n| `lowtone` | string | `\"emph\"` | diverging の center より䞋の色 |\n| `normalize` | string | `\"none\"` | row行ごずの割合混同行列 |\n| `show` | string | `\"percent\"` | normalize=row の数字percent・count・both |\n| `numbers` | string | `\"auto\"` | セルの数字auto・on・off |\n| `diag` | string | `\"off\"` | on察角を枠で匷調 |\n| `build` | string | `\"\"` | rows・whole・cells |\n| `rotate` | string | `\"auto\"` | 列の名前auto・0・90 |\n| `xl` | string | `\"\"` | 列の芋出し |\n| `yl` | string | `\"\"` | 行の芋出し |\n| `unit` | string | | セルの数字の埌ろに付ける単䜍JSON の unit より先 |\n| `digits` | number | | セルの数字の小数桁既定は倀の桁、2 桁たで。割合は 0 |\n\n`highlight: [[行, 列], 
]`0 から。3 ぀目に段階で --emph の枠。\n\n- 混同行列`normalize=\"row\" diag=\"on\"`数字は `show` で割合・数・䞡方\n- 盞関行列`scale=\"diverging\" range=\"[-1,1]\"`center の䞊䞋で 2 色\n- 曞かなければ最初の芋せ方fade"
1122
+ "row": "| `<m-heatmap>` | ヒヌトマップ。倀で塗ったセルの栌子混同行列・盞関行列・泚意の重み | rows行を 1 ぀ず぀normalize=\"row\" の既定。whole党䜓を 1 ステップ。cells党䜓、それから匷調を 1 ぀ず぀highlight があるずきの既定 | `{rows:str[],cols:str[],values:num[][],unit?:str,digits?:num,highlight?:num[][]}` — values[行][列]。rows の名前ごずに 1 行、cols の名前ごずに 1 ぀の数。highlight は [[行, 列] か [行, 列, 段階]]0 から数える |",
1123
+ "entry": "### `<m-heatmap>`\n\nデヌタ子の `<script type=\"application/json\">`の芋本: `{\"rows\":[\"ねこ\",\"いぬ\"],\"cols\":[\"ねこ\",\"いぬ\"],\"values\":[[45,5],[6,44]]}`\n\n| 倀 | 型 | 既定 | 意味 |\n|---|---|---|---|\n| `scale` | string | `\"sequential\"` | sequential か divergingcenter を地の色に 2 色 |\n| `center` | number | `0` | diverging の真ん䞭の倀 |\n| `range` | json | `null` | 色の範囲 [最小, 最倧] |\n| `tone` | string | `\"term\"` | 濃い偎の色term・emph・accent2。曞かなければテヌマの色の階調なければ term |\n| `lowtone` | string | `\"emph\"` | diverging の center より䞋の色 |\n| `normalize` | string | `\"none\"` | row行ごずの割合混同行列 |\n| `show` | string | `\"percent\"` | normalize=row の数字percent・count・both |\n| `numbers` | string | `\"auto\"` | セルの数字auto・on・off |\n| `diag` | string | `\"off\"` | on察角を枠で匷調 |\n| `build` | string | `\"\"` | rows・whole・cells |\n| `rotate` | string | `\"auto\"` | 列の名前auto・0・90 |\n| `xl` | string | `\"\"` | 列の芋出し |\n| `yl` | string | `\"\"` | 行の芋出し |\n| `unit` | string | | セルの数字の埌ろに付ける単䜍JSON の unit より先 |\n| `digits` | number | | セルの数字の小数桁既定は倀の桁、2 桁たで。割合は 0 |\n\n`highlight: [[行, 列], 
]`0 から。3 ぀目にステップで --emph の枠。\n\n- 混同行列`normalize=\"row\" diag=\"on\"`数字は `show` で割合・数・䞡方\n- 盞関行列`scale=\"diverging\" range=\"[-1,1]\"`center の䞊䞋で 2 色\n- 曞かなければ最初の芋せ方fade"
1124
1124
  },
1125
1125
  "m-hissan": {
1126
1126
  "set": "math",
1127
- "row": "| `<m-hissan>` | 筆算たし算・ひき算・かけ算・わり算、小数も。匏を曞けば、郚品が教科曞の手順で蚈算しお曞く | −は䜍ごず、×は 1 段ごずfine で 1 けたず぀→たす、÷は商 1 けたごずper=\"phase\" で たおる・かける・ひく・おろす ごず | 属性だけJSON の子なし: `digits=\"2\"` |",
1128
- "entry": "### `<m-hissan>`\n\n曞き方の芋本: `<m-hissan expr=\"487+356\"></m-hissan>`\n\n| 倀 | 型 | 既定 | 意味 |\n|---|---|---|---|\n| `expr` | string | `\"\"` | 匏487+356、1003-457、36×24、851÷23、3.6×2.4、7.56÷1.8× は * でも、÷ は / でもよい |\n| `build` | string | `\"steps\"` | steps手順ごずか whole1 段階で党郚 |\n| `fine` | string | `\"off\"` | かけ算on なら 1 けたず぀小さなくり䞊がりを曞く |\n| `per` | string | `\"round\"` | わり算round商 1 けた1 段階か phaseたおる・かける・ひく・おろす を別の段階に |\n| `kari` | string | `\"off\"` | わり算on なら倧きすぎる仮の商を 1 回芋せお盎す |\n| `rem` | string | `\"off\"` | わり算on なら商を敎数で止めお あたり を出す |\n| `digits` | json | `null` | わり算商を小数第䜕䜍たで求めるか |\n| `carry` | string | `\"line\"` | たし算のくり䞊がりline答えの線のすぐ䞊か top䞊の数の䞊 |\n| `words` | string | `\"on\"` | off なら右の手順の蚀葉を出さない |\n| `focus` | string | `\"on\"` | いた蚈算しおいる䜍・行に薄い色 |\n\n`<m-hissan expr=\"1003-457\">`。匏は `487+356` `36×24` `851÷23` `3.6×2.4` `7.56÷1.8`。\n\n- くり䞊がり・くり䞋がり・小数点・あたり は郚品が曞く\n- `fine=\"on\"`かけ算を 1 けたず぀\n- `kari=\"on\"`仮の商を芋せお 1 ず぀盎す\n- `carry=\"top\"`くり䞊がりを䞊の数の䞊に。`words=\"off\"`右の蚀葉を出さない\n- `rem=\"on\"`商を敎数で止めお あたり。`digits=\"2\"`商を小数第二䜍たで"
1127
+ "row": "| `<m-hissan>` | 筆算たし算・ひき算・かけ算・わり算、小数も。匏を曞けば、パヌツが教科曞の手順で蚈算しお曞く | −は䜍ごず、×は 1 段ごずfine で 1 けたず぀→たす、÷は商 1 けたごずper=\"phase\" で たおる・かける・ひく・おろす ごず | 属性だけJSON の子なし: `digits=\"2\"` |",
1128
+ "entry": "### `<m-hissan>`\n\n曞き方の芋本: `<m-hissan expr=\"487+356\"></m-hissan>`\n\n| 倀 | 型 | 既定 | 意味 |\n|---|---|---|---|\n| `expr` | string | `\"\"` | 匏487+356、1003-457、36×24、851÷23、3.6×2.4、7.56÷1.8× は * でも、÷ は / でもよい |\n| `build` | string | `\"steps\"` | steps手順ごずか whole1 ステップで党郚 |\n| `fine` | string | `\"off\"` | かけ算on なら 1 けたず぀小さなくり䞊がりを曞く |\n| `per` | string | `\"round\"` | わり算round商 1 けた1 ステップか phaseたおる・かける・ひく・おろす を別のステップに |\n| `kari` | string | `\"off\"` | わり算on なら倧きすぎる仮の商を 1 回芋せお盎す |\n| `rem` | string | `\"off\"` | わり算on なら商を敎数で止めお あたり を出す |\n| `digits` | json | `null` | わり算商を小数第䜕䜍たで求めるか |\n| `carry` | string | `\"line\"` | たし算のくり䞊がりline答えの線のすぐ䞊か top䞊の数の䞊 |\n| `words` | string | `\"on\"` | off なら右の手順の蚀葉を出さない |\n| `focus` | string | `\"on\"` | いた蚈算しおいる䜍・行に薄い色 |\n\n`<m-hissan expr=\"1003-457\">`。匏は `487+356` `36×24` `851÷23` `3.6×2.4` `7.56÷1.8`。\n\n- くり䞊がり・くり䞋がり・小数点・あたり はパヌツが曞く\n- `fine=\"on\"`かけ算を 1 けたず぀\n- `kari=\"on\"`仮の商を芋せお 1 ず぀盎す\n- `carry=\"top\"`くり䞊がりを䞊の数の䞊に。`words=\"off\"`右の蚀葉を出さない\n- `rem=\"on\"`商を敎数で止めお あたり。`digits=\"2\"`商を小数第二䜍たで"
1129
1129
  },
1130
1130
  "m-hist": {
1131
1131
  "set": "stats",
1132
- "row": "| `<m-hist>` | ヒストグラム・床数折れ線・ドットプロット。平均倀・䞭倮倀・最頻倀の線も | 分垃系列 1 ぀ = 1 段階→ 床数折れ線 → 代衚倀を 1 ぀ず぀ | `{values?:num[],table?:{from:num,to:num,count:int}[],bins?:{start:num,width:num},series?:[{label?,tone?,values?:num[],table?:{from:num,to:num,count:int}[]} (values or table),
]} (values or table or series)` — 生の倀ず階玚 {start, width}郚品が数えるか、床数分垃衚 [{from, to, count}]。系列は 2 ぀たで [{label, tone, values か table}] |",
1133
- "entry": "### `<m-hist>`\n\nデヌタ子の `<script type=\"application/json\">`の芋本: `{\"values\":[23,31,27,18,25,29,33,22,26,28],\"bins\":{\"start\":15,\"width\":5}}`\n\n| 倀 | 型 | 既定 | 意味 |\n|---|---|---|---|\n| `xr` | json | `null` | 暪軞の範囲曞かなければ階玚から |\n| `yr` | json | `null` | 瞊軞の範囲曞かなければ床数から |\n| `xt` | json | `null` | 暪軞の目盛り曞かなければ階玚の境 |\n| `yt` | json | `null` | 瞊軞の目盛り曞かなければ自動 |\n| `xf` | number | | 暪軞の目盛りの小数桁 |\n| `yf` | number | | 瞊軞の目盛りの小数桁 |\n| `xl` | string | `\"\"` | 暪軞の名前`*斜䜓*` `_䞋付き` `^䞊付き` * |\n| `yl` | string | `\"\"` | 瞊軞の名前 * |\n| `unit` | string | `\"\"` | 代衚倀の数の埌ろに付ける単䜍 |\n| `digits` | number | | 代衚倀の小数桁曞かなければ倀の桁1 たで |\n| `polygon` | string | `\"off\"` | on床数折れ線 |\n| `relative` | string | `\"off\"` | on盞察床数 |\n| `cumulative` | string | `\"off\"` | on环積床数 |\n| `kind` | string | `\"bars\"` | bars柱状グラフか dotsドットプロット |\n| `marks` | string | `\"\"` | 代衚倀の印mean,median,mode のどれか曞いた順に 1 ぀ず぀ |\n| `build` | string | `\"whole\"` | whole・values倀を 1 ぀ず぀数える・bins階玚を 1 ぀ず぀ |\n\n子の JSON の䞊び郚品が数える。か `{\"table\": [{\"from\", \"to\", \"count\"}]}`。2 組なら `\"series\": [{\"label\", \"values\" か \"table\"}]`重ねる。\n\n- 階玚は start 以䞊 startwidth 未満\n- `kind=\"dots\"`ドットプロットvalues が芁る\n- `polygon` `relative` `cumulative``\"on\"`\n- `marks=\"mean,median,mode\"`代衚倀の線\n- `build=\"values\"`倀を 1 ぀ず぀積む。`\"bins\"`階玚を 1 ぀ず぀",
1132
+ "row": "| `<m-hist>` | ヒストグラム・床数折れ線・ドットプロット。平均倀・䞭倮倀・最頻倀の線も | 分垃系列 1 ぀ = 1 ステップ→ 床数折れ線 → 代衚倀を 1 ぀ず぀ | `{values?:num[],table?:{from:num,to:num,count:int}[],bins?:{start:num,width:num},series?:[{label?,tone?,values?:num[],table?:{from:num,to:num,count:int}[]} (values or table),
]} (values or table or series)` — 生の倀ず階玚 {start, width}郚品が数えるか、床数分垃衚 [{from, to, count}]。系列は 2 ぀たで [{label, tone, values か table}] |",
1133
+ "entry": "### `<m-hist>`\n\nデヌタ子の `<script type=\"application/json\">`の芋本: `{\"values\":[23,31,27,18,25,29,33,22,26,28],\"bins\":{\"start\":15,\"width\":5}}`\n\n| 倀 | 型 | 既定 | 意味 |\n|---|---|---|---|\n| `xr` | json | `null` | 暪軞の範囲曞かなければ階玚から |\n| `yr` | json | `null` | 瞊軞の範囲曞かなければ床数から |\n| `xt` | json | `null` | 暪軞の目盛り曞かなければ階玚の境 |\n| `yt` | json | `null` | 瞊軞の目盛り曞かなければ自動 |\n| `xf` | number | | 暪軞の目盛りの小数桁 |\n| `yf` | number | | 瞊軞の目盛りの小数桁 |\n| `xl` | string | `\"\"` | 暪軞の名前`*斜䜓*` `_䞋付き` `^䞊付き` * |\n| `yl` | string | `\"\"` | 瞊軞の名前 * |\n| `unit` | string | `\"\"` | 代衚倀の数の埌ろに付ける単䜍 |\n| `digits` | number | | 代衚倀の小数桁曞かなければ倀の桁1 たで |\n| `polygon` | string | `\"off\"` | on床数折れ線 |\n| `relative` | string | `\"off\"` | on盞察床数 |\n| `cumulative` | string | `\"off\"` | on环積床数 |\n| `kind` | string | `\"bars\"` | bars柱状グラフか dotsドットプロット |\n| `marks` | string | `\"\"` | 代衚倀の印mean,median,mode のどれか曞いた順に 1 ぀ず぀ |\n| `build` | string | `\"whole\"` | whole・values倀を 1 ぀ず぀数える・bins階玚を 1 ぀ず぀ |\n\n子の JSON の䞊びパヌツが数える。か `{\"table\": [{\"from\", \"to\", \"count\"}]}`。2 組なら `\"series\": [{\"label\", \"values\" か \"table\"}]`重ねる。\n\n- 階玚は start 以䞊 startwidth 未満\n- `kind=\"dots\"`ドットプロットvalues が芁る\n- `polygon` `relative` `cumulative``\"on\"`\n- `marks=\"mean,median,mode\"`代衚倀の線\n- `build=\"values\"`倀を 1 ぀ず぀積む。`\"bins\"`階玚を 1 ぀ず぀",
1134
1134
  "sup": true
1135
1135
  },
1136
1136
  "m-kanbun": {
1137
1137
  "set": "kokugo",
1138
1138
  "row": "| `<m-kanbun>` | 癜文に返り点・送り仮名を付け、蚓読の順に字をたどり返り点で䞊ぞ戻るずころに匧、曞き䞋し文にする瞊曞き | phases の数order は句の数だけ、order-by=\"all\" なら 1。既定蚓点 1句の数曞き䞋し文 1 | 芁玠の䞭の字JSON ではない |",
1139
- "entry": "### `<m-kanbun>`\n\n| 倀 | 型 | 既定 | 意味 |\n|---|---|---|---|\n| `size` | number | `60` | 挢字の倧きさpx。送り仮名・返り点はその 0.42 倍24px より小さくしない |\n| `phases` | string | `\"kunten order kaki\"` | 段階の䞊びkunten 蚓点・order 読む順・kaki 曞き䞋し文から遞ぶ |\n| `kaki` | number | `36` | 曞き䞋し文の字の倧きさpx |\n| `nums` | bool | `true` | 読む順の番号を字の巊䞊に出す |\n| `order-by` | string | `\"col\"` | 読む順の段階の分け方col は列句ごずに 1 段階、all は読む順の党䜓で 1 段階たで |\n\n挢文の授業で、癜文 → 蚓点 → 読む順 → 曞き䞋し文 を 1 枚で芋せるずきに䜿う。段階 0 は癜文。\n\n#### 曞き方\n\n芁玠の䞭に、1 行に 1 列句を曞く。行の䞭の空癜は読たない。字の埌ろに付けるもの順は問わない\n\n| 曞き方 | 意味 | 䟋 |\n|---|---|---|\n| `(
)` | 送り仮名片仮名。右䞋に出す | `芚(゚)` |\n| `[
]` | 返り点`レ` `侀` `二` `侉` `四` `五` `侊` `äž­` `例` `甲` `乙` `侙` `䞁` `倩` `地` `人`、`䞀レ` `䞊レ` `甲レ` `倩レ` | `聞(ク)[二]啌鳥(ヲ)[侀]` |\n| `レ` | レ点`[レ]` ず同じ | `䞍{=ず}レ芚(゚)レ暁(ヲ)` |\n| `{
}` | 振り仮名右に出す。曞き䞋し文ではルビ | `濺{そそ}(ギ)` |\n| `{=
}` | 曞き䞋し文で平仮名にする字助字の読み | `䞍{=ず}`、`也{=なり}` |\n| `{-}` | 眮き字読たない | `而{-}` |\n| `(右\\|二床目)` | 再読文字右の送り仮名ず二床目の読み | `未(ダ\\|ず)`、`将(ニ\\|ス)` |\n| `字-字` | 竪点続けお読む熟語。返り点はたずたり党䜓に効く | `読-曞` |\n| `、` `。` | 句読点癜文では出さない | `人(ヲ)、` |\n\n括匧は党角でもよい。\n\n#### 段階\n\n`phases`既定 `kunten order kaki`の順に 1 段階ず぀\n\n- `kunten`返り点・送り仮名・振り仮名・句読点が出る\n- `order`句列ごずに 1 段階。読む順に字をたどり、番号ず、䞊ぞ戻るずころに匧の矢印を付ける。`slot` 秒で 1 字。台本の [n] は句ごずに曞く\n - `order-by=\"all\"`読む順の党䜓を 1 段階でたどる既定 `col` は句ごずに 1 段階。口述原皿の `{cue}` を句ごずに眮ける\n- `kaki`曞き䞋し文が巊に瞊曞きで出る\n\n`phases=\"kunten kaki\"` のように䞀郚だけにもできる`kunten` を倖すず蚓点は初めから出る。\n\n#### 泚意\n\n- 字は芁玠の倧きさに合わせる。収たらなければ句を分けるか、芁玠を高くする"
1139
+ "entry": "### `<m-kanbun>`\n\n| 倀 | 型 | 既定 | 意味 |\n|---|---|---|---|\n| `size` | number | `60` | 挢字の倧きさpx。送り仮名・返り点はその 0.42 倍24px より小さくしない |\n| `phases` | string | `\"kunten order kaki\"` | ステップの䞊びkunten 蚓点・order 読む順・kaki 曞き䞋し文から遞ぶ |\n| `kaki` | number | `36` | 曞き䞋し文の字の倧きさpx |\n| `nums` | bool | `true` | 読む順の番号を字の巊䞊に出す |\n| `order-by` | string | `\"col\"` | 読む順のステップの分け方col は列句ごずに 1 ステップ、all は読む順の党䜓で 1 ステップたで |\n\n挢文の授業で、癜文 → 蚓点 → 読む順 → 曞き䞋し文 を 1 枚で芋せるずきに䜿う。ステップ 0 は癜文。\n\n#### 曞き方\n\n芁玠の䞭に、1 行に 1 列句を曞く。行の䞭の空癜は読たない。字の埌ろに付けるもの順は問わない\n\n| 曞き方 | 意味 | 䟋 |\n|---|---|---|\n| `(
)` | 送り仮名片仮名。右䞋に出す | `芚(゚)` |\n| `[
]` | 返り点`レ` `侀` `二` `侉` `四` `五` `侊` `äž­` `例` `甲` `乙` `侙` `䞁` `倩` `地` `人`、`䞀レ` `䞊レ` `甲レ` `倩レ` | `聞(ク)[二]啌鳥(ヲ)[侀]` |\n| `レ` | レ点`[レ]` ず同じ | `䞍{=ず}レ芚(゚)レ暁(ヲ)` |\n| `{
}` | 振り仮名右に出す。曞き䞋し文ではルビ | `濺{そそ}(ギ)` |\n| `{=
}` | 曞き䞋し文で平仮名にする字助字の読み | `䞍{=ず}`、`也{=なり}` |\n| `{-}` | 眮き字読たない | `而{-}` |\n| `(右\\|二床目)` | 再読文字右の送り仮名ず二床目の読み | `未(ダ\\|ず)`、`将(ニ\\|ス)` |\n| `字-字` | 竪点続けお読む熟語。返り点はたずたり党䜓に効く | `読-曞` |\n| `、` `。` | 句読点癜文では出さない | `人(ヲ)、` |\n\n括匧は党角でもよい。\n\n#### ステップ\n\n`phases`既定 `kunten order kaki`の順に 1 ステップず぀\n\n- `kunten`返り点・送り仮名・振り仮名・句読点が出る\n- `order`句列ごずに 1 ステップ。読む順に字をたどり、番号ず、䞊ぞ戻るずころに匧の矢印を付ける。`slot` 秒で 1 字。台本の [n] は句ごずに曞く\n - `order-by=\"all\"`読む順の党䜓を 1 ステップでたどる既定 `col` は句ごずに 1 ステップ。台本の `{cue}` を句ごずに眮ける\n- `kaki`曞き䞋し文が巊に瞊曞きで出る\n\n`phases=\"kunten kaki\"` のように䞀郚だけにもできる`kunten` を倖すず蚓点は初めから出る。\n\n#### 泚意\n\n- 字は芁玠の倧きさに合わせる。収たらなければ句を分けるか、芁玠を高くする"
1140
1140
  },
1141
1141
  "m-keyboard": {
1142
1142
  "set": "music",
1143
- "row": "| `<m-keyboard>` | ピアノの鍵盀。音階・和音・半音ず党音を光らせる | steps の 1 ぀ = 1 段階鍵盀は t でずらしお順に光る | `{range:str,names?:\"solfa\"\\|\"abc\"\\|\"iroha\"\\|\"none\",cumulative?:bool,dur?:num,steps:{keys:str[],label?,t?:num[],tone?,dur?:num}[]}` — range \"C4-C6\"䜿う鍵を党郚含め、1 オクタヌブ以䞊䟋 C4-C5。䞡端は癜鍵、3 オクタヌブたで、steps [{keys: [\"C4\", \"E4\"], label, t: [鍵盀ごずの秒], tone, dur}] |",
1144
- "entry": "### `<m-keyboard>`\n\nデヌタ子の `<script type=\"application/json\">`の芋本: `{\"range\":\"C4-C6\",\"names\":\"solfa\",\"steps\":[{\"keys\":[\"C4\",\"E4\",\"G4\"],\"label\":\"䞻和音ドミ゜\"}]}`\n\n| 倀 | 型 | 既定 | 意味 |\n|---|---|---|---|\n| `なし。子の JSON` | | | |\n\n- `range`䜿う鍵を党郚含め、1 オクタヌブ以䞊䟋 C4-C5。䞡端は癜鍵、3 オクタヌブたで\n- `names``solfa`ドレミ・`abc`・`iroha`ハニホ、嬰ハ・倉ニ・`none`\n- `t`鍵盀ごずの秒。ずらすず音階、同じなら和音\n- `cumulative: true`前の段階の鍵盀も薄く残す\n- `tone`光の色。`dur`音の秒既定は次の音たで、最埌は 0.8"
1143
+ "row": "| `<m-keyboard>` | ピアノの鍵盀。音階・和音・半音ず党音を光らせる | steps の 1 ぀ = 1 ステップ鍵盀は t でずらしお順に光る | `{range:str,names?:\"solfa\"\\|\"abc\"\\|\"iroha\"\\|\"none\",cumulative?:bool,dur?:num,steps:{keys:str[],label?,t?:num[],tone?,dur?:num}[]}` — range \"C4-C6\"䜿う鍵を党郚含め、1 オクタヌブ以䞊䟋 C4-C5。䞡端は癜鍵、3 オクタヌブたで、steps [{keys: [\"C4\", \"E4\"], label, t: [鍵盀ごずの秒], tone, dur}] |",
1144
+ "entry": "### `<m-keyboard>`\n\nデヌタ子の `<script type=\"application/json\">`の芋本: `{\"range\":\"C4-C6\",\"names\":\"solfa\",\"steps\":[{\"keys\":[\"C4\",\"E4\",\"G4\"],\"label\":\"䞻和音ドミ゜\"}]}`\n\n| 倀 | 型 | 既定 | 意味 |\n|---|---|---|---|\n| `なし。子の JSON` | | | |\n\n- `range`䜿う鍵を党郚含め、1 オクタヌブ以䞊䟋 C4-C5。䞡端は癜鍵、3 オクタヌブたで\n- `names``solfa`ドレミ・`abc`・`iroha`ハニホ、嬰ハ・倉ニ・`none`\n- `t`鍵盀ごずの秒。ずらすず音階、同じなら和音\n- `cumulative: true`前のステップの鍵盀も薄く残す\n- `tone`光の色。`dur`音の秒既定は次の音たで、最埌は 0.8"
1145
1145
  },
1146
1146
  "m-kobun": {
1147
1147
  "set": "kokugo",
1148
1148
  "row": "| `<m-kobun>` | 叀文を語に切りスラッシュ、品詞で色を分けお 1 文ず぀芋せ、最埌に珟代語蚳ず䞊べる。助動詞を抌すず掻甚衚ず意味 | 文の数珟代語蚳があれば 1 | 芁玠の䞭の字JSON ではない |",
1149
- "entry": "### `<m-kobun>`\n\n| 倀 | 型 | 既定 | 意味 |\n|---|---|---|---|\n| `size` | number | `34` | 本文の字の倧きさpx |\n| `tate` | bool | `false` | 瞊曞きにする品詞は語の巊、珟代語蚳は文の巊に |\n| `yaku` | bool | `true` | 珟代語蚳= の行があれば、最埌の段階で䞊べる |\n| `detail` | bool | `false` | 品詞の䞋に [ ] の䞭をすべお掻甚の皮類・掻甚圢など出す |\n\n叀文の品詞分解を、板曞のように 1 文ず぀芋せるずきに䜿う。段階 0 は切っおいない本文。\n\n#### 曞き方\n\n1 行が 1 文1 段階。語は `/` で切り、語の埌ろの `[ ]` に品詞ず、`・` で区切っお詳しいこずを曞く。`[ ]` の埌ろの字`、` `。`は語に付けお出す。\n\n```\n春[名]/は[係助]/あけがの[名]。\n= 春は明け方がよい。\n玫だち[動・タ四・連甚]/たる[助動・たり・存続・連䜓]/雲[名]/の[栌助]/
\n```\n\n- 品詞`名` `代` `動` `補動` `圢` `圢動` `副` `連䜓` `接` `感` `助動` `栌助` `係助` `副助` `接助` `終助` `間助` `接頭` `接尟`\n- 助動詞`[助動・基本圢・この文での意味・掻甚圢]`。基本圢は文語の助動詞 28 語の衚から匕く`なり`・`たり` は意味で分ける。衚にないものは知らせる\n- `= 
` の行盎前の文の珟代語蚳最埌の段階で、本文の䞋、瞊曞きでは巊に出す\n- `{挢字|かな}`振り仮名\n\n#### 属性\n\n- `tate`瞊曞き品詞は語の巊\n- `detail`品詞の䞋に `[ ]` の䞭をすべお出す掻甚の皮類・掻甚圢たで。語の間が広がる\n - `detail` がなければ、助動詞の意味・掻甚圢は抌したずきの札にだけ出る印刷には出ない。印刷や動画で芋せるなら `detail` を付ける\n- `yaku=\"false\"`珟代語蚳の段階を䜜らない"
1149
+ "entry": "### `<m-kobun>`\n\n| 倀 | 型 | 既定 | 意味 |\n|---|---|---|---|\n| `size` | number | `34` | 本文の字の倧きさpx |\n| `tate` | bool | `false` | 瞊曞きにする品詞は語の巊、珟代語蚳は文の巊に |\n| `yaku` | bool | `true` | 珟代語蚳= の行があれば、最埌のステップで䞊べる |\n| `detail` | bool | `false` | 品詞の䞋に [ ] の䞭をすべお掻甚の皮類・掻甚圢など出す |\n\n叀文の品詞分解を、板曞のように 1 文ず぀芋せるずきに䜿う。ステップ 0 は切っおいない本文。\n\n#### 曞き方\n\n1 行が 1 文1 ステップ。語は `/` で切り、語の埌ろの `[ ]` に品詞ず、`・` で区切っお詳しいこずを曞く。`[ ]` の埌ろの字`、` `。`は語に付けお出す。\n\n```\n春[名]/は[係助]/あけがの[名]。\n= 春は明け方がよい。\n玫だち[動・タ四・連甚]/たる[助動・たり・存続・連䜓]/雲[名]/の[栌助]/
\n```\n\n- 品詞`名` `代` `動` `補動` `圢` `圢動` `副` `連䜓` `接` `感` `助動` `栌助` `係助` `副助` `接助` `終助` `間助` `接頭` `接尟`\n- 助動詞`[助動・基本圢・この文での意味・掻甚圢]`。基本圢は文語の助動詞 28 語の衚から匕く`なり`・`たり` は意味で分ける。衚にないものは知らせる\n- `= 
` の行盎前の文の珟代語蚳最埌のステップで、本文の䞋、瞊曞きでは巊に出す\n- `{挢字|かな}`振り仮名\n\n#### 属性\n\n- `tate`瞊曞き品詞は語の巊\n- `detail`品詞の䞋に `[ ]` の䞭をすべお出す掻甚の皮類・掻甚圢たで。語の間が広がる\n - `detail` がなければ、助動詞の意味・掻甚圢は抌したずきの札にだけ出る印刷には出ない。印刷や動画で芋せるなら `detail` を付ける\n- `yaku=\"false\"`珟代語蚳のステップを䜜らない"
1150
1150
  },
1151
1151
  "m-kpi": {
1152
1152
  "set": "standard",
1153
- "row": "| `<m-kpi>` | 倧きな数字の札KPIを段階ごずに出す。数字は数え䞊げ、䞋に増枛の矢印ず䞀蚀 | 札の step の最倧既定は札 1 枚 = 1 段階。per-step で n 枚ず぀ | `{cards:{label?,value:num,digits?:int,unit?:str,prefix?:str,from?:num,tone?,delta?:{dir?:\"up\"\\|\"down\",text?:str,good?:bool},note?,step?,at?}[]}` |",
1154
- "entry": "### `<m-kpi>`\n\n| 倀 | 型 | 既定 | 意味 |\n|---|---|---|---|\n| `cols` | number | `0` | 1 行の札の数0 = 札の数、4 たで |\n| `digits` | number | `0` | 数字の小数桁札の digits が優先 |\n| `per-step` | number | `1` | 1 段階に出す札の数0 = 党郚を段階 1 で |\n| `count` | bool | `true` | 数字を数え䞊げる |\n| `size` | number | `0` | 数字の字の倧きさpx。0 = 札の高さから |\n\n衚玙の盎埌の「掎みの数字」、詊隓導入の結果、垂堎芏暡の芁玄など、少数の数字を倧きく芋せるずきに䜿う。\n\n- `label`札の䞊の名前。`value`数字`digits` 桁、3 桁ごずにカンマ。`unit`数字の埌ろの単䜍小さめの字。`prefix`数字の前の蚘号`+` `箄` など。負の `value` は自分で − が付くので、`prefix` に `−` を重ねない`\"prefix\": \"−\"` ず `-12` は「−−12」。枛った量を正の数で芋せるずきだけ `value` を正にしお `prefix: \"−\"`\n- `from`数え䞊げを始める倀既定 0。「20 分 → 7.5 分」のように枛らす数も芋せられる\n- `tone`数字ず札の䞊の垯の色`term`既定・`emph`・`accent2`・`series-1..4`\n- `delta``{\"dir\": \"up\" | \"down\", \"text\": \"前の期から 4 瀟\", \"good\": true}`。▲ / â–Œ ず䞀蚀を数字の䞋に出す。良い向き`good`、既定は `up` なら良いなら `--term`、悪い向きなら `--emph`\n- `note`札の䞋端の䞀蚀`--muted`\n- 芋せ方`variant``count`・`rise`・`flip`・`underline`。曞かなければ資料のシヌド倀で遞ばれる曞かなくおよい\n- 札の䞊び`cols`既定は札の数、4 たで列で、行が足りなければ折り返す\n- `cues(k)`同じ段階に 2 枚以䞊の札があれば、2 枚目からの開始時刻を返す口述原皿の `{cue}` に合わせられる"
1153
+ "row": "| `<m-kpi>` | 倧きな数字の札KPIをステップごずに出す。数字は数え䞊げ、䞋に増枛の矢印ず䞀蚀 | 札の step の最倧既定は札 1 枚 = 1 ステップ。per-step で n 枚ず぀ | `{cards:{label?,value:num,digits?:int,unit?:str,prefix?:str,from?:num,tone?,delta?:{dir?:\"up\"\\|\"down\",text?:str,good?:bool},note?,step?,at?}[]}` |",
1154
+ "entry": "### `<m-kpi>`\n\n| 倀 | 型 | 既定 | 意味 |\n|---|---|---|---|\n| `cols` | number | `0` | 1 行の札の数0 = 札の数、4 たで |\n| `digits` | number | `0` | 数字の小数桁札の digits が優先 |\n| `per-step` | number | `1` | 1 ステップに出す札の数0 = 党郚をステップ 1 で |\n| `count` | bool | `true` | 数字を数え䞊げる |\n| `size` | number | `0` | 数字の字の倧きさpx。0 = 札の高さから |\n\n衚玙の盎埌の「掎みの数字」、詊隓導入の結果、垂堎芏暡の芁玄など、少数の数字を倧きく芋せるずきに䜿う。\n\n- `label`札の䞊の名前。`value`数字`digits` 桁、3 桁ごずにカンマ。`unit`数字の埌ろの単䜍小さめの字。`prefix`数字の前の蚘号`+` `箄` など。負の `value` は自分で − が付くので、`prefix` に `−` を重ねない`\"prefix\": \"−\"` ず `-12` は「−−12」。枛った量を正の数で芋せるずきだけ `value` を正にしお `prefix: \"−\"`\n- `from`数え䞊げを始める倀既定 0。「20 分 → 7.5 分」のように枛らす数も芋せられる\n- `tone`数字ず札の䞊の垯の色`term`既定・`emph`・`accent2`・`series-1..4`\n- `delta``{\"dir\": \"up\" | \"down\", \"text\": \"前の期から 4 瀟\", \"good\": true}`。▲ / â–Œ ず䞀蚀を数字の䞋に出す。良い向き`good`、既定は `up` なら良いなら `--term`、悪い向きなら `--emph`\n- `note`札の䞋端の䞀蚀`--muted`\n- 芋せ方`variant``count`・`rise`・`flip`・`underline`。曞かなければ資料のシヌド倀で遞ばれる曞かなくおよい\n- 札の䞊び`cols`既定は札の数、4 たで列で、行が足りなければ折り返す\n- `cues(k)`同じステップに 2 枚以䞊の札があれば、2 枚目からの開始時刻を返す台本の `{cue}` に合わせられる"
1155
1155
  },
1156
1156
  "m-map-japan": {
1157
1157
  "set": "maps",
1158
- "row": "| `<m-map-japan>` | 日本の 47 郜道府県の地図。地域の匷調、統蚈の塗り分け、点、矢印、経床・緯床の重ね描きを段階ごずに出す | 項目の step の最倧既定 1。地図そのものは段階 0 から出おいる | `{regions?:[{id?:str\\|int,group?:str,label?,tone?,step?,at?} (id or group),
],values?:object,classes?:num[],valuesStep?:int,points?:[{lon?:num,lat?:num,code?:str\\|int,label?,tone?,anchor?:\"right\"\\|\"left\"\\|\"above\"\\|\"below\"\\|\"top\"\\|\"bottom\",step?,at?} (lon + lat or code),
],flows?:{from:str\\|int\\|any[],to:str\\|int\\|any[],label?,tone?,value?:num,bend?:num,via?:any[][],labelAt?:any[],step?,at?}[],shapes?:[{polygon?:any[][],line?:any[][],label?,labelAt?:any[],tone?,dash?:bool,step?,at?} (polygon or line),
]}` — 郜道府県は regions[].id に JIS の番号 \"01\"〜\"47\"\"JP-13\"・\"東京郜\" も可、八地方区分は regions[].grouphokkaido・tohoku・kanto・chubu・kinki・chugoku・shikoku・kyushu。values は {番号: 数} のオブゞェクト、classes は階玚の䞋限既定は 4 階玚、5 ぀たで。points・shapes・flows[].via は経床・緯床床 |",
1159
- "entry": "### `<m-map-japan>`\n\nデヌタ子の `<script type=\"application/json\">`の芋本: `{\"regions\":[{\"id\":\"13\",\"tone\":\"emph\",\"step\":1},{\"group\":\"kinki\",\"tone\":\"series-2\",\"step\":2}],\"points\":[{\"lon\":135.5,\"lat\":34.69,\"label\":\"倧阪\",\"step\":3}],\"flows\":[{\"from\":\"13\",\"to\":\"27\",\"step\":4}]}`\n\n| 倀 | 型 | 既定 | 意味 |\n|---|---|---|---|\n| `layout` | string | `\"inset\"` | inset南西諞島を枠に入れお描くか true本圓の䜍眮。日本が小さくなる |\n| `islands` | string | `\"main\"` | main か allinset で小笠原諞島の枠も描く |\n| `labels` | string | `\"focus\"` | 地域の名前focusregions に曞いた地域だけ・all名前が䞭に入る郜道府県すべお・none |\n| `show` | string | `\"none\"` | 塗り分けた地域の䞊に倀を曞くかnone曞かない、既定・value䞭に入る地域だけ倀を曞く |\n| `unit` | string | `\"\"` | 倀の単䜍凡䟋の芋出しに曞く |\n| `digits` | number | `0` | 倀の小数桁 |\n| `legend` | string | `\"\"` | 凡䟋の芋出し䟋人口。unit があれば埌ろに単䜍を足す |\n\n地理・歎史の授業で堎所を瀺すずきに䜿う。子の JSONどれも `step` `at` `tone` を持おる\n\n- `regions``id``\"01\"`〜`\"47\"`か `group``hokkaido` `tohoku` `kanto` `chubu` `kinki` `chugoku` `shikoku` `kyushu`。`label`\n- `values``{\"13\": 1406, 
}` ず `classes`階玚の䞋限。最初はいちばん小さい倀以䞋に。曞かなければ四分䜍で 4 階玚。5 ぀たでで塗り分け。凡䟋に階玚を曞く。塗り分けの段階は `valuesStep`既定 1。`values` は `step` を持おない\n- `points``lon` `lat`たたは `code` で県庁の䜍眮、`label`、`anchor`\n- `flows``from` `to`番号か `[経床, 緯床]`の矢印。`via`通る点 `[[経床, 緯床], 
]`。海の道は沖に、`label` `labelAt` `value`数。線が倀で倪くなる\n- `shapes``polygon` か `line``[[経床, 緯床], 
]`。`label` `dash`\n\n`labels``focus`既定・`all`・`none`。`show=\"value\"` で入る地域に倀を曞く既定は曞かない。\n\n日本の範囲・東西南北の端・排他的経枈氎域を芋せるずきは layout=\"true\"小窓なし、本圓の䜍眮\n\n地図デヌタNatural Earthパブリックドメむンを加工。"
1158
+ "row": "| `<m-map-japan>` | 日本の 47 郜道府県の地図。地域の匷調、統蚈の塗り分け、点、矢印、経床・緯床の重ね描きをステップごずに出す | 項目の step の最倧既定 1。地図そのものはステップ 0 から出おいる | `{regions?:[{id?:str\\|int,group?:str,label?,tone?,step?,at?} (id or group),
],values?:object,classes?:num[],valuesStep?:int,points?:[{lon?:num,lat?:num,code?:str\\|int,label?,tone?,anchor?:\"right\"\\|\"left\"\\|\"above\"\\|\"below\"\\|\"top\"\\|\"bottom\",step?,at?} (lon + lat or code),
],flows?:{from:str\\|int\\|any[],to:str\\|int\\|any[],label?,tone?,value?:num,bend?:num,via?:any[][],labelAt?:any[],step?,at?}[],shapes?:[{polygon?:any[][],line?:any[][],label?,labelAt?:any[],tone?,dash?:bool,step?,at?} (polygon or line),
]}` — 郜道府県は regions[].id に JIS の番号 \"01\"〜\"47\"\"JP-13\"・\"東京郜\" も可、八地方区分は regions[].grouphokkaido・tohoku・kanto・chubu・kinki・chugoku・shikoku・kyushu。values は {番号: 数} のオブゞェクト、classes は階玚の䞋限既定は 4 階玚、5 ぀たで。points・shapes・flows[].via は経床・緯床床 |",
1159
+ "entry": "### `<m-map-japan>`\n\nデヌタ子の `<script type=\"application/json\">`の芋本: `{\"regions\":[{\"id\":\"13\",\"tone\":\"emph\",\"step\":1},{\"group\":\"kinki\",\"tone\":\"series-2\",\"step\":2}],\"points\":[{\"lon\":135.5,\"lat\":34.69,\"label\":\"倧阪\",\"step\":3}],\"flows\":[{\"from\":\"13\",\"to\":\"27\",\"step\":4}]}`\n\n| 倀 | 型 | 既定 | 意味 |\n|---|---|---|---|\n| `layout` | string | `\"inset\"` | inset南西諞島を枠に入れお描くか true本圓の䜍眮。日本が小さくなる |\n| `islands` | string | `\"main\"` | main か allinset で小笠原諞島の枠も描く |\n| `labels` | string | `\"focus\"` | 地域の名前focusregions に曞いた地域だけ・all名前が䞭に入る郜道府県すべお・none |\n| `show` | string | `\"none\"` | 塗り分けた地域の䞊に倀を曞くかnone曞かない、既定・value䞭に入る地域だけ倀を曞く |\n| `unit` | string | `\"\"` | 倀の単䜍凡䟋の芋出しに曞く |\n| `digits` | number | `0` | 倀の小数桁 |\n| `legend` | string | `\"\"` | 凡䟋の芋出し䟋人口。unit があれば埌ろに単䜍を足す |\n\n地理・歎史の授業で堎所を瀺すずきに䜿う。子の JSONどれも `step` `at` `tone` を持おる\n\n- `regions``id``\"01\"`〜`\"47\"`か `group``hokkaido` `tohoku` `kanto` `chubu` `kinki` `chugoku` `shikoku` `kyushu`。`label`\n- `values``{\"13\": 1406, 
}` ず `classes`階玚の䞋限。最初はいちばん小さい倀以䞋に。曞かなければ四分䜍で 4 階玚。5 ぀たでで塗り分け。凡䟋に階玚を曞く。塗り分けのステップは `valuesStep`既定 1。`values` は `step` を持おない\n- `points``lon` `lat`たたは `code` で県庁の䜍眮、`label`、`anchor`\n- `flows``from` `to`番号か `[経床, 緯床]`の矢印。`via`通る点 `[[経床, 緯床], 
]`。海の道は沖に、`label` `labelAt` `value`数。線が倀で倪くなる\n- `shapes``polygon` か `line``[[経床, 緯床], 
]`。`label` `dash`\n\n`labels``focus`既定・`all`・`none`。`show=\"value\"` で入る地域に倀を曞く既定は曞かない。\n\n日本の範囲・東西南北の端・排他的経枈氎域を芋せるずきは layout=\"true\"小窓なし、本圓の䜍眮\n\n地図デヌタNatural Earthパブリックドメむンを加工。"
1160
1160
  },
1161
1161
  "m-map-world": {
1162
1162
  "set": "maps",
1163
- "row": "| `<m-map-world>` | 䞖界の囜・地域の地図倪平掋が䞭倮。囜や州の匷調、区分ず倀の塗り分け、点、矢印を段階ごずに出す | 項目の step の最倧既定 1。地図そのものは段階 0 から出おいる | `{regions?:[{id?:str,group?:str,label?,tone?,step?,at?} (id or group),
],categories?:{label,ids:str[],tone?,step?,at?}[],values?:object,classes?:num[],valuesStep?:int,points?:[{lon?:num,lat?:num,code?:str,label?,tone?,anchor?:\"right\"\\|\"left\"\\|\"above\"\\|\"below\"\\|\"top\"\\|\"bottom\",step?,at?} (lon + lat or code),
],flows?:{from:str\\|any[],to:str\\|any[],label?,tone?,value?:num,bend?:num,via?:any[][],labelAt?:any[],step?,at?}[],shapes?:[{polygon?:any[][],line?:any[][],label?,labelAt?:any[],tone?,dash?:bool,step?,at?} (polygon or line),
]}` — 囜・地域は ISO の 3 文字か Natural Earth の笊号\"JPN\"・\"USA\"か日本語の名前。六州asia・europe・africa・north-america・south-america・oceaniaは regions[].group ず categories[].ids に。values は {笊号: 数}、classes は階玚の䞋限既定は 4 階玚、5 ぀たで。points・shapes・flows の [経床, 緯床] は床 |",
1164
- "entry": "### `<m-map-world>`\n\nデヌタ子の `<script type=\"application/json\">`の芋本: `{\"regions\":[{\"id\":\"JPN\",\"tone\":\"emph\",\"step\":1},{\"group\":\"africa\",\"tone\":\"series-2\",\"step\":2}],\"points\":[{\"lon\":139.69,\"lat\":35.69,\"label\":\"東京\",\"step\":3}],\"flows\":[{\"from\":[139.69,35.69],\"to\":\"AUS\",\"step\":4}]}`\n\n| 倀 | 型 | 既定 | 意味 |\n|---|---|---|---|\n| `labels` | string | `\"focus\"` | 名前focusregions に曞いた地域だけ・all名前が䞭に入る囜すべお・none |\n| `grid` | string | `\"none\"` | none・equator赀道・graticule30° ごずの経線・緯線ず赀道 |\n| `show` | string | `\"none\"` | 塗り分けた囜の䞊に倀を曞くかnone既定・value䞭に入る囜だけ |\n| `unit` | string | `\"\"` | 倀の単䜍凡䟋の芋出しに曞く |\n| `digits` | number | `0` | 倀の小数桁 |\n| `legend` | string | `\"\"` | 凡䟋の芋出し䟋人口。unit があれば埌ろに単䜍を足す |\n\n䞖界地理・歎史の授業で囜や郜垂の堎所を瀺すずきに䜿う。子の JSONどれも `step` `at` `tone` を持おる\n\n- `regions``id``\"JPN\"` など ISO の 3 文字か囜名か `group`六州。`label`\n- `categories``label` ず `ids`囜か州。凡䟋に出す。4 区分たで\n- `values``{\"JPN\": 72, 
}` ず `classes`階玚の䞋限。塗り分けの段階は `valuesStep`既定 1\n- `points``lon` `lat`、`label`、`anchor`\n- `flows``from` `to``[経床, 緯床]` か囜、`via` `label` `bend`、`value`数。線の倪さが倀で倉わるいちばん倧きい倀で 10 px、`labelAt`名前を眮く `[経床, 緯床]`\n- `shapes`重ね描き。`polygon`3 点以䞊の `[[経床, 緯床], 
]`、薄く塗るか `line`2 点以䞊。`label` `labelAt` `dash`\n\n継ぎ目は 30°W倧西掋を暪切る矢印は描けない。\n\n地図デヌタNatural Earthパブリックドメむンを加工。"
1163
+ "row": "| `<m-map-world>` | 䞖界の囜・地域の地図倪平掋が䞭倮。囜や州の匷調、区分ず倀の塗り分け、点、矢印をステップごずに出す | 項目の step の最倧既定 1。地図そのものはステップ 0 から出おいる | `{regions?:[{id?:str,group?:str,label?,tone?,step?,at?} (id or group),
],categories?:{label,ids:str[],tone?,step?,at?}[],values?:object,classes?:num[],valuesStep?:int,points?:[{lon?:num,lat?:num,code?:str,label?,tone?,anchor?:\"right\"\\|\"left\"\\|\"above\"\\|\"below\"\\|\"top\"\\|\"bottom\",step?,at?} (lon + lat or code),
],flows?:{from:str\\|any[],to:str\\|any[],label?,tone?,value?:num,bend?:num,via?:any[][],labelAt?:any[],step?,at?}[],shapes?:[{polygon?:any[][],line?:any[][],label?,labelAt?:any[],tone?,dash?:bool,step?,at?} (polygon or line),
]}` — 囜・地域は ISO の 3 文字か Natural Earth の笊号\"JPN\"・\"USA\"か日本語の名前。六州asia・europe・africa・north-america・south-america・oceaniaは regions[].group ず categories[].ids に。values は {笊号: 数}、classes は階玚の䞋限既定は 4 階玚、5 ぀たで。points・shapes・flows の [経床, 緯床] は床 |",
1164
+ "entry": "### `<m-map-world>`\n\nデヌタ子の `<script type=\"application/json\">`の芋本: `{\"regions\":[{\"id\":\"JPN\",\"tone\":\"emph\",\"step\":1},{\"group\":\"africa\",\"tone\":\"series-2\",\"step\":2}],\"points\":[{\"lon\":139.69,\"lat\":35.69,\"label\":\"東京\",\"step\":3}],\"flows\":[{\"from\":[139.69,35.69],\"to\":\"AUS\",\"step\":4}]}`\n\n| 倀 | 型 | 既定 | 意味 |\n|---|---|---|---|\n| `labels` | string | `\"focus\"` | 名前focusregions に曞いた地域だけ・all名前が䞭に入る囜すべお・none |\n| `grid` | string | `\"none\"` | none・equator赀道・graticule30° ごずの経線・緯線ず赀道 |\n| `show` | string | `\"none\"` | 塗り分けた囜の䞊に倀を曞くかnone既定・value䞭に入る囜だけ |\n| `unit` | string | `\"\"` | 倀の単䜍凡䟋の芋出しに曞く |\n| `digits` | number | `0` | 倀の小数桁 |\n| `legend` | string | `\"\"` | 凡䟋の芋出し䟋人口。unit があれば埌ろに単䜍を足す |\n\n䞖界地理・歎史の授業で囜や郜垂の堎所を瀺すずきに䜿う。子の JSONどれも `step` `at` `tone` を持おる\n\n- `regions``id``\"JPN\"` など ISO の 3 文字か囜名か `group`六州。`label`\n- `categories``label` ず `ids`囜か州。凡䟋に出す。4 区分たで\n- `values``{\"JPN\": 72, 
}` ず `classes`階玚の䞋限。塗り分けのステップは `valuesStep`既定 1\n- `points``lon` `lat`、`label`、`anchor`\n- `flows``from` `to``[経床, 緯床]` か囜、`via` `label` `bend`、`value`数。線の倪さが倀で倉わるいちばん倧きい倀で 10 px、`labelAt`名前を眮く `[経床, 緯床]`\n- `shapes`重ね描き。`polygon`3 点以䞊の `[[経床, 緯床], 
]`、薄く塗るか `line`2 点以䞊。`label` `labelAt` `dash`\n\n継ぎ目は 30°W倧西掋を暪切る矢印は描けない。\n\n地図デヌタNatural Earthパブリックドメむンを加工。"
1165
1165
  },
1166
1166
  "m-mapping": {
1167
1167
  "set": "data",
1168
- "row": "| `<m-mapping>` | 実隓の結果を数倀ぞ察応させ、同じ倀になる結果をたずめお確率分垃を䜜る | 結果の札→察応の矢印→同じ倀の色ず個数・確率の和→分垃の暪棒の 4 段階 | `{outcomes:{label,x:num,p?:num,balls?:str[]}[],name?:str,unit?:str,fractions?:bool,picture?:\"dots\"\\|\"dice\"\\|\"coins\"\\|\"grapes\"\\|\"balls\"}` |",
1169
- "entry": "### `<m-mapping>`\n\n| 倀 | 型 | 既定 | 意味 |\n|---|---|---|---|\n| `stagger` | number | `0.15` | 段階 2 の矢印ごずの開始のずれ秒。0 以䞊 |\n| `digits` | number | `2` | 分数でない確率の小数桁0〜10 の敎数 |\n| `size` | number | `0` | 文字の倧きさpx。0 は既定の 26、指定時は 24 以䞊 |\n\n確率倉数を「結果を数に察応させる芏則」ずしお芋せる結果 → 倀 → 分垃。\n\n```html\n<m-mapping style=\"height:440px\"><script type=\"application/json\">{\"outcomes\":[{\"label\":\"衚衚\",\"x\":2},{\"label\":\"衚裏\",\"x\":1},{\"label\":\"裏衚\",\"x\":1},{\"label\":\"裏裏\",\"x\":0}],\"picture\":\"coins\"}</script></m-mapping>\n```\n\n- `outcomes`2〜12 個。`label`、`x`数、`p`省略すれば等確率。合蚈が 1 でなければ知らせる\n- `name`既定 X・`fractions`既玄分数\n- `picture``dots`・`grapes`x 個・`dice`label の目・`coins`◯衚 ●裏・`balls`色の名前の列。基本の 11 色、名前も曞く"
1168
+ "row": "| `<m-mapping>` | 実隓の結果を数倀ぞ察応させ、同じ倀になる結果をたずめお確率分垃を䜜る | 結果の札→察応の矢印→同じ倀の色ず個数・確率の和→分垃の暪棒の 4 ステップ | `{outcomes:{label,x:num,p?:num,balls?:str[]}[],name?:str,unit?:str,fractions?:bool,picture?:\"dots\"\\|\"dice\"\\|\"coins\"\\|\"grapes\"\\|\"balls\"}` |",
1169
+ "entry": "### `<m-mapping>`\n\n| 倀 | 型 | 既定 | 意味 |\n|---|---|---|---|\n| `stagger` | number | `0.15` | ステップ 2 の矢印ごずの開始のずれ秒。0 以䞊 |\n| `digits` | number | `2` | 分数でない確率の小数桁0〜10 の敎数 |\n| `size` | number | `0` | 文字の倧きさpx。0 は既定の 26、指定時は 24 以䞊 |\n\n確率倉数を「結果を数に察応させる芏則」ずしお芋せる結果 → 倀 → 分垃。\n\n```html\n<m-mapping style=\"height:440px\"><script type=\"application/json\">{\"outcomes\":[{\"label\":\"衚衚\",\"x\":2},{\"label\":\"衚裏\",\"x\":1},{\"label\":\"裏衚\",\"x\":1},{\"label\":\"裏裏\",\"x\":0}],\"picture\":\"coins\"}</script></m-mapping>\n```\n\n- `outcomes`2〜12 個。`label`、`x`数、`p`省略すれば等確率。合蚈が 1 でなければ知らせる\n- `name`既定 X・`fractions`既玄分数\n- `picture``dots`・`grapes`x 個・`dice`label の目・`coins`◯衚 ●裏・`balls`色の名前の列。基本の 11 色、名前も曞く"
1170
1170
  },
1171
1171
  "m-market": {
1172
1172
  "set": "business",
1173
1173
  "row": "| `<m-market>` | 垂堎芏暡の入れ子の円TAM / SAM / SOM。倖の円から 1 ぀ず぀、前の円の倧きさから瞮んで珟れる | rings の数 | `{rings:{key?:str,value:num,basis?:str,tone?}[]}` |",
1174
- "entry": "### `<m-market>`\n\nデヌタ子の `<script type=\"application/json\">`の芋本: `{\"rings\":[{\"key\":\"TAM\",\"value\":3000,\"basis\":\"囜内の \"},{\"key\":\"SAM\",\"value\":600,\"basis\":\"
\"},{\"key\":\"SOM\",\"value\":30,\"basis\":\"
\"}]}`\n\n| 倀 | 型 | 既定 | 意味 |\n|---|---|---|---|\n| `unit` | string | `\"\"` | 倀の単䜍数字の埌ろに付ける |\n| `digits` | number | `0` | 倀の小数桁 |\n| `scale` | string | `\"fixed\"` | fixed決たった比か area面積を倀に比䟋 |\n| `layout` | string | `\"bottom\"` | bottom䞋端をそろえるか center同心 |\n| `count` | bool | `false` | 倀の数字を瞮みに合わせお数え䞊げる |\n\n垂堎の倧きさを、党䜓TAMから手の届く範囲SAM、最初に取る範囲SOMぞ絞り蟌んで芋せるずきに䜿う。\n\n子の JSON の䞊び倖から順。\n\n- 段階 j で j 番目の円が、1 ぀倖の円の倧きさず䜍眮から瞮んで珟れる。前の円はそのたた残る\n- 名前`key`・倀・根拠`basis`、䜕を数えたかは円の右に曞き、円の䞭の点から匕き出し線で結ぶ。倀は `digits` 桁で 3 桁ごずにカンマを入れ、`unit` を埌ろに付ける\n- `scale=\"fixed\"`既定は芋やすい決たった比1・0.64・0.34・0.16。`scale=\"area\"` は面積を倀に比䟋させる小さすぎる円は最も倧きい円の 0.14 倍の半埄にする。面積に比䟋させるず SOM がほずんど芋えないこずが倚いので、既定は fixed にしお倀を字で瀺す\n- `layout=\"bottom\"`既定は円の䞋端をそろえ、`layout=\"center\"` は同心にする\n- 色は倖の 2 ぀が `--term`、内の円が `--emph``tone` で倉えられる`term`・`emph`・`muted`・`accent2`・`series-1..4`。ほかの倀は `term`\n- `dur`1 ぀の円が瞮んで珟れる秒数既定 0.9。数字はそのあず 0.35 秒で出る\n- 倀の数字は円が瞮みきっおから出す。`count=\"true\"` なら瞮みに合わせお数え䞊げる"
1174
+ "entry": "### `<m-market>`\n\nデヌタ子の `<script type=\"application/json\">`の芋本: `{\"rings\":[{\"key\":\"TAM\",\"value\":3000,\"basis\":\"囜内の \"},{\"key\":\"SAM\",\"value\":600,\"basis\":\"
\"},{\"key\":\"SOM\",\"value\":30,\"basis\":\"
\"}]}`\n\n| 倀 | 型 | 既定 | 意味 |\n|---|---|---|---|\n| `unit` | string | `\"\"` | 倀の単䜍数字の埌ろに付ける |\n| `digits` | number | `0` | 倀の小数桁 |\n| `scale` | string | `\"fixed\"` | fixed決たった比か area面積を倀に比䟋 |\n| `layout` | string | `\"bottom\"` | bottom䞋端をそろえるか center同心 |\n| `count` | bool | `false` | 倀の数字を瞮みに合わせお数え䞊げる |\n\n垂堎の倧きさを、党䜓TAMから手の届く範囲SAM、最初に取る範囲SOMぞ絞り蟌んで芋せるずきに䜿う。\n\n子の JSON の䞊び倖から順。\n\n- ステップ j で j 番目の円が、1 ぀倖の円の倧きさず䜍眮から瞮んで珟れる。前の円はそのたた残る\n- 名前`key`・倀・根拠`basis`、䜕を数えたかは円の右に曞き、円の䞭の点から匕き出し線で結ぶ。倀は `digits` 桁で 3 桁ごずにカンマを入れ、`unit` を埌ろに付ける\n- `scale=\"fixed\"`既定は芋やすい決たった比1・0.64・0.34・0.16。`scale=\"area\"` は面積を倀に比䟋させる小さすぎる円は最も倧きい円の 0.14 倍の半埄にする。面積に比䟋させるず SOM がほずんど芋えないこずが倚いので、既定は fixed にしお倀を字で瀺す\n- `layout=\"bottom\"`既定は円の䞋端をそろえ、`layout=\"center\"` は同心にする\n- 色は倖の 2 ぀が `--term`、内の円が `--emph``tone` で倉えられる`term`・`emph`・`muted`・`accent2`・`series-1..4`。ほかの倀は `term`\n- `dur`1 ぀の円が瞮んで珟れる秒数既定 0.9。数字はそのあず 0.35 秒で出る\n- 倀の数字は円が瞮みきっおから出す。`count=\"true\"` なら瞮みに合わせお数え䞊げる"
1175
1175
  },
1176
1176
  "m-menu": {
1177
1177
  "set": "standard",
1178
1178
  "row": "| `<m-menu>` | スラむドぞのリンクの札を栌子に䞊べる目次・単元の遞び方。札はふ぀うの <a href=\"#<スラむドの id>\">、行ったスラむドの札に「芋た」の印 | ceil(札の数 / per-step)既定の per-step=\"0\" なら 0初めから党郚 | 子の `<a href>`JSON ではない |",
1179
- "entry": "### `<m-menu>`\n\n| 倀 | 型 | 既定 | 意味 |\n|---|---|---|---|\n| `cols` | number | `0` | 列の数0 なら札の数から3 枚たでは 1 行、4 枚は 2 列、それより倚ければ 3 列 |\n| `per-step` | number | `0` | 1 段階に出す札の数0 なら初めから党郚出し、段階を䜿わない |\n| `size` | number | `34` | 札の題の字の倧きさpx。副題はその 0.8 倍本文の䞋限の 27px より小さくしない |\n| `visited` | bool | `true` | このセッションで行き先のスラむドを開いた札に「芋た」の印を付ける |\n\n目次、授業の単元の遞び方、「どこから芋るか」を遞ばせる 1 枚に䜿う。目次は取り蟌んだ埌に足す。初皿では普通の箇条曞き。\n```html\n<m-menu cols=\"3\" aria-label=\"今日の内容\">\n <a href=\"#s-njd4kp\" data-icon=\"侀\" data-sub=\"孟浩然\">春暁</a>\n <a href=\"#s-uhqygr:2\" data-icon=\"二\" data-sub=\"読む順から\">春望</a>\n</m-menu>\n```\n\n- 子の `<a href>` 1 ぀が札 1 枚。`href` は `#<スラむドの id>`その段階 0か `#<id>:<段階の鍵>``0`・`1`・  か `concl`。id は取り蟌みのずきに付く。䞭身文字・`<b>` などが札の題になる\n- `data-icon`題の巊の䞞に入れる短い字`侀`・`1`・`A` など。色は `--term`。`data-sub`題の䞋の副題`--muted`\n- 段階`per-step=\"n\"` なら札が n 枚ず぀段階ごずに出る`data-from` から。同じ段階の䞭は `stagger` 秒ず぀ずれる。ただ出おいない札は抌せず、Tab でも遞べず、読み䞊げない。\n `per-step=\"0\"`既定なら初めから党郚段階を䜿わない。段階は (k, t) だけで決たる\n- 䞊び`cols`既定は札の数から3 枚たでは 1 行、4 枚は 2 列、それより倚ければ 3 列。札の高さの䞋限は CSS の `--mm-h`既定 104px、間は `--mm-gap`18px。\n 本文いっぱいに眮いお瞊の真ん䞭にそろえるなら `style=\"height:100%;align-content:center;--mm-h:150px\"`"
1179
+ "entry": "### `<m-menu>`\n\n| 倀 | 型 | 既定 | 意味 |\n|---|---|---|---|\n| `cols` | number | `0` | 列の数0 なら札の数から3 枚たでは 1 行、4 枚は 2 列、それより倚ければ 3 列 |\n| `per-step` | number | `0` | 1 ステップに出す札の数0 なら初めから党郚出し、ステップを䜿わない |\n| `size` | number | `34` | 札の題の字の倧きさpx。副題はその 0.8 倍本文の䞋限の 27px より小さくしない |\n| `visited` | bool | `true` | このセッションで行き先のスラむドを開いた札に「芋た」の印を付ける |\n\n目次、授業の単元の遞び方、「どこから芋るか」を遞ばせる 1 枚に䜿う。目次は取り蟌んだ埌に足す。初皿では普通の箇条曞き。\n```html\n<m-menu cols=\"3\" aria-label=\"今日の内容\">\n <a href=\"#s-njd4kp\" data-icon=\"侀\" data-sub=\"孟浩然\">春暁</a>\n <a href=\"#s-uhqygr:2\" data-icon=\"二\" data-sub=\"読む順から\">春望</a>\n</m-menu>\n```\n\n- 子の `<a href>` 1 ぀が札 1 枚。`href` は `#<スラむドの id>`そのステップ 0か `#<id>:<段階の鍵>``0`・`1`・  か `concl`。id は取り蟌みのずきに付く。䞭身文字・`<b>` などが札の題になる\n- `data-icon`題の巊の䞞に入れる短い字`侀`・`1`・`A` など。色は `--term`。`data-sub`題の䞋の副題`--muted`\n- ステップ`per-step=\"n\"` なら札が n 枚ず぀ステップごずに出る`data-from` から。同じステップの䞭は `stagger` 秒ず぀ずれる。ただ出おいない札は抌せず、Tab でも遞べず、読み䞊げない。\n `per-step=\"0\"`既定なら初めから党郚ステップを䜿わない。ステップは (k, t) だけで決たる\n- 䞊び`cols`既定は札の数から3 枚たでは 1 行、4 枚は 2 列、それより倚ければ 3 列。札の高さの䞋限は CSS の `--mm-h`既定 104px、間は `--mm-gap`18px。\n 本文いっぱいに眮いお瞊の真ん䞭にそろえるなら `style=\"height:100%;align-content:center;--mm-h:150px\"`"
1180
1180
  },
1181
1181
  "m-numberline": {
1182
1182
  "set": "math",
1183
- "row": "| `<m-numberline>` | 数盎線。点・□・ゞャンプ・䞍等匏の範囲・0.1 の拡倧。2 本で比䟋数盎線 | build の順既定 ticks,marks,links,jumps,ranges,magnifyに項目 1 ぀ = 1 段階。whole党郚で 1 段階 | `{lines:{from:num\\|str,to:num\\|str,step?:num\\|str,sub?:int,unit?:str,label?,labels?:str\\|any[]}[],marks?:{at:num\\|str,line?:int,label?,kind?:\"dot\"\\|\"open\"\\|\"box\",tone?,show?:int}[],jumps?:{from:num\\|str,to:num\\|str,line?:int,label?,tone?,show?:int}[],ranges?:[{from?:num\\|str,to?:num\\|str,incl?:[bool,bool],line?:int,label?,tone?,show?:int} (from or to),
],link?:(any[]\\|object)[],magnify?:{from:num\\|str,to:num\\|str,step?:num\\|str,labels?:str\\|any[],show?:int}[]}` — lines [{from, to, step, sub, unit, label, labels}]1 本か 2 本、marks [{at, kind: dot\\|open\\|box, label}]、jumps [{from, to, label}]、ranges [{from, to, incl: [真停, 真停]}]、link [[䞊の倀, 䞋の倀]]、magnify [{from, to, step}]。倀は数か \"1/3\" |",
1184
- "entry": "### `<m-numberline>`\n\nデヌタ子の `<script type=\"application/json\">`の芋本: `{\"lines\":[{\"from\":0,\"to\":10,\"step\":1}],\"marks\":[{\"at\":3}],\"jumps\":[{\"from\":3,\"to\":7,\"label\":\"+4\"}]}`\n\n| 倀 | 型 | 既定 | 意味 |\n|---|---|---|---|\n| `build` | string | `\"ticks,marks,links,jumps,ranges,magnify\"` | 出す順皮類をコンマでか whole党郚を 1 段階で |\n| `arrow` | string | `\"off\"` | on線の右の端を矢印に |\n\n子の JSON の倀は数か `\"1/3\"`分数で曞く。\n\n- lines1 本か 2 本0 をそろえる`{from, to, step, sub, label, unit, labels: \"ends\" | [倀]}`\n- marks`{at, kind: \"dot\" | \"open\" | \"box\", label}`。box は □\n- jumps`{from, to, label}`巊向きも\n- ranges`{from, to, incl: [true, false]}`。端がなければ矢印。重なれば共通郚分を塗る\n- link2 本`[[䞊の倀, 䞋の倀]]`砎線か `{at: [䞊の倀, 䞋の倀], label: \"×3\"}`䞊の線から䞋の線ぞの矢印。`dir: \"up\"` なら䞋から䞊ぞ\n- magnify`{from, to, step}`。区間を䞋の線に広げる既定 10 等分\n- 項目の `line`0 か 1。拡倧の線は 1, 2,  、`show`段階\n- `tone`marks・jumps・ranges・名前のある link`term`・`emph`・`muted`・`accent2`・`fg`・`series-1..4`。既定は `term`、範囲は `series-1..4` の順\n- `arrow=\"on\"`右端を矢印に"
1183
+ "row": "| `<m-numberline>` | 数盎線。点・□・ゞャンプ・䞍等匏の範囲・0.1 の拡倧。2 本で比䟋数盎線 | build の順既定 ticks,marks,links,jumps,ranges,magnifyに項目 1 ぀ = 1 ステップ。whole党郚で 1 ステップ | `{lines:{from:num\\|str,to:num\\|str,step?:num\\|str,sub?:int,unit?:str,label?,labels?:str\\|any[]}[],marks?:{at:num\\|str,line?:int,label?,kind?:\"dot\"\\|\"open\"\\|\"box\",tone?,show?:int}[],jumps?:{from:num\\|str,to:num\\|str,line?:int,label?,tone?,show?:int}[],ranges?:[{from?:num\\|str,to?:num\\|str,incl?:[bool,bool],line?:int,label?,tone?,show?:int} (from or to),
],link?:(any[]\\|object)[],magnify?:{from:num\\|str,to:num\\|str,step?:num\\|str,labels?:str\\|any[],show?:int}[]}` — lines [{from, to, step, sub, unit, label, labels}]1 本か 2 本、marks [{at, kind: dot\\|open\\|box, label}]、jumps [{from, to, label}]、ranges [{from, to, incl: [真停, 真停]}]、link [[䞊の倀, 䞋の倀]]、magnify [{from, to, step}]。倀は数か \"1/3\" |",
1184
+ "entry": "### `<m-numberline>`\n\nデヌタ子の `<script type=\"application/json\">`の芋本: `{\"lines\":[{\"from\":0,\"to\":10,\"step\":1}],\"marks\":[{\"at\":3}],\"jumps\":[{\"from\":3,\"to\":7,\"label\":\"+4\"}]}`\n\n| 倀 | 型 | 既定 | 意味 |\n|---|---|---|---|\n| `build` | string | `\"ticks,marks,links,jumps,ranges,magnify\"` | 出す順皮類をコンマでか whole党郚を 1 ステップで |\n| `arrow` | string | `\"off\"` | on線の右の端を矢印に |\n\n子の JSON の倀は数か `\"1/3\"`分数で曞く。\n\n- lines1 本か 2 本0 をそろえる`{from, to, step, sub, label, unit, labels: \"ends\" | [倀]}`\n- marks`{at, kind: \"dot\" | \"open\" | \"box\", label}`。box は □\n- jumps`{from, to, label}`巊向きも\n- ranges`{from, to, incl: [true, false]}`。端がなければ矢印。重なれば共通郚分を塗る\n- link2 本`[[䞊の倀, 䞋の倀]]`砎線か `{at: [䞊の倀, 䞋の倀], label: \"×3\"}`䞊の線から䞋の線ぞの矢印。`dir: \"up\"` なら䞋から䞊ぞ\n- magnify`{from, to, step}`。区間を䞋の線に広げる既定 10 等分\n- 項目の `line`0 か 1。拡倧の線は 1, 2,  、`show`ステップ\n- `tone`marks・jumps・ranges・名前のある link`term`・`emph`・`muted`・`accent2`・`fg`・`series-1..4`。既定は `term`、範囲は `series-1..4` の順\n- `arrow=\"on\"`右端を矢印に"
1185
1185
  },
1186
1186
  "m-orbit": {
1187
1187
  "set": "science",
1188
- "row": "| `<m-orbit>` | 月の満ち欠け金星の満ち欠け。北極の䞊から芋た図ず地球から芋た圢を䞊べ、月を䜍眮から䜍眮ぞ動かす。圢は䜍眮から蚈算する | 動く先の数既定は 8 ぀の䜍眮を新月から 1 呚 = 8 段階。visit で決める | `{positions?:int,start?:int,visit?:int[],labels?:(str\\|null)[],notes?:(str\\|null)[],eclipse?:bool}` |",
1189
- "entry": "### `<m-orbit>`\n\nデヌタ子の `<script type=\"application/json\">`の芋本: `{\"positions\":8,\"visit\":[1,2,3,4,5,6,7,0]}`\n\n| 倀 | 型 | 既定 | 意味 |\n|---|---|---|---|\n| `mode` | string | `\"moon\"` | moon月の満ち欠けか venus金星の満ち欠け |\n| `hemisphere` | string | `\"north\"` | north北半球から芋た圢。満ちおいく月は右が光るか south南半球。巊右が逆 |\n| `sun` | string | `\"right\"` | 月の図で倪陜の光が来る偎right か left |\n| `earth` | number | `0.2` | 地球の半埄月の軌道の半埄に察する比。金星の図では地球の軌道に察する比の半分 |\n| `moon` | number | `0.5` | 月の半埄地球の半埄に察する比。実際の月は 0.27。金星の図では金星をこの 1.4 倍に |\n| `observer` | bool | `true` | 月の図で、地球の䞊の人ず、月を芋る向きを描く |\n| `size` | number | `28` | 地球から芋た圢の名前の字の倧きさpx。24 以䞊 |\n\n月の満ち欠け䞭孊 3 幎・地孊基瀎を芋せるずきに䜿う。巊は北極の䞊から芋た図で、倪陜の光が片偎から来お、地球のたわりの軌道の䞊に月がある。月の光っおいる半分は、い぀も倪陜の偎を向いおいる。右は、地球から芋たずきの月の圢。2 ぀の図は同じ䜍眮で動く。\n\n**倧きさず距離は実際の比ではない**教えるための図。実際は、地球ず月の距離は地球の半埄のおよそ 60 倍、月の半埄は地球のおよそ 0.27 倍。比は `earth` ず `moon` で倉えられる。\n\n子の JSON䞭身は省ける。`{}` で既定の 1 呚`{\"positions\": 8, \"start\": 0, \"visit\": [1, 2, 3, 4, 5, 6, 7, 0], \"labels\": [...], \"notes\": [...], \"eclipse\": false}`どれも省ける。\n\n- `positions`軌道の䞊の䜍眮の数4〜24、既定 8。䜍眮 0 が新月月が倪陜の偎、そこから反時蚈回りに等しい間隔\n- `start`段階 0 の䜍眮既定 0\n- `visit`段階ごずに動く先の䜍眮。月はい぀も反時蚈回りに進む2 ぀先なら 2 ぀分動く。既定は `start` の次から 1 呚しお `start` ぞ戻る\n- `labels`䜍眮ごずの名前`null` は既定のたた、`\"\"` は名前なし。既定は、新月・䞉日月・䞊匊の月・満月・䞋匊の月英語は new moon, waxing crescent, first quarter, full moon, last quarter。8 ぀の䜍眮では、残りの 3 ぀は名前なし教科曞ず同じ。十䞉倜などは `labels` で付ける\n- `notes`䜍眮ごずの説明右の図の名前の䞋。既定は、地球の䞊の人がその月を芋る時刻ず空の向き「倕方・南西の空」など。䞋\n- `eclipse``true` なら、新月ず満月の䜍眮で、倪陜・月・地球がそろったずきの圱を描き、名前に日食月食を添える\n\n属性\n\n- `mode``moon`既定か `venus`金星の満ち欠け。䞋\n- `hemisphere``north`既定。満ちおいく月は右偎が光るか `south`巊右が逆\n- `sun`倪陜の光が来る偎`right` 既定か `left`。月の図だけ\n- `earth`地球の半埄月の軌道の半埄に察する比、既定 0.2。`moon`月の半埄地球の半埄に察する比、既定 0.5\n- `observer`地球の䞊の人ず、月を芋る向きの線既定 true\n- `size`右の図の名前の字の倧きさ既定 28px。`dur`ずなりの䜍眮ぞ動く秒数既定 1.2\n\n地球の䞊の人の時刻月が倜の偎にあるずき䞊匊から䞋匊たでは、月が南の空にいちばん高く䞊る時刻䞊匊は倕方、満月は真倜䞭、䞋匊は明け方。䞉日月のように倕方の偎にある月は日の入り、明け方の偎にある月は日の出、新月は正午。人は段階の間に、地球が回る向きに動く。空の向きは、人の真䞊から月ぞの角を 45° ごずに名前にしたもの南、南西、西 。南半球では北が基準。教科曞ず蚀い方を合わせたいずきは `notes` で曞く。\n\n`mode=\"venus\"`倪陜を䞭心に、金星ず地球の軌道を描く。地球は䞋に止めお、金星の䜍眮を倖合倪陜の向こう偎から反時蚈回りに `positions` 個眮く8 ぀なら䜍眮 3 が東方最倧離角に近い「よいの明星」、䜍眮 5 が西方最倧離角に近い「明けの明星」。右の図は地球から芋た金星の圢で、倧きさは地球からの距離に反比䟋する地球に近いほど倧きく、现く欠ける。説明は「倕方・西の空」「明け方・東の空」、倪陜に近い䜍眮では「倪陜に近くお芋えない」。軌道の比は実際の倀金星 0.723。\n\n瞊曞きの教材でも、暪曞きの 1 ぀の図ずしお眮く。"
1188
+ "row": "| `<m-orbit>` | 月の満ち欠け金星の満ち欠け。北極の䞊から芋た図ず地球から芋た圢を䞊べ、月を䜍眮から䜍眮ぞ動かす。圢は䜍眮から蚈算する | 動く先の数既定は 8 ぀の䜍眮を新月から 1 呚 = 8 ステップ。visit で決める | `{positions?:int,start?:int,visit?:int[],labels?:(str\\|null)[],notes?:(str\\|null)[],eclipse?:bool}` |",
1189
+ "entry": "### `<m-orbit>`\n\nデヌタ子の `<script type=\"application/json\">`の芋本: `{\"positions\":8,\"visit\":[1,2,3,4,5,6,7,0]}`\n\n| 倀 | 型 | 既定 | 意味 |\n|---|---|---|---|\n| `mode` | string | `\"moon\"` | moon月の満ち欠けか venus金星の満ち欠け |\n| `hemisphere` | string | `\"north\"` | north北半球から芋た圢。満ちおいく月は右が光るか south南半球。巊右が逆 |\n| `sun` | string | `\"right\"` | 月の図で倪陜の光が来る偎right か left |\n| `earth` | number | `0.2` | 地球の半埄月の軌道の半埄に察する比。金星の図では地球の軌道に察する比の半分 |\n| `moon` | number | `0.5` | 月の半埄地球の半埄に察する比。実際の月は 0.27。金星の図では金星をこの 1.4 倍に |\n| `observer` | bool | `true` | 月の図で、地球の䞊の人ず、月を芋る向きを描く |\n| `size` | number | `28` | 地球から芋た圢の名前の字の倧きさpx。24 以䞊 |\n\n月の満ち欠け䞭孊 3 幎・地孊基瀎を芋せるずきに䜿う。巊は北極の䞊から芋た図で、倪陜の光が片偎から来お、地球のたわりの軌道の䞊に月がある。月の光っおいる半分は、い぀も倪陜の偎を向いおいる。右は、地球から芋たずきの月の圢。2 ぀の図は同じ䜍眮で動く。\n\n**倧きさず距離は実際の比ではない**教えるための図。実際は、地球ず月の距離は地球の半埄のおよそ 60 倍、月の半埄は地球のおよそ 0.27 倍。比は `earth` ず `moon` で倉えられる。\n\n子の JSON䞭身は省ける。`{}` で既定の 1 呚`{\"positions\": 8, \"start\": 0, \"visit\": [1, 2, 3, 4, 5, 6, 7, 0], \"labels\": [...], \"notes\": [...], \"eclipse\": false}`どれも省ける。\n\n- `positions`軌道の䞊の䜍眮の数4〜24、既定 8。䜍眮 0 が新月月が倪陜の偎、そこから反時蚈回りに等しい間隔\n- `start`ステップ 0 の䜍眮既定 0\n- `visit`ステップごずに動く先の䜍眮。月はい぀も反時蚈回りに進む2 ぀先なら 2 ぀分動く。既定は `start` の次から 1 呚しお `start` ぞ戻る\n- `labels`䜍眮ごずの名前`null` は既定のたた、`\"\"` は名前なし。既定は、新月・䞉日月・䞊匊の月・満月・䞋匊の月英語は new moon, waxing crescent, first quarter, full moon, last quarter。8 ぀の䜍眮では、残りの 3 ぀は名前なし教科曞ず同じ。十䞉倜などは `labels` で付ける\n- `notes`䜍眮ごずの説明右の図の名前の䞋。既定は、地球の䞊の人がその月を芋る時刻ず空の向き「倕方・南西の空」など。䞋\n- `eclipse``true` なら、新月ず満月の䜍眮で、倪陜・月・地球がそろったずきの圱を描き、名前に日食月食を添える\n\n属性\n\n- `mode``moon`既定か `venus`金星の満ち欠け。䞋\n- `hemisphere``north`既定。満ちおいく月は右偎が光るか `south`巊右が逆\n- `sun`倪陜の光が来る偎`right` 既定か `left`。月の図だけ\n- `earth`地球の半埄月の軌道の半埄に察する比、既定 0.2。`moon`月の半埄地球の半埄に察する比、既定 0.5\n- `observer`地球の䞊の人ず、月を芋る向きの線既定 true\n- `size`右の図の名前の字の倧きさ既定 28px。`dur`ずなりの䜍眮ぞ動く秒数既定 1.2\n\n地球の䞊の人の時刻月が倜の偎にあるずき䞊匊から䞋匊たでは、月が南の空にいちばん高く䞊る時刻䞊匊は倕方、満月は真倜䞭、䞋匊は明け方。䞉日月のように倕方の偎にある月は日の入り、明け方の偎にある月は日の出、新月は正午。人はステップの間に、地球が回る向きに動く。空の向きは、人の真䞊から月ぞの角を 45° ごずに名前にしたもの南、南西、西 。南半球では北が基準。教科曞ず蚀い方を合わせたいずきは `notes` で曞く。\n\n`mode=\"venus\"`倪陜を䞭心に、金星ず地球の軌道を描く。地球は䞋に止めお、金星の䜍眮を倖合倪陜の向こう偎から反時蚈回りに `positions` 個眮く8 ぀なら䜍眮 3 が東方最倧離角に近い「よいの明星」、䜍眮 5 が西方最倧離角に近い「明けの明星」。右の図は地球から芋た金星の圢で、倧きさは地球からの距離に反比䟋する地球に近いほど倧きく、现く欠ける。説明は「倕方・西の空」「明け方・東の空」、倪陜に近い䜍眮では「倪陜に近くお芋えない」。軌道の比は実際の倀金星 0.723。\n\n瞊曞きの教材でも、暪曞きの 1 ぀の図ずしお眮く。"
1190
1190
  },
1191
1191
  "m-particles": {
1192
1192
  "set": "science",
1193
- "row": "| `<m-particles>` | 状態倉化の粒子の䞊び方ず間隔、化孊倉化で保存される原子の数を芋せる | state は states の数 − 1既定 2。reaction は反応前→原子に分かれる→反応埌の 3 段階 | `{states?:(\"solid\"\\|\"liquid\"\\|\"gas\")[],substance?:str,labels?:(str\\|null)[]\\|{before?:str,apart?:str,after?:str,atoms?:str},reactants?:{formula:str,n:int,shape?:\"linear\"\\|\"bent\"\\|\"trigonal\"\\|\"tetrahedral\"\\|\"chain\"}[],products?:{formula:str,n:int,shape?:\"linear\"\\|\"bent\"\\|\"trigonal\"\\|\"tetrahedral\"\\|\"chain\"}[]}` |",
1194
- "entry": "### `<m-particles>`\n\n| 倀 | 型 | 既定 | 意味 |\n|---|---|---|---|\n| `mode` | string | `\"state\"` | state状態倉化か reaction化孊倉化 |\n| `count` | number | `16` | 状態倉化で描く粒子の数6〜30 の敎数。数ず倧きさは䞀定 |\n| `size` | number | `28` | 名前・匏の字の倧きさpx。24 以䞊 |\n| `volume` | bool | `false` | 状態に合わせお容噚の幅を倉える気䜓は広い |\n| `motion` | bool | `true` | 状態倉化の粒子に静止した運動の印を付ける |\n\näž­å­Š 1〜2 幎の理科・化孊基瀎で、状態倉化ず化孊倉化を粒子のモデルで説明するずきに䜿う。高さ 440px、幅 1000px 以䞊を目安に眮く。狭くお入らないずきは `ctx.report(\"size\", 
)` で知らせる。\n\n`mode=\"state\"`既定1 ぀の容噚の䞭で、粒子が固䜓・液䜓・気䜓の䞊び方ぞ移る。粒子の数ず半埄19pxは途䞭でも䞀定。固䜓は床の䞊の芏則正しい栌子16 個なら 4×4、割り切れない行は䞭倮寄せ。液䜓は固䜓より広く䜎い局で、床の䞊から䞍芏則に積む。粒子は重ならず、近い粒子同士が接する。気䜓は栌子を䜿わず、容噚党䜓に十分な間隔を空けお散らす。振動の印・短い矢印・長い矢印で運動を瀺すので、静止画でも比范できる。液䜓の矢印は粒子の瞁から玄 18px、気䜓は 24px 䌞ばし、同じ線の倪さで描く。矢印は粒子の瞁から倖を向き、他の粒子にも容噚の枠にも重ねない。密に接した内郚の粒子で矢印が収たらないずきは、その矢印を省く。\n\n子の JSON は省略できる。䟋\n\n```json\n{\"states\": [\"solid\", \"liquid\", \"gas\"], \"substance\": \"æ°Ž\", \"labels\": [\"固䜓氷\", null, null]}\n```\n\n- `states`1 個以䞊の状態名`solid`・`liquid`・`gas`。䞊び順に移る。逆順や固䜓↔気䜓も䜿える。1 個ならステップなし\n- `substance`容噚の䞊に出す物質名省略可\n- `labels`各状態の衚瀺名。`null` は既定の固䜓・液䜓・気䜓、`\"\"` は名前なし。英語の教材では Solid・Liquid・Gas\n- 段階 0 は容噚の䞋に最初の状態名だけを出す。段階 1 以降は「液䜓 → 気䜓沞隰」のように、出発点・到着点・倉化名を 1 行で出す。英語は `Liquid → Gas (boiling)`\n- 倉化の名前は状態の組から決める融解・沞隰・凝固・凝瞮・昇華。英語は melting・boiling・freezing・condensation・sublimation\n\n`mode=\"reaction\"`反応前の分子が珟れる1、同じ原子が離れる2、生成物の分子ぞ集たる3。元玠蚘号ず色が原子の皮類を衚す。原子の半埄は図に合わせお 24〜34px党段階で同じ。段階の芋出しは図の䞊に眮く。段階 2 は原子の間に少なくずも半埄 1 個分の隙間を取り、䞭倮に配眮する。最埌は巊に「反応前」、右に「反応埌」を付けお巊右の分子の䞭倮に矢印を眮く。図党䜓を瞊に䞭倮寄せし、すぐ䞋に匏ず「原子の数H 4 → 4、O 2 → 2」のような数の行を䞭倮揃えで出す。最埌は䞋偎に段階名を重ねない。巊の反応前の図は比范のための写しで、別の原子が増えたこずを意味しない。\n\n```html\n<m-particles mode=\"reaction\" style=\"height:440px\">\n <script type=\"application/json\">{\"reactants\": [{\"formula\": \"H2\", \"n\": 2}, {\"formula\": \"O2\", \"n\": 1}], \"products\": [{\"formula\": \"H2O\", \"n\": 2}]}</script>\n</m-particles>\n```\n\n- `reactants`・`products`分子のリスト。`formula` は元玠蚘号倧文字任意の小文字ず正の敎数の個数だけ。䟋`H2O`・`FeS`・`CO2`。括匧・電荷・匏の䞭の係数は䜿えない\n- `shape`各分子に省略可。`\"linear\"`盎線、`\"bent\"`3 原子の折れ線、`\"trigonal\"`䞭心呚囲の 3 原子を平面に配眮、`\"tetrahedral\"`䞭心呚囲の 4 原子を平面の十字に配眮、`\"chain\"`コンパクトな列で指定し、既定の圢を䞊曞きする。䟋`{\"formula\":\"CO2\",\"n\":1,\"shape\":\"linear\"}`。省略時は既知の分子の圢を䜿い、それ以倖の 3 原子分子は盎線、より倧きい分子はコンパクトな列にする\n- `n`分子の数1〜24 の敎数。1 も明蚘する。匏の衚瀺では係数 1 を省き、原子の個数は䞋付きにする\n- 元玠は初出順に最倧 6 皮、原子は片偎で最倧 24 個保存される原子の総数。䞊限超過や読めない匏は `data` で知らせ、図の代わりに確認を求める文を出す\n- 原子数が䞀臎しない匏は倉曎しない。`data` で党元玠の反応前→反応埌の数を報告し、䞍䞀臎を匷調した数の衚ず巊右の静止した比范図を描く。原子を䜜ったり消したりする誀った移動は描かない\n- `labels` は省略可のオブゞェクト。`before`・`apart`・`after`・`atoms` で「反応前」「原子に分かれる」「反応埌」「原子の数」を䞊曞きできる\n\n属性`count` は state の粒子数6〜30、既定 16、`size` は名前ず匏の文字サむズ24px 以䞊、既定 28、`dur` は各ステップの秒数既定 1.2。`volume=\"true\"` は気䜓の容噚を広くする既定 false。固䜓・液䜓の幅も粒子の局が入る幅を保぀。`motion=\"false\"` で state の運動の印を消す既定 true。`states` は属性ではなく子の JSON に曞く。\n\n芁玠の蚀語に埓い日本語・英語で衚瀺する。読み䞊げは最埌の状態ず保存される数を説明する。䜜者の `aria-label` があれば保぀。瞊曞きの教材でも図は暪曞き。"
1193
+ "row": "| `<m-particles>` | 状態倉化の粒子の䞊び方ず間隔、化孊倉化で保存される原子の数を芋せる | state は states の数 − 1既定 2。reaction は反応前→原子に分かれる→反応埌の 3 ステップ | `{states?:(\"solid\"\\|\"liquid\"\\|\"gas\")[],substance?:str,labels?:(str\\|null)[]\\|{before?:str,apart?:str,after?:str,atoms?:str},reactants?:{formula:str,n:int,shape?:\"linear\"\\|\"bent\"\\|\"trigonal\"\\|\"tetrahedral\"\\|\"chain\"}[],products?:{formula:str,n:int,shape?:\"linear\"\\|\"bent\"\\|\"trigonal\"\\|\"tetrahedral\"\\|\"chain\"}[]}` |",
1194
+ "entry": "### `<m-particles>`\n\n| 倀 | 型 | 既定 | 意味 |\n|---|---|---|---|\n| `mode` | string | `\"state\"` | state状態倉化か reaction化孊倉化 |\n| `count` | number | `16` | 状態倉化で描く粒子の数6〜30 の敎数。数ず倧きさは䞀定 |\n| `size` | number | `28` | 名前・匏の字の倧きさpx。24 以䞊 |\n| `volume` | bool | `false` | 状態に合わせお容噚の幅を倉える気䜓は広い |\n| `motion` | bool | `true` | 状態倉化の粒子に静止した運動の印を付ける |\n\näž­å­Š 1〜2 幎の理科・化孊基瀎で、状態倉化ず化孊倉化を粒子のモデルで説明するずきに䜿う。高さ 440px、幅 1000px 以䞊を目安に眮く。狭くお入らないずきは `ctx.report(\"size\", 
)` で知らせる。\n\n`mode=\"state\"`既定1 ぀の容噚の䞭で、粒子が固䜓・液䜓・気䜓の䞊び方ぞ移る。粒子の数ず半埄19pxは途䞭でも䞀定。固䜓は床の䞊の芏則正しい栌子16 個なら 4×4、割り切れない行は䞭倮寄せ。液䜓は固䜓より広く䜎い局で、床の䞊から䞍芏則に積む。粒子は重ならず、近い粒子同士が接する。気䜓は栌子を䜿わず、容噚党䜓に十分な間隔を空けお散らす。振動の印・短い矢印・長い矢印で運動を瀺すので、静止画でも比范できる。液䜓の矢印は粒子の瞁から玄 18px、気䜓は 24px 䌞ばし、同じ線の倪さで描く。矢印は粒子の瞁から倖を向き、他の粒子にも容噚の枠にも重ねない。密に接した内郚の粒子で矢印が収たらないずきは、その矢印を省く。\n\n子の JSON は省略できる。䟋\n\n```json\n{\"states\": [\"solid\", \"liquid\", \"gas\"], \"substance\": \"æ°Ž\", \"labels\": [\"固䜓氷\", null, null]}\n```\n\n- `states`1 個以䞊の状態名`solid`・`liquid`・`gas`。䞊び順に移る。逆順や固䜓↔気䜓も䜿える。1 個ならステップなし\n- `substance`容噚の䞊に出す物質名省略可\n- `labels`各状態の衚瀺名。`null` は既定の固䜓・液䜓・気䜓、`\"\"` は名前なし。英語の教材では Solid・Liquid・Gas\n- ステップ 0 は容噚の䞋に最初の状態名だけを出す。ステップ 1 以降は「液䜓 → 気䜓沞隰」のように、出発点・到着点・倉化名を 1 行で出す。英語は `Liquid → Gas (boiling)`\n- 倉化の名前は状態の組から決める融解・沞隰・凝固・凝瞮・昇華。英語は melting・boiling・freezing・condensation・sublimation\n\n`mode=\"reaction\"`反応前の分子が珟れる1、同じ原子が離れる2、生成物の分子ぞ集たる3。元玠蚘号ず色が原子の皮類を衚す。原子の半埄は図に合わせお 24〜34px党ステップで同じ。ステップの芋出しは図の䞊に眮く。ステップ 2 は原子の間に少なくずも半埄 1 個分の隙間を取り、䞭倮に配眮する。最埌は巊に「反応前」、右に「反応埌」を付けお巊右の分子の䞭倮に矢印を眮く。図党䜓を瞊に䞭倮寄せし、すぐ䞋に匏ず「原子の数H 4 → 4、O 2 → 2」のような数の行を䞭倮揃えで出す。最埌は䞋偎にステップ名を重ねない。巊の反応前の図は比范のための写しで、別の原子が増えたこずを意味しない。\n\n```html\n<m-particles mode=\"reaction\" style=\"height:440px\">\n <script type=\"application/json\">{\"reactants\": [{\"formula\": \"H2\", \"n\": 2}, {\"formula\": \"O2\", \"n\": 1}], \"products\": [{\"formula\": \"H2O\", \"n\": 2}]}</script>\n</m-particles>\n```\n\n- `reactants`・`products`分子のリスト。`formula` は元玠蚘号倧文字任意の小文字ず正の敎数の個数だけ。䟋`H2O`・`FeS`・`CO2`。括匧・電荷・匏の䞭の係数は䜿えない\n- `shape`各分子に省略可。`\"linear\"`盎線、`\"bent\"`3 原子の折れ線、`\"trigonal\"`䞭心呚囲の 3 原子を平面に配眮、`\"tetrahedral\"`䞭心呚囲の 4 原子を平面の十字に配眮、`\"chain\"`コンパクトな列で指定し、既定の圢を䞊曞きする。䟋`{\"formula\":\"CO2\",\"n\":1,\"shape\":\"linear\"}`。省略時は既知の分子の圢を䜿い、それ以倖の 3 原子分子は盎線、より倧きい分子はコンパクトな列にする\n- `n`分子の数1〜24 の敎数。1 も明蚘する。匏の衚瀺では係数 1 を省き、原子の個数は䞋付きにする\n- 元玠は初出順に最倧 6 皮、原子は片偎で最倧 24 個保存される原子の総数。䞊限超過や読めない匏は `data` で知らせ、図の代わりに確認を求める文を出す\n- 原子数が䞀臎しない匏は倉曎しない。`data` で党元玠の反応前→反応埌の数を報告し、䞍䞀臎を匷調した数の衚ず巊右の静止した比范図を描く。原子を䜜ったり消したりする誀った移動は描かない\n- `labels` は省略可のオブゞェクト。`before`・`apart`・`after`・`atoms` で「反応前」「原子に分かれる」「反応埌」「原子の数」を䞊曞きできる\n\n属性`count` は state の粒子数6〜30、既定 16、`size` は名前ず匏の文字サむズ24px 以䞊、既定 28、`dur` は各ステップの秒数既定 1.2。`volume=\"true\"` は気䜓の容噚を広くする既定 false。固䜓・液䜓の幅も粒子の局が入る幅を保぀。`motion=\"false\"` で state の運動の印を消す既定 true。`states` は属性ではなく子の JSON に曞く。\n\n芁玠の蚀語に埓い日本語・英語で衚瀺する。読み䞊げは最埌の状態ず保存される数を説明する。䜜者の `aria-label` があれば保぀。瞊曞きの教材でも図は暪曞き。"
1195
1195
  },
1196
1196
  "m-pie": {
1197
1197
  "set": "standard",
1198
1198
  "row": "| `<m-pie>` | 円グラフずドヌナツグラフ。切れの名前ず倀・割合は、倧きい切れなら䞭に、小さい切れなら倖に匕き出し線で曞く | 既定は 1党郚を䞀床に。per-step で n 切れず぀、切れの step で盎接 | `{slices:{label?,value:num,tone?,step?,place?:\"auto\"\\|\"in\"\\|\"out\"}[],center?:str}` — 切れは \"slices\" に曞く\"data\" や \"groups\" ではない。value は数\"26%\" のような字ではない。12 時の䜍眮から時蚈回りに、曞いた順に䞊ぶ |",
1199
- "entry": "### `<m-pie>`\n\nデヌタ子の `<script type=\"application/json\">`の芋本: `{\"slices\":[{\"label\":\"食費\",\"value\":7.2},{\"label\":\"䜏たい\",\"value\":8.5},{\"label\":\"その他\",\"value\":2.1,\"tone\":\"muted\"}]}`\n\n| 倀 | 型 | 既定 | 意味 |\n|---|---|---|---|\n| `donut` | number | `0` | ドヌナツの内偎の半埄の割合0 = 円グラフ。0.5〜0.6 がよい |\n| `unit` | string | `\"\"` | 倀の単䜍数字の埌ろに付ける。䞇円、人、% など |\n| `digits` | number | `0` | 倀の小数桁 |\n| `pct-digits` | number | `0` | 割合の小数桁 |\n| `show` | string | `\"pct\"` | 名前の䞋に曞くものpct割合・value倀・both倀ず割合・none |\n| `per-step` | number | `0` | 1 段階に出す切れの数0 = 党郚を段階 1 で |\n\n家蚈や予算の内蚳、回答の割合など、党䜓を 100% ずしたずきの内蚳を芋せるずきに䜿う。\n内蚳は䞀床に党郚芋せる共通の決たり §3。<!--part:m-bars-->量どうしを现かく比べたいなら `m-bars` のほうが読みやすい。<!--/part-->\n\n- slice`label`名前、`value`数。割合はこの倀から蚈算する、`tone``term` `emph` `accent2` `muted` `fg` `series-1..4`、`step`、`place``auto`既定・`in`・`out`\n - 切れは 12 時の䜍眮から時蚈回りに、曞いた順に䞊ぶ。「その他」は最埌に曞き、`\"tone\": \"muted\"` にするずよい\n - 既定の色は `--series-1..3`、4〜6 切れ目は同じ 3 色を薄くしたもの、7 切れ目は `--series-4`。切れは 6〜7 ぀たでにする\n- `center`ドヌナツの穎の䞭の字`\\n` で改行。`{total}` は合蚈の倀に眮き換わる。䟋`\"回答\\n{total}\"`。`center` は字文字列。<!--part:m-cycle-->`m-cycle` の `center` は `{\"label\": 
}` のオブゞェクトなので取り違えない<!--/part-->\n- `donut`ドヌナツにする内偎の半埄の割合。`0.5`〜`0.6` がよい。0 なら円グラフ\n- `show`名前の䞋に曞くもの`pct`割合、既定・`value`倀・`both`倀ず割合・`none`\n- `unit` `digits`倀の単䜍ず小数桁3 桁ごずにカンマ。`pct-digits`割合の小数桁既定 0。割合は足しお 100% になるように䞞める\n- 段階既定は党郚を段階 1 で出す。`per-step=\"1\"` で 1 切れず぀口述原皿が 1 切れず぀話すずきだけにする。そのずきは党䜓の茪郭を初めから薄く芋せる。切れの `step` を曞けばそれが勝぀\n- 字の眮き堎所切れの䞭に収たれば䞭に濃い切れでは背景の色の字、収たらなければ倖の巊右の列に匕き出し線で曞く。倖の字が瞊に重ならないように䞊べ盎し、字が片偎だけなら字ず円をたずめお真ん䞭に寄せる\n- 芋せ方`variant``fade`・`sweep`・`grow`。曞かなければ資料のシヌド倀で遞ばれる曞かなくおよい\n- 授業の衚瀺`ctx.preview`では、先の段階の切れをテヌマの薄さで芋せる"
1199
+ "entry": "### `<m-pie>`\n\nデヌタ子の `<script type=\"application/json\">`の芋本: `{\"slices\":[{\"label\":\"食費\",\"value\":7.2},{\"label\":\"䜏たい\",\"value\":8.5},{\"label\":\"その他\",\"value\":2.1,\"tone\":\"muted\"}]}`\n\n| 倀 | 型 | 既定 | 意味 |\n|---|---|---|---|\n| `donut` | number | `0` | ドヌナツの内偎の半埄の割合0 = 円グラフ。0.5〜0.6 がよい |\n| `unit` | string | `\"\"` | 倀の単䜍数字の埌ろに付ける。䞇円、人、% など |\n| `digits` | number | `0` | 倀の小数桁 |\n| `pct-digits` | number | `0` | 割合の小数桁 |\n| `show` | string | `\"pct\"` | 名前の䞋に曞くものpct割合・value倀・both倀ず割合・none |\n| `per-step` | number | `0` | 1 ステップに出す切れの数0 = 党郚をステップ 1 で |\n\n家蚈や予算の内蚳、回答の割合など、党䜓を 100% ずしたずきの内蚳を芋せるずきに䜿う。\n内蚳は䞀床に党郚芋せる共通の決たり §3。<!--part:m-bars-->量どうしを现かく比べたいなら `m-bars` のほうが読みやすい。<!--/part-->\n\n- slice`label`名前、`value`数。割合はこの倀から蚈算する、`tone``term` `emph` `accent2` `muted` `fg` `series-1..4`、`step`、`place``auto`既定・`in`・`out`\n - 切れは 12 時の䜍眮から時蚈回りに、曞いた順に䞊ぶ。「その他」は最埌に曞き、`\"tone\": \"muted\"` にするずよい\n - 既定の色は `--series-1..3`、4〜6 切れ目は同じ 3 色を薄くしたもの、7 切れ目は `--series-4`。切れは 6〜7 ぀たでにする\n- `center`ドヌナツの穎の䞭の字`\\n` で改行。`{total}` は合蚈の倀に眮き換わる。䟋`\"回答\\n{total}\"`。`center` は字文字列。<!--part:m-cycle-->`m-cycle` の `center` は `{\"label\": 
}` のオブゞェクトなので取り違えない<!--/part-->\n- `donut`ドヌナツにする内偎の半埄の割合。`0.5`〜`0.6` がよい。0 なら円グラフ\n- `show`名前の䞋に曞くもの`pct`割合、既定・`value`倀・`both`倀ず割合・`none`\n- `unit` `digits`倀の単䜍ず小数桁3 桁ごずにカンマ。`pct-digits`割合の小数桁既定 0。割合は足しお 100% になるように䞞める\n- ステップ既定は党郚をステップ 1 で出す。`per-step=\"1\"` で 1 切れず぀台本が 1 切れず぀話すずきだけにする。そのずきは党䜓の茪郭を初めから薄く芋せる。切れの `step` を曞けばそれが勝぀\n- 字の眮き堎所切れの䞭に収たれば䞭に濃い切れでは背景の色の字、収たらなければ倖の巊右の列に匕き出し線で曞く。倖の字が瞊に重ならないように䞊べ盎し、字が片偎だけなら字ず円をたずめお真ん䞭に寄せる\n- 芋せ方`variant``fade`・`sweep`・`grow`。曞かなければ資料のシヌド倀で遞ばれる曞かなくおよい\n- 先のステップを薄く芋せる衚瀺`ctx.preview`では、先のステップの切れをテヌマの薄さで芋せる"
1200
1200
  },
1201
1201
  "m-predict": {
1202
1202
  "set": "standard",
1203
- "row": "| `<m-predict>` | 予想しおから答えを開く。遞択肢ごずの人数を棒で芋せ、答えの段階で正解に枠 | 0 問いず遞択肢、1 人数の棒、answer-step既定 2で答え | `{question?:str,choices:{label,tone?}[],answer:int,counts?:int[],note?}` — choices は {\"label\": 
} の䞊び字の䞊びではない。answer は正しい遞択肢の番号0 から数える。counts省略可は遞択肢ごずに 0 以䞊の敎数を 1 ぀ず぀ |",
1204
- "entry": "### `<m-predict>`\n\nデヌタ子の `<script type=\"application/json\">`の芋本: `{\"question\":\"重い球ず軜い球、どちらが先に萜ちる\",\"choices\":[{\"label\":\"重い球\"},{\"label\":\"軜い球\"},{\"label\":\"同時\"}],\"answer\":2,\"counts\":[14,3,9],\"note\":\"空気の抵抗を陀けば同時に萜ちる\"}`\n\n| 倀 | 型 | 既定 | 意味 |\n|---|---|---|---|\n| `answer-step` | number | `2` | 2 以䞊既定 2。人数を数えるステップ 1 のあずに答えを開く |\n| `unit` | string | `\"\"` | 数の単䜍人 など |\n| `poll` | string | `\"\"` | 投祚の id今は芋る人・䜜者の数を䜿う |\n| `ticks` | bool | `true` | 数の軞の目盛りず栌子 |\n\n「A だず思う人〜」ず手を挙げおもらい、先生が −1・1 で数える数を打ち蟌んでもよい。䞀人で自習する孊習者は、遞択肢を抌すず自分の予想になる。\n\n- 遞択肢は 2〜6。動画・印刷・最初の衚瀺は `counts`無ければ 0。同じスラむドにいるあいだは数が残る答えの段階でも、戻っおも\n- 口述原皿は `counts` の数で曞き、数える所は `{note:ここで手を挙げおもらう}` ず曞く䞞かっこは読み䞊げられる\n- `poll=\"p1\"`v0.6.3 は結果公開の送信元がなく、`ctx.live.poll(id)` は null。芋る人・䜜者の数を䜿う"
1203
+ "row": "| `<m-predict>` | 予想しおから答えを開く。遞択肢ごずの人数を棒で芋せ、答えのステップで正解に枠 | 0 問いず遞択肢、1 人数の棒、answer-step既定 2で答え | `{question?:str,choices:{label,tone?}[],answer:int,counts?:int[],note?,labels?:{correct?:str}}` — choices は {\"label\": 
} の䞊び字の䞊びではない。answer は正しい遞択肢の番号0 から数える。counts省略可は遞択肢ごずに 0 以䞊の敎数を 1 ぀ず぀ |",
1204
+ "entry": "### `<m-predict>`\n\nデヌタ子の `<script type=\"application/json\">`の芋本: `{\"question\":\"重い球ず軜い球、どちらが先に萜ちる\",\"choices\":[{\"label\":\"重い球\"},{\"label\":\"軜い球\"},{\"label\":\"同時\"}],\"answer\":2,\"counts\":[14,3,9],\"note\":\"空気の抵抗を陀けば同時に萜ちる\"}`\n\n| 倀 | 型 | 既定 | 意味 |\n|---|---|---|---|\n| `answer-step` | number | `2` | 2 以䞊既定 2。人数を数えるステップ 1 のあずに答えを開く |\n| `unit` | string | `\"\"` | 数の単䜍人 など |\n| `poll` | string | `\"\"` | 投祚の id今は芋る人・䜜者の数を䜿う |\n| `ticks` | bool | `true` | 数の軞の目盛りず栌子 |\n\n「A だず思う人〜」ず手を挙げおもらい、先生が −1・1 で数える数を打ち蟌んでもよい。䞀人で自習する孊習者は、遞択肢を抌すず自分の予想になる。\n\n- 遞択肢は 2〜6。動画・印刷・最初の衚瀺は `counts`無ければ 0。同じスラむドにいるあいだは数が残る答えのステップでも、戻っおも\n- 台本は `counts` の数で曞き、数える所は `{note:ここで手を挙げおもらう}` ず曞く䞞かっこは読み䞊げられる\n- `poll=\"p1\"`v0.6.3 は結果公開の送信元がなく、`ctx.live.poll(id)` は null。芋る人・䜜者の数を䜿う\n- `labels.correct`省略可正解の印の文字を倉える既定「✓ 正解」"
1205
1205
  },
1206
1206
  "m-quad": {
1207
1207
  "set": "standard",
1208
- "row": "| `<m-quad>` | 2 軞の䜍眮づけポゞショニングマップ・SWOT 颚の 4 象限に、点を段階ごずに 1 ぀ず぀眮く | 点の step ず to.step の最倧既定は点 1 ぀ = 1 段階 | `{x?:{lo?:str,hi?:str},y?:{lo?:str,hi?:str},quads?:{tr?:str,tl?:str,bl?:str,br?:str,fill?:str},items:{label?,x:num,y:num,step?,at?,tone?,anchor?:\"right\"\\|\"left\"\\|\"above\"\\|\"below\",r?:num,self?:bool,to?:{x:num,y:num,label?,step?,at?}}[]}` |",
1209
- "entry": "### `<m-quad>`\n\nデヌタ子の `<script type=\"application/json\">`の芋本: `{\"x\":{\"lo\":\"手䜜業\",\"hi\":\"自動\"},\"y\":{\"lo\":\"高い\",\"hi\":\"安い\"},\"items\":[{\"label\":\"A 瀟\",\"x\":0.25,\"y\":0.7},{\"label\":\"自瀟\",\"x\":0.8,\"y\":0.82,\"self\":true}]}`\n\n| 倀 | 型 | 既定 | 意味 |\n|---|---|---|---|\n| `size` | number | `26` | 点の名前の字の倧きさpx |\n| `quads-step` | number | `0` | 象限の名前を出す段階0 = 初めから |\n\n競合ず自瀟の䜍眮づけ、斜策の分類効果×手間、SWOT のように、2 ぀の軞の䞊に項目を 1 ぀ず぀眮いお\n「空いおいる堎所」を芋せるずきに䜿う。\n\n- `x` `y`軞の䞡端の蚀葉暪軞は軞の䞋の䞡端、瞊軞は軞の䞊端ず䞋端の倖。軞ず蚀葉は段階 0 から芋える\n- `quads`象限の名前tr = 右䞊、tl = 巊䞊、bl = 巊䞋、br = 右䞋。`fill` に象限の名前`\"tr\"` などを曞くずその象限を淡く塗り、名前を `--term` で曞く。名前は `quads-step` の段階で珟れる既定 0 = 初めから\n- item`label`、`x` `y`0〜1。0.5 が軞の亀わるずころ、`step`既定は前の点の次の段階、`at`段階の䞭の開始秒、`tone``term` / `fg`、既定は `--muted`、`anchor`名前の䜍眮`right`既定・`left`・`above`・`below`、`r`䞞の半埄\n- `self: true` の点は `--emph` で倧きく描き、珟れたずきに茪が 1 回広がる最終状態では茪は出ない\n- `to: {\"x\", \"y\", \"label\", \"step\", \"at\"}`移動先。`to.step`既定は点の次の段階に、点が砎線の跡を匕きながら滑り、着いたら移動先の䞊に `label` を出す\n- `cues(k)`同じ段階に 2 ぀以䞊の点があれば、2 ぀目からの開始時刻atを返す。口述原皿の `{cue}` の数ず合えば、点が蚀葉に合わせお珟れる\n\n泚意\n\n- 象限の名前は、点・点の名前・軞の蚀葉にかからない隅に眮く。どの隅もかかるずきは点の名前を眮き盎す眮き堎がなければ `ctx.report` で知らせる\n- 点の名前どうし・移動先の名前ずの重なりは眮き盎さない。近い点の名前は重なるこずがあるので、`anchor` を倉えるか座暙をずらす"
1208
+ "row": "| `<m-quad>` | 2 軞の䜍眮づけポゞショニングマップ・SWOT 颚の 4 象限に、点をステップごずに 1 ぀ず぀眮く | 点の step ず to.step の最倧既定は点 1 ぀ = 1 ステップ | `{x?:{lo?:str,hi?:str},y?:{lo?:str,hi?:str},quads?:{tr?:str,tl?:str,bl?:str,br?:str,fill?:str},items:{label?,x:num,y:num,step?,at?,tone?,anchor?:\"right\"\\|\"left\"\\|\"above\"\\|\"below\",r?:num,self?:bool,to?:{x:num,y:num,label?,step?,at?}}[]}` |",
1209
+ "entry": "### `<m-quad>`\n\nデヌタ子の `<script type=\"application/json\">`の芋本: `{\"x\":{\"lo\":\"手䜜業\",\"hi\":\"自動\"},\"y\":{\"lo\":\"高い\",\"hi\":\"安い\"},\"items\":[{\"label\":\"A 瀟\",\"x\":0.25,\"y\":0.7},{\"label\":\"自瀟\",\"x\":0.8,\"y\":0.82,\"self\":true}]}`\n\n| 倀 | 型 | 既定 | 意味 |\n|---|---|---|---|\n| `size` | number | `26` | 点の名前の字の倧きさpx |\n| `quads-step` | number | `0` | 象限の名前を出すステップ0 = 初めから |\n\n競合ず自瀟の䜍眮づけ、斜策の分類効果×手間、SWOT のように、2 ぀の軞の䞊に項目を 1 ぀ず぀眮いお\n「空いおいる堎所」を芋せるずきに䜿う。\n\n- `x` `y`軞の䞡端の蚀葉暪軞は軞の䞋の䞡端、瞊軞は軞の䞊端ず䞋端の倖。軞ず蚀葉はステップ 0 から芋える\n- `quads`象限の名前tr = 右䞊、tl = 巊䞊、bl = 巊䞋、br = 右䞋。`fill` に象限の名前`\"tr\"` などを曞くずその象限を淡く塗り、名前を `--term` で曞く。名前は `quads-step` のステップで珟れる既定 0 = 初めから\n- item`label`、`x` `y`0〜1。0.5 が軞の亀わるずころ、`step`既定は前の点の次のステップ、`at`ステップの䞭の開始秒、`tone``term` / `fg`、既定は `--muted`、`anchor`名前の䜍眮`right`既定・`left`・`above`・`below`、`r`䞞の半埄\n- `self: true` の点は `--emph` で倧きく描き、珟れたずきに茪が 1 回広がる最終状態では茪は出ない\n- `to: {\"x\", \"y\", \"label\", \"step\", \"at\"}`移動先。`to.step`既定は点の次のステップに、点が砎線の跡を匕きながら滑り、着いたら移動先の䞊に `label` を出す\n- `cues(k)`同じステップに 2 ぀以䞊の点があれば、2 ぀目からの開始時刻atを返す。台本の `{cue}` の数ず合えば、点が蚀葉に合わせお珟れる\n\n泚意\n\n- 象限の名前は、点・点の名前・軞の蚀葉にかからない隅に眮く。どの隅もかかるずきは点の名前を眮き盎す眮き堎がなければ `ctx.report` で知らせる\n- 点の名前どうし・移動先の名前ずの重なりは眮き盎さない。近い点の名前は重なるこずがあるので、`anchor` を倉えるか座暙をずらす"
1210
1210
  },
1211
1211
  "m-sampling": {
1212
1212
  "set": "data",
1213
- "row": "| `<m-sampling>` | 母集団から暙本を取り、比率・平均の暙本分垃を積む | 母集団→抜出→統蚈量ず点→反埩の 4 段階 | `{balls?:object,values?:num[],of?:str,n:num,replace?:bool,repeat?:num,seed?:num,stat?:\"mean\"\\|\"proportion\",digits?:num} (balls or values)` |",
1213
+ "row": "| `<m-sampling>` | 母集団から暙本を取り、比率・平均の暙本分垃を積む | 母集団→抜出→統蚈量ず点→反埩の 4 ステップ | `{balls?:object,values?:num[],of?:str,n:num,replace?:bool,repeat?:num,seed?:num,stat?:\"mean\"\\|\"proportion\",digits?:num} (balls or values)` |",
1214
1214
  "entry": "### `<m-sampling>`\n\nデヌタ子の `<script type=\"application/json\">`の芋本: `{\"values\":[1,2,3,4,5,6],\"n\":2,\"replace\":true,\"repeat\":40,\"seed\":3}`\n\n| 倀 | 型 | 既定 | 意味 |\n|---|---|---|---|\n| `size` | number | `0` | 文字 px0 は 26 |\n\n母集団→暙本→暙本分垃を説明する。`<m-sampling style=\"height:440px\">` の子に JSON を眮く。\n\n- `balls`色名ず個数の蟞曞、蚈 2〜30 個。`of` の色の比率。基本 11 色の日英名、未知色は報告しお灰色ず名前\n- `values`2〜30 個の数。暙本平均。`balls` ずどちらか䞀方\n- `n`暙本数。非埩元は 1〜母集団数、埩元は 1〜30。範囲倖は報告しお補正\n- `replace`戻すなら true、既定 false。`repeat`1〜200 回既定 40。`seed`敎数既定 1\n- `stat`既定は玉で proportion、数で mean。`digits`小数桁 0〜10既定 2"
1215
1215
  },
1216
1216
  "m-scatter": {
1217
1217
  "set": "standard",
1218
- "row": "| `<m-scatter>` | 散垃図。点の組系列を段階ごずに出し、そのあず傟向の線最小二乗の盎線か、曞いた 2 点を匕く | 系列の数  傟向の線既定は系列 1 ぀ = 1 段階、そのあず線をたずめお 1 段階。系列・線の step で盎接 | `{series:{label?,tone?,step?,at?,points:([num,num]\\|{x:num,y:num,label?,anchor?:\"right\"\\|\"left\"\\|\"above\"\\|\"below\"\\|\"top\"\\|\"bottom\",tone?})[]}[],trend?:str\\|{fit?:\"linear\",pts?:[[num,num],[num,num]],series?:int\\|any[],label?,tone?,dash?:bool,step?,at?,digits?:int}\\|[the same {
},
]}` — 点は [x, y] か {\"x\", \"y\", \"label\"}。軞は属性に曞くxr=\"[0,10]\" xl=\"
\"。trend は \"linear\" か {\"fit\": \"linear\", \"label\": \"
\"} か {\"pts\": [[x0, y0], [x1, y1]]} |",
1219
- "entry": "### `<m-scatter>`\n\nデヌタ子の `<script type=\"application/json\">`の芋本: `{\"series\":[{\"label\":\"晎れ\",\"points\":[[24,210],[28,380],[31,560],{\"x\":34,\"y\":690,\"label\":\"猛暑日\"}]}],\"trend\":\"linear\"}`\n\n| 倀 | 型 | 既定 | 意味 |\n|---|---|---|---|\n| `xr` | json | `null` | 暪軞の範囲曞かなければデヌタから |\n| `yr` | json | `null` | 瞊軞の範囲曞かなければデヌタから |\n| `xt` | json | `null` | 暪軞の目盛り曞かなければ自動 |\n| `yt` | json | `null` | 瞊軞の目盛り曞かなければ自動 |\n| `xf` | number | | 暪軞の目盛りの小数桁 |\n| `yf` | number | | 瞊軞の目盛りの小数桁 |\n| `xl` | string | `\"\"` | 暪軞の名前`*斜䜓*` `_䞋付き` `^䞊付き` * |\n| `yl` | string | `\"\"` | 瞊軞の名前 * |\n| `r` | number | `9` | 点の半埄px |\n\n気枩ず売䞊、勉匷時間ず点数、䟡栌ず販売数など、2 ぀の量の関係を芋せるずきに䜿う。\n点を出しおから傟向の線を匕く共通の決たり §3 の「点、それから傟向」。\n\n- series`points`点の䞊び。`[x, y]` か `{\"x\", \"y\", \"label\", \"anchor\", \"tone\"}`、`label`系列の名前。図の䞊に印ず䞀緒に曞く、`tone``term` `emph` `accent2` `muted` `fg` `series-1..4`。既定は `series-1..4` の順、`step`1 系列 = 1 段階曞いた順。同じ `step` の系列は䞀緒に出す、`at`段階の䞭の開始秒\n - 点の `label` は点の暪に曞く右 → å·Š → 侊 → 䞋の順に、ほかの点・字・軞ず重ならない所。`anchor``right` `left` `above` `below`で最初に詊す向きを決められる。倖れた点や目立぀点だけに付ける\n - 系列ごずに印の圢が倉わる䞞・四角・䞉角・ひし圢。色だけに頌らない。圢ず既定の色は 4 系列たでで、5 ぀目からは同じ組がくり返すので、系列は 4 ぀たでにする\n- trend`\"linear\"`党郚の点の最小二乗の盎線、たたは `{\"fit\": \"linear\", \"series\": 0, \"label\", \"tone\", \"dash\", \"step\", \"at\", \"digits\"}`、たたは `{\"pts\": [[x0, y0], [x1, y1]]}`曞いた 2 点を結ぶ線分。ちょうど 2 ぀の `[x, y]`。瞊の線も曞ける。2 本以䞊は配列にする\n - `series`圓おはめに䜿う系列の番号0 から数える。1 ぀目の系列が 0。数か番号の配列。既定は党郚\n - `label`線の名前図の䞊に曞く。`{r}` は盞関係数、`{a}` は傟き、`{b}` は切片に眮き換わる`digits` 桁、既定 2。䟋`\"傟向r = {r}\"`\n - `step`既定は最埌の系列の次の段階線が䜕本あっおも同じ段階\n - 圓おはめた盎線は圓おはめた点の x の範囲に、`pts` の線は曞いた 2 点の間に匕き、軞の枠の䞭で切る。枠の倖に出る線は描かず、`ctx.report` で知らせる\n - `pts` の瞊の線では `{a}` `{b}`傟き・切片は空になる。`{r}` は圓おはめた盎線だけ\n- 軞の属性`xr` `yr`範囲、`xt` `yt`目盛り、`xf` `yf`目盛りの小数桁、`xl` `yl`軞の名前。`xr` `yr` を曞かなければデヌタから切りのよい範囲を、`xt` `yt` を曞かなければ目盛りを決める\n- 芋せ方`variant``fade`・`sweep`・`grow`。曞かなければ資料のシヌド倀で遞ばれる曞かなくおよい\n- 授業の衚瀺`ctx.preview`では、先の段階の点ず線をテヌマの薄さで芋せる",
1218
+ "row": "| `<m-scatter>` | 散垃図。点の組系列をステップごずに出し、そのあず傟向の線最小二乗の盎線か、曞いた 2 点を匕く | 系列の数  傟向の線既定は系列 1 ぀ = 1 ステップ、そのあず線をたずめお 1 ステップ。系列・線の step で盎接 | `{series:{label?,tone?,step?,at?,points:([num,num]\\|{x:num,y:num,label?,anchor?:\"right\"\\|\"left\"\\|\"above\"\\|\"below\"\\|\"top\"\\|\"bottom\",tone?})[]}[],trend?:str\\|{fit?:\"linear\",pts?:[[num,num],[num,num]],series?:int\\|any[],label?,tone?,dash?:bool,step?,at?,digits?:int}\\|[the same {
},
]}` — 点は [x, y] か {\"x\", \"y\", \"label\"}。軞は属性に曞くxr=\"[0,10]\" xl=\"
\"。trend は \"linear\" か {\"fit\": \"linear\", \"label\": \"
\"} か {\"pts\": [[x0, y0], [x1, y1]]} |",
1219
+ "entry": "### `<m-scatter>`\n\nデヌタ子の `<script type=\"application/json\">`の芋本: `{\"series\":[{\"label\":\"晎れ\",\"points\":[[24,210],[28,380],[31,560],{\"x\":34,\"y\":690,\"label\":\"猛暑日\"}]}],\"trend\":\"linear\"}`\n\n| 倀 | 型 | 既定 | 意味 |\n|---|---|---|---|\n| `xr` | json | `null` | 暪軞の範囲曞かなければデヌタから |\n| `yr` | json | `null` | 瞊軞の範囲曞かなければデヌタから |\n| `xt` | json | `null` | 暪軞の目盛り曞かなければ自動 |\n| `yt` | json | `null` | 瞊軞の目盛り曞かなければ自動 |\n| `xf` | number | | 暪軞の目盛りの小数桁 |\n| `yf` | number | | 瞊軞の目盛りの小数桁 |\n| `xl` | string | `\"\"` | 暪軞の名前`*斜䜓*` `_䞋付き` `^䞊付き` * |\n| `yl` | string | `\"\"` | 瞊軞の名前 * |\n| `r` | number | `9` | 点の半埄px |\n\n気枩ず売䞊、勉匷時間ず点数、䟡栌ず販売数など、2 ぀の量の関係を芋せるずきに䜿う。\n点を出しおから傟向の線を匕く共通の決たり §3 の「点、それから傟向」。\n\n- series`points`点の䞊び。`[x, y]` か `{\"x\", \"y\", \"label\", \"anchor\", \"tone\"}`、`label`系列の名前。図の䞊に印ず䞀緒に曞く、`tone``term` `emph` `accent2` `muted` `fg` `series-1..4`。既定は `series-1..4` の順、`step`1 系列 = 1 ステップ曞いた順。同じ `step` の系列は䞀緒に出す、`at`ステップの䞭の開始秒\n - 点の `label` は点の暪に曞く右 → å·Š → 侊 → 䞋の順に、ほかの点・字・軞ず重ならない所。`anchor``right` `left` `above` `below`で最初に詊す向きを決められる。倖れた点や目立぀点だけに付ける\n - 系列ごずに印の圢が倉わる䞞・四角・䞉角・ひし圢。色だけに頌らない。圢ず既定の色は 4 系列たでで、5 ぀目からは同じ組がくり返すので、系列は 4 ぀たでにする\n- trend`\"linear\"`党郚の点の最小二乗の盎線、たたは `{\"fit\": \"linear\", \"series\": 0, \"label\", \"tone\", \"dash\", \"step\", \"at\", \"digits\"}`、たたは `{\"pts\": [[x0, y0], [x1, y1]]}`曞いた 2 点を結ぶ線分。ちょうど 2 ぀の `[x, y]`。瞊の線も曞ける。2 本以䞊は配列にする\n - `series`圓おはめに䜿う系列の番号0 から数える。1 ぀目の系列が 0。数か番号の配列。既定は党郚\n - `label`線の名前図の䞊に曞く。`{r}` は盞関係数、`{a}` は傟き、`{b}` は切片に眮き換わる`digits` 桁、既定 2。䟋`\"傟向r = {r}\"`\n - `step`既定は最埌の系列の次のステップ線が䜕本あっおも同じステップ\n - 圓おはめた盎線は圓おはめた点の x の範囲に、`pts` の線は曞いた 2 点の間に匕き、軞の枠の䞭で切る。枠の倖に出る線は描かず、`ctx.report` で知らせる\n - `pts` の瞊の線では `{a}` `{b}`傟き・切片は空になる。`{r}` は圓おはめた盎線だけ\n- 軞の属性`xr` `yr`範囲、`xt` `yt`目盛り、`xf` `yf`目盛りの小数桁、`xl` `yl`軞の名前。`xr` `yr` を曞かなければデヌタから切りのよい範囲を、`xt` `yt` を曞かなければ目盛りを決める\n- 芋せ方`variant``fade`・`sweep`・`grow`。曞かなければ資料のシヌド倀で遞ばれる曞かなくおよい\n- 先のステップを薄く芋せる衚瀺`ctx.preview`では、先のステップの点ず線をテヌマの薄さで芋せる",
1220
1220
  "sup": true
1221
1221
  },
1222
1222
  "m-score": {
1223
1223
  "set": "music",
1224
- "row": "| `<m-score>` | 楜譜五線譜を 1 音・和音ず぀、たたは 1 小節ず぀出しお音も鳎らす。ABC 蚘譜法で曞く | 音笊・和音・䌑笊 1 ぀1 段階。by=\"measure\" なら 1 小節1 段階per-step=\"N\" なら N 小節。匱起の小節は次の段階に入る | `{abc:str}` — abc だけを曞くabcSvg・abcMap・renderers は組み立おが足す |",
1225
- "entry": "### `<m-score>`\n\nデヌタ子の `<script type=\"application/json\">`の芋本: `{\"abc\":\"X:1\\nM:4/4\\nL:1/4\\nQ:1/4=96\\nK:C\\nC D E F |]\"}`\n\n| 倀 | 型 | 既定 | 意味 |\n|---|---|---|---|\n| `by` | string | `\"note\"` | note1 音・和音ず぀\\| measure1 小節ず぀ |\n| `names` | string | `\"none\"` | 笊頭の䞋の名前solfaドレミ\\| abc \\| irohaハニホ\\| none |\n| `per-step` | number | `1` | by=\\ |\n\n- `abc`ABC 蚘譜法。`M:` 拍子、`L:` 基本の長さ、`Q:1/4=96` 速さ、`K:` 調、`[CEG]` 和音、`z` 䌑笊、`-` ã‚¿ã‚€\n- `names`笊頭の䞋に `solfa`ドレミ・`abc`・`iroha`ハニホ。既定は `none`\n- `by=\"measure\"`1 小節ず぀音は小節の䞭で順に鳎る\n- `per-step=\"N\"``by=\"measure\"` で N 小節を 1 段階にする既定 1。段階の長さは N 小節の長さそのたた\n- `by=\"note\"` は音の名前・高さを 1 ぀ず぀芋せるためのもので、各段階は 1.2 秒以䞊になりリズムは保たれない。リズムを聞かせるずきは `by=\"measure\"`。速い曲は `per-step` で 1 段階が 1.2 秒以䞊になるように匱起の小節は自動で次の小節ずたずめる"
1224
+ "row": "| `<m-score>` | 楜譜五線譜を 1 音・和音ず぀、たたは 1 小節ず぀出しお音も鳎らす。ABC 蚘譜法で曞く | 音笊・和音・䌑笊 1 ぀1 ステップ。by=\"measure\" なら 1 小節1 ステップper-step=\"N\" なら N 小節。匱起の小節は次のステップに入る | `{abc:str}` — abc だけを曞くabcSvg・abcMap・renderers は組み立おが足す |",
1225
+ "entry": "### `<m-score>`\n\nデヌタ子の `<script type=\"application/json\">`の芋本: `{\"abc\":\"X:1\\nM:4/4\\nL:1/4\\nQ:1/4=96\\nK:C\\nC D E F |]\"}`\n\n| 倀 | 型 | 既定 | 意味 |\n|---|---|---|---|\n| `by` | string | `\"note\"` | note1 音・和音ず぀\\| measure1 小節ず぀ |\n| `names` | string | `\"none\"` | 笊頭の䞋の名前solfaドレミ\\| abc \\| irohaハニホ\\| none |\n| `per-step` | number | `1` | by=\\ |\n\n- `abc`ABC 蚘譜法。`M:` 拍子、`L:` 基本の長さ、`Q:1/4=96` 速さ、`K:` 調、`[CEG]` 和音、`z` 䌑笊、`-` ã‚¿ã‚€\n- `names`笊頭の䞋に `solfa`ドレミ・`abc`・`iroha`ハニホ。既定は `none`\n- `by=\"measure\"`1 小節ず぀音は小節の䞭で順に鳎る\n- `per-step=\"N\"``by=\"measure\"` で N 小節を 1 ステップにする既定 1。ステップの長さは N 小節の長さそのたた\n- `by=\"note\"` は音の名前・高さを 1 ぀ず぀芋せるためのもので、各ステップは 1.2 秒以䞊になりリズムは保たれない。リズムを聞かせるずきは `by=\"measure\"`。速い曲は `per-step` で 1 ステップが 1.2 秒以䞊になるように匱起の小節は自動で次の小節ずたずめる"
1226
1226
  },
1227
1227
  "m-seq": {
1228
1228
  "set": "stats",
1229
1229
  "row": "| `<m-seq>` | 芳枬を 1 ぀ず぀加え、分垃ず数倀が曎新されおいく様子を芋せる前の分垃は薄く残す | ceil((steps の数 − 1) / per-step) | `{xs:num[],steps:{dens:num[],readout?:object,mark?:num}[],digits?:object,markLabel?:str}` |",
1230
- "entry": "### `<m-seq>`\n\nデヌタ子の `<script type=\"application/json\">`の芋本: `{\"xs\":[-2,-1,0,1,2],\"steps\":[{\"dens\":[0.05,0.24,0.4,0.24,0.05],\"readout\":{\"n\":0}},{\"dens\":[0.02,0.2,0.5,0.2,0.02],\"readout\":{\"n\":1},\"mark\":0.3}]}`\n\n| 倀 | 型 | 既定 | 意味 |\n|---|---|---|---|\n| `per-step` | number | `1` | 1 段階で動かす曎新の回数 |\n| `xr` | json | `null` | 暪軞の範囲既定は xs の端 |\n| `yr` | json | `[0, 1]` | 瞊軞の範囲 [min, max] * |\n| `xt` | json | `[]` | 暪軞の目盛りの倀 * |\n| `yt` | json | `[]` | 瞊軞の目盛りの倀 * |\n| `xf` | number | | 暪軞の目盛りの小数桁 * |\n| `yf` | number | | 瞊軞の目盛りの小数桁 * |\n| `xl` | string | `\"\"` | 暪軞の名前`*斜䜓*` `_䞋付き` `^䞊付き` * |\n| `yl` | string | `\"\"` | 瞊軞の名前 * |\n| `digits` | number | `2` | 数倀の小数の桁数data.digits で名前ごずに䞊曞き |\n| `panel` | number | `250` | 右の数倀の欄の幅px |\n| `ghosts` | number | `99` | 残す前の分垃の数 |\n\n回答や芳枬を 1 個ず぀加えお、事埌分垃ず掚定倀が絞られおいく過皋を芋せるずきに䜿う。\n\n`xl` `yl` `yr` などの軞の蚭定は JSON にも曞ける属性があれば属性を優先。\n\n- `steps[0]` が始めの状態段階 0、`steps[1..]` が 1 回ず぀の曎新\n- `per-step` 回の曎新を 1 段階の䞭で順に動かす。1 回の長さは `slot` 秒、`cues(k)` は各曎新の開始時刻を返すので、\n 口述原皿の `{cue}` を曎新の数だけ眮けば、音声に合わせお 1 回ず぀動く\n- 数倀は前埌の倀の間を補間し、`digits` の桁でそろえお衚瀺する等幅の数字",
1230
+ "entry": "### `<m-seq>`\n\nデヌタ子の `<script type=\"application/json\">`の芋本: `{\"xs\":[-2,-1,0,1,2],\"steps\":[{\"dens\":[0.05,0.24,0.4,0.24,0.05],\"readout\":{\"n\":0}},{\"dens\":[0.02,0.2,0.5,0.2,0.02],\"readout\":{\"n\":1},\"mark\":0.3}]}`\n\n| 倀 | 型 | 既定 | 意味 |\n|---|---|---|---|\n| `per-step` | number | `1` | 1 ステップで動かす曎新の回数 |\n| `xr` | json | `null` | 暪軞の範囲既定は xs の端 |\n| `yr` | json | `[0, 1]` | 瞊軞の範囲 [min, max] * |\n| `xt` | json | `[]` | 暪軞の目盛りの倀 * |\n| `yt` | json | `[]` | 瞊軞の目盛りの倀 * |\n| `xf` | number | | 暪軞の目盛りの小数桁 * |\n| `yf` | number | | 瞊軞の目盛りの小数桁 * |\n| `xl` | string | `\"\"` | 暪軞の名前`*斜䜓*` `_䞋付き` `^䞊付き` * |\n| `yl` | string | `\"\"` | 瞊軞の名前 * |\n| `digits` | number | `2` | 数倀の小数の桁数data.digits で名前ごずに䞊曞き |\n| `panel` | number | `250` | 右の数倀の欄の幅px |\n| `ghosts` | number | `99` | 残す前の分垃の数 |\n\n回答や芳枬を 1 個ず぀加えお、事埌分垃ず掚定倀が絞られおいく過皋を芋せるずきに䜿う。\n\n`xl` `yl` `yr` などの軞の蚭定は JSON にも曞ける属性があれば属性を優先。\n\n- `steps[0]` が始めの状態ステップ 0、`steps[1..]` が 1 回ず぀の曎新\n- `per-step` 回の曎新を 1 ステップの䞭で順に動かす。1 回の長さは `slot` 秒、`cues(k)` は各曎新の開始時刻を返すので、\n 台本の `{cue}` を曎新の数だけ眮けば、音声に合わせお 1 回ず぀動く\n- 数倀は前埌の倀の間を補間し、`digits` の桁でそろえお衚瀺する等幅の数字",
1231
1231
  "sup": true
1232
1232
  },
1233
1233
  "m-sweep": {
1234
1234
  "set": "math",
1235
1235
  "row": "| `<m-sweep>` | パラメヌタを動かしお関数の圢の倉化を芋せる前の圢は灰色で残す | values の数 − 1at があれば 1 | 属性だけJSON の子なし: `values=\"[0,0.5,1]\" at=\"[0.5,3]\" point=\"{\"u\":9.8,\"label\":\"平均埅ち {y} 日\",\"digits\":1}\"` |",
1236
- "entry": "### `<m-sweep>`\n\n| 倀 | 型 | 既定 | 意味 |\n|---|---|---|---|\n| `f` | string | `\"u*u\"` | 関数の匏算術の匏。倉数は暪軞 u ずパラメヌタ c。Math.exp(
) などの Math の関数ず定数、+ - * / % **、比范ず ? : が䜿える |\n| `values` | json | `[0, 1]` | パラメヌタの倀の列。段階ごずに次の倀ぞ動く |\n| `param` | string | `\"c\"` | 衚瀺するパラメヌタの名前 |\n| `xr` | json | `[-3, 3]` | 暪軞の範囲 [min, max] * |\n| `yr` | json | `[0, 10]` | 瞊軞の範囲 [min, max] * |\n| `xt` | json | `[]` | 暪軞の目盛りの倀 * |\n| `yt` | json | `[]` | 瞊軞の目盛りの倀 * |\n| `xl` | string | `\"\"` | 暪軞の名前`*斜䜓*` `_䞋付き` `^䞊付き` * |\n| `yl` | string | `\"\"` | 瞊軞の名前 * |\n| `digits` | number | `2` | 衚瀺する倀の小数の桁数 |\n| `at` | json | `null` | 倉化ごずの開始秒増える順。あれば党郚を段階 1 で |\n| `point` | | | |\n| `size` | number | `0` | 字の倧きさ24 以䞊。0 = 既定 |\n\n「φ が倧きいほど〜」を目で確かめさせるずきに䜿う。\n\n`f` の匏の䞭では、動かす倀はい぀も `c` ず曞く`param` は図に衚瀺する名前だけ。`param=\"η\"` でも `f=\"u*u + c*u\"`。\n\n`f` は算術の匏コヌドずしおは実行しない数、`u` ず `c`、`Math.exp(
)` `Math.sin(
)` などの `Math` の関数ず `Math.PI` などの定数、`+ - * / % **`、比范`< <= > >= == !=`、`&& || !`、`? :`、括匧。べき乗は `**``^` は曞けない。`-u ** 2` は `-(u ** 2)` か `(-u) ** 2` ず曞く。曞けない匏は図の代わりに札が出る。\n- `at=\"[0.5, 3]\"`倉化ごずの開始秒。あれば倉化をすべお段階 1 に入れる音楜や口述に合わせる\n- `point='{\"u\": 9.8, \"label\": \"平均埅ち {y} 日\"}'`u の所の曲線䞊の点。倀が倉わるず曲線に぀いお動く。yr の倖では隠しお知らせる\n- `size=\"40\"`字の倧きさ24 以䞊",
1236
+ "entry": "### `<m-sweep>`\n\n| 倀 | 型 | 既定 | 意味 |\n|---|---|---|---|\n| `f` | string | `\"u*u\"` | 関数の匏算術の匏。倉数は暪軞 u ずパラメヌタ c。Math.exp(
) などの Math の関数ず定数、+ - * / % **、比范ず ? : が䜿える |\n| `values` | json | `[0, 1]` | パラメヌタの倀の列。ステップごずに次の倀ぞ動く |\n| `param` | string | `\"c\"` | 衚瀺するパラメヌタの名前 |\n| `xr` | json | `[-3, 3]` | 暪軞の範囲 [min, max] * |\n| `yr` | json | `[0, 10]` | 瞊軞の範囲 [min, max] * |\n| `xt` | json | `[]` | 暪軞の目盛りの倀 * |\n| `yt` | json | `[]` | 瞊軞の目盛りの倀 * |\n| `xl` | string | `\"\"` | 暪軞の名前`*斜䜓*` `_䞋付き` `^䞊付き` * |\n| `yl` | string | `\"\"` | 瞊軞の名前 * |\n| `digits` | number | `2` | 衚瀺する倀の小数の桁数 |\n| `at` | json | `null` | 倉化ごずの開始秒増える順。あれば党郚をステップ 1 で |\n| `point` | | | |\n| `size` | number | `0` | 字の倧きさ24 以䞊。0 = 既定 |\n\n「φ が倧きいほど〜」を目で確かめさせるずきに䜿う。\n\n`f` の匏の䞭では、動かす倀はい぀も `c` ず曞く`param` は図に衚瀺する名前だけ。`param=\"η\"` でも `f=\"u*u + c*u\"`。\n\n`f` は算術の匏コヌドずしおは実行しない数、`u` ず `c`、`Math.exp(
)` `Math.sin(
)` などの `Math` の関数ず `Math.PI` などの定数、`+ - * / % **`、比范`< <= > >= == !=`、`&& || !`、`? :`、括匧。べき乗は `**``^` は曞けない。`-u ** 2` は `-(u ** 2)` か `(-u) ** 2` ず曞く。曞けない匏は図の代わりに札が出る。\n- `at=\"[0.5, 3]\"`倉化ごずの開始秒。あれば倉化をすべおステップ 1 に入れる音楜や口述に合わせる\n- `point='{\"u\": 9.8, \"label\": \"平均埅ち {y} 日\"}'`u の所の曲線䞊の点。倀が倉わるず曲線に぀いお動く。yr の倖では隠しお知らせる\n- `size=\"40\"`字の倧きさ24 以䞊",
1237
1237
  "sup": true
1238
1238
  },
1239
1239
  "m-syntax": {
1240
1240
  "set": "english",
1241
1241
  "row": "| `<m-syntax>` | 英文の構造S V O C M の蚘号、句ず節の括匧、修食の矢印、品詞、それから和蚳 | 出おくる芁玠S V O C Mを 1 ぀ず぀括匧・矢印・和蚳あるものだけ。build=\"whole\" で 1 | 芁玠の䞭の字JSON ではない |",
1242
- "entry": "### `<m-syntax>`\n\n| 倀 | 型 | 既定 | 意味 |\n|---|---|---|---|\n| `size` | number | `36` | 英文の字の倧きさpx |\n| `pos` | string | `\"off\"` | on で品詞語[名]を語の䞋に |\n| `build` | string | `\"steps\"` | whole で党郚を 1 段階に |\n| `yaku` | bool | `true` | 和蚳= の行を最埌に出す |\n\n1 行 1 文。`=` の行は盎前の文の和蚳。\n\n```\n[S The girl {圢^ [S who] [V lives]}] [V is] [C my friend].\n= 隣に䜏む女の子は私の友達だ。\n```\n\n- `[S 
]` 芁玠S V O C M、O1 O2。`{ }` の䞭は小文字で出る\n- `{圢 
}` `{副 
}` `{名 
}` 句・節の括匧 < > [ ]。䞭に V があれば節`圢句` `圢節` で固定\n- `^` 修食の矢印`{圢^ 
}` は前の語ぞ、`tall^` は次の語ぞ、`{副^plays 
}` はその語ぞ\n- `boy[名]` 品詞`pos=\"on\"`"
1242
+ "entry": "### `<m-syntax>`\n\n| 倀 | 型 | 既定 | 意味 |\n|---|---|---|---|\n| `size` | number | `36` | 英文の字の倧きさpx |\n| `pos` | string | `\"off\"` | on で品詞語[名]を語の䞋に |\n| `build` | string | `\"steps\"` | whole で党郚を 1 ステップに |\n| `yaku` | bool | `true` | 和蚳= の行を最埌に出す |\n\n1 行 1 文。`=` の行は盎前の文の和蚳。\n\n```\n[S The girl {圢^ [S who] [V lives]}] [V is] [C my friend].\n= 隣に䜏む女の子は私の友達だ。\n```\n\n- `[S 
]` 芁玠S V O C M、O1 O2。`{ }` の䞭は小文字で出る\n- `{圢 
}` `{副 
}` `{名 
}` 句・節の括匧 < > [ ]。䞭に V があれば節`圢句` `圢節` で固定\n- `^` 修食の矢印`{圢^ 
}` は前の語ぞ、`tall^` は次の語ぞ、`{副^plays 
}` はその語ぞ\n- `boy[名]` 品詞`pos=\"on\"`"
1243
1243
  },
1244
1244
  "m-tape": {
1245
1245
  "set": "math",
1246
- "row": "| `<m-tape>` | テヌプ図・線分図。党䜓や郚分を括匧で括り、わからない量は □ か ?。行から行ぞ「2 倍」の矢印 | steps既定行 → 括匧 → 倍の矢印を 1 ぀ず぀。rows行 1 ぀ = 1 段階。whole党郚で 1 段階 | `{rows:{label?,tone?,show?:int,segs:{v:num,label?,unknown?:str}[]}[],brace?:{row:int,from:int,to:int,label?,side?:\"above\"\\|\"below\",show?:int}[],times?:{from:int,to:int,label?,show?:int}[]}` — rows [{label, segs: [{v, label, unknown: \"?\" か \"□\"}]}]、brace [{row, from, to, label, side: above\\|below}]from・to は 0 から数えた区切りの番号、times [{from, to, label}]行の番号 |",
1247
- "entry": "### `<m-tape>`\n\nデヌタ子の `<script type=\"application/json\">`の芋本: `{\"rows\":[{\"label\":\"みかん\",\"segs\":[{\"v\":8,\"label\":\"食べた 8 こ\"},{\"v\":15,\"label\":\"のこり 15 こ\"}]}],\"brace\":[{\"row\":0,\"from\":0,\"to\":1,\"label\":\"はじめ □ こ\",\"side\":\"above\"}]}`\n\n| 倀 | 型 | 既定 | 意味 |\n|---|---|---|---|\n| `kind` | string | `\"tape\"` | tapeテヌプ図か line線分図 |\n| `build` | string | `\"steps\"` | steps行・括匧・矢印を 1 ぀ず぀・rows行を 1 ぀ず぀。括匧ず矢印はその行ず・whole党郚を 1 段階で |\n\n- 長さはどの行も同じ尺床で `v` に比䟋。わからない区切りにも `v` を曞く\n- `unknown``\"□\"` か `\"?\"``label` は埌ろに続く\n- brace`{row, from, to, label, side: \"above\" | \"below\"}`。from・to は 0 から数えた区切りの番号\n- times`{from, to, label: \"2 倍\"}`行の番号\n- `kind=\"line\"`線分図\n- 項目の `show`出す段階\n- 行の `tone`行の色`term`・`emph`・`muted`・`accent2`・`fg`・`series-1..4`。既定は `series-1` から順に\n- 行の名前に色の名前赀・癜を䜿わない。色はテヌマで倉わる"
1246
+ "row": "| `<m-tape>` | テヌプ図・線分図。党䜓や郚分を括匧で括り、わからない量は □ か ?。行から行ぞ「2 倍」の矢印 | steps既定行 → 括匧 → 倍の矢印を 1 ぀ず぀。rows行 1 ぀ = 1 ステップ。whole党郚で 1 ステップ | `{rows:{label?,tone?,show?:int,segs:{v:num,label?,unknown?:str}[]}[],brace?:{row:int,from:int,to:int,label?,side?:\"above\"\\|\"below\",show?:int}[],times?:{from:int,to:int,label?,show?:int}[]}` — rows [{label, segs: [{v, label, unknown: \"?\" か \"□\"}]}]、brace [{row, from, to, label, side: above\\|below}]from・to は 0 から数えた区切りの番号、times [{from, to, label}]行の番号 |",
1247
+ "entry": "### `<m-tape>`\n\nデヌタ子の `<script type=\"application/json\">`の芋本: `{\"rows\":[{\"label\":\"みかん\",\"segs\":[{\"v\":8,\"label\":\"食べた 8 こ\"},{\"v\":15,\"label\":\"のこり 15 こ\"}]}],\"brace\":[{\"row\":0,\"from\":0,\"to\":1,\"label\":\"はじめ □ こ\",\"side\":\"above\"}]}`\n\n| 倀 | 型 | 既定 | 意味 |\n|---|---|---|---|\n| `kind` | string | `\"tape\"` | tapeテヌプ図か line線分図 |\n| `build` | string | `\"steps\"` | steps行・括匧・矢印を 1 ぀ず぀・rows行を 1 ぀ず぀。括匧ず矢印はその行ず・whole党郚を 1 ステップで |\n\n- 長さはどの行も同じ尺床で `v` に比䟋。わからない区切りにも `v` を曞く\n- `unknown``\"□\"` か `\"?\"``label` は埌ろに続く\n- brace`{row, from, to, label, side: \"above\" | \"below\"}`。from・to は 0 から数えた区切りの番号\n- times`{from, to, label: \"2 倍\"}`行の番号\n- `kind=\"line\"`線分図\n- 項目の `show`出すステップ\n- 行の `tone`行の色`term`・`emph`・`muted`・`accent2`・`fg`・`series-1..4`。既定は `series-1` から順に\n- 行の名前に色の名前赀・癜を䜿わない。色はテヌマで倉わる"
1248
1248
  },
1249
1249
  "m-timeline": {
1250
1250
  "set": "standard",
1251
- "row": "| `<m-timeline>` | 幎衚。出来事を時間の軞の䞊に 1 ぀ず぀出す。期間は垯にしお、重なる期間は段を分けお積む。end は含たない\"1912\" は 1912 幎の初め | 出来事の数既定は時刻の順に 1 ぀ = 1 段階。per-step で n 個ず぀、node の step が優先 | `{nodes:{id?:str\\|int,label?,tex?,note?,tone?,when:num\\|str,whenLabel?:str,end?:num\\|str,lane?:str,step?,at?,after?:(str\\|int)[],progress?:num}[],edges?:{from:str\\|int,to:str\\|int,label?,tone?,dash?:bool,step?,at?}[]}` — when / end: a number or \"YYYY\", \"YYYY-MM\", \"YYYY-MM-DD\"; end is exclusive (\"1912\" is the start of 1912). whenLabel: the date text shown instead of the computed one (when still sets the position). A node with end is a period (a band); lane groups bands into named lanes |",
1252
- "entry": "### `<m-timeline>`\n\nデヌタ子の `<script type=\"application/json\">`の芋本: `{\"nodes\":[{\"id\":\"a\",\"label\":\"明治維新\",\"when\":\"1868\",\"whenLabel\":\"明治元幎\"},{\"id\":\"b\",\"label\":\"憲法の発垃\",\"when\":\"1889\",\"note\":\"2 月 11 日\"},{\"id\":\"c\",\"label\":\"日枅戊争\",\"when\":\"1894\",\"end\":\"1895\",\"tone\":\"emph\"}]}`\n\n| 倀 | 型 | 既定 | 意味 |\n|---|---|---|---|\n| `orient` | string | `\"h\"` | h巊から右ぞか v䞊から䞋ぞ |\n| `scale` | string | `\"time\"` | time時間に比䟋した間隔か even等間隔。間がずおも䞍ぞろいなずき |\n| `per-step` | number | `1` | 1 段階に出す出来事の数0 = 党郚を段階 1 で |\n| `size` | number | `26` | 名前の字の倧きさpx。入らなければ 24 たで瞮める |\n| `unit` | string | `\"\"` | 目盛りday・week・month |\n| `today` | string | `\"\"` | 今日の線YYYY-MM-DD |\n\n歎史の幎衚、人物の生涯の重なり、蚈画の日皋など、出来事を時間の順に芋せるずきに䜿う。\n座暙は曞かない。䞭身ず時刻だけを曞けば、郚品が䞊べる共通の決たり §2。\n\n子の JSON の䞊び`edges` は省ける。\n\n- `when`時刻。数`1868`、`-500`、`0.5` などか、文字列 `\"YYYY\"` `\"YYYY-MM\"` `\"YYYY-MM-DD\"`。箱の䞊の行に日付ずしお出る日本語の資料なら「1868幎」「2026幎10月」\n- `whenLabel`日付の行に、蚈算した日付の代わりに曞く字「明治元幎」「平成の終わり」など。䜍眮は `when` で決たる\n- `label`名前`\\n` で改行。たたは `tex`KaTeX\n- `note`箱の**äž­**の最埌の行に小さく`--muted`。期間ず節目では名前の埌ろに続けお。䟋「2 月 11 日」「新橋〜暪浜」\n- `tone``term`既定・`emph`・`muted`・`accent2`・`series-1..4`。`emph` の箱は地が `--emph-tint`、枠ず字が `--emph`\n- `end`あれば期間。軞の䞋の段に垯で描き、名前は垯の䞭入らなければ垯の右か巊に曞く。名前を `\\n` で䜕行かにするず、垯がその分倪くなる\n- `end` は含たない終わりの時点。`\"1912\"` は 1912 幎の初め。明治 1868–1912 ず倧正 1912–1926 は同じ段に䞊ぶ。12 月たで含めるなら次の月`\"2027-01\"`を曞く。\n- `lane`期間を名前の付いた段のたずたりに分ける「時代」「䜜家」「蚭蚈」など。たずたりの名前を巊に曞き、たずたりの間に薄い線を匕く。重なる期間は、たずたりの䞭で自動で別の段に積む。`end` のない node に `lane` を曞くず、その段の䞭の節目◆になる\n- `step`・`at`出る段階ず、段階の䞭の開始秒\n- `edges`ほかの぀ながり`from` `to` `label` `tone` `dash` `step`。箱の瞁から瞁ぞの砎線の矢印`dash: false` で実線\n- 工皋衚`after: [\"id\", 
]`前の䜜業の終わりから始たりぞ矢印、`progress`0–100 %。濃く塗る。今日の線は `today`、目盛りの単䜍は `unit`\n - `after` の矢印は期間`end` のある nodeか節目`lane` のある nodeのあいだだけ。`lane` のない出来事を指すず匕かない。`today` の線は期間が 1 ぀以䞊あるずきだけ出る\n\n䞊べ方\n\n- `orient``h`既定、巊から右ぞか `v`䞊から䞋ぞ\n- `scale``time`既定、時間に比䟋した間隔か `even`䜿った時刻を等間隔に。間がずおも䞍ぞろいなずき\n- 出来事`end` も `lane` もない nodeは軞の䞊の点ず、日付ず名前の箱。箱は軞の䞊ず䞋に亀互に眮く`v` なら巊ず右。混んでいお箱が点から離れすぎるずきは 2 段にする\n- 期間があるずきは、軞に切りのよい目盛り幎・月・数を付け、出来事の箱はすべお軞の䞊に眮く䞋は期間の段\n- 段階既定は時刻の順に 1 ぀ず぀期間も出来事も同じ列で数える。軞は最初の出来事ず䞀緒に匕かれる\n- 線軞は `--muted` の 5 px図の䞭心の線ずしお 1 本だけ倪い。軞の目盛りず目盛りの字図の字の倧きさも `--muted`。段のたずたりの間の区切りの線だけ `--line`。箱から軞ぞの線ず `edges` は `--muted` の 3 px\n- 芋せ方`variant``fade`・`draw`・`grow`。曞かなければ資料のシヌド倀で遞ばれる曞かなくおよい\n- 動きの䞊限どの芋せ方でも箱が動くのは 12 px たで箱の䞭心で枬る、時間も `fade` の長さの䞭共通の決たり §1.2\n- 授業の衚瀺`ctx.preview`埌の段階の出来事・期間をテヌマの薄さで芋せる\n- `cues(k)`同じ段階に 2 ぀以䞊あれば、2 ぀目からの開始時刻を返す口述原皿の `{cue}` に合わせられる"
1251
+ "row": "| `<m-timeline>` | 幎衚。出来事を時間の軞の䞊に 1 ぀ず぀出す。期間は垯にしお、重なる期間は段を分けお積む。end は含たない\"1912\" は 1912 幎の初め | 出来事の数既定は時刻の順に 1 ぀ = 1 ステップ。per-step で n 個ず぀、node の step が優先 | `{nodes:{id?:str\\|int,label?,tex?,note?,tone?,when:num\\|str,whenLabel?:str,end?:num\\|str,lane?:str,step?,at?,after?:(str\\|int)[],progress?:num}[],edges?:{from:str\\|int,to:str\\|int,label?,tone?,dash?:bool,step?,at?}[]}` — when / end: a number or \"YYYY\", \"YYYY-MM\", \"YYYY-MM-DD\"; end is exclusive (\"1912\" is the start of 1912). whenLabel: the date text shown instead of the computed one (when still sets the position). A node with end is a period (a band); lane groups bands into named lanes |",
1252
+ "entry": "### `<m-timeline>`\n\nデヌタ子の `<script type=\"application/json\">`の芋本: `{\"nodes\":[{\"id\":\"a\",\"label\":\"明治維新\",\"when\":\"1868\",\"whenLabel\":\"明治元幎\"},{\"id\":\"b\",\"label\":\"憲法の発垃\",\"when\":\"1889\",\"note\":\"2 月 11 日\"},{\"id\":\"c\",\"label\":\"日枅戊争\",\"when\":\"1894\",\"end\":\"1895\",\"tone\":\"emph\"}]}`\n\n| 倀 | 型 | 既定 | 意味 |\n|---|---|---|---|\n| `orient` | string | `\"h\"` | h巊から右ぞか v䞊から䞋ぞ |\n| `scale` | string | `\"time\"` | time時間に比䟋した間隔か even等間隔。間がずおも䞍ぞろいなずき |\n| `per-step` | number | `1` | 1 ステップに出す出来事の数0 = 党郚をステップ 1 で |\n| `size` | number | `26` | 名前の字の倧きさpx。入らなければ 24 たで瞮める |\n| `unit` | string | `\"\"` | 目盛りday・week・month |\n| `today` | string | `\"\"` | 今日の線YYYY-MM-DD |\n\n歎史の幎衚、人物の生涯の重なり、蚈画の日皋など、出来事を時間の順に芋せるずきに䜿う。\n座暙は曞かない。䞭身ず時刻だけを曞けば、パヌツが䞊べる共通の決たり §2。\n\n子の JSON の䞊び`edges` は省ける。\n\n- `when`時刻。数`1868`、`-500`、`0.5` などか、文字列 `\"YYYY\"` `\"YYYY-MM\"` `\"YYYY-MM-DD\"`。箱の䞊の行に日付ずしお出る日本語の資料なら「1868幎」「2026幎10月」\n- `whenLabel`日付の行に、蚈算した日付の代わりに曞く字「明治元幎」「平成の終わり」など。䜍眮は `when` で決たる\n- `label`名前`\\n` で改行。たたは `tex`KaTeX\n- `note`箱の**äž­**の最埌の行に小さく`--muted`。期間ず節目では名前の埌ろに続けお。䟋「2 月 11 日」「新橋〜暪浜」\n- `tone``term`既定・`emph`・`muted`・`accent2`・`series-1..4`。`emph` の箱は地が `--emph-tint`、枠ず字が `--emph`\n- `end`あれば期間。軞の䞋の段に垯で描き、名前は垯の䞭入らなければ垯の右か巊に曞く。名前を `\\n` で䜕行かにするず、垯がその分倪くなる\n- `end` は含たない終わりの時点。`\"1912\"` は 1912 幎の初め。明治 1868–1912 ず倧正 1912–1926 は同じ段に䞊ぶ。12 月たで含めるなら次の月`\"2027-01\"`を曞く。\n- `lane`期間を名前の付いた段のたずたりに分ける「時代」「䜜家」「蚭蚈」など。たずたりの名前を巊に曞き、たずたりの間に薄い線を匕く。重なる期間は、たずたりの䞭で自動で別の段に積む。`end` のない node に `lane` を曞くず、その段の䞭の節目◆になる\n- `step`・`at`出るステップず、ステップの䞭の開始秒\n- `edges`ほかの぀ながり`from` `to` `label` `tone` `dash` `step`。箱の瞁から瞁ぞの砎線の矢印`dash: false` で実線\n- 工皋衚`after: [\"id\", 
]`前の䜜業の終わりから始たりぞ矢印、`progress`0–100 %。濃く塗る。今日の線は `today`、目盛りの単䜍は `unit`\n - `after` の矢印は期間`end` のある nodeか節目`lane` のある nodeのあいだだけ。`lane` のない出来事を指すず匕かない。`today` の線は期間が 1 ぀以䞊あるずきだけ出る\n\n䞊べ方\n\n- `orient``h`既定、巊から右ぞか `v`䞊から䞋ぞ\n- `scale``time`既定、時間に比䟋した間隔か `even`䜿った時刻を等間隔に。間がずおも䞍ぞろいなずき\n- 出来事`end` も `lane` もない nodeは軞の䞊の点ず、日付ず名前の箱。箱は軞の䞊ず䞋に亀互に眮く`v` なら巊ず右。混んでいお箱が点から離れすぎるずきは 2 段にする\n- 期間があるずきは、軞に切りのよい目盛り幎・月・数を付け、出来事の箱はすべお軞の䞊に眮く䞋は期間の段\n- ステップ既定は時刻の順に 1 ぀ず぀期間も出来事も同じ列で数える。軞は最初の出来事ず䞀緒に匕かれる\n- 線軞は `--muted` の 5 px図の䞭心の線ずしお 1 本だけ倪い。軞の目盛りず目盛りの字図の字の倧きさも `--muted`。段のたずたりの間の区切りの線だけ `--line`。箱から軞ぞの線ず `edges` は `--muted` の 3 px\n- 芋せ方`variant``fade`・`draw`・`grow`。曞かなければ資料のシヌド倀で遞ばれる曞かなくおよい\n- 動きの䞊限どの芋せ方でも箱が動くのは 12 px たで箱の䞭心で枬る、時間も `fade` の長さの䞭共通の決たり §1.2\n- 先のステップを薄く芋せる衚瀺`ctx.preview`埌のステップの出来事・期間をテヌマの薄さで芋せる\n- `cues(k)`同じステップに 2 ぀以䞊あれば、2 ぀目からの開始時刻を返す台本の `{cue}` に合わせられる"
1253
1253
  },
1254
1254
  "m-timer": {
1255
1255
  "set": "tools",
1256
- "row": "| `<m-timer>` | グルヌプワヌクの進行タむマヌ。区切りごずに残り時間を倧きく数え、区切りの䞀芧で今の区切りを瀺す | 0 準備の画面、区切り 1 ぀が 1 段階その長さ = sec 秒 | `{ready?:{title?:str,text?:str},phases:{title:str,short?:str,text?:str,sec:int,bells?:{left:int,count?:int}[]}[],bells?:{left:int,count?:int}[],done?:str,labels?:{ready?:str,total?:str,remaining?:str,done?:str,start?:str,next?:str,end?:str,min?:str,sec?:str,plus?:str,minus?:str}}` — phases は {\"title\", \"sec\"} の䞊びsec は秒の敎数。\"3分\" のような字ではない。区切り 1 ぀が 1 段階 |",
1257
- "entry": "### `<m-timer>`\n\nデヌタ子の `<script type=\"application/json\">`の芋本: `{\"ready\":{\"title\":\"準備の確認\",\"text\":\"甚玙ずペンがそろっおいるか\"},\"phases\":[{\"title\":\"① 付箋に曞く\",\"short\":\"付箋に曞く\",\"sec\":180},{\"title\":\"② 島で遞ぶ\",\"short\":\"島で遞ぶ\",\"sec\":300}]}`\n\n| 倀 | 型 | 既定 | 意味 |\n|---|---|---|---|\n| `なし` | | | |\n\n䟝頌にグルヌプワヌク・䜜業時間・制限時間があるずきだけ䜿う。→ キヌで段階を進めるず数え始める。\n\n- 区切り`phases`は 8 ぀たで。`sec` は秒の敎数3 分なら 180。`short` は右の䞀芧に出す短い名前、`text` は 2 行たで\n- 最埌の 1 分は時蚈ず棒が匷調の色テヌマの `--emph`、最埌の 10 秒は時蚈が点滅\n- 字は `<html lang>` で日本語か英語。`labels` で倉えられる`ready` `total` `remaining` `done` `start` `next` `end` `min` `sec` `plus` `minus`\n- 実行系が察応しおいれば 1 分・−1 分のボタンが出る同じスラむドにいるあいだは延ばした時間が残る\n- ベル孊䌚タむマヌのように`\"bells\": [{\"left\": 300, \"count\": 1}, {\"left\": 120, \"count\": 2}, {\"left\": 0, \"count\": 3}]`残り秒ず回数。党䜓か区切りごずに曞く。曞かなければ鳎らない"
1256
+ "row": "| `<m-timer>` | グルヌプワヌクの進行タむマヌ。区切りごずに残り時間を倧きく数え、区切りの䞀芧で今の区切りを瀺す | 0 準備の画面、区切り 1 ぀が 1 ステップその長さ = sec 秒 | `{ready?:{title?:str,text?:str},phases:{title:str,short?:str,text?:str,sec:int,bells?:{left:int,count?:int}[]}[],bells?:{left:int,count?:int}[],done?:str,labels?:{ready?:str,total?:str,remaining?:str,done?:str,start?:str,next?:str,end?:str,min?:str,sec?:str,plus?:str,minus?:str}}` — phases は {\"title\", \"sec\"} の䞊びsec は秒の敎数。\"3分\" のような字ではない。区切り 1 ぀が 1 段階 |",
1257
+ "entry": "### `<m-timer>`\n\nデヌタ子の `<script type=\"application/json\">`の芋本: `{\"ready\":{\"title\":\"準備の確認\",\"text\":\"甚玙ずペンがそろっおいるか\"},\"phases\":[{\"title\":\"① 付箋に曞く\",\"short\":\"付箋に曞く\",\"sec\":180},{\"title\":\"② 島で遞ぶ\",\"short\":\"島で遞ぶ\",\"sec\":300}]}`\n\n| 倀 | 型 | 既定 | 意味 |\n|---|---|---|---|\n| `なし` | | | |\n\n䟝頌にグルヌプワヌク・䜜業時間・制限時間があるずきだけ䜿う。→ キヌでステップを進めるず数え始める。\n\n- 区切り`phases`は 8 ぀たで。`sec` は秒の敎数3 分なら 180。`short` は右の䞀芧に出す短い名前、`text` は 2 行たで\n- 最埌の 1 分は時蚈ず棒が匷調の色テヌマの `--emph`、最埌の 10 秒は時蚈が点滅\n- 字は `<html lang>` で日本語か英語。`labels` で倉えられる`ready` `total` `remaining` `done` `start` `next` `end` `min` `sec` `plus` `minus`\n- 実行系が察応しおいれば 1 分・−1 分のボタンが出る同じスラむドにいるあいだは延ばした時間が残る\n- ベル孊䌚タむマヌのように`\"bells\": [{\"left\": 300, \"count\": 1}, {\"left\": 120, \"count\": 2}, {\"left\": 0, \"count\": 3}]`残り秒ず回数。党䜓か区切りごずに曞く。曞かなければ鳎らない"
1258
1258
  },
1259
1259
  "m-tree": {
1260
1260
  "set": "standard",
1261
- "row": "| `<m-tree>` | 階局・分類の朚組織図、生物の分類などを、根から 1 段ず぀組み立おる。座暙は曞かず、配眮は郚品が決める | 節の深さの数by=\"level\"、既定か節の数by=\"node\"。節ず edges の step があればその最倧 | `{nodes:{id:str\\|int,label?,tex?,note?,tone?,parent?:str\\|int,branch?:str,step?,at?}[],edges?:{from:str\\|int,to:str\\|int,label?,tone?,dash?:bool,step?,at?}[],path?:(str\\|int)[],pathStep?:int,pathNote?:str}` — parent のない節根はちょうど 1 ぀ |",
1262
- "entry": "### `<m-tree>`\n\nデヌタ子の `<script type=\"application/json\">`の芋本: `{\"nodes\":[{\"id\":\"r\",\"label\":\"動物\"},{\"id\":\"a\",\"label\":\"脊怎動物\",\"parent\":\"r\"},{\"id\":\"b\",\"label\":\"無脊怎動物\",\"parent\":\"r\"}]}`\n\n| 倀 | 型 | 既定 | 意味 |\n|---|---|---|---|\n| `orient` | string | `\"down\"` | down䞊から䞋、既定か right巊から右 |\n| `by` | string | `\"level\"` | 段階の分け方level深さごず、既定か node1 ぀ず぀、深さ優先の順 |\n| `link` | string | `\"elbow\"` | 芪子の線elbowかぎ圢、既定か straightたっすぐ |\n| `size` | number | `0` | 箱の字の倧きさpx。0 = 27 から入るたで 24 たで瞮める |\n\n組織図、生物や物質の分類、抂念の䞊䜍ず䞋䜍、章ず節の構成など、芪子の関係で䞊ぶものを䞊から順に芋せるずきに䜿う。\n座暙は曞かない共通の決たり §2。䞭身ず぀ながりだけを曞けば、郚品が重ならないように䞊べる。\n\n子の JSON の䞊び`edges` は省いおよい。\n\n- node`id`、`label``\\n` で改行か `tex`KaTeX、`parent`芪の `id`。`parent` のない節根はちょうど 1 ぀、`note`箱の**例**に小さな䞀蚀、`--muted`、`tone``term`既定・`emph`・`muted`・`accent2`・`series-1..4`、`step`、`at`段階の䞭の開始秒\n- 子は配列の順に䞊ぶ。芪は子の䞊びの䞭倮に眮く\n- edge芪子のほかの぀ながり`from` `to` `label` `tone` `dash` `step`。砎線で矢印぀き、朚の倖偎`down` は䞋、`right` は右ぞふくらむ。同じ深さの節どうしに向く。段階は既定で䞡端の遅いほう\n- 子の `branch`線の字確率など。`path`根からの `id` の道を順に匷調`pathStep` で䞀床に。`pathNote`末尟の䞀蚀\n- `orient``down`既定、䞊から䞋か `right`巊から右。分類を暪に広げるずき\n- `by``level`既定。根、それから深さごずに 1 段か `node`深さ優先の順に 1 ぀ず぀。1 ぀の枝をたどっお話すずき。節の `step` が勝぀\n- `link`芪子の線。`elbow`既定、かぎ圢か `straight`たっすぐ。線の色は `--muted`、3 px\n- `tone: emph` の箱は、地が `--emph-tint`、枠ず字が `--emph`\n- 入る倧きさの目安1280×720 の本文、高さ 440 px ほど`down` は 1 段に 4 字ほどの箱が 8 個、`right` は 7 個ほど。深さは 5 段ほど。\n それより倚い葉子のない節が 1 ぀の芪に䞊ぶず、子を 2 段に互い違いに䞊べる`down` で 16 個ほど、`right` で 11 個ほどたで。\n さらに入らなければ名前を 2 行に折る。字は 24 px より小さくならず、入らない分は芁玠の箱からはみ出す足りない px を `ctx.report` で知らせ、Studio の怜査に出る。倚いずきは朚を分ける\n- 芋せ方`variant``fade`・`draw`・`grow`。曞かなければ資料のシヌド倀で遞ばれる曞かなくおよい\n- 動きの䞊限どの芋せ方でも箱が動くのは 12 px たで箱の䞭心で枬る、時間も `fade` の長さの䞭共通の決たり §1.2\n- 授業の衚瀺`ctx.preview`では、埌の段階の箱ず線をテヌマの薄さで出しおおく"
1261
+ "row": "| `<m-tree>` | 階局・分類の朚組織図、生物の分類などを、根から 1 段ず぀組み立おる。座暙は曞かず、配眮はパヌツが決める | 節の深さの数by=\"level\"、既定か節の数by=\"node\"。節ず edges の step があればその最倧 | `{nodes:{id:str\\|int,label?,tex?,note?,tone?,parent?:str\\|int,branch?:str,step?,at?}[],edges?:{from:str\\|int,to:str\\|int,label?,tone?,dash?:bool,step?,at?}[],path?:(str\\|int)[],pathStep?:int,pathNote?:str}` — parent のない節根はちょうど 1 ぀ |",
1262
+ "entry": "### `<m-tree>`\n\nデヌタ子の `<script type=\"application/json\">`の芋本: `{\"nodes\":[{\"id\":\"r\",\"label\":\"動物\"},{\"id\":\"a\",\"label\":\"脊怎動物\",\"parent\":\"r\"},{\"id\":\"b\",\"label\":\"無脊怎動物\",\"parent\":\"r\"}]}`\n\n| 倀 | 型 | 既定 | 意味 |\n|---|---|---|---|\n| `orient` | string | `\"down\"` | down䞊から䞋、既定か right巊から右 |\n| `by` | string | `\"level\"` | ステップの分け方level深さごず、既定か node1 ぀ず぀、深さ優先の順 |\n| `link` | string | `\"elbow\"` | 芪子の線elbowかぎ圢、既定か straightたっすぐ |\n| `size` | number | `0` | 箱の字の倧きさpx。0 = 27 から入るたで 24 たで瞮める |\n\n組織図、生物や物質の分類、抂念の䞊䜍ず䞋䜍、章ず節の構成など、芪子の関係で䞊ぶものを䞊から順に芋せるずきに䜿う。\n座暙は曞かない共通の決たり §2。䞭身ず぀ながりだけを曞けば、パヌツが重ならないように䞊べる。\n\n子の JSON の䞊び`edges` は省いおよい。\n\n- node`id`、`label``\\n` で改行か `tex`KaTeX、`parent`芪の `id`。`parent` のない節根はちょうど 1 ぀、`note`箱の**例**に小さな䞀蚀、`--muted`、`tone``term`既定・`emph`・`muted`・`accent2`・`series-1..4`、`step`、`at`ステップの䞭の開始秒\n- 子は配列の順に䞊ぶ。芪は子の䞊びの䞭倮に眮く\n- edge芪子のほかの぀ながり`from` `to` `label` `tone` `dash` `step`。砎線で矢印぀き、朚の倖偎`down` は䞋、`right` は右ぞふくらむ。同じ深さの節どうしに向く。ステップは既定で䞡端の遅いほう\n- 子の `branch`線の字確率など。`path`根からの `id` の道を順に匷調`pathStep` で䞀床に。`pathNote`末尟の䞀蚀\n- `orient``down`既定、䞊から䞋か `right`巊から右。分類を暪に広げるずき\n- `by``level`既定。根、それから深さごずに 1 段か `node`深さ優先の順に 1 ぀ず぀。1 ぀の枝をたどっお話すずき。節の `step` が勝぀\n- `link`芪子の線。`elbow`既定、かぎ圢か `straight`たっすぐ。線の色は `--muted`、3 px\n- `tone: emph` の箱は、地が `--emph-tint`、枠ず字が `--emph`\n- 入る倧きさの目安1280×720 の本文、高さ 440 px ほど`down` は 1 段に 4 字ほどの箱が 8 個、`right` は 7 個ほど。深さは 5 段ほど。\n それより倚い葉子のない節が 1 ぀の芪に䞊ぶず、子を 2 段に互い違いに䞊べる`down` で 16 個ほど、`right` で 11 個ほどたで。\n さらに入らなければ名前を 2 行に折る。字は 24 px より小さくならず、入らない分は芁玠の箱からはみ出す足りない px を `ctx.report` で知らせ、Studio の品質チェックに出る。倚いずきは朚を分ける\n- 芋せ方`variant``fade`・`draw`・`grow`。曞かなければ資料のシヌド倀で遞ばれる曞かなくおよい\n- 動きの䞊限どの芋せ方でも箱が動くのは 12 px たで箱の䞭心で枬る、時間も `fade` の長さの䞭共通の決たり §1.2\n- 先のステップを薄く芋せる衚瀺`ctx.preview`では、埌のステップの箱ず線をテヌマの薄さで出しおおく"
1263
1263
  },
1264
1264
  "m-venn": {
1265
1265
  "set": "standard",
1266
1266
  "row": "| `<m-venn>` | 2 ぀か 3 ぀の集合の円ベン図。集合を 1 ぀ず぀出し、最埌に重なりを匷めおその䞭の項目を出す | 集合の数 + 1overlaps=\"each\" なら 集合の数 + 項目のある重なりの数。項目のある重なりがなければ重なりすべおの数2 集合で 1、3 集合で 4 | `{sets:{label,tone?}[],regions?:{A?:str[]\\|str,B?:str[]\\|str,C?:str[]\\|str,AB?:str[]\\|str,AC?:str[]\\|str,BC?:str[]\\|str,ABC?:str[]\\|str}}` |",
1267
- "entry": "### `<m-venn>`\n\nデヌタ子の `<script type=\"application/json\">`の芋本: `{\"sets\":[{\"label\":\"哺乳類\"},{\"label\":\"海の生き物\"}],\"regions\":{\"A\":[\"ラむオン\"],\"B\":[\"マグロ\"],\"AB\":[\"クゞラ\",\"むルカ\"]}}`\n\n| 倀 | 型 | 既定 | 意味 |\n|---|---|---|---|\n| `size` | number | `26` | 項目の字の倧きさpx。収たらなければ 24 たで瞮める |\n| `spread` | number | `1` | 円の䞭心の間の距離 ÷ 半埄小さいほど重なりが広い。0.7〜1.3 |\n| `overlaps` | string | `\"together\"` | together重なりを 1 段階でたずめおか each1 ぀ず぀ |\n\n2 ぀か 3 ぀のものの共通点ず違い哺乳類ず海の生き物、3 ぀のスキルの重なり などを、重なりで芋せるずきに䜿う。\n<!--part:m-compare-->芳点ごずに倀を䞊べお比べるなら `m-compare`。<!--/part-->\n\n- `sets`集合2 ぀か 3 ぀。`label` は円の倖に曞く名前、`tone` は円の色`term`・`emph`・`muted`・`accent2`・`series-1..4`。既定は `term`・`accent2`・`series-4` の順。`--emph` は重なりを匷めるのに䜿うので、集合には䜿わないほうがよい\n- `regions`領域ごずの項目1 ぀ 1 行の配列か、`\\n` で改行した字。鍵は集合の文字の組で、アルファベット順に曞く。文字は `sets` の順`sets` の 1 ぀目が A・2 ぀目 B・3 ぀目 C\n - `A`A だけほかの集合には入らない、`AB`A ず B の䞡方3 ぀のずきは、A ず B に入り C には入らないずころ、`ABC`3 ぀ずも\n - 2 ぀なら `A` `B` `AB`、3 ぀なら `A` `B` `C` `AB` `AC` `BC` `ABC`。どれも省いおよい。集合が 2 ぀のずきに C を含む鍵`C` `AC` `BC` `ABC`を曞くず、図の代わりに誀りの札が出る\n- 円は巊右察称の決たった配眮で、面積は倀に比䟋しない2 ぀は巊右、3 ぀は巊䞊・右䞊・䞋。`spread`既定 1は円の䞭心の間の距離 ÷ 半埄で、小さいほど重なりが広い\n- 項目は、その領域の䞭で円の線から最も離れる䜍眮に眮く。字は `size`既定 26 pxから 24 px たで瞮める。重なりの項目は倪字\n- 段階既定は 集合を 1 ぀ず぀その集合だけの項目ず䞀緒に→ 重なり項目のある重なりを `--emph` で薄く塗っお瞁を囲み、項目を出す。項目のある重なりがなければ重なりすべお。`overlaps=\"each\"` なら重なりを 1 ぀ず぀`AB`・`AC`・`BC`・`ABC` の順\n- 芋せ方`variant``fade`・`draw`。曞かなければ資料のシヌド倀で遞ばれる曞かなくおよい"
1267
+ "entry": "### `<m-venn>`\n\nデヌタ子の `<script type=\"application/json\">`の芋本: `{\"sets\":[{\"label\":\"哺乳類\"},{\"label\":\"海の生き物\"}],\"regions\":{\"A\":[\"ラむオン\"],\"B\":[\"マグロ\"],\"AB\":[\"クゞラ\",\"むルカ\"]}}`\n\n| 倀 | 型 | 既定 | 意味 |\n|---|---|---|---|\n| `size` | number | `26` | 項目の字の倧きさpx。収たらなければ 24 たで瞮める |\n| `spread` | number | `1` | 円の䞭心の間の距離 ÷ 半埄小さいほど重なりが広い。0.7〜1.3 |\n| `overlaps` | string | `\"together\"` | together重なりを 1 ステップでたずめおか each1 ぀ず぀ |\n\n2 ぀か 3 ぀のものの共通点ず違い哺乳類ず海の生き物、3 ぀のスキルの重なり などを、重なりで芋せるずきに䜿う。\n<!--part:m-compare-->芳点ごずに倀を䞊べお比べるなら `m-compare`。<!--/part-->\n\n- `sets`集合2 ぀か 3 ぀。`label` は円の倖に曞く名前、`tone` は円の色`term`・`emph`・`muted`・`accent2`・`series-1..4`。既定は `term`・`accent2`・`series-4` の順。`--emph` は重なりを匷めるのに䜿うので、集合には䜿わないほうがよい\n- `regions`領域ごずの項目1 ぀ 1 行の配列か、`\\n` で改行した字。鍵は集合の文字の組で、アルファベット順に曞く。文字は `sets` の順`sets` の 1 ぀目が A・2 ぀目 B・3 ぀目 C\n - `A`A だけほかの集合には入らない、`AB`A ず B の䞡方3 ぀のずきは、A ず B に入り C には入らないずころ、`ABC`3 ぀ずも\n - 2 ぀なら `A` `B` `AB`、3 ぀なら `A` `B` `C` `AB` `AC` `BC` `ABC`。どれも省いおよい。集合が 2 ぀のずきに C を含む鍵`C` `AC` `BC` `ABC`を曞くず、図の代わりに誀りの札が出る\n- 円は巊右察称の決たった配眮で、面積は倀に比䟋しない2 ぀は巊右、3 ぀は巊䞊・右䞊・䞋。`spread`既定 1は円の䞭心の間の距離 ÷ 半埄で、小さいほど重なりが広い\n- 項目は、その領域の䞭で円の線から最も離れる䜍眮に眮く。字は `size`既定 26 pxから 24 px たで瞮める。重なりの項目は倪字\n- ステップ既定は 集合を 1 ぀ず぀その集合だけの項目ず䞀緒に→ 重なり項目のある重なりを `--emph` で薄く塗っお瞁を囲み、項目を出す。項目のある重なりがなければ重なりすべお。`overlaps=\"each\"` なら重なりを 1 ぀ず぀`AB`・`AC`・`BC`・`ABC` の順\n- 芋せ方`variant``fade`・`draw`。曞かなければ資料のシヌド倀で遞ばれる曞かなくおよい"
1268
1268
  }
1269
1269
  },
1270
1270
  "tableHead": "| パヌツ | 内容 | steps | デヌタの圢 |\n|---|---|---|---|",
@@ -1272,9 +1272,9 @@ export const PACK = {
1272
1272
  "briefNote": "䞋に説明の節がないパヌツは、衚の「デヌタの圢」のずおりに子の JSON か属性を曞き、ほかの属性は既定のたたにする。",
1273
1273
  "extHead": "### `<{name}>`この束の拡匵パヌツの説明は §3"
1274
1274
  },
1275
- "version": "dec25cea",
1275
+ "version": "67a95271",
1276
1276
  "tiers": {
1277
- "catalogue": "2.6.2",
1277
+ "catalogue": "2.7.0",
1278
1278
  "parts": {
1279
1279
  "m-balance": {
1280
1280
  "tier": "specialized",