Skip to content

Instantly share code, notes, and snippets.

@akalin
Last active March 21, 2018 07:02
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 akalin/15067e7ec3f7fbdd07d4fbb11b192918 to your computer and use it in GitHub Desktop.
Save akalin/15067e7ec3f7fbdd07d4fbb11b192918 to your computer and use it in GitHub Desktop.
line-breaking bug
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>0.9.0</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.9.0/katex.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.9.0/katex.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.9.0/contrib/auto-render.min.js"></script>
</head>
<body>
<p>The tricky thing is to pick the \(θ^μ\) without assuming that \(H\) is
non-zero. The simplest way to do that is to assume that none of the
coefficients of \(H\) vanish, and, since we have four unknowns (not
counting \(ε_0\) and \(ε_1\)) and three equations, to set \(B = 1\).
Then the first equation gives \(A = (ε_0 + H)/2\text{,}\) the second equation
gives \(C = D(H - A)\), and plugging everything into the third equation
gives \(D^2 = -ε_1 / ε_0\), which implies that \(ε_1 = -ε_0\) and
\(D = ±1\). Set \(ε_0 = -1\) to make the frame have a Lorentzian signature
\(({-} \; {+} \; {+} \; {+})\), and let \(D = ε\).</p>
<script>
renderMathInElement(document.body, {
delimiters: [
{left: "\\[", right: "\\]", display: true},
{left: "\\(", right: "\\)", display: false}
],
ignoredTags: [
"script", "noscript", "style", "textarea", "pre", "code",
// We sometimes need a dedicated tag.
"nokatex"
]
});
</script>
</body>
</html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>0.9.0</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.9.0/katex.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.9.0/katex.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.9.0/contrib/auto-render.min.js"></script>
</head>
<body>
<p>The tricky thing is to pick the \(θ^μ\) without assuming that \(H\) is
non-zero. The simplest way to do that is to assume that none of the
coefficients of \(H\) vanish, and, since we have four unknowns (not
counting \(ε_0\) and \(ε_1\)) and three equations, to set \(B = 1\).
Then the first equation gives \(A = (ε_0 + H)/2\), the second equation
gives \(C = D(H - A)\), and plugging everything into the third equation
gives \(D^2 = -ε_1 / ε_0\), which implies that \(ε_1 = -ε_0\) and
\(D = ±1\). Set \(ε_0 = -1\) to make the frame have a Lorentzian signature
\(({-} \; {+} \; {+} \; {+})\), and let \(D = ε\).</p>
<script>
renderMathInElement(document.body, {
delimiters: [
{left: "\\[", right: "\\]", display: true},
{left: "\\(", right: "\\)", display: false}
],
ignoredTags: [
"script", "noscript", "style", "textarea", "pre", "code",
// We sometimes need a dedicated tag.
"nokatex"
]
});
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment