formulae, formula, subformula
	{display:block;}
formula, math
	{font-family:"Palatino Linotype", serif;
	line-height:1.5em;
	white-space:nowrap;
	text-align:left;}
formula
	{margin:0.5ex 1em 0.5ex 12%;
	page-break-inside:avoid;}
formula:before
	{content:"(" counter(equation) ")";
	counter-increment:equation;
	display:block;
	float:right;}
fraction
	{display:inline-block;
	white-space:nowrap;
	text-align:center;
	vertical-align:-0.7em;
	margin:0 2px;
	font-size:1em;}
num, den
	{line-height:1.5em;
	font-size:0.9em;}
num
	{border-bottom:solid 1px;
	display:block;}
den
	{display:inline-block;
	vertical-align:top;}
fraction matrix, fraction vector, fraction cases,
fraction fence:before, fraction fence:after
	{margin-bottom:2px;
	margin-top:2px;}
sup num, sub num, inf num, sur num,
sup den, sub den, inf den, sur den
	{font-size:0.8em;}
inf, sub, sur, sup
	{font-size:0.7em;
	line-height:1em;
	vertical-align:-0.8ex;}
sur, sup
	{vertical-align:1.4ex;}
sub sub, sup sub, sur sub, inf sub,
sub sup, sup sup, sur sup, inf sup,
sub sur, sup sur, sur sur, inf sur,
sub inf, sup inf, sur inf, inf inf
	{font-size:0.8em;}
float, markers
	{display:inline-block;
	white-space:nowrap;
	vertical-align:-0.5em;
	line-height:1em;
	text-align:left;}
float > sub, float > sup,
float > inf, float > sur, 
markers > marker, markers > submarker
	{display:inline-block;
	line-height:1.2em;
	vertical-align:top;}
float > inf, float > sur
	{text-align:right;}
float > sup, float > sur, markers > marker
	{display:block;}
marker, submarker
	{font-size:0.7em;}
fence + markers
	{vertical-align:0.2em;}
fence + markers > submarker
	{border-top:solid 1.9em transparent;}
math fence + markers
	{vertical-align:-0.1em;}
math fence + markers > submarker
	{border-top:solid 1.1em transparent;}
ope + markers
	{vertical-align:-0.3em;
	line-height:1em;}
ope + markers > submarker
	{border-top:solid 0.4em transparent;}
math ope + markers
	{vertical-align:-0.4em;}
math ope + markers > submarker
	{border-top:solid 0.3em transparent;}
ope + marker, fence + marker, 
ope + submarker, fence + submarker
	{line-height:1em;
	vertical-align:-1.5em;}
ope + marker
	{vertical-align:1.1em;}
ope + submarker
	{vertical-align:-0.8em;}
math ope + marker
	{vertical-align:1em;}
math ope + submarker
	{vertical-align:-0.6em;}
fence + marker
	{vertical-align:1.7em;}
fence + submarker
	{vertical-align:-1.4em;}
math fence + marker
	{vertical-align:1.2em;}
math fence + submarker
	{vertical-align:-1em;}
ope
	{vertical-align:middle;}
formula ope
	{font-size:1.4em;}

over, under
	{display:inline-table;
	white-space:normal;
	text-align:center;}
over
	{display:inline-block;}
over > *, under > *
	{white-space:nowrap;}
sat
	{display:block;}
under > ker, under > sat
	{display:table-row;}
sat
	{font-size:0.7em;
	line-height:1.2em;}
math under, math over, math sat
	{line-height:1.1em;}
underbrace
	{display:table-row;
	line-height:3px;}
underbrace:before, overbrace:before
	{display:block;
	content:"\A0";
	height:3px;
	border-width:1px 1px 0 1px;
	border-style:solid;}
underbrace:before
	{border-width:0 1px 1px 1px;}
det, matrix, vector, cases, apply
	{display:inline-table;
	border-collapse:collapse;
	vertical-align:middle;
	text-align:center;
	font-size:0.9em;}
apply
	{font-size:1em;}
apply > *
	{display:table-cell}
apply > marker, apply > submarker
	{font-size:0.7em;
	line-height:1.1em;
	vertical-align:bottom;}
apply > marker
	{vertical-align:top;}
math det, math matrix, math vector, math cases
	{font-size:0.7em;}
row, case, entry
	{display:table-row;}
cell, value, scope
	{display:table-cell;
	line-height:1.7em;
	white-space:nowrap;
	padding:1px 8px;}
matrix > row:before, matrix > row:after,
entry:before, entry:after
	{display:table-cell;
	content:"\A0";
	border-bottom:solid 1px;
	border-left:solid 1px;
	border-top:hidden;}
matrix > row:after, entry:after
	{border-left:none;
	border-right:solid 1px;}
row:first-child:before, row:first-child:after, 
entry:first-child:before, entry:first-child:after
	{border-top:solid 1px;}
det
	{border-left:solid 1px;
	border-right:solid 1px;}
cases
	{border:dashed 1px gray;}
value
	{text-align:right;}
scope
	{text-align:left;}
radical
	{display:inline-table;}
radicand, radix
	{display:table-cell;}
radicand, sqrt
	{border-top:solid 1px;
	border-left:groove 2px;
	padding:2px 5px 0 3px;}
radix
	{vertical-align:bottom;
	text-align:right;
	font-size:0.7em;
	line-height:1em;}
radix:after
	{display:block;
	content:"";
	width:1em;
	border-style:groove;
	border-width:2px 2px 0 0;
	margin:0 -0.2ex 1ex 0;}
sqrt
	{display:inline-block;
	position:relative;
	margin:1px 0 1px 0.8em;
	z-index:1;}
sqrt:before
	{display:block;
	content:"";
	position:absolute;
	z-index:1;
	bottom:0;
	left:-0.8em;
	width:0.8em;
	height:0.5ex;
	border-top:groove 2px;}
fence:before, fence:after
	{border-style:solid;
	content:"\A0";
	display:inline-block;
	vertical-align:middle;
	height:2.5em;}
fence:before
	{margin-left:2px;
	border-width:1px 0 1px 1px;}
fence:after
	{margin-right:2px;
	border-width:1px 1px 1px 0;}
math fence:before, math fence:after
	{height:2em;}
fence[left="curly"]:before
	{border-left-style:dashed;}
fence[right="curly"]:after
	{border-right-style:dashed;}
fence[left="dashed"]:before
	{border-style:dashed;
	border-width:0 0 0 1px;}
fence[right="dashed"]:after
	{border-style:dashed;
	border-width:0 1px 0 0;}
fence[left="double"]:before
	{border-style:double;
	border-width:0 0 0 3px;}
fence[right="double"]:after
	{border-style:double;
	border-width:0 3px 0 0;}
fence[left="round"]:before
	{border-style:double;
	border-width:1px 0 1px 3px;}
fence[right="round"]:after
	{border-style:double;
	border-width:1px 3px 1px 0;}
fence[left="solid"]:before
	{border-style:solid;
	border-width:0 0 0 1px;}
fence[right="solid"]:after
	{border-style:solid;
	border-width:0 1px 0 0;}
fence[left="none"]:before
	{content:normal;}
wrap:before 
	{content:"\200B";
	white-space:normal;}
line:before
	{content:"\A"; 
	white-space:pre;}
bold
	{font-weight:bold;}
italic
	{font-style:italic;}
overline
	{text-decoration:overline;}
strike
	{text-decoration:line-through;}
underline
	{text-decoration:underline;}
	