diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-07-02 19:59:52 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-07-02 20:07:43 +0200 |
| commit | ebfdb1dafa430786db10dad2ef7d5467c1bdbed1 (patch) | |
| tree | 2bbc24ddb4124c4bb14dec0e536129d4de37b056 /library/src/symbols | |
| parent | 3ab19185093d7709f824b95b979060ce125389d8 (diff) | |
Move everything into `crates/` directory
Diffstat (limited to 'library/src/symbols')
| -rw-r--r-- | library/src/symbols/emoji.rs | 1356 | ||||
| -rw-r--r-- | library/src/symbols/mod.rs | 15 | ||||
| -rw-r--r-- | library/src/symbols/sym.rs | 842 |
3 files changed, 0 insertions, 2213 deletions
diff --git a/library/src/symbols/emoji.rs b/library/src/symbols/emoji.rs deleted file mode 100644 index 44bc3e14..00000000 --- a/library/src/symbols/emoji.rs +++ /dev/null @@ -1,1356 +0,0 @@ -use typst::eval::{symbols, Module, Scope, Symbol}; - -/// A module with all emoji. -pub fn emoji() -> Module { - let mut scope = Scope::new(); - for (name, symbol) in EMOJI { - scope.define(*name, symbol.clone()); - } - Module::new("emoji").with_scope(scope) -} - -/// A list of named emoji. -const EMOJI: &[(&str, Symbol)] = symbols! { - abacus: '๐งฎ', - abc: '๐ค', - abcd: '๐ก', - ABCD: '๐ ', - accordion: '๐ช', - aesculapius: 'โ', - airplane: [ - 'โ', - landing: '๐ฌ', - small: '๐ฉ', - takeoff: '๐ซ', - ], - alembic: 'โ', - alien: ['๐ฝ', monster: '๐พ'], - ambulance: '๐', - amphora: '๐บ', - anchor: 'โ', - anger: '๐ข', - ant: '๐', - apple: [green: '๐', red: '๐'], - arm: [mech: '๐ฆพ', muscle: '๐ช', selfie: '๐คณ'], - arrow: [ - r.filled: 'โก', - r.hook: 'โช', - r.soon: '๐', - l.filled: 'โฌ
', - l.hook: 'โฉ', - l.back: '๐', - l.end: '๐', - t.filled: 'โฌ', - t.curve: 'โคด', - t.top: '๐', - b.filled: 'โฌ', - b.curve: 'โคต', - l.r: 'โ', - l.r.on: '๐', - t.b: 'โ', - bl: 'โ', - br: 'โ', - tl: 'โ', - tr: 'โ', - ], - arrows: [cycle: '๐'], - ast: ['*', box: 'โณ'], - atm: '๐ง', - atom: 'โ', - aubergine: '๐', - avocado: '๐ฅ', - axe: '๐ช', - baby: ['๐ถ', angel: '๐ผ', box: '๐ผ'], - babybottle: '๐ผ', - backpack: '๐', - bacon: '๐ฅ', - badger: '๐ฆก', - badminton: '๐ธ', - bagel: '๐ฅฏ', - baggageclaim: '๐', - baguette: '๐ฅ', - balloon: '๐', - ballot: [check: 'โ'], - ballotbox: '๐ณ', - banana: '๐', - banjo: '๐ช', - bank: '๐ฆ', - barberpole: '๐', - baseball: 'โพ', - basecap: '๐งข', - basket: '๐งบ', - basketball: ['โน', ball: '๐'], - bat: '๐ฆ', - bathtub: ['๐', foam: '๐'], - battery: ['๐', low: '๐ชซ'], - beach: [palm: '๐', umbrella: '๐'], - beads: '๐ฟ', - beans: '๐ซ', - bear: '๐ป', - beaver: '๐ฆซ', - bed: ['๐', person: '๐'], - bee: '๐', - beer: ['๐บ', clink: '๐ป'], - beetle: ['๐ชฒ', lady: '๐'], - bell: ['๐', ding: '๐', not: '๐'], - bento: '๐ฑ', - bicyclist: ['๐ด', mountain: '๐ต'], - bike: ['๐ฒ', not: '๐ณ'], - bikini: '๐', - billiards: '๐ฑ', - bin: '๐', - biohazard: 'โฃ', - bird: '๐ฆ', - bison: '๐ฆฌ', - blood: '๐ฉธ', - blouse: '๐', - blowfish: '๐ก', - blueberries: '๐ซ', - boar: '๐', - boat: [ - sail: 'โต', - row: '๐ฃ', - motor: '๐ฅ', - speed: '๐ค', - canoe: '๐ถ', - ], - bolt: '๐ฉ', - bomb: '๐ฃ', - bone: '๐ฆด', - book: [ - red: '๐', - blue: '๐', - green: '๐', - orange: '๐', - spiral: '๐', - open: '๐', - ], - bookmark: '๐', - books: '๐', - boomerang: '๐ช', - bordercontrol: '๐', - bouquet: '๐', - bow: '๐น', - bowl: [spoon: '๐ฅฃ', steam: '๐'], - bowling: '๐ณ', - boxing: '๐ฅ', - boy: '๐ฆ', - brain: '๐ง ', - bread: '๐', - brick: '๐งฑ', - bride: '๐ฐ', - bridge: [fog: '๐', night: '๐'], - briefcase: '๐ผ', - briefs: '๐ฉฒ', - brightness: [high: '๐', low: '๐
'], - broccoli: '๐ฅฆ', - broom: '๐งน', - brush: '๐', - bubble: [ - speech.r: '๐ฌ', - speech.l: '๐จ', - thought: '๐ญ', - anger.r: '๐ฏ', - ], - bubbles: '๐ซง', - bubbletea: '๐ง', - bucket: '๐ชฃ', - buffalo: [water: '๐'], - bug: '๐', - builder: '๐ท', - burger: '๐', - burrito: '๐ฏ', - bus: [ - '๐', - front: '๐', - small: '๐', - stop: '๐', - trolley: '๐', - ], - butter: '๐ง', - butterfly: '๐ฆ', - button: ['๐ฒ', alt: '๐ณ', radio: '๐'], - cabinet: [file: '๐'], - cablecar: ['๐ ', small: '๐ก'], - cactus: '๐ต', - cake: [ - '๐', - fish: '๐ฅ', - moon: '๐ฅฎ', - slice: '๐ฐ', - ], - calendar: ['๐
', spiral: '๐', tearoff: '๐'], - camel: ['๐ซ', dromedar: '๐ช'], - camera: [ - '๐ท', - flash: '๐ธ', - movie: '๐ฅ', - movie.box: '๐ฆ', - video: '๐น', - ], - camping: '๐', - can: '๐ฅซ', - candle: '๐ฏ', - candy: '๐ฌ', - cane: '๐ฆฏ', - car: [ - '๐', - front: '๐', - pickup: '๐ป', - police: '๐', - police.front: '๐', - racing: '๐', - rickshaw: '๐บ', - suv: '๐', - ], - card: [credit: '๐ณ', id: '๐ชช'], - cardindex: '๐', - carrot: '๐ฅ', - cart: '๐', - cassette: '๐ผ', - castle: [eu: '๐ฐ', jp: '๐ฏ'], - cat: [ - '๐', - face: '๐ฑ', - face.angry: '๐พ', - face.cry: '๐ฟ', - face.heart: '๐ป', - face.joy: '๐น', - face.kiss: '๐ฝ', - face.laugh: '๐ธ', - face.shock: '๐', - face.smile: '๐บ', - face.smirk: '๐ผ', - ], - chain: '๐', - chains: 'โ', - chair: '๐ช', - champagne: '๐พ', - chart: [ - bar: '๐', - up: '๐', - down: '๐', - yen.up: '๐น', - ], - checkmark: [heavy: 'โ', box: 'โ
'], - cheese: '๐ง', - cherries: '๐', - chess: 'โ', - chestnut: '๐ฐ', - chicken: [ - '๐', - baby: '๐ฅ', - baby.egg: '๐ฃ', - baby.head: '๐ค', - leg: '๐', - male: '๐', - ], - child: '๐ง', - chipmunk: '๐ฟ', - chocolate: '๐ซ', - chopsticks: '๐ฅข', - church: ['โช', love: '๐'], - cigarette: ['๐ฌ', not: '๐ญ'], - circle: [ - black: 'โซ', - blue: '๐ต', - brown: '๐ค', - green: '๐ข', - orange: '๐ ', - purple: '๐ฃ', - white: 'โช', - red: '๐ด', - yellow: '๐ก', - stroked: 'โญ', - ], - circus: '๐ช', - city: [ - '๐', - dusk: '๐', - night: '๐', - sunset: '๐', - ], - clamp: '๐', - clapperboard: '๐ฌ', - climbing: '๐ง', - clip: '๐', - clipboard: '๐', - clips: '๐', - clock: [ - one: '๐', - one.thirty: '๐', - two: '๐', - two.thirty: '๐', - three: '๐', - three.thirty: '๐', - four: '๐', - four.thirty: '๐', - five: '๐', - five.thirty: '๐ ', - six: '๐', - six.thirty: '๐ก', - seven: '๐', - seven.thirty: '๐ข', - eight: '๐', - eight.thirty: '๐ฃ', - nine: '๐', - nine.thirty: '๐ค', - ten: '๐', - ten.thirty: '๐ฅ', - eleven: '๐', - eleven.thirty: '๐ฆ', - twelve: '๐', - twelve.thirty: '๐ง', - alarm: 'โฐ', - old: '๐ฐ', - timer: 'โฒ', - ], - cloud: [ - 'โ', - dust: '๐จ', - rain: '๐ง', - snow: '๐จ', - storm: 'โ', - sun: 'โ
', - sun.hidden: '๐ฅ', - sun.rain: '๐ฆ', - thunder: '๐ฉ', - ], - coat: ['๐งฅ', lab: '๐ฅผ'], - cockroach: '๐ชณ', - cocktail: [martini: '๐ธ', tropical: '๐น'], - coconut: '๐ฅฅ', - coffee: 'โ', - coffin: 'โฐ', - coin: '๐ช', - comet: 'โ', - compass: '๐งญ', - computer: '๐ฅ', - computermouse: '๐ฑ', - confetti: '๐', - construction: '๐ง', - controller: '๐ฎ', - cookie: ['๐ช', fortune: '๐ฅ '], - cooking: '๐ณ', - cool: '๐', - copyright: 'ยฉ', - coral: '๐ชธ', - corn: '๐ฝ', - couch: '๐', - couple: '๐', - cow: ['๐', face: '๐ฎ'], - crab: '๐ฆ', - crane: '๐', - crayon: '๐', - cricket: '๐ฆ', - cricketbat: '๐', - crocodile: '๐', - croissant: '๐ฅ', - crossmark: ['โ', box: 'โ'], - crown: '๐', - crutch: '๐ฉผ', - crystal: '๐ฎ', - cucumber: '๐ฅ', - cup: [straw: '๐ฅค'], - cupcake: '๐ง', - curling: '๐ฅ', - curry: '๐', - custard: '๐ฎ', - customs: '๐', - cutlery: '๐ด', - cyclone: '๐', - dancing: [man: '๐บ', woman: '๐', women.bunny: '๐ฏ'], - darts: '๐ฏ', - dash: [wave.double: 'ใฐ'], - deer: '๐ฆ', - desert: '๐', - detective: '๐ต', - diamond: [ - blue: '๐ท', - blue.small: '๐น', - orange: '๐ถ', - orange.small: '๐ธ', - dot: '๐ ', - ], - die: '๐ฒ', - dino: [pod: '๐ฆ', rex: '๐ฆ'], - disc: [cd: '๐ฟ', dvd: '๐', mini: '๐ฝ'], - discoball: '๐ชฉ', - diving: '๐คฟ', - dodo: '๐ฆค', - dog: [ - '๐', - face: '๐ถ', - guide: '๐ฆฎ', - poodle: '๐ฉ', - ], - dollar: '๐ฒ', - dolphin: '๐ฌ', - donut: '๐ฉ', - door: '๐ช', - dove: [peace: '๐'], - dragon: ['๐', face: '๐ฒ'], - dress: ['๐', kimono: '๐', sari: '๐ฅป'], - drop: '๐ง', - drops: '๐ฆ', - drum: ['๐ฅ', big: '๐ช'], - duck: '๐ฆ', - dumpling: '๐ฅ', - eagle: '๐ฆ
', - ear: ['๐', aid: '๐ฆป'], - egg: '๐ฅ', - eighteen: [not: '๐'], - elephant: '๐', - elevator: '๐', - elf: '๐ง', - email: '๐ง', - excl: [ - 'โ', - white: 'โ', - double: 'โผ', - quest: 'โ', - ], - explosion: '๐ฅ', - extinguisher: '๐งฏ', - eye: '๐', - eyes: '๐', - face: [ - grin: '๐', - angry: '๐ ', - angry.red: '๐ก', - anguish: '๐ง', - astonish: '๐ฒ', - bandage: '๐ค', - beam: '๐', - blank: '๐ถ', - clown: '๐คก', - cold: '๐ฅถ', - concern: '๐ฆ', - cool: '๐', - cover: '๐คญ', - cowboy: '๐ค ', - cry: '๐ญ', - devil.smile: '๐', - devil.frown: '๐ฟ', - diagonal: '๐ซค', - disguise: '๐ฅธ', - dizzy: '๐ต', - dotted: '๐ซฅ', - down: '๐', - down.sweat: '๐', - drool: '๐คค', - explode: '๐คฏ', - eyeroll: '๐', - friendly: 'โบ', - fear: '๐จ', - fear.sweat: '๐ฐ', - fever: '๐ค', - flush: '๐ณ', - frown: 'โน', - frown.slight: '๐', - frust: '๐ฃ', - goofy: '๐คช', - halo: '๐', - happy: '๐', - heart: '๐', - hearts: '๐ฅฐ', - heat: '๐ฅต', - hug: '๐ค', - inv: '๐', - joy: '๐', - kiss: '๐', - kiss.smile: '๐', - kiss.heart: '๐', - kiss.blush: '๐', - lick: '๐', - lie: '๐คฅ', - mask: '๐ท', - meh: '๐', - melt: '๐ซ ', - money: '๐ค', - monocle: '๐ง', - nausea: '๐คข', - nerd: '๐ค', - neutral: '๐', - open: '๐', - party: '๐ฅณ', - peek: '๐ซฃ', - plead: '๐ฅบ', - relief: '๐', - rofl: '๐คฃ', - sad: '๐', - salute: '๐ซก', - shock: '๐ฑ', - shush: '๐คซ', - skeptic: '๐คจ', - sleep: '๐ด', - sleepy: '๐ช', - smile: '๐', - smile.slight: '๐', - smile.sweat: '๐
', - smile.tear: '๐ฅฒ', - smirk: '๐', - sneeze: '๐คง', - speak.not: '๐ซข', - squint: '๐', - stars: '๐คฉ', - straight: '๐', - suffer: '๐', - surprise: '๐ฏ', - symbols: '๐คฌ', - tear: '๐ข', - tear.relief: '๐ฅ', - tear.withheld: '๐ฅน', - teeth: '๐ฌ', - think: '๐ค', - tired: '๐ซ', - tongue: '๐', - tongue.squint: '๐', - tongue.wink: '๐', - triumph: '๐ค', - unhappy: '๐', - vomit: '๐คฎ', - weary: '๐ฉ', - wink: '๐', - woozy: '๐ฅด', - worry: '๐', - wow: '๐ฎ', - yawn: '๐ฅฑ', - zip: '๐ค', - ], - factory: '๐ญ', - fairy: '๐ง', - faith: [ - christ: 'โ', - dharma: 'โธ', - islam: 'โช', - judaism: 'โก', - menorah: '๐', - om: '๐', - orthodox: 'โฆ', - peace: 'โฎ', - star.dot: '๐ฏ', - worship: '๐', - yinyang: 'โฏ', - ], - falafel: '๐ง', - family: '๐ช', - fax: '๐ ', - feather: '๐ชถ', - feeding: [breast: '๐คฑ'], - fencing: '๐คบ', - ferriswheel: '๐ก', - filebox: '๐', - filedividers: '๐', - film: '๐', - finger: [ - r: '๐', - l: '๐', - t: '๐', - t.alt: 'โ', - b: '๐', - front: '๐ซต', - m: '๐', - ], - fingers: [cross: '๐ค', pinch: '๐ค', snap: '๐ซฐ'], - fire: '๐ฅ', - firecracker: '๐งจ', - fireengine: '๐', - fireworks: '๐', - fish: ['๐', tropical: '๐ '], - fishing: '๐ฃ', - fist: [ - front: '๐', - r: '๐ค', - l: '๐ค', - raised: 'โ', - ], - flag: [ - black: '๐ด', - white: '๐ณ', - goal: '๐', - golf: 'โณ', - red: '๐ฉ', - ], - flags: [jp.crossed: '๐'], - flamingo: '๐ฆฉ', - flashlight: '๐ฆ', - flatbread: '๐ซ', - fleur: 'โ', - floppy: '๐พ', - flower: [ - hibiscus: '๐บ', - lotus: '๐ชท', - pink: '๐ธ', - rose: '๐น', - sun: '๐ป', - tulip: '๐ท', - white: '๐ฎ', - wilted: '๐ฅ', - yellow: '๐ผ', - ], - fly: '๐ชฐ', - fog: '๐ซ', - folder: ['๐', open: '๐'], - fondue: '๐ซ', - foot: '๐ฆถ', - football: ['โฝ', am: '๐'], - forex: '๐ฑ', - fountain: 'โฒ', - fox: '๐ฆ', - free: '๐', - fries: '๐', - frisbee: '๐ฅ', - frog: [face: '๐ธ'], - fuelpump: 'โฝ', - garlic: '๐ง', - gear: 'โ', - gem: '๐', - genie: '๐ง', - ghost: '๐ป', - giraffe: '๐ฆ', - girl: '๐ง', - glass: [ - clink: '๐ฅ', - milk: '๐ฅ', - pour: '๐ซ', - tumbler: '๐ฅ', - ], - glasses: ['๐', sun: '๐ถ'], - globe: [ - am: '๐', - as.au: '๐', - eu.af: '๐', - meridian: '๐', - ], - gloves: '๐งค', - goal: '๐ฅ
', - goat: '๐', - goggles: '๐ฅฝ', - golfing: '๐', - gorilla: '๐ฆ', - grapes: '๐', - guard: [man: '๐'], - guitar: '๐ธ', - gymnastics: '๐คธ', - haircut: '๐', - hammer: ['๐จ', pick: 'โ', wrench: '๐ '], - hamsa: '๐ชฌ', - hamster: [face: '๐น'], - hand: [ - raised: 'โ', - raised.alt: '๐ค', - r: '๐ซฑ', - l: '๐ซฒ', - t: '๐ซด', - b: '๐ซณ', - ok: '๐', - call: '๐ค', - love: '๐ค', - part: '๐', - peace: 'โ', - pinch: '๐ค', - rock: '๐ค', - splay: '๐', - wave: '๐', - write: 'โ', - ], - handbag: '๐', - handball: '๐คพ', - handholding: [man.man: '๐ฌ', woman.man: '๐ซ', woman.woman: '๐ญ'], - hands: [ - folded: '๐', - palms: '๐คฒ', - clap: '๐', - heart: '๐ซถ', - open: '๐', - raised: '๐', - shake: '๐ค', - ], - hash: '#', - hat: [ribbon: '๐', top: '๐ฉ'], - headphone: '๐ง', - heart: [ - 'โค', - arrow: '๐', - beat: '๐', - black: '๐ค', - blue: '๐', - box: '๐', - broken: '๐', - brown: '๐ค', - double: '๐', - excl: 'โฃ', - green: '๐', - grow: '๐', - orange: '๐งก', - purple: '๐', - real: '๐ซ', - revolve: '๐', - ribbon: '๐', - spark: '๐', - white: '๐ค', - yellow: '๐', - ], - hedgehog: '๐ฆ', - helicopter: '๐', - helix: '๐งฌ', - helmet: [cross: 'โ', military: '๐ช'], - hippo: '๐ฆ', - hockey: '๐', - hole: '๐ณ', - honey: '๐ฏ', - hongbao: '๐งง', - hook: '๐ช', - horn: [postal: '๐ฏ'], - horse: [ - '๐', - carousel: '๐ ', - face: '๐ด', - race: '๐', - ], - hospital: '๐ฅ', - hotdog: '๐ญ', - hotel: ['๐จ', love: '๐ฉ'], - hotspring: 'โจ', - hourglass: ['โ', flow: 'โณ'], - house: [ - '๐ ', - derelict: '๐', - garden: '๐ก', - multiple: '๐', - ], - hundred: '๐ฏ', - hut: '๐', - ice: '๐ง', - icecream: ['๐จ', shaved: '๐ง', soft: '๐ฆ'], - icehockey: '๐', - id: '๐', - info: 'โน', - izakaya: '๐ฎ', - jar: '๐ซ', - jeans: '๐', - jigsaw: '๐งฉ', - joystick: '๐น', - juggling: '๐คน', - juice: '๐ง', - kaaba: '๐', - kadomatsu: '๐', - kangaroo: '๐ฆ', - gachi: '๐ท', - go: '๐ด', - hi: 'ใ', - ka: '๐', - kachi: '๐น', - kara: '๐ณ', - kon: '๐ฒ', - man: '๐ต', - muryo: '๐', - shin: '๐ธ', - shuku: 'ใ', - toku: '๐', - yo: '๐บ', - yubi: '๐ฏ', - yuryo: '๐ถ', - koko: '๐', - sa: '๐', - kebab: '๐ฅ', - key: ['๐', old: '๐'], - keyboard: 'โจ', - kiss: '๐', - kissmark: '๐', - kite: '๐ช', - kiwi: '๐ฅ', - knife: ['๐ช', dagger: '๐ก'], - knot: '๐ชข', - koala: '๐จ', - koinobori: '๐', - label: '๐ท', - lacrosse: '๐ฅ', - ladder: '๐ช', - lamp: [diya: '๐ช'], - laptop: '๐ป', - a: '๐
ฐ', - ab: '๐', - b: '๐
ฑ', - cl: '๐', - o: '๐
พ', - leaf: [ - clover.three: 'โ', - clover.four: '๐', - fall: '๐', - herb: '๐ฟ', - maple: '๐', - wind: '๐', - ], - leftluggage: '๐
', - leg: ['๐ฆต', mech: '๐ฆฟ'], - lemon: '๐', - leopard: '๐', - letter: [love: '๐'], - liberty: '๐ฝ', - lightbulb: '๐ก', - lightning: 'โก', - lion: '๐ฆ', - lipstick: '๐', - litter: ['๐ฎ', not: '๐ฏ'], - lizard: '๐ฆ', - llama: '๐ฆ', - lobster: '๐ฆ', - lock: [ - '๐', - key: '๐', - open: '๐', - pen: '๐', - ], - lollipop: '๐ญ', - lotion: '๐งด', - luggage: '๐งณ', - lungs: '๐ซ', - mage: '๐ง', - magnet: '๐งฒ', - magnify: [r: '๐', l: '๐'], - mahjong: [dragon.red: '๐'], - mail: ['โ', arrow: '๐ฉ'], - mailbox: [ - closed.empty: '๐ช', - closed.full: '๐ซ', - open.empty: '๐ญ', - open.full: '๐ฌ', - ], - mammoth: '๐ฆฃ', - man: [ - '๐จ', - box: '๐น', - crown: '๐คด', - guapimao: '๐ฒ', - levitate: '๐ด', - old: '๐ด', - pregnant: '๐ซ', - turban: '๐ณ', - tuxedo: '๐คต', - ], - mango: '๐ฅญ', - map: [world: '๐บ', jp: '๐พ'], - martialarts: '๐ฅ', - masks: '๐ญ', - mate: '๐ง', - matryoshka: '๐ช', - meat: ['๐ฅฉ', bone: '๐'], - medal: [ - first: '๐ฅ', - second: '๐ฅ', - third: '๐ฅ', - sports: '๐
', - military: '๐', - ], - megaphone: ['๐ข', simple: '๐ฃ'], - melon: '๐', - merperson: '๐ง', - metro: 'โ', - microbe: '๐ฆ ', - microphone: ['๐ค', studio: '๐'], - microscope: '๐ฌ', - milkyway: '๐', - mirror: '๐ช', - mixer: '๐', - money: [ - bag: '๐ฐ', - dollar: '๐ต', - euro: '๐ถ', - pound: '๐ท', - yen: '๐ด', - wings: '๐ธ', - ], - monkey: [ - '๐', - face: '๐ต', - hear.not: '๐', - see.not: '๐', - speak.not: '๐', - ], - moon: [ - crescent: '๐', - full: '๐', - full.face: '๐', - new: '๐', - new.face: '๐', - wane.one: '๐', - wane.two: '๐', - wane.three.face: '๐', - wane.three: '๐', - wax.one: '๐', - wax.two: '๐', - wax.two.face: '๐', - wax.three: '๐', - ], - mortarboard: '๐', - mosque: '๐', - mosquito: '๐ฆ', - motorcycle: '๐', - motorway: '๐ฃ', - mountain: [ - 'โฐ', - fuji: '๐ป', - snow: '๐', - sunrise: '๐', - ], - mouse: ['๐', face: '๐ญ'], - mousetrap: '๐ชค', - mouth: ['๐', bite: '๐ซฆ'], - moyai: '๐ฟ', - museum: '๐', - mushroom: '๐', - musicalscore: '๐ผ', - nails: [polish: '๐
'], - namebadge: '๐', - nazar: '๐งฟ', - necktie: '๐', - needle: '๐ชก', - nest: [empty: '๐ชน', eggs: '๐ชบ'], - new: '๐', - newspaper: ['๐ฐ', rolled: '๐'], - ng: '๐', - ningyo: '๐', - ninja: '๐ฅท', - noentry: 'โ', - nose: '๐', - notebook: ['๐', deco: '๐'], - notepad: '๐', - notes: ['๐ต', triple: '๐ถ'], - numbers: '๐ข', - octopus: '๐', - office: '๐ข', - oil: '๐ข', - ok: '๐', - olive: '๐ซ', - oni: '๐น', - onion: '๐ง
', - orangutan: '๐ฆง', - otter: '๐ฆฆ', - owl: '๐ฆ', - ox: '๐', - oyster: '๐ฆช', - package: '๐ฆ', - paella: '๐ฅ', - page: ['๐', curl: '๐', pencil: '๐'], - pager: '๐', - pages: [tabs: '๐'], - painting: '๐ผ', - palette: '๐จ', - pancakes: '๐ฅ', - panda: '๐ผ', - parachute: '๐ช', - park: '๐', - parking: '๐
ฟ', - parrot: '๐ฆ', - partalteration: 'ใฝ', - party: '๐', - peach: '๐', - peacock: '๐ฆ', - peanuts: '๐ฅ', - pear: '๐', - pedestrian: ['๐ถ', not: '๐ท'], - pen: [ball: '๐', fountain: '๐'], - pencil: 'โ', - penguin: '๐ง', - pepper: ['๐ซ', hot: '๐ถ'], - person: [ - '๐ง', - angry: '๐', - beard: '๐ง', - blonde: '๐ฑ', - bow: '๐', - crown: '๐ซ
', - deaf: '๐ง', - facepalm: '๐คฆ', - frown: '๐', - hijab: '๐ง', - kneel: '๐ง', - lotus: '๐ง', - massage: '๐', - no: '๐
', - ok: '๐', - old: '๐ง', - pregnant: '๐ซ', - raise: '๐', - sassy: '๐', - shrug: '๐คท', - stand: '๐ง', - steam: '๐ง', - ], - petri: '๐งซ', - phone: [ - '๐ฑ', - arrow: '๐ฒ', - classic: 'โ', - not: '๐ต', - off: '๐ด', - receiver: '๐', - signal: '๐ถ', - vibrate: '๐ณ', - ], - piano: '๐น', - pick: 'โ', - pie: '๐ฅง', - pig: ['๐', face: '๐ท', nose: '๐ฝ'], - pill: '๐', - pin: ['๐', round: '๐'], - pinata: '๐ช
', - pineapple: '๐', - pingpong: '๐', - pistol: '๐ซ', - pizza: '๐', - placard: '๐ชง', - planet: '๐ช', - plant: '๐ชด', - plaster: '๐ฉน', - plate: [cutlery: '๐ฝ'], - playback: [ - down: 'โฌ', - eject: 'โ', - forward: 'โฉ', - pause: 'โธ', - record: 'โบ', - repeat: '๐', - repeat.once: '๐', - repeat.v: '๐', - restart: 'โฎ', - rewind: 'โช', - shuffle: '๐', - skip: 'โญ', - stop: 'โน', - toggle: 'โฏ', - up: 'โซ', - ], - playingcard: [flower: '๐ด', joker: '๐'], - plunger: '๐ช ', - policeofficer: '๐ฎ', - poo: '๐ฉ', - popcorn: '๐ฟ', - post: [eu: '๐ค', jp: '๐ฃ'], - postbox: '๐ฎ', - potato: ['๐ฅ', sweet: '๐ '], - pouch: '๐', - powerplug: '๐', - present: '๐', - pretzel: '๐ฅจ', - printer: '๐จ', - prints: [foot: '๐ฃ', paw: '๐พ'], - prohibited: '๐ซ', - projector: '๐ฝ', - pumpkin: [lantern: '๐'], - purse: '๐', - quest: ['โ', white: 'โ'], - rabbit: ['๐', face: '๐ฐ'], - raccoon: '๐ฆ', - radio: '๐ป', - radioactive: 'โข', - railway: '๐ค', - rainbow: '๐', - ram: '๐', - rat: '๐', - razor: '๐ช', - receipt: '๐งพ', - recycling: 'โป', - reg: 'ยฎ', - restroom: '๐ป', - rhino: '๐ฆ', - ribbon: ['๐', remind: '๐'], - rice: [ - '๐', - cracker: '๐', - ear: '๐พ', - onigiri: '๐', - ], - ring: '๐', - ringbuoy: '๐', - robot: '๐ค', - rock: '๐ชจ', - rocket: '๐', - rollercoaster: '๐ข', - rosette: '๐ต', - rugby: '๐', - ruler: ['๐', triangle: '๐'], - running: '๐', - safetypin: '๐งท', - safetyvest: '๐ฆบ', - sake: '๐ถ', - salad: '๐ฅ', - salt: '๐ง', - sandwich: '๐ฅช', - santa: [man: '๐
', woman: '๐คถ'], - satdish: '๐ก', - satellite: '๐ฐ', - saw: '๐ช', - saxophone: '๐ท', - scales: 'โ', - scarf: '๐งฃ', - school: '๐ซ', - scissors: 'โ', - scooter: ['๐ด', motor: '๐ต'], - scorpion: '๐ฆ', - screwdriver: '๐ช', - scroll: '๐', - seal: '๐ฆญ', - seat: '๐บ', - seedling: '๐ฑ', - shark: '๐ฆ', - sheep: '๐', - shell: [spiral: '๐'], - shield: '๐ก', - ship: ['๐ข', cruise: '๐ณ', ferry: 'โด'], - shirt: [sports: '๐ฝ', t: '๐'], - shoe: [ - '๐', - ballet: '๐ฉฐ', - flat: '๐ฅฟ', - heel: '๐ ', - hike: '๐ฅพ', - ice: 'โธ', - roller: '๐ผ', - sandal.heel: '๐ก', - ski: '๐ฟ', - sneaker: '๐', - tall: '๐ข', - thong: '๐ฉด', - ], - shopping: '๐', - shorts: '๐ฉณ', - shoshinsha: '๐ฐ', - shower: '๐ฟ', - shrimp: ['๐ฆ', fried: '๐ค'], - shrine: 'โฉ', - sign: [crossing: '๐ธ', stop: '๐'], - silhouette: [ - '๐ค', - double: '๐ฅ', - hug: '๐ซ', - speak: '๐ฃ', - ], - siren: '๐จ', - skateboard: '๐น', - skewer: [dango: '๐ก', oden: '๐ข'], - skiing: 'โท', - skull: ['๐', bones: 'โ '], - skunk: '๐ฆจ', - sled: '๐ท', - slide: '๐', - slider: '๐', - sloth: '๐ฆฅ', - slots: '๐ฐ', - snail: '๐', - snake: '๐', - snowboarding: '๐', - snowflake: 'โ', - snowman: ['โ', snow: 'โ'], - soap: '๐งผ', - socks: '๐งฆ', - softball: '๐ฅ', - sos: '๐', - soup: '๐ฒ', - spaghetti: '๐', - sparkle: [box: 'โ'], - sparkler: '๐', - sparkles: 'โจ', - speaker: [ - '๐', - not: '๐', - wave: '๐', - waves: '๐', - ], - spider: '๐ท', - spiderweb: '๐ธ', - spinach: '๐ฅฌ', - sponge: '๐งฝ', - spoon: '๐ฅ', - square: [ - black: 'โฌ', - black.tiny: 'โช', - black.small: 'โพ', - black.medium: 'โผ', - white: 'โฌ', - white.tiny: 'โซ', - white.small: 'โฝ', - white.medium: 'โป', - blue: '๐ฆ', - brown: '๐ซ', - green: '๐ฉ', - orange: '๐ง', - purple: '๐ช', - red: '๐ฅ', - yellow: '๐จ', - ], - squid: '๐ฆ', - stadium: '๐', - star: [ - 'โญ', - arc: '๐ซ', - box: 'โด', - glow: '๐', - shoot: '๐ ', - ], - stethoscope: '๐ฉบ', - store: [big: '๐ฌ', small: '๐ช'], - strawberry: '๐', - suit: [ - club: 'โฃ', - diamond: 'โฆ', - heart: 'โฅ', - spade: 'โ ', - ], - sun: ['โ', cloud: '๐ค', face: '๐'], - sunrise: '๐
', - superhero: '๐ฆธ', - supervillain: '๐ฆน', - surfing: '๐', - sushi: '๐ฃ', - swan: '๐ฆข', - swimming: '๐', - swimsuit: '๐ฉฑ', - swords: 'โ', - symbols: '๐ฃ', - synagogue: '๐', - syringe: '๐', - taco: '๐ฎ', - takeout: '๐ฅก', - tamale: '๐ซ', - tanabata: '๐', - tangerine: '๐', - tap: ['๐ฐ', not: '๐ฑ'], - taxi: ['๐', front: '๐'], - teacup: '๐ต', - teapot: '๐ซ', - teddy: '๐งธ', - telescope: '๐ญ', - temple: '๐', - ten: '๐', - tengu: '๐บ', - tennis: '๐พ', - tent: 'โบ', - testtube: '๐งช', - thermometer: '๐ก', - thread: '๐งต', - thumb: [up: '๐', down: '๐'], - ticket: [event: '๐', travel: '๐ซ'], - tiger: ['๐
', face: '๐ฏ'], - tm: 'โข', - toilet: '๐ฝ', - toiletpaper: '๐งป', - tomato: '๐
', - tombstone: '๐ชฆ', - tongue: '๐
', - toolbox: '๐งฐ', - tooth: '๐ฆท', - toothbrush: '๐ชฅ', - tornado: '๐ช', - tower: [tokyo: '๐ผ'], - trackball: '๐ฒ', - tractor: '๐', - trafficlight: [v: '๐ฆ', h: '๐ฅ'], - train: [ - '๐', - car: '๐', - light: '๐', - metro: '๐', - mono: '๐', - mountain: '๐', - speed: '๐', - speed.bullet: '๐
', - steam: '๐', - stop: '๐', - suspend: '๐', - tram: '๐', - tram.car: '๐', - ], - transgender: 'โง', - tray: [inbox: '๐ฅ', mail: '๐จ', outbox: '๐ค'], - tree: [ - deciduous: '๐ณ', - evergreen: '๐ฒ', - palm: '๐ด', - xmas: '๐', - ], - triangle: [ - r: 'โถ', - l: 'โ', - t: '๐ผ', - b: '๐ฝ', - t.red: '๐บ', - b.red: '๐ป', - ], - trident: '๐ฑ', - troll: '๐ง', - trophy: '๐', - truck: ['๐', trailer: '๐'], - trumpet: '๐บ', - tsukimi: '๐', - turkey: '๐ฆ', - turtle: '๐ข', - tv: '๐บ', - ufo: '๐ธ', - umbrella: [ - open: 'โ', - closed: '๐', - rain: 'โ', - sun: 'โฑ', - ], - unicorn: '๐ฆ', - unknown: '๐ฆณ', - up: '๐', - urn: 'โฑ', - vampire: '๐ง', - violin: '๐ป', - volcano: '๐', - volleyball: '๐', - vs: '๐', - waffle: '๐ง', - wand: '๐ช', - warning: 'โ ', - watch: ['โ', stop: 'โฑ'], - watermelon: '๐', - waterpolo: '๐คฝ', - wave: '๐', - wc: '๐พ', - weightlifting: '๐', - whale: ['๐', spout: '๐ณ'], - wheel: '๐', - wheelchair: ['๐ฆฝ', box: 'โฟ', motor: '๐ฆผ'], - wind: '๐ฌ', - windchime: '๐', - window: '๐ช', - wine: '๐ท', - wolf: '๐บ', - woman: [ - '๐ฉ', - box: '๐บ', - crown: '๐ธ', - old: '๐ต', - pregnant: '๐คฐ', - ], - wood: '๐ชต', - worm: '๐ชฑ', - wrench: '๐ง', - wrestling: '๐คผ', - xray: '๐ฉป', - yarn: '๐งถ', - yoyo: '๐ช', - zebra: '๐ฆ', - zodiac: [ - aquarius: 'โ', - aries: 'โ', - cancer: 'โ', - capri: 'โ', - gemini: 'โ', - leo: 'โ', - libra: 'โ', - ophi: 'โ', - pisces: 'โ', - sagit: 'โ', - scorpio: 'โ', - taurus: 'โ', - virgo: 'โ', - ], - zombie: '๐ง', - zzz: '๐ค', -}; diff --git a/library/src/symbols/mod.rs b/library/src/symbols/mod.rs deleted file mode 100644 index 5036aa11..00000000 --- a/library/src/symbols/mod.rs +++ /dev/null @@ -1,15 +0,0 @@ -//! Modifiable symbols. - -mod emoji; -mod sym; - -pub use emoji::*; -pub use sym::*; - -use crate::prelude::*; - -/// Hook up all symbol definitions. -pub(super) fn define(global: &mut Scope) { - global.define("sym", sym()); - global.define("emoji", emoji()); -} diff --git a/library/src/symbols/sym.rs b/library/src/symbols/sym.rs deleted file mode 100644 index 8b1b0b39..00000000 --- a/library/src/symbols/sym.rs +++ /dev/null @@ -1,842 +0,0 @@ -use typst::eval::{symbols, Module, Scope, Symbol}; - -/// A module with all general symbols. -pub fn sym() -> Module { - let mut scope = Scope::new(); - for (name, symbol) in SYM { - scope.define(*name, symbol.clone()); - } - Module::new("sym").with_scope(scope) -} - -/// The list of general symbols. -pub(crate) const SYM: &[(&str, Symbol)] = symbols! { - // Control. - wj: '\u{2060}', - zwj: '\u{200D}', - zwnj: '\u{200C}', - zws: '\u{200B}', - - // Spaces. - space: [ - ' ', - nobreak: '\u{A0}', - en: '\u{2002}', - quad: '\u{2003}', - third: '\u{2004}', - quarter: '\u{2005}', - sixth: '\u{2006}', - med: '\u{205F}', - fig: '\u{2007}', - punct: '\u{2008}', - thin: '\u{2009}', - hair: '\u{200A}', - ], - - // Delimiters. - paren: [l: '(', r: ')', t: 'โ', b: 'โ'], - brace: [l: '{', r: '}', t: 'โ', b: 'โ'], - bracket: [l: '[', l.double: 'โฆ', r: ']', r.double: 'โง', t: 'โด', b: 'โต'], - turtle: [l: 'ใ', r: 'ใ', t: 'โ ', b: 'โก'], - bar: [v: '|', v.double: 'โ', v.triple: 'โฆ', v.broken: 'ยฆ', v.circle: 'โฆถ', h: 'โ'], - fence: [l: 'โง', l.double: 'โง', r: 'โง', r.double: 'โง', dotted: 'โฆ'], - angle: [ - 'โ ', - l: 'โจ', - r: 'โฉ', - l.double: 'ใ', - r.double: 'ใ', - acute: 'โฆ', - arc: 'โก', - arc.rev: 'โฆ', - rev: 'โฆฃ', - right: 'โ', - right.rev: 'โฏพ', - right.arc: 'โพ', - right.dot: 'โฆ', - right.sq: 'โฆ', - spatial: 'โ', - spheric: 'โข', - spheric.rev: 'โฆ ', - spheric.top: 'โฆก', - ], - - // Punctuation. - amp: ['&', inv: 'โ
'], - ast: [ - op: 'โ', - basic: '*', - low: 'โ', - double: 'โ', - triple: 'โ', - small: '๏นก', - circle: 'โ', - sq: 'โง', - ], - at: '@', - backslash: ['\\', circle: 'โฆธ', not: 'โงท'], - co: 'โ
', - colon: [':', eq: 'โ', double.eq: 'โฉด'], - comma: ',', - dagger: ['โ ', double: 'โก'], - dash: [ - en: 'โ', - em: 'โ', - fig: 'โ', - wave: 'ใ', - colon: 'โน', - circle: 'โ', - wave.double: 'ใฐ', - ], - dot: [ - op: 'โ
', - basic: '.', - c: 'ยท', - circle: 'โ', - circle.big: 'โจ', - square: 'โก', - double: 'ยจ', - triple: '\u{20db}', - quad: '\u{20dc}', - ], - excl: ['!', double: 'โผ', inv: 'ยก', quest: 'โ'], - quest: ['?', double: 'โ', excl: 'โ', inv: 'ยฟ'], - interrobang: 'โฝ', - hash: '#', - hyph: ['โ', minus: '\u{2D}', nobreak: '\u{2011}', point: 'โง', soft: '\u{ad}'], - percent: '%', - copyright: ['ยฉ', sound: 'โ'], - permille: 'โฐ', - pilcrow: ['ยถ', rev: 'โ'], - section: 'ยง', - semi: [';', rev: 'โ'], - slash: ['/', double: 'โซฝ', triple: 'โซป', big: '\u{29f8}'], - dots: [h.c: 'โฏ', h: 'โฆ', v: 'โฎ', down: 'โฑ', up: 'โฐ'], - tilde: [ - op: 'โผ', - basic: '~', - eq: 'โ', - eq.not: 'โ', - eq.rev: 'โ', - eqq: 'โ
', - eqq.not: 'โ', - neqq: 'โ', - not: 'โ', - rev: 'โฝ', - rev.eqq: 'โ', - triple: 'โ', - ], - - // Accents, quotes, and primes. - acute: ['ยด', double: 'ห'], - breve: 'ห', - caret: 'โธ', - caron: 'ห', - hat: '^', - diaer: 'ยจ', - grave: '`', - macron: 'ยฏ', - quote: [ - double: '"', - single: '\'', - l.double: 'โ', - l.single: 'โ', - r.double: 'โ', - r.single: 'โ', - angle.l.double: 'ยซ', - angle.l.single: 'โน', - angle.r.double: 'ยป', - angle.r.single: 'โบ', - high.double: 'โ', - high.single: 'โ', - low.double: 'โ', - low.single: 'โ', - ], - prime: [ - 'โฒ', - rev: 'โต', - double: 'โณ', - double.rev: 'โถ', - triple: 'โด', - triple.rev: 'โท', - quad: 'โ', - ], - - // https://en.wikipedia.org/wiki/List_of_mathematical_symbols_by_subject - // Arithmetic. - plus: [ - '+', - circle: 'โ', - circle.arrow: 'โด', - circle.big: 'โจ', - dot: 'โ', - minus: 'ยฑ', - small: '๏นข', - square: 'โ', - triangle: 'โจน', - ], - minus: [ - 'โ', - circle: 'โ', - dot: 'โธ', - plus: 'โ', - square: 'โ', - tilde: 'โ', - triangle: 'โจบ', - ], - div: ['รท', circle: 'โจธ'], - times: [ - 'ร', - big: 'โจ', - circle: 'โ', - circle.big: 'โจ', - div: 'โ', - three.l: 'โ', - three.r: 'โ', - l: 'โ', - r: 'โ', - square: 'โ ', - triangle: 'โจป', - ], - ratio: 'โถ', - - // Relations. - eq: [ - '=', - star: 'โ', - circle: 'โ', - colon: 'โ', - def: 'โ', - delta: 'โ', - equi: 'โ', - est: 'โ', - gt: 'โ', - lt: 'โ', - m: 'โ', - not: 'โ ', - prec: 'โ', - quest: 'โ', - small: '๏นฆ', - succ: 'โ', - ], - gt: [ - '>', - circle: 'โง', - dot: 'โ', - double: 'โซ', - eq: 'โฅ', - eq.slant: 'โฉพ', - eq.lt: 'โ', - eq.not: 'โฑ', - eqq: 'โง', - lt: 'โท', - lt.not: 'โน', - neqq: 'โฉ', - not: 'โฏ', - ntilde: 'โง', - small: '๏นฅ', - tilde: 'โณ', - tilde.not: 'โต', - tri: 'โณ', - tri.eq: 'โต', - tri.eq.not: 'โญ', - tri.not: 'โซ', - triple: 'โ', - triple.nested: 'โซธ', - ], - lt: [ - '<', - circle: 'โง', - dot: 'โ', - double: 'โช', - eq: 'โค', - eq.slant: 'โฉฝ' , - eq.gt: 'โ', - eq.not: 'โฐ', - eqq: 'โฆ', - gt: 'โถ', - gt.not: 'โธ', - neqq: 'โจ', - not: 'โฎ', - ntilde: 'โฆ', - small: '๏นค', - tilde: 'โฒ', - tilde.not: 'โด', - tri: 'โฒ', - tri.eq: 'โด', - tri.eq.not: 'โฌ', - tri.not: 'โช', - triple: 'โ', - triple.nested: 'โซท', - ], - approx: ['โ', eq: 'โ', not: 'โ'], - prec: [ - 'โบ', - approx: 'โชท', - double: 'โชป', - eq: 'โผ', - eq.not: 'โ ', - eqq: 'โชณ', - napprox: 'โชน', - neqq: 'โชต', - not: 'โ', - ntilde: 'โจ', - tilde: 'โพ', - ], - succ: [ - 'โป', - approx: 'โชธ', - double: 'โชผ', - eq: 'โฝ', - eq.not: 'โก', - eqq: 'โชด', - napprox: 'โชบ', - neqq: 'โชถ', - not: 'โ', - ntilde: 'โฉ', - tilde: 'โฟ', - ], - ident: ['โก', not: 'โข', strict: 'โฃ'], - prop: 'โ', - - // Set theory. - nothing: ['โ
', rev: 'โฆฐ'], - without: 'โ', - complement: 'โ', - in: [ - 'โ', - not: 'โ', - rev: 'โ', - rev.not: 'โ', - rev.small: 'โ', - small: 'โ', - ], - subset: [ - 'โ', - dot: 'โชฝ', - double: 'โ', - eq: 'โ', - eq.not: 'โ', - eq.sq: 'โ', - eq.sq.not: 'โข', - neq: 'โ', - not: 'โ', - sq: 'โ', - sq.neq: 'โค', - ], - supset: [ - 'โ', - dot: 'โชพ', - double: 'โ', - eq: 'โ', - eq.not: 'โ', - eq.sq: 'โ', - eq.sq.not: 'โฃ', - neq: 'โ', - not: 'โ
', - sq: 'โ', - sq.neq: 'โฅ', - ], - union: [ - 'โช', - arrow: 'โ', - big: 'โ', - dot: 'โ', - dot.big: 'โจ', - double: 'โ', - minus: 'โฉ', - or: 'โฉ
', - plus: 'โ', - plus.big: 'โจ', - sq: 'โ', - sq.big: 'โจ', - sq.double: 'โฉ', - ], - sect: [ - 'โฉ', - and: 'โฉ', - big: 'โ', - dot: 'โฉ', - double: 'โ', - sq: 'โ', - sq.big: 'โจ
', - sq.double: 'โฉ', - ], - - // Calculus. - infinity: 'โ', - oo: 'โ', - diff: 'โ', - nabla: 'โ', - sum: ['โ', integral: 'โจ'], - product: ['โ', co: 'โ'], - integral: [ - 'โซ', - arrow.hook: 'โจ', - ccw: 'โจ', - cont: 'โฎ', - cont.ccw: 'โณ', - cont.cw: 'โฒ', - cw: 'โฑ', - double: 'โฌ', - quad: 'โจ', - sect: 'โจ', - sq: 'โจ', - surf: 'โฏ', - times: 'โจ', - triple: 'โญ', - union: 'โจ', - vol: 'โฐ', - ], - laplace: 'โ', - - // Logic. - forall: 'โ', - exists: ['โ', not: 'โ'], - top: 'โค', - bot: 'โฅ', - not: 'ยฌ', - and: ['โง', big: 'โ', curly: 'โ', dot: 'โ', double: 'โฉ'], - or: ['โจ', big: 'โ', curly: 'โ', dot: 'โ', double: 'โฉ'], - xor: ['โ', big: 'โจ'], - models: 'โง', - therefore: 'โด', - because: 'โต', - qed: 'โ', - - // Function and category theory. - compose: 'โ', - convolve: 'โ', - multimap: 'โธ', - - // Number theory. - divides: ['โฃ', not: 'โค'], - perp: ['โ', circle: 'โฆน'], - - // Algebra. - wreath: 'โ', - - // Geometry. - parallel: ['โฅ', circle: 'โฆท', not: 'โฆ'], - - // Miscellaneous Technical. - diameter: 'โ', - join: ['โจ', r: 'โ', l: 'โ', l.r: 'โ'], - degree: ['ยฐ', c: 'โ', f: 'โ'], - smash: 'โจณ', - - // Currency. - bitcoin: 'โฟ', - dollar: '$', - euro: 'โฌ', - franc: 'โฃ', - lira: 'โบ', - peso: 'โฑ', - pound: 'ยฃ', - ruble: 'โฝ', - rupee: 'โน', - won: 'โฉ', - yen: 'ยฅ', - - // Miscellaneous. - ballot: ['โ', x: 'โ'], - checkmark: ['โ', light: '๐ธ'], - floral: ['โฆ', l: 'โ', r: 'โง'], - notes: [up: '๐', down: '๐'], - refmark: 'โป', - servicemark: 'โ ', - maltese: 'โ ', - suit: [club: 'โฃ', diamond: 'โฆ', heart: 'โฅ', spade: 'โ '], - - // Shapes. - bullet: 'โข', - circle: [ - stroked: 'โ', - stroked.tiny: 'โ', - stroked.small: 'โฌ', - stroked.big: 'โฏ', - filled: 'โ', - filled.tiny: 'โฆ', - filled.small: 'โ', - filled.big: 'โฌค', - dotted: 'โ', - nested: 'โ', - ], - ellipse: [ - stroked.h: 'โฌญ', - stroked.v: 'โฌฏ', - filled.h: 'โฌฌ', - filled.v: 'โฌฎ', - ], - triangle: [ - stroked.r: 'โท', - stroked.l: 'โ', - stroked.t: 'โณ', - stroked.b: 'โฝ', - stroked.bl: 'โบ', - stroked.br: 'โฟ', - stroked.tl: 'โธ', - stroked.tr: 'โน', - stroked.small.r: 'โน', - stroked.small.b: 'โฟ', - stroked.small.l: 'โ', - stroked.small.t: 'โต', - stroked.rounded: '๐', - stroked.nested: 'โ', - stroked.dot: 'โฌ', - filled.r: 'โถ', - filled.l: 'โ', - filled.t: 'โฒ', - filled.b: 'โผ', - filled.bl: 'โฃ', - filled.br: 'โข', - filled.tl: 'โค', - filled.tr: 'โฅ', - filled.small.r: 'โธ', - filled.small.b: 'โพ', - filled.small.l: 'โ', - filled.small.t: 'โด', - ], - square: [ - stroked: 'โก', - stroked.tiny: 'โซ', - stroked.small: 'โฝ', - stroked.medium: 'โป', - stroked.big: 'โฌ', - stroked.dotted: 'โฌ', - stroked.rounded: 'โข', - filled: 'โ ', - filled.tiny: 'โช', - filled.small: 'โพ', - filled.medium: 'โผ', - filled.big: 'โฌ', - ], - rect: [ - stroked.h: 'โญ', - stroked.v: 'โฏ', - filled.h: 'โฌ', - filled.v: 'โฎ', - ], - penta: [stroked: 'โฌ ', filled: 'โฌ'], - hexa: [stroked: 'โฌก', filled: 'โฌข'], - diamond: [ - stroked: 'โ', - stroked.small: 'โ', - stroked.medium: 'โฌฆ', - stroked.dot: 'โ', - filled: 'โ', - filled.medium: 'โฌฅ', - filled.small: 'โฌฉ', - ], - lozenge: [ - stroked: 'โ', - stroked.small: 'โฌซ', - stroked.medium: 'โฌจ', - filled: 'โงซ', - filled.small: 'โฌช', - filled.medium: 'โฌง', - ], - star: [op: 'โ', stroked: 'โ
', filled: 'โ
'], - - // Arrows, harpoons, and tacks. - arrow: [ - r: 'โ', - r.long.bar: 'โผ', - r.bar: 'โฆ', - r.curve: 'โคท', - r.dashed: 'โข', - r.dotted: 'โค', - r.double: 'โ', - r.double.bar: 'โค', - r.double.long: 'โน', - r.double.long.bar: 'โพ', - r.double.not: 'โ', - r.filled: 'โก', - r.hook: 'โช', - r.long: 'โถ', - r.long.squiggly: 'โฟ', - r.loop: 'โฌ', - r.not: 'โ', - r.quad: 'โญ', - r.squiggly: 'โ', - r.stop: 'โฅ', - r.stroked: 'โจ', - r.tail: 'โฃ', - r.triple: 'โ', - r.twohead.bar: 'โค
', - r.twohead: 'โ ', - r.wave: 'โ', - l: 'โ', - l.bar: 'โค', - l.curve: 'โคถ', - l.dashed: 'โ ', - l.dotted: 'โฌธ', - l.double: 'โ', - l.double.bar: 'โค', - l.double.long: 'โธ', - l.double.long.bar: 'โฝ', - l.double.not: 'โ', - l.filled: 'โฌ
', - l.hook: 'โฉ', - l.long: 'โต', - l.long.bar: 'โป', - l.long.squiggly: 'โฌณ', - l.loop: 'โซ', - l.not: 'โ', - l.quad: 'โญ
', - l.squiggly: 'โ', - l.stop: 'โค', - l.stroked: 'โฆ', - l.tail: 'โข', - l.triple: 'โ', - l.twohead.bar: 'โฌถ', - l.twohead: 'โ', - l.wave: 'โ', - t: 'โ', - t.bar: 'โฅ', - t.curve: 'โคด', - t.dashed: 'โก', - t.double: 'โ', - t.filled: 'โฌ', - t.quad: 'โฐ', - t.stop: 'โค', - t.stroked: 'โง', - t.triple: 'โค', - t.twohead: 'โ', - b: 'โ', - b.bar: 'โง', - b.curve: 'โคต', - b.dashed: 'โฃ', - b.double: 'โ', - b.filled: 'โฌ', - b.quad: 'โฑ', - b.stop: 'โค', - b.stroked: 'โฉ', - b.triple: 'โค', - b.twohead: 'โก', - l.r: 'โ', - l.r.double: 'โ', - l.r.double.long: 'โบ', - l.r.double.not: 'โ', - l.r.filled: 'โฌ', - l.r.long: 'โท', - l.r.not: 'โฎ', - l.r.stroked: 'โฌ', - l.r.wave: 'โญ', - t.b: 'โ', - t.b.double: 'โ', - t.b.filled: 'โฌ', - t.b.stroked: 'โณ', - tr: 'โ', - tr.double: 'โ', - tr.filled: 'โฌ', - tr.hook: 'โคค', - tr.stroked: 'โฌ', - br: 'โ', - br.double: 'โ', - br.filled: 'โฌ', - br.hook: 'โคฅ', - br.stroked: 'โฌ', - tl: 'โ', - tl.double: 'โ', - tl.filled: 'โฌ', - tl.hook: 'โคฃ', - tl.stroked: 'โฌ', - bl: 'โ', - bl.double: 'โ', - bl.filled: 'โฌ', - bl.hook: 'โคฆ', - bl.stroked: 'โฌ', - tl.br: 'โคก', - tr.bl: 'โคข', - ccw: 'โบ', - ccw.half: 'โถ', - cw: 'โป', - cw.half: 'โท', - zigzag: 'โฏ', - ], - arrows: [ - rr: 'โ', - ll: 'โ', - tt: 'โ', - bb: 'โ', - lr: 'โ', - lr.stop: 'โน', - rl: 'โ', - tb: 'โ
', - bt: 'โต', - rrr: 'โถ', - lll: 'โฌฑ', - ], - arrowhead: [ - t: 'โ', - b: 'โ', - ], - harpoon: [ - rt: 'โ', - rt.bar: 'โฅ', - rt.stop: 'โฅ', - rb: 'โ', - rb.bar: 'โฅ', - rb.stop: 'โฅ', - lt: 'โผ', - lt.bar: 'โฅ', - lt.stop: 'โฅ', - lb: 'โฝ', - lb.bar: 'โฅ', - lb.stop: 'โฅ', - tl: 'โฟ', - tl.bar: 'โฅ ', - tl.stop: 'โฅ', - tr: 'โพ', - tr.bar: 'โฅ', - tr.stop: 'โฅ', - bl: 'โ', - bl.bar: 'โฅก', - bl.stop: 'โฅ', - br: 'โ', - br.bar: 'โฅ', - br.stop: 'โฅ', - lt.rt: 'โฅ', - lb.rb: 'โฅ', - lb.rt: 'โฅ', - lt.rb: 'โฅ', - tl.bl: 'โฅ', - tr.br: 'โฅ', - tl.br: 'โฅ', - tr.bl: 'โฅ', - ], - harpoons: [ - rtrb: 'โฅค', - blbr: 'โฅฅ', - bltr: 'โฅฏ', - lbrb: 'โฅง', - ltlb: 'โฅข', - ltrb: 'โ', - ltrt: 'โฅฆ', - rblb: 'โฅฉ', - rtlb: 'โ', - rtlt: 'โฅจ', - tlbr: 'โฅฎ', - tltr: 'โฅฃ', - ], - tack: [ - r: 'โข', - r.not: 'โฌ', - r.long: 'โ', - r.short: 'โฆ', - r.double: 'โจ', - r.double.not: 'โญ', - l: 'โฃ', - l.long: 'โ', - l.short: 'โซ', - l.double: 'โซค', - t: 'โฅ', - t.big: 'โ', - t.double: 'โซซ', - t.short: 'โซ ', - b: 'โค', - b.big: 'โ', - b.double: 'โซช', - b.short: 'โซ', - l.r: 'โ', - ], - - // Lowercase Greek. - alpha: 'ฮฑ', - beta: ['ฮฒ', alt: 'ฯ'], - chi: 'ฯ', - delta: 'ฮด', - epsilon: ['ฮต', alt: 'ฯต'], - eta: 'ฮท', - gamma: 'ฮณ', - iota: 'ฮน', - kai: 'ฯ', - kappa: ['ฮบ', alt: 'ฯฐ'], - lambda: 'ฮป', - mu: 'ฮผ', - nu: 'ฮฝ', - ohm: ['โฆ', inv: 'โง'], - omega: 'ฯ', - omicron: 'ฮฟ', - phi: ['ฯ', alt: 'ฯ'], - pi: ['ฯ', alt: 'ฯ'], - psi: 'ฯ', - rho: ['ฯ', alt: 'ฯฑ'], - sigma: ['ฯ', alt: 'ฯ'], - tau: 'ฯ', - theta: ['ฮธ', alt: 'ฯ'], - upsilon: 'ฯ
', - xi: 'ฮพ', - zeta: 'ฮถ', - - // Uppercase Greek. - Alpha: 'ฮ', - Beta: 'ฮ', - Chi: 'ฮง', - Delta: 'ฮ', - Epsilon: 'ฮ', - Eta: 'ฮ', - Gamma: 'ฮ', - Iota: 'ฮ', - Kai: 'ฯ', - Kappa: 'ฮ', - Lambda: 'ฮ', - Mu: 'ฮ', - Nu: 'ฮ', - Omega: 'ฮฉ', - Omicron: 'ฮ', - Phi: 'ฮฆ', - Pi: 'ฮ ', - Psi: 'ฮจ', - Rho: 'ฮก', - Sigma: 'ฮฃ', - Tau: 'ฮค', - Theta: 'ฮ', - Upsilon: 'ฮฅ', - Xi: 'ฮ', - Zeta: 'ฮ', - - // Hebrew. - alef: 'ื', - bet: 'ื', - gimel: 'ื', - shin: 'ืฉ', - - // Double-struck. - AA: '๐ธ', - BB: '๐น', - CC: 'โ', - DD: '๐ป', - EE: '๐ผ', - FF: '๐ฝ', - GG: '๐พ', - HH: 'โ', - II: '๐', - JJ: '๐', - KK: '๐', - LL: '๐', - MM: '๐', - NN: 'โ', - OO: '๐', - PP: 'โ', - QQ: 'โ', - RR: 'โ', - SS: '๐', - TT: '๐', - UU: '๐', - VV: '๐', - WW: '๐', - XX: '๐', - YY: '๐', - ZZ: 'โค', - - // Miscellaneous letter-likes. - ell: 'โ', - planck: ['โ', reduce: 'โ'], - angstrom: 'โซ', - kelvin: 'โช', - Re: 'โ', - Im: 'โ', - dotless: [i: '๐ค', j: '๐ฅ'], -}; |
