2022-09-20 02:45:24 +00:00
<!DOCTYPE html>
< html >
< head >
< title > Latex Support | Flat theme< / title >
< meta charset = "utf-8" >
< meta name = "viewport" content = "width=device-width,minimum-scale=1" >
< link rel = "stylesheet" href = "/hugo-theme-flat/lib/katex/katex.min.css" >
< script defer src = "/hugo-theme-flat/lib/katex/katex.min.js" > < / script >
< script defer src = "/hugo-theme-flat/lib/katex/contrib/auto-render.min.js"
onload="renderMathInElement(document.body);">< / script >
< link rel = "stylesheet" href = "/hugo-theme-flat/lib/icofont/icofont.min.css" / >
< link rel = "stylesheet" href = "/hugo-theme-flat/css/syntax.css" / >
< link rel = "stylesheet" href = "/hugo-theme-flat/css/style.css" / >
< link rel = "shortcut icon" href = "/hugo-theme-flat/images/favicon.ico" type = "image/x-icon" / >
< / head >
< body >
< header class = "header-wrapper" >
< div class = "header" >
< a class = "site-title" href = "https://leafee98.github.io/hugo-theme-flat/" > Flat theme< / a >
< ul class = "menu" >
< li class = "menu-item" >
< a href = "/hugo-theme-flat/posts/" > Posts< / a >
< / li >
< li class = "menu-item" >
< a href = "/hugo-theme-flat/essays/" > Essays< / a >
< / li >
< li class = "menu-item" >
< a > Services↓< / a >
< ul class = "sub-menu" >
< li class = "menu-item" > < a href = "#" > Service A< / a > < / li >
< li class = "menu-item" > < a href = "#" > Service B< / a > < / li >
< / ul >
< / li >
< li class = "menu-item" >
< a href = "/hugo-theme-flat/about/" > About< / a >
< / li >
< / ul >
< / div >
< / header >
< main class = "main-wrapper" >
< div class = "main" >
< section class = "single" >
< h1 class = "title" > Latex Support< / h1 >
< div class = "tip" >
< time datetime = "2022-09-20 09:36:26 +0800 CST" > 2022/09/20< / time >
< span class = "split" > ·< / span >
< span > 50 words < / span >
< span class = "split" > ·< / span >
< span >
1 minutes to read
< / span >
< / div >
< div class = "taxonomies" >
< / div >
< hr / >
< div class = "content" >
2022-09-20 02:54:02 +00:00
< p > This article contians some test for latex support. Currently the lib used for rendering LaTeX is < a href = "https://katex.org/" > \(\KaTeX\)< / a > < / p >
2022-09-20 02:45:24 +00:00
< p > $$
\pi=\int_{-\infty}^\infty\frac{dx}{1+x^2}
$$< / p >
2022-09-20 02:54:02 +00:00
< h2 id = "the-code-which-render-the-above" > The code which render the above < a href = "#the-code-which-render-the-above" class = "anchor" > 🔗< / a > < / h2 > < pre tabindex = "0" > < code > This article contians some test for latex support. Currently the lib used for rendering LaTeX is [\\(\KaTeX\\)](https://katex.org/)
2022-09-20 02:45:24 +00:00
$$
\pi=\int_{-\infty}^\infty\frac{dx}{1+x^2}
$$
We support \\(\LaTeX\\) now!
< / code > < / pre >
< / div >
< / section >
< / div >
< div class = "side" >
< div class = "side-recent" >
< h2 class = "side-title" > Recent Posts< / h2 >
< hr / >
< ul >
< li >
< a href = "/hugo-theme-flat/posts/latex-support/" > Latex Support< / a >
< / li >
< li >
< a href = "/hugo-theme-flat/posts/markdown-syntax/" > Markdown Syntax Guide< / a >
< / li >
< li >
< a href = "/hugo-theme-flat/posts/placeholder-text/" > Placeholder Text< / a >
< / li >
< li >
< a href = "/hugo-theme-flat/posts/math-typesetting/" > Math Typesetting< / a >
< / li >
< li >
< a href = "/hugo-theme-flat/posts/emoji-support/" > Emoji Support< / a >
< / li >
< / ul >
< / div >
< div class = "side-recent" >
< h2 class = "side-title" > Recent Essays< / h2 >
< hr / >
< ul >
< li >
< a href = "/hugo-theme-flat/essays/what-is-hugo/" > What Is Hugo< / a >
< / li >
< / ul >
< / div >
< div class = "side-categories" >
< h2 > Categories< / h2 >
< hr / >
< ul >
< li >
< a href = "/hugo-theme-flat/categories/syntax" > syntax(1)< / a >
< / li >
< li >
< a href = "/hugo-theme-flat/categories/themes" > themes(1)< / a >
< / li >
< / ul >
< / div >
< div class = "side-tags" >
< h2 > Tags< / h2 >
< hr / >
< ul >
< li >
< a href = "/hugo-theme-flat/tags/css" > css (1)< / a >
< / li >
< li >
< a href = "/hugo-theme-flat/tags/emoji" > emoji (1)< / a >
< / li >
< li >
< a href = "/hugo-theme-flat/tags/html" > html (1)< / a >
< / li >
< li >
< a href = "/hugo-theme-flat/tags/markdown" > markdown (2)< / a >
< / li >
< li >
< a href = "/hugo-theme-flat/tags/text" > text (1)< / a >
< / li >
< / ul >
< / div >
< / div >
< / main >
< footer class = "footer" >
< div class = "footer-row" >
< a class = "footer-item" href = "https://leafee98.github.io/hugo-theme-flat/posts/index.xml" >
Feed of Posts
< i class = "icofont-rss" > < / i >
< / a >
< a class = "footer-item" href = "https://leafee98.github.io/hugo-theme-flat/essays/index.xml" >
Feed of Essays
< i class = "icofont-rss" > < / i >
< / a >
< / div >
< div class = "footer-row" >
< span class = "footer-item" > Copyright < a href = "https://creativecommons.org/licenses/by/4.0/" > CC BY-4.0< / a > < / span >
< / div >
< div class = "footer-row" >
< span class = "footer-item" > Powered by < a href = "https://gohugo.io" > Hugo< / a > < / span >
< span class = "footer-item" > Theme < a href = "https://cgit.leafee98.com/hugo-theme-flat.git" > hugo-theme-flat< / a > < / span >
< / div >
< / footer >
< / body >
< / html >