Last active
March 15, 2023 04:48
-
-
Save rkmathi/6941a5180b7554ab915d to your computer and use it in GitHub Desktop.
LuaLaTeX用テンプレ
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%%% /usr/texbin/lualatex jornal.tex | |
%%============================================================================= | |
% 雑誌会テンプレート (for LuaLaTeX) | |
%%============================================================================= | |
\documentclass[a4paper, 10pt]{ltjsarticle} | |
%%============================================================================= | |
% パッケージの読み込み | |
%%============================================================================= | |
\usepackage{amsmath,amssymb,amsfonts} % math | |
\usepackage{framed,graphicx,xcolor} | |
\usepackage{hyperref} | |
\usepackage[amsmath,amsthm,thmmarks]{ntheorem} | |
\usepackage{url} | |
\usepackage{times} % Times Font instead of Computer Modern | |
\usepackage[yu-osx]{luatexja-preset} % OSX & 游ゴシック | |
%%============================================================================= | |
% カウンタの設定 | |
%%============================================================================= | |
\setcounter{page}{1} % ページ番号の初期値 | |
%%============================================================================= | |
% マージン設定 | |
%%============================================================================= | |
\setlength{\oddsidemargin}{-.1in} % 奇数ページ左余白(設定値+1in) | |
\setlength{\evensidemargin}{-.1in} % 偶数ページ左余白(設定値+1in) | |
\setlength{\topmargin}{-4em} % 上余白(設定値+1in) | |
\setlength{\textwidth}{6.5in} % 本文部分の幅 | |
\setlength{\textheight}{10in} % 本文部分の高さ | |
%%============================================================================= | |
% ヘッダ・フッター | |
%%============================================================================= | |
\usepackage{fancyhdr} % ヘッダ・フッター用 | |
\pagestyle{fancy} | |
\cfoot{\thepage} % フッター中央 | |
\renewcommand{\headrulewidth}{0pt} % ヘッダの線の太さ:0ptで消える | |
\rhead{雑誌会 201X年 X月 X日 苗字 名前} % ヘッダの右側 | |
%%============================================================================= | |
% マクロ定義 | |
%%============================================================================= | |
% 数式環境下でボールドイタリック体にする | |
% ベクトルや行列に利用 | |
% 数式環境下でなくても利用できる | |
%\newcommand{\bi}[1]{\ensuremath{\boldsymbol{#1}}} | |
% | |
% 転置記号 | |
%\newcommand{\T}{\ensuremath{^{\text{T}}}} | |
% 図の参照 | |
\newcommand{\Zu}[1]{図\ref{fig:#1}} | |
% 表の参照 | |
\newcommand{\Hyou}[1]{表\ref{tb:#1}} | |
% 式の参照 | |
\newcommand{\Shiki}[1]{式\eqref{eq:#1}} | |
% タイトル | |
% タイトル,著者,出典の3つの引数をとる | |
\newcommand{\Title}[3]{ | |
\begin{center} | |
{\bf \large{#1}}\\ | |
#2\\ | |
出典: #3 | |
\end{center} | |
} | |
%%============================================================================= | |
% 文書本体 | |
%%============================================================================= | |
\begin{document} | |
% タイトルなど | |
\Title{論文のタイトル}{著者名}{出典(会議名などは正確に書く.発表年やページ番号も.)} | |
%\abstract{ | |
%概要. | |
%論文のabstractを訳して書く. | |
%内容は省略しない. | |
%} | |
% | |
%\noindent | |
%{\bf 選択した理由} | |
%\begin{itemize} | |
% \item 箇条書きでも構わない | |
%\end{itemize} | |
%% 本文 (article.tex) | |
\input{article} | |
\end{document} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%%% /usr/texbin/lualatex report.tex | |
%%============================================================================= | |
% 研究会テンプレート (for LuaLaTeX) | |
%%============================================================================= | |
\documentclass[a4paper, 10pt]{ltjsarticle} | |
%%============================================================================= | |
% パッケージの読み込み | |
%%============================================================================= | |
\usepackage{amsmath,amssymb,amsfonts} % math | |
\usepackage{framed,graphicx,xcolor} | |
\usepackage{hyperref} | |
\usepackage[amsmath,amsthm,thmmarks]{ntheorem} | |
\usepackage{url} | |
\usepackage{times} % Times Font instead of Computer Modern | |
\usepackage[yu-osx]{luatexja-preset} % OSX & 游ゴシック | |
%%============================================================================= | |
% カウンタの設定 | |
%%============================================================================= | |
\setcounter{page}{1} % ページ番号の初期値 | |
%%============================================================================= | |
% マージン設定 | |
%%============================================================================= | |
\setlength{\oddsidemargin}{-.1in} % 奇数ページ左余白(設定値+1in) | |
\setlength{\evensidemargin}{-.1in} % 偶数ページ左余白(設定値+1in) | |
\setlength{\topmargin}{-4em} % 上余白(設定値+1in) | |
\setlength{\textwidth}{6.5in} % 本文部分の幅 | |
\setlength{\textheight}{10in} % 本文部分の高さ | |
%%============================================================================= | |
% ヘッダ・フッター | |
%%============================================================================= | |
\usepackage{fancyhdr} % ヘッダ・フッター用 | |
\pagestyle{fancy} | |
\cfoot{\thepage} % フッター中央 | |
\renewcommand{\headrulewidth}{0pt} % ヘッダの線の太さ:0ptで消える | |
\rhead{研究会 201X年 X月 X日 苗字 名前} % ヘッダの右側 | |
%%============================================================================= | |
% マクロ定義 | |
%%============================================================================= | |
% 数式環境下でボールドイタリック体にする | |
% ベクトルや行列に利用 | |
% 数式環境下でなくても利用できる | |
%\newcommand{\bi}[1]{\ensuremath{\boldsymbol{#1}}} | |
% | |
% 転置記号 | |
%\newcommand{\T}{\ensuremath{^{\text{T}}}} | |
% 図の参照 | |
\newcommand{\Zu}[1]{図\ref{fig:#1}} | |
% 表の参照 | |
\newcommand{\Hyou}[1]{表\ref{tb:#1}} | |
% 式の参照 | |
\newcommand{\Shiki}[1]{式\eqref{eq:#1}} | |
% タイトル | |
% タイトル,著者,出典の3つの引数をとる | |
\newcommand{\Title}[3]{ | |
\begin{center} | |
{\bf \large{#1}}\\ | |
#2\\ | |
出典: #3 | |
\end{center} | |
} | |
%%============================================================================= | |
% 文書本体 | |
%%============================================================================= | |
\begin{document} | |
% タイトルなど | |
\Title{タイトル} | |
%% 本文 (article.tex) | |
\input{article} | |
\end{document} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment