refactor: Rename asymptotic states

This commit is contained in:
jstoobysmith 2025-01-23 10:46:50 +00:00
parent ba51484b1f
commit c9deac6cfe
14 changed files with 279 additions and 155 deletions

View file

@ -1,7 +1,16 @@
---
layout: default
---
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/default.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/highlight.min.js"></script>
<script type="text/javascript" charset="UTF-8"
src="../assets/css/lean.min.js"></script>
<script>hljs.highlightAll();</script>
<!-- Note header (title, curators, notice etc.). -->
<center><h1 style="font-size: 50px;">{{ site.data.perturbationTheory.title }}</h1></center>
<center><h2 style="font-size: 20px;">Note Curators: {{ site.data.perturbationTheory.curators }}</h2></center>
<br>
<div style="border: 1px solid black; padding: 10px;">
<p>Note:
@ -16,27 +25,45 @@ layout: default
<a href="https://github.com/HEPLean/HepLean/issues">here</a>.
</p>
</div>
<!-- Table of content. -->
<hr>
<center><h2 style="font-size: 30px;">Table of content</h2></center>
<p>
{% for entry in site.data.perturbationTheory.parts %}
{% if entry.type == "h1" %}
{{ entry.sectionNo }}. {{ entry.content }}<br>
{% endif %}
{% if entry.type == "h2" %}
- {{ entry.sectionNo }}. {{ entry.content }}<br>
{% endif %}
{% endfor %}
</p>
<hr>
<!-- Main body. -->
<br>
{% for entry in site.data.perturbationTheory.parts %}
{% if entry.type == "h1" %}
<h1>{{ entry.content }}</h1>
<h1>{{ entry.sectionNo }}. {{ entry.content }}</h1>
{% endif %}
{% if entry.type == "h2" %}
<h2>{{ entry.content }}</h2>
<h2>{{ entry.sectionNo }}. {{ entry.content }}</h2>
{% endif %}
{% if entry.type == "p" %}
<p>{{ entry.content }}</p>
{% endif %}
{% if entry.type == "name" %}
<div class="code-block-container">
<pre><code>
{{ entry.content }}
</code></pre>
</div>
<div style="background-color: #f5f5f5; padding: 10px; border-radius: 4px;">
<p>{{ entry.name }}: {{ entry.docString }}</p>
<details class="code-block-container">
<summary>Show Lean code:</summary>
<pre style="background: none; margin: 0;"><code class="language-lean">{{ entry.declString }}</code></pre>
</details>
</div>
{% endif %}
{% if entry.type == "remark" %}
<p><i>Remark:</i>
{{ entry.content|markdownify }}
</p>
<p><i>Remark:</i>{{ entry.content|markdownify }}
</p>
{% endif %}
{% endfor %}