Takuya Miyashita
This site
Web
Start:
*雑多なメモ [#hedca0cf]
**はじめに [#eae3b75d]
全体的な話は[[Overleaf>https://www.overleaf.com?r=7883716...
研究室の先人のテンプレートを使用して論文を書くことが多い...
[[使ってはいけない LaTeX のコマンド・パッケージ・作法>htt...
**ドキュメント生成に必須なもの [#yf7b0555]
documentclass, begin{document}, end{document}は必須.~
基本形は下記のような感じ.
#codeprettify(lang-tex){{
\documentclass{jsarticle} % 和文は jsarticle, jsreport, ...
% preamble
\begin{document}
% body
\end{document}
}}
命令文の基本形は
#codeprettify(lang-tex){{
\命令文[オプション]{内容}
}}
その他頻繁に使用する表現は
#codeprettify(lang-tex){{
\begin{hogehoge}
\end{hogehoge}
}}
**マクロ [#md79c9af]
プリアンブルの部分に書いておく.
***newcommand [#u4309015]
#codeprettify(lang-tex){{
\newcommand{\コマンド名}{実行内容}
}}
ディレクトリ名を何回も直に記入したくなかったりするので
#codeprettify(lang-tex){{
\newcommand{\figdir}{path/of/directory_name} % \includegr...
\newcommand{\figdir}{path/of/directory\_name} % 本文中で...
}}
と書く.
**横書き(landscape) [#p0da236f]
dvipdfmx,日本式A4判の場合,
#codeprettify(lang-tex){{
\documentclass[dvipdfmx, a4j]{jsarticle}
\AtBeginDvi{\special{landscape} }
}}
にようにする.自分の環境では
#codeprettify{{
dvipdfmx -l hoeghoge.dvi
}}
のように -l オプションをつけなくても横向きのPDFになった.
End:
*雑多なメモ [#hedca0cf]
**はじめに [#eae3b75d]
全体的な話は[[Overleaf>https://www.overleaf.com?r=7883716...
研究室の先人のテンプレートを使用して論文を書くことが多い...
[[使ってはいけない LaTeX のコマンド・パッケージ・作法>htt...
**ドキュメント生成に必須なもの [#yf7b0555]
documentclass, begin{document}, end{document}は必須.~
基本形は下記のような感じ.
#codeprettify(lang-tex){{
\documentclass{jsarticle} % 和文は jsarticle, jsreport, ...
% preamble
\begin{document}
% body
\end{document}
}}
命令文の基本形は
#codeprettify(lang-tex){{
\命令文[オプション]{内容}
}}
その他頻繁に使用する表現は
#codeprettify(lang-tex){{
\begin{hogehoge}
\end{hogehoge}
}}
**マクロ [#md79c9af]
プリアンブルの部分に書いておく.
***newcommand [#u4309015]
#codeprettify(lang-tex){{
\newcommand{\コマンド名}{実行内容}
}}
ディレクトリ名を何回も直に記入したくなかったりするので
#codeprettify(lang-tex){{
\newcommand{\figdir}{path/of/directory_name} % \includegr...
\newcommand{\figdir}{path/of/directory\_name} % 本文中で...
}}
と書く.
**横書き(landscape) [#p0da236f]
dvipdfmx,日本式A4判の場合,
#codeprettify(lang-tex){{
\documentclass[dvipdfmx, a4j]{jsarticle}
\AtBeginDvi{\special{landscape} }
}}
にようにする.自分の環境では
#codeprettify{{
dvipdfmx -l hoeghoge.dvi
}}
のように -l オプションをつけなくても横向きのPDFになった.
Page:
Edit with a page name which already exists