Newer
Older
2024-Tsubasa / resume / latex_sample / howtouse.tex
@Tsubasa Tsubasa on 20 Nov 2023 1 KB add
\documentclass[a4j]{jarticle}
% -*- coding: utf-8 -*-
\addtolength{\topmargin}{-1cm}
\addtolength{\textheight}{2cm}
\addtolength{\textwidth}{2cm}
\addtolength{\oddsidemargin}{-1cm}
\addtolength{\evensidemargin}{-1cm}
\usepackage[dvipdfmx]{graphicx}
\usepackage{url}
\usepackage{ascmac}

\pagestyle{empty}

%% タイトル %%
\title{latexの使い方}

%% 著者 %%
\author{公益太郎}

\date{2023年}
\begin{document}
\twocolumn[
  \maketitle
  \begin{center}
    {\bfseries 概要}
  \end{center}
研究の概要説明をする。
  \vspace*{2em}
]
\thispagestyle{empty}
\section{見出し1}
\subsection{見出し2}
\subsubsection{見出し3}

\section{箇条書き}
\begin{itemize}
\item 箇条書き

  文章を書く場合は一行開ける。
\item 箇条書き
\item  箇条書き
\end{itemize}
\begin{enumerate}
\item 箇条書き(番号付き)

  文章を書く場合は一行開ける。
\item 箇条書き(番号付き)
\item 箇条書き(番号付き)
\end{enumerate}

\section{画像の挿入}
hogehogeとなる(図.\ref{figure:image})。
\begin{figure}[htb]
  \centering
  \includegraphics[width=7cm]{image.pdf}
  \caption{画像の例}
  \label{figure:image}
\end{figure}

\section{ソースコードの載せ方}
\begin{itembox}[l]{hallo,World}
  \scriptsize
\begin{verbatim}
#!/usr/bin/env ruby
#-*- coding:utf-8 -*-

print("hallo,World!")
\end{verbatim}
\end{itembox}
\section{参考文献の引用}
hogehogeは,hogehogeと述べている\cite{SIST02}。
\begin{thebibliography}{99}
\bibitem{SIST02} 科学技術振興機構. 参考文献の役割と書き方.
  SIST 02/05/06 2007年版. 独立行政法人 科学技術振興機構. 2007年.
  p.9-15
\bibitem{Latex} 目で学ぶネット. “LaTeXコマンド一覧(リスト)"
  \url{https://medemanabu.net/latex/abstract/}, (参照 2022-01-01).
\end{thebibliography}
\end{document}