Skip to content

Instantly share code, notes, and snippets.

@glsee
Created April 14, 2012 20:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save glsee/2387844 to your computer and use it in GitHub Desktop.
Save glsee/2387844 to your computer and use it in GitHub Desktop.
MathQuill - \sum
/**
* MathQuill - \sum
*/
p {
font-size:300%;
}
.bigsymbol {
position:relative;
text-align: center;
display:inline-block;
vertical-align: middle;
}
.bigsymbol sup, .bigsymbol sub, .bigsymbol big {
display:block;
}
.bigsymbol big {
font-size:125%;
}
.bigsymbol sup {
margin-top: -65%;
}
.bigsymbol sub {
margin-top: 35%;
}
<p>
<span class="block">
<span class="bigsymbol">
<big>∑</big>
<sup><var>a</var><var>s</var></sup>
<sub>limit limit</sub>
</span>
<span class="empty">Tests test</span>
</span></p>
{"view":"split-vertical","seethrough":"","prefixfree":"1","page":"all"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment