Skip to content

Latest commit

 

History

History
51 lines (51 loc) · 3.55 KB

notes.org

File metadata and controls

51 lines (51 loc) · 3.55 KB

Operation types

OperationSupported input typess inv inm in
+(s, s) -> s, (v, v) -> v, (m, m) -> ms -> sv -> vm -> m
-s -> s?, v -> v?, m -> m?, (s, s) -> s, (v, v) -> v, (m, m) -> ms?, s -> sv?, v -> vm?, m -> m
*(s, s) -> s, (v, s) -> v, (s, v) -> v, (m, m) -> m, (v, m) -> v?s -> s, v -> vs -> v, m -> v*m -> m, v -> v*
/(s, s) -> s, (v, s) -> v, (s, v) -> v?s -> s, v -> vs -> v
^(s, s) -> ss -> s
%(s, s) -> ss -> s
.(v, v) -> sv -> s
x(v, v) -> vv -> v

+

IN OUT

LHS \ RHSSVMALHS \ RHSSVMA
S--sSs--
V--vV-v-
M--mM--m
AsvmAa

-

IN OUT

LHS \ RHSSVMALHS \ RHSSVMA
S--sSs--
V--vV-v-
M--mM--m
AsvmAa

*

IN OUT

LHS \ RHSSVMALHS \ RHSSVMA
SaSsvm
V-smVv-vv
M-smMm-mm
AasaAvvma

/

IN OUT

LHS \ RHSSVMALHS \ RHSSVMA
S--sSs--
V--sVv--
M--sMm--
Aa--sAa--

To use custom SVG with md-icon:

  • All paths must be unioned if there is any overlap, since icon style uses 50% alpha
    • For objects created from lines, must use “Stroke to path” before “Union”
  • Remove any extra layers or templates to avoid exporting clutter (even if they would be invisible)
  • Fill/stroke should be unset; they are applied with a “style” tag that overrides CSS
  • In Inkscape, export as “Optimized SVG” with “Enable viewboxing” checked
  • For some reason, need to apply custom style to get the icon centered properly
    • Note that button circle size is 32x32, with a 24x24 icon inscribed