「Typora」の版間の差分
Notion-MW タグ: 差し戻し済み |
Notion-MW タグ: 差し戻し済み |
||
20行目: | 20行目: | ||
最も汎用的なのが\labelとともに\tagで式の名前を指定するもので、上記の全ての設定で有効である。 | 最も汎用的なのが\labelとともに\tagで式の名前を指定するもので、上記の全ての設定で有効である。 | ||
< | <syntaxhighlight lang="python"> | ||
vb.net | |||
$$ | |||
a=b\label{expr1}\tag{*} | a=b\label{expr1}\tag{*} | ||
$$ | $$ | ||
reference : $\eqref{expr1}$</ | reference : $\eqref{expr1}$</syntaxhighlight> | ||
こうすると以下のように表示される。 | こうすると以下のように表示される。 | ||
31行目: | 34行目: | ||
auto numberingを利用するとこの\tagの部分をわざわざ書かなくて済むようになる。「Use AMS Numbering Rules」の場合、equationなど一部の環境に自動で番号が付加される。このとき\labelは\begin{equation}と\end{equation}の間に書く必要がある。実用的にはこれが最も使いやすい? | auto numberingを利用するとこの\tagの部分をわざわざ書かなくて済むようになる。「Use AMS Numbering Rules」の場合、equationなど一部の環境に自動で番号が付加される。このとき\labelは\begin{equation}と\end{equation}の間に書く必要がある。実用的にはこれが最も使いやすい? | ||
< | <syntaxhighlight lang="python"> | ||
vb.net | |||
$$ | |||
\begin{equation} | \begin{equation} | ||
a=b\label{expr2} | a=b\label{expr2} | ||
37行目: | 43行目: | ||
$$ | $$ | ||
reference : $\eqref{expr2}$</ | reference : $\eqref{expr2}$</syntaxhighlight> | ||
「Auto Numbering for All Math Equations」の場合はequation環境などがなくても全てのdisplay style数式ブロックに番号が付けられる。 | 「Auto Numbering for All Math Equations」の場合はequation環境などがなくても全てのdisplay style数式ブロックに番号が付けられる。 | ||
< | <syntaxhighlight lang="python"> | ||
vb.net | |||
$$ | |||
a=b\label{expr3} | a=b\label{expr3} | ||
$$ | $$ | ||
reference : $\eqref{expr3}$</ | reference : $\eqref{expr3}$</syntaxhighlight> | ||
ただしequation環境を使う場合は\labelを\begin{equation}と\end{equation}の間に書く必要がある模様(詳細不明)。 | ただしequation環境を使う場合は\labelを\begin{equation}と\end{equation}の間に書く必要がある模様(詳細不明)。 | ||
106行目: | 115行目: | ||
まず基本の行の高さは | まず基本の行の高さは | ||
< | <syntaxhighlight lang="python"> | ||
font-family: | |||
vb.net | |||
body { | |||
font-family: "TRIVFONT", "NazoMin", "NazoMin+", "Open Sans","Clear Sans", "Helvetica Neue", Helvetica, Arial, 'Segoe UI Emoji', sans-serif; | |||
color: rgb(51, 51, 51); | color: rgb(51, 51, 51); | ||
line-height: | line-height: <strong>1.3;</strong> | ||
}</ | }</syntaxhighlight> | ||
ここで変える。(もともとは1.6) | ここで変える。(もともとは1.6) | ||
次に段落間は | 次に段落間は | ||
< | <syntaxhighlight lang="python"> | ||
vb.net | |||
p, | |||
blockquote, | blockquote, | ||
ul, | ul, | ||
122行目: | 137行目: | ||
table{ | table{ | ||
margin: 0.8em 0; | margin: 0.8em 0; | ||
}</ | }</syntaxhighlight> | ||
や | や | ||
< | <syntaxhighlight lang="python"> | ||
vb.net | |||
h1, | |||
h2, | h2, | ||
h3, | h3, | ||
137行目: | 155行目: | ||
line-height: 1.4; | line-height: 1.4; | ||
cursor: text; | cursor: text; | ||
}</ | }</syntaxhighlight> | ||
となっているので、それぞれ | となっているので、それぞれ | ||
< | <syntaxhighlight lang="python"> | ||
vb.net | |||
p<strong>{ | |||
margin: 0.4em 0; | margin: 0.4em 0; | ||
} | }</strong> | ||
blockquote, | blockquote, | ||
ul, | ul, | ||
149行目: | 170行目: | ||
table{ | table{ | ||
margin: 0.8em 0; | margin: 0.8em 0; | ||
}</ | }</syntaxhighlight> | ||
< | <syntaxhighlight lang="python"> | ||
vb.net | |||
h1, | |||
h2, | h2, | ||
h3, | h3, | ||
157行目: | 181行目: | ||
h6 { | h6 { | ||
position: relative; | position: relative; | ||
margin-top: | margin-top: <strong>0.6rem</strong>; | ||
margin-bottom: | margin-bottom: <strong>0.6rem</strong>; | ||
font-weight: bold; | font-weight: bold; | ||
line-height: 1.4; | line-height: 1.4; | ||
cursor: text; | cursor: text; | ||
}</ | }</syntaxhighlight> | ||
と変更すると狭まる。 | と変更すると狭まる。 | ||