マガジンのカバー画像

LaTeX メモ

26
運営しているクリエイター

記事一覧

2024年4月13日 / LaTeX で、閉じカッコと指数の間のスペースが大きすぎるとき

LaTeX を使って数式を書いているとき、閉じカッコと指数の間のスペースが大きすぎるときがある…

mshkh_note
1か月前

LaTeX: 「/」は、\left, \right を使うと、状況に応じて伸びる(extensible)ことができる。例: \[ a \left/ \frac{1}{2} \right. \]

mshkh_note
1か月前

LaTeX: tabular環境ではfootnoteが使えない。疲れてもう頭を使いたくないので、footnote package と \makesavenoteenv{tabular} を使うことにした。 https://tex.stackexchange.com/questions/109467/footnote-in-tabular-environment

mshkh_note
1か月前

2024年3月21日 / LaTeX におけるピリオド

LaTeX でピリオドまわりの扱いをよく忘れるので、メモ。

mshkh_note
2か月前

LaTeX で double square brackets てどうやるんだっけと調べて、例によって stackexchange で見つけた、そうだ stmaryrd パッケージで \llbracket, \rrbracket だ https://tex.stackexchange.com/questions/107252/double-square-brackets

mshkh_note
6か月前

2023年11月16日 / LaTeX でルート記号を微調整したいとき

最初は note のつぶやきで書いていたのだが、140字では書けないので独立した note にした。 L…

mshkh_note
6か月前
1

\lefteqn は amsmath では eqnarray 環境だけではなく align とか flalign とかでも使えるよな https://tex.stackexchange.com/questions/5586/whats-a-replacement-for-lefteqn-in-the-align-environment

For non-CM calligraphic fonts, ¥usepackage{mathrsfs}. Usage: ¥mathscr{L}

mshkh_note
1年前

LaTeX で、Word にあるような、丸囲い文字を出したい時がある(①←こういうやつ。一部の環境では見えないかも)。私は ¥textcircled{¥scriptsize 1}} とかしていたが、TikZ を使った方が美しいかな https://tex.stackexchange.com/questions/7032/good-way-to-make-textcircled-numbers

mshkh_note
1年前

そうそう、=の上にdefを書く記号はしょっちゅう使うけど、いつもいまいちだと思ってた。\mathrel{\mkern-3mu} はなるほどねえ https://tex.stackexchange.com/questions/35404/is-there-a-wider-equal-sign

mshkh_note
1年前

LaTeX の表で、特定の線を太線にするには: 多少面倒 https://tex.stackexchange.com/questions/41758/how-can-i-reproduce-this-table-with-thick-lines あるいは The LaTeX Companion の第5章 "Tabular Material", 5.6.2 節(266ページ)を参照

mshkh_note
1年前

そうだそうだ、blkarray だ、tex stackexchange はほんと助かるわー LaTeX: Write elements above and right outside the matrix https://tex.stackexchange.com/questions/45475/write-elements-above-and-right-outside-the-matrix

mshkh_note
1年前

これ面白そう。メモ: Latexify — The Answer to Cleaning Code to be Reader-Friendly https://towardsdatascience.com/latexify-the-answer-to-cleaning-code-to-be-reader-friendly-ac11a9178bc5

mshkh_note
1年前

LaTeX の数式モード内で、数式を線で囲むには、amsmath の ¥boxed コマンドを使うか、¥fbox{$..$} というように数式モードをネストする(¥text みたいな感じで): https://tex.stackexchange.com/questions/215932/how-to-use-fbox-in-align-mode