Skip to content

Instantly share code, notes, and snippets.

@genya0407
Created October 12, 2018 11:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save genya0407/2b47c03df1c7e5972b4eb0533893259e to your computer and use it in GitHub Desktop.
Save genya0407/2b47c03df1c7e5972b4eb0533893259e to your computer and use it in GitHub Desktop.
\documentclass[uplatex,11pt]{jsarticle}
\usepackage[dvipdfmx]{graphicx}
\usepackage{comment}
\usepackage{amsmath, amssymb}
\usepackage{wrapfig}
\usepackage{fancybox}
\usepackage{ascmac}
\usepackage{subfig}
\setlength\floatsep{5pt}
\setlength\textfloatsep{5pt}
\setlength\intextsep{5pt}
\setlength\abovecaptionskip{0pt}
\newcommand{\fg}[3]{ % \fg{label}{path}{caption},
\begin{figure}[b]
\begin{center}
\includegraphics[width=\textwidth]{#2}
\caption{#3}
\label{fg_#1}
\end{center}
\end{figure}
}
\newcommand{\dummyfig}[2]{ %\dummyfig{label}{caption}
\begin{figure}
\begin{center}
\begin{shadebox}
手書きの図のため、巻末に添付
\end{shadebox}
\caption{#2}
\label{fg_#1}
\end{center}
\end{figure}
}
\newcommand{\cir}[3]{ % \cir{label}{path}{caption},
\begin{figure}
\begin{center}
\includegraphics[width=0.85\textwidth]{#2}
\caption{#3}
\label{fg_#1}
\end{center}
\end{figure}
}
\newcommand{\subtabs}[2]{
\input{|"ruby ./convert_csv.rb #1 1 '#2'"}
}
\newcommand{\tab}[4]{ % \tab{label}{csv-path}{caption}{分割数}
\begin{table}[htb]
\centering
\caption{#3}
\input{|"ruby ./convert_csv.rb #2 #4"}
\label{tab_#1}
\end{table}
}
\newcommand{\fr}[1]{図\ref{fg_#1}}
\newcommand{\tr}[1]{表\ref{tab_#1}}
\newcommand{\er}[1]{式(\ref{#1})}
\begin{document}
\section{目的}
単スリットによるレーザー光回折を行い、その回折光強度分布を調べる。
また、偏光フィルタを用いてレーザー光の直線偏光を調べる。
\section{データ}
\subsection{レーザー光回折}
実験結果は\tr{data1}の通りである。
\tab{data1}{./csv/data1.csv}{y軸方向の回折光強度分布}{4}
また、\tr{data1}をグラフに描いたのが\fr{data1-1}、\fr{data1-2}である。
\fg{data1-1}{graph/data1_1.png}{y軸方向の回折光強度分布(全データ)}
\fg{data1-2}{graph/data1_2.png}{y軸方向の回折光強度分布(2次明線移行を拡大したもの)}
\subsection{レーザー光の直線偏光}
実験結果は\tr{data2}の通りである。
\tab{data2}{./csv/data2.csv}{偏光フィルタの角度に対するレーザー光の強度分布}{2}
\section{課題}
\subsection{レーザー光回折}
\subsubsection{スリット幅の決定}
\subsubsection{プロファイル比較}
\subsection{レーザー光の直線偏光}
\section{結論}
\end{document}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment