mirror of
https://github.com/kenryuS/report-temp.git
synced 2026-06-15 00:36:13 +09:00
added vim abbrevs and detailed-title
This commit is contained in:
@@ -0,0 +1,34 @@
|
|||||||
|
\NeedsTeXFormat{LaTeX2e}
|
||||||
|
\ProvidesPackage{detailedTitle}
|
||||||
|
|
||||||
|
\usepackage{tex/coms}
|
||||||
|
|
||||||
|
\newcommand{\detailedtitle}{
|
||||||
|
\begin{titlepage}
|
||||||
|
\thispagestyle{empty}
|
||||||
|
\begin{center}
|
||||||
|
\Huge
|
||||||
|
{\@title}
|
||||||
|
|
||||||
|
\vspace{0.5cm}
|
||||||
|
\large
|
||||||
|
{\@department : \@subject}
|
||||||
|
|
||||||
|
{担当教員:\@professor}
|
||||||
|
|
||||||
|
\vspace{0.5cm}
|
||||||
|
|
||||||
|
{\@author}
|
||||||
|
|
||||||
|
{(学籍番号:{\@studentid} 名列番号:{\@seatingnum})}
|
||||||
|
|
||||||
|
\vfill
|
||||||
|
|
||||||
|
{提出日:\@turninyear \@turninmonth \@turninday}
|
||||||
|
|
||||||
|
{\@year \@month \@day}
|
||||||
|
|
||||||
|
\vspace{0.25cm}
|
||||||
|
\end{center}
|
||||||
|
\end{titlepage}
|
||||||
|
}
|
||||||
|
|||||||
@@ -12,16 +12,8 @@
|
|||||||
|
|
||||||
\vspace{0.5cm}
|
\vspace{0.5cm}
|
||||||
\large
|
\large
|
||||||
{\@department : \@subject}
|
|
||||||
|
|
||||||
{担当教員:\@professor}
|
|
||||||
|
|
||||||
\vspace{0.5cm}
|
|
||||||
|
|
||||||
{\@author}
|
{\@author}
|
||||||
|
|
||||||
{(学籍番号:{\@studentid} 名列番号:{\@seatingnum})}
|
|
||||||
|
|
||||||
\vfill
|
\vfill
|
||||||
|
|
||||||
{提出日:\@turninyear \@turninmonth \@turninday}
|
{提出日:\@turninyear \@turninmonth \@turninday}
|
||||||
|
|||||||
@@ -0,0 +1,10 @@
|
|||||||
|
augroup latex_generic_envs_abbr
|
||||||
|
iabbrev <buffer> emptyenv <Esc>i\begin{}<CR><CR>\end{}<Esc>k
|
||||||
|
iabbrev <buffer> ugather <Esc>i\begin{gather*}<CR><CR>\end{gather*}<Esc>k
|
||||||
|
iabbrev <buffer> uequi <Esc>i\begin{equation*}<CR><CR>\end{equation*}<Esc>k
|
||||||
|
iabbrev <buffer> equi <Esc>i\begin{equation}<CR><CR>\end{equation}<Esc>k
|
||||||
|
iabbrev <buffer> centerenv <Esc>i\begin{center}<CR><CR>\end{center}<Esc>k
|
||||||
|
iabbrev <buffer> codelsenv <Esc>i\begin{lstlisting}[language=.,title={.}]<CR><CR>\end{lstlisting}<Esc>2k0f.vc
|
||||||
|
iabbrev <buffer> itemenv <Esc>i\begin{itemize}<CR><CR>\end{itemize}<Esc>k
|
||||||
|
iabbrev <buffer> enumenv <Esc>i\begin{enumerate}<CR><CR>\end{enumerate}<Esc>k
|
||||||
|
augroup END
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
augroup latex_generic_abbr
|
||||||
|
iabbrev <buffer> trm <Esc>a\textrm{}<Esc><Left>a
|
||||||
|
iabbrev <buffer> ttt <Esc>a\texttt{}<Esc><Left>a
|
||||||
|
iabbrev <buffer> tbf <Esc>a\textbf{}<Esc><Left>a
|
||||||
|
iabbrev <buffer> tit <Esc>a\textit{}<Esc><Left>a
|
||||||
|
iabbrev <buffer> inm <Esc>a$$<Esc><Left>a
|
||||||
|
iabbrev <buffer> simpletexbang <Esc>a\documentclass[xelatex,a4paper,11pt,ja=standard]{bxjsarticle}<CR><CR>\usepackage{tex/preamble}<CR>\usepackage{tex/simple-title}<CR>\usepackage{tex/report-paper}<CR><CR>\reporttitle{}<CR>\reportauthor{}<CR>\reportdate{}{}{}<CR>\turnindate{}{}{}<CR><CR>\begin{document}<CR><Tab>\simpletitle<CR>\end{document}<Esc>gg6jf{a
|
||||||
|
iabbrev <buffer> detailedtexbang <Esc>a\documentclass[xelatex,a4paper,11pt,ja=standard]{bxjsarticle}<CR><CR>\usepackage{tex/preamble}<CR>\usepackage{tex/detailed-title}<CR>\usepackage{tex/report-paper}<CR><CR>\reporttitle{}<CR>\reportauthor{}<CR>\reportdate{}{}{}<CR>\turnindate{}{}{}<CR>\schoolname{}<CR>\department{}<CR>\subject{}<CR>\professor{}<CR>\studentid{}<CR>\seatingnum{}<CR><CR>\begin{document}<CR><Tab>\detailedtitle<CR>\end{document}<Esc>gg6jf{a
|
||||||
|
augroup END
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
augroup latex_info_procs_abbr
|
||||||
|
iabbrev <buffer> cas <Esc>i\section{.}<CR><CR><CR><CR>\lstinputlisting[language=C,title={.}]{.}<CR><CR>\subsection{実行結果}<CR><CR>\begin{center}<CR><Tab>\includegraphics[width=12cm]{.}<CR>\end{center}<ESC>10k0f.vc
|
||||||
|
augroup END
|
||||||
Reference in New Issue
Block a user