AsciiDoc Tips

はじめに

時々必要になるが、その時には多分忘れているであろう知識を書き残しておく。

テーブルのタイトルを中央寄せする

ドキュメント・ヘッダの後に下記のブロックを置くとよい。

[pass]
++++
<style type="text/css">
table.tableblock.fit-content>caption.title {
    width: auto;
    text-align: center; /* force center alignment */
    font-style: normal /* roman type */
}
</style>
++++

具体例:My AsciiDoc template

example

数式と画像を使う例:2024-12-22T1239_adoc_ex_impedance_of_biased_diff_input.zip

コメントを残す