Skip to content

Commit

Permalink
Roboto 使ってみる
Browse files Browse the repository at this point in the history
  • Loading branch information
tatyam-prime committed Jun 4, 2024
1 parent 613466a commit 93ecf6a
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 4 deletions.
7 changes: 3 additions & 4 deletions build/base.css
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:[email protected]&display=swap');
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:[email protected]&display=swap');
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:[email protected]&family=M+PLUS+1p&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
/* @import url("https://cdn.jsdelivr.net/npm/[email protected]/dist/katex.min.css"); */
@import url("https://cdnjs.cloudflare.com/ajax/libs/prism-themes/1.9.0/prism-coldark-cold.min.css");


html,
code {
font-family: 'JetBrains Mono', 'Noto Sans JP', monospace;
font-family: 'JetBrains Mono', 'M PLUS 1p';
font-variant-ligatures: none;
}

Expand Down Expand Up @@ -145,5 +144,5 @@ td, th {
break-before: avoid;
}
.content-md {
font-family: sans-serif;
font-family: 'Roboto', 'M PLUS 1p';
}
23 changes: 23 additions & 0 deletions build/notebook.html
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ <h1 id="title">ICPC Notebook</h1>
<li><a class="section" href="#memo">memo</a></li>
<ol>
<li><a href="#Primes.md">Primes.md</a></li>
<li><a href="#math.md">math.md</a></li>
</ol>
</ol>
</nav>
Expand Down Expand Up @@ -788,6 +789,28 @@ <h4>階乗</h4>
<td>$4.8 \times 10^8$</td>
</tr>
</tbody></table>
</div>

<div class="filename">
<h2 id="math.md">math.md</h2>
</div>
<div class="content content-md"><h4>等式</h4>
<p>$\begin{aligned}ax+by=e \\ cx+dy=f\end{aligned}
\Rightarrow
\begin{aligned}x=\dfrac{ed-bf}{ad-bc},\ y=\dfrac{af-ec}{ad-bc}\end{aligned}$</p>
<h4>三角形</h4>
<ul>
<li>Side lengths: $a,b,c$</li>
<li>Semiperimeter: $p=\dfrac{a+b+c}{2}$</li>
<li>Area: $A=\sqrt{p(p-a)(p-b)(p-c)}$</li>
<li>Circumradius: $R=\dfrac{abc}{4A}$</li>
<li>Inradius: $r=\dfrac{A}{p}$</li>
<li>Length of median (divides triangle into two equal-area triangles): $m_a=\tfrac{1}{2}\sqrt{2b^2+2c^2-a^2}$</li>
<li>Length of bisector (divides angles in two): $s_a=\sqrt{bc\left[1-\left(\dfrac{a}{b+c}\right)^2\right]}$</li>
<li>Law of sines: $\dfrac{\sin\alpha}{a}=\dfrac{\sin\beta}{b}=\dfrac{\sin\gamma}{c}=\dfrac{1}{2R}$</li>
<li>Law of cosines: $a^2=b^2+c^2-2bc\cos\alpha$</li>
<li>Law of tangents: $\dfrac{a+b}{a-b}=\dfrac{\tan\dfrac{\alpha+\beta}{2}}{\tan\dfrac{\alpha-\beta}{2}}$</li>
</ul>
</div>

</body>
Expand Down

0 comments on commit 93ecf6a

Please sign in to comment.