사용자 도구

사이트 도구


sphinx

차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

양쪽 이전 판이전 판
다음 판
이전 판
sphinx [2020/02/23 14:56] – [Table] rex8312sphinx [2024/03/23 02:38] (현재) – 바깥 편집 127.0.0.1
줄 204: 줄 204:
 <code rst> <code rst>
  
-본문 내용중에 [#]_ 을 삽입 +본문 내용중에 [#]_ 또는 [#something]_ 을 삽입
-본문 내용 끝+
  
 +본문 내용 끝에 삽입
 +
 +.. rubric:: Footnotes
 .. [#] 풋노트 1 .. [#] 풋노트 1
 +.. [#something] 풋노트 2
 +
 +----
 +
 +
 +citation은 footnote와 유사하지만, global하게 사용
 +
 +[Ref]_ , [ABC112]_
 +
 +.. [Ref] Reference
 +.. [ABC112] Abc 112
  
 </code> </code>
줄 389: 줄 402:
  
   * https://sublime-and-sphinx-guide.readthedocs.io/en/latest/tables.html   * https://sublime-and-sphinx-guide.readthedocs.io/en/latest/tables.html
 +
 +
 +**tabulate**
 +
 +<code python>
 +# conda install tabulate
 +
 +from tabulate import tabulate
 +table = [["Sun",696000,1989100000], ["Earth",6371,5973.6], ["Moon",1737,73.5], ["Mars",3390,641.85]]
 +print(tabulate(table, ["P", "L", "b"], 'rst'))
 +
 +# =====  ======  =============
 +# P                        b
 +# =====  ======  =============
 +# Sun    696000     1.9891e+09
 +# Earth    6371  5973.6
 +# Moon     1737    73.5
 +# Mars     3390   641.85
 +# =====  ======  =============
 +</code>
sphinx.1582469801.txt.gz · 마지막으로 수정됨: 2024/03/23 02:37 (바깥 편집)