diff options
author | Hans Hagen <pragma@wxs.nl> | 2017-05-14 19:58:50 +0200 |
---|---|---|
committer | Context Git Mirror Bot <phg42.2a@gmail.com> | 2017-05-14 19:58:50 +0200 |
commit | fd0c4577a4b6e85ca2db664906e1a03807ce133f (patch) | |
tree | fa23fcc04248d03ff82e34634b8ef1bb9cf28acb /doc/context/sources/general/manuals/math/math-framing-001.tex | |
parent | db581096187dc2d3cbdbe4cdc39d247c168b1607 (diff) | |
download | context-fd0c4577a4b6e85ca2db664906e1a03807ce133f.tar.gz |
2017-05-14 19:15:00
Diffstat (limited to 'doc/context/sources/general/manuals/math/math-framing-001.tex')
-rw-r--r-- | doc/context/sources/general/manuals/math/math-framing-001.tex | 113 |
1 files changed, 113 insertions, 0 deletions
diff --git a/doc/context/sources/general/manuals/math/math-framing-001.tex b/doc/context/sources/general/manuals/math/math-framing-001.tex new file mode 100644 index 000000000..5081b8ad2 --- /dev/null +++ b/doc/context/sources/general/manuals/math/math-framing-001.tex @@ -0,0 +1,113 @@ +\setuplayout[topspace=5mm,bottomspace=5mm,height=middle,header=1cm,footer=0cm] + +\starttext + +\startbuffer[sample] + \enabletrackers[formulas.framed] \showboxes + \startformula + e = mc^2 + \stopformula + \par + \startformula + e = mc^2 + \stopformula + \startformula + e = mc^2 + \stopformula + \startformula + e \dorecurse{12} { = mc^2 } + \stopformula + \startplaceformula + \startformula + e = mc^2 + \stopformula + \stopplaceformula + \startplaceformula + \startformula + e \dorecurse{12} { = mc^2 } + \stopformula + \stopplaceformula +\stopbuffer + +\startbuffer[setup-b] +\setupformula + [option=frame] +\stopbuffer + +\startbuffer[setup-d] +\setupformulaframed + [frame=on, + %toffset=10pt, + %boffset=10pt, + foregroundcolor=white, + background=color, + backgroundcolor=gray] +\stopbuffer + +\startbuffer[setup-c] +\setupformula + [frame=number] +\stopbuffer + +\startbuffer[all] +\start + \typebuffer[setup-a] + \getbuffer[setup-a] + \getbuffer[sample] + \typebuffer[setup-b] + \typebuffer[setup-d] + \getbuffer[setup-b] + \getbuffer[setup-d] + \getbuffer[sample] + \typebuffer[setup-c] + \getbuffer[setup-c] + \getbuffer[sample] + \page +\stop +\stopbuffer + +\startbuffer + \startbuffer[setup-a] + \setupformula + [align=flushleft] + \stopbuffer + \getbuffer[all] + \startbuffer[setup-a] + \setupformula + [align=flushleft,location=left] + \stopbuffer + \getbuffer[all] + + \startbuffer[setup-a] + \setupformula + [align=middle] + \stopbuffer + \getbuffer[all] + \startbuffer[setup-a] + \setupformula + [align=middle,location=left] + \stopbuffer + \getbuffer[all] + + \startbuffer[setup-a] + \setupformula + [align=flushright] + \stopbuffer + \getbuffer[all] + \startbuffer[setup-a] + \setupformula + [align=flushright,location=left] + \stopbuffer + \getbuffer[all] +\stopbuffer + +\getbuffer + +\startbuffer[setup-b] +\setupformula + [option={tight,frame}] +\stopbuffer + +\getbuffer + +\stoptext |