Kition
noteKnowledge Base· featured

Mechanics Revision Formulas

A revision sheet of mechanics formulas set as display and inline LaTeX math, with a worked example in a callout and a symbol table.

Mechanics Revision Formulas — Note sample rendered by Kition

The Note kit typesets `$$ … $$` blocks and inline `$ … $` math with its bundled Latin Modern Math face, so the formulas draw as real mathematics. `insert.mathBlock` wraps a selected line in `$$` fences, the way the editor's Insert ▸ Math block does, for the last formula.

Steps

5 commands
showcase.yaml44 lines
steps:
  - command: note.write
    params:
      markdown: |
        # Mechanics: Formulas to Know

        ## Motion in a straight line

        For constant acceleration $a$, starting speed $u$ and time $t$:

        $$
        v = u + at \qquad s = ut + \frac{1}{2}at^{2} \qquad v^{2} = u^{2} + 2as
        $$

        ## Forces

        $$
        F = ma \qquad W = mg \qquad F_{\text{friction}} \le \mu R
        $$

        ## Energy and power

        $$
        E_k = \frac{1}{2}mv^{2} \qquad E_p = mgh \qquad P = \frac{W}{t} = Fv
        $$

        > [!EXAMPLE] Worked example
        > A 1200 kg car brakes from $v = 20\ \text{m/s}$ to rest in 40 m. Its deceleration is $a = \frac{v^2}{2s} = 5\ \text{m/s}^2$, so the braking force is $F = ma = 6000\ \text{N}$.

        ## Symbols

        | Symbol | Quantity | Unit |
        | :-: | --- | --- |
        | $s$ | displacement | m |
        | $\mu$ | coefficient of friction | none |
        | $P$ | power | W |

        ## Circular motion

        a = \frac{v^{2}}{r} = \omega^{2} r
  - { command: text.find, params: { find: "a = \\frac{v^{2}}{r} = \\omega^{2} r" }, as: last }
  - { command: selection.set, params: { line: $last.matches.0.line } }
  - { command: insert.mathBlock }
  - { command: text.read, as: source }

Checks

6 checks on every build
  • inspect.headings = 6
  • inspect.callouts = 1
  • inspect.tables = {"count":1}
  • results.source.text = {"contains":"$$\na = \\frac{v^{2}}{r} = \\omega^{2} r\n$$"}
  • Diagnostics: none, the kit's own check finds nothing wrong
  • The saved document opens again, and its thumbnail matches thumb.png within the render tolerance

Related

More Note samples
noteKnowledge Base

Reading List Tracker

A year's reading list kept as a Markdown table that grows row by row, with a status column, star ratings and a short reviews section.

1 page; 102 words; 3 headings; 1 table
noteKnowledge Base

Sourdough Starter Guide

A knowledge-base article that links to neighbouring notes with wikilinks, warns and tips in callouts, cites a footnote and gives one paragraph a block id other notes can embed.

1 page; 236 words; 3 headings
noteKnowledge Base

New Starter Wiki Page

A team wiki page for new starters whose contents list links to headings in the same note; one heading was renamed, so the kit's check reports the broken anchor.

1 page; 147 words; 5 headings; 1 table
noteNotes & Journals

Spanish Study Notes

Spanish vocabulary notes for a beginner's course, with words, word types and meanings in a table, example sentences in callouts and a review task list.

1 page; 127 words; 4 headings; 1 table