One-page formula sheets
All chapters
๐จ Print / Save PDF
โ Back to the kit
Full screen (F)
(function () { const wrap = document.getElementById('wrap'), sel = document.getElementById('sel'); document.getElementById('ttl').textContent = G9.CFG.short.replace(/&/g, '&') + ' ยท ' + (G9.CFG.sheetName || 'One-page formula sheets'); G9.chapters.forEach(c => { const S = c.fs || (G9.FS || {})[c.no]; if (!S) return; sel.insertAdjacentHTML('beforeend', `
Ch ${c.no}: ${c.title}
`); const allG = S.groups.concat(c.revise.terms ? [['Key terms', c.revise.terms]] : []); const groups = allG.map(([h, rows]) => `
${h}
${rows.map(r => `
${r[0]}
${r[1]}
`).join('')}
`).join(''); wrap.insertAdjacentHTML('beforeend', `
${c.no}
${c.title}
${G9.CFG.sheetSub || ("Class " + G9.CFG.roman)} ยท ${c.part} ยท Chapter ${c.no} ยท ${(G9.CFG.sheetName || 'One-page formula sheets').replace(/sheets$/, 'sheet')}
${c.revise.oneLine}
${groups}
Worked examples
${S.ex.map(e => `
${e[0]}:
${e[1]}
`).join('')}
Remember
${S.rem.map(r => `
${r}
`).join('')}
${G9.CFG.short} revision kit ยท ${G9.CFG.site}
Use with ${G9.CFG.book}
`); }); const show = (v) => { document.querySelectorAll('.sheet').forEach(s => s.classList.toggle('hide', v !== 'all' && s.dataset.ch !== v)); sel.value = v; if (location.hash.slice(1) !== v) history.replaceState(null, '', '#' + v); }; sel.onchange = () => show(sel.value); const ok = (v) => G9.chapters.some(c => String(c.no) === v); const h = location.hash.slice(1); show(ok(h) ? h : 'all'); window.addEventListener('hashchange', () => { const v = location.hash.slice(1); if (ok(v) || v === 'all') show(v); }); document.getElementById('pr').onclick = () => window.print(); const fs = document.getElementById('fs'), tf = () => { if (!document.fullscreenElement) document.documentElement.requestFullscreen && document.documentElement.requestFullscreen().catch(() => {}); else document.exitFullscreen(); }; fs.onclick = tf; document.addEventListener('keydown', e => { if (e.target.tagName === 'SELECT' || e.ctrlKey || e.metaKey || e.altKey) return; if (e.key.toLowerCase() === 'f') tf(); }); })();