[기타] LaTeX 사용법
학회논문을 overleaf로 작성하는데, 초행길이라 그런지 feature들이 익숙하지가 않아 메모..
Inline 수식
텍스트 안에다가 수식을 입력 하는 인라인 수식 방법
예시 :
Gammatone filterbank의 impulse response는 $\gamma(t) = At^{p-1}e^{-2\pi bt}\cos{(2\pi f_ct+\phi)}$ 이다.
결과 :
Gammatone filterbank의 impulse response는 $\gamma(t) = At^{p-1}e^{-2\pi bt}\cos{(2\pi f_ct+\phi)}$ 이다.
Whole line 수식
하나의 줄에 수식 입력하는 방법
예시 :
\begin{equation}
\gamma(t) = At^{p-1}e^{-2\pi bt}\cos{(2\pi f_ct+\phi)}
\end{equation}
결과 :
\[\gamma(t) = At^{p-1}e^{-2\pi bt}\cos{(2\pi f_ct+\phi)}\]이 외 LaTeX 수식 입력 하는 법
수식 입력 까먹을 때마다 찾아가서 보는 오아시스 같은 존재..
한꺼번에 주석처리 하는 방법
%로 일일이 주석처리하기 귀찮을 때
맨위에 verbatim
패키지를 인스톨 해준 후 다음과 같이 사용하면 된다.
\usepackage{verbatim}
\begin{comment}
% 주석달고
% 싶은
% 내용들
\end{comment}
그림 나란히
2 column 논문에서 한 컬럼에 두 개의 그림을 비교하기 위해 나란히 놓고 싶을 때
\begin{figure}
\centering
\begin{subfigure}[b]{0.23\textwidth}
\centering
\includegraphics[width=\textwidth]{이미지1}
\caption{이미지 1 그림입니다.}
\label{fig:image1}
\end{subfigure}
\hfill
\begin{subfigure}[b]{0.239\textwidth}
\centering
\includegraphics[width=\textwidth]{이미지2}
\caption{이미지 2 그림입니다.}
\label{fig:image2}
\end{subfigure}
\caption{이미지 1과 이미지 2 그림 비교}
\label{fig:cmp}
\end{figure}
Leave a comment