情報リテラシ

担当教員:Defago, Xavier

情報リテラシ第二

演習3:基本プロジェクトの作成

設定(アカウントの新登録)

  1. Overleafのサイトに行く
  2. 必要であれば,言語の設定を帰る.(ページの左下の旗をクリックする)
  3. アカウントを作る.手法が2つ:
    1. 手法1:Googleアカウントと連続する
    2. 手法2:独自のアカウントを作る
  4. 登録手続きに従う
  5. ログイン情報を記録にする

プロジェクトを作成

  1. ログインする
  2. 新プロジェクトの作成「Create First Project」. 「空のプロジェクト」を選択する.
  3. 日本語対応の操作

内容を書く

  1. タイトル名を「\LaTeX 文書の見本」とする.
  2. 著者名を自分の名前にする.
  3. 「リコンパイル」を押してみる.
  4. \maketitle\section{Introduction}の間に
     \begin{abstract}
         This document illustrates some of the basic functionalities of \LaTeX{} when writing technical documents.
     \end{abstract}
    

    似た事を日本語で書いても構いません.

  5. 「リコンパイル」を押してみる.
  6. \usepackage[japanese]{babel}の前に%の記号を入れて,「リコンパイル」を押す. LaTeXでは%の同じ行の右にある文章は全て無視する(コメント扱い).
  7. \section{Introduction}の「Introduction」の代わりに「序論」と書き直す.
  8. 後は各ステップに「リコンパイル」をして,右に結果をみる.
  9. その下に,以下の文章を書く
     The \LaTeX{} environment is used \emph{extensively} in academia and research because of its very \textbf{strong} support for technical writing.
        
     It takes time to ``master'' \LaTeX{} and can be difficult to start.
     For this reason, it helps a lot to begin with a simple example that demonstrates some of the basic functionalities.
    
    • \emph(emphasize)と\textbf(text boldface)は書き方を帰る.
    • ``''は英語のコーテーションマークとなる.
    • 空行が段落を分ける.
  10. 新しい節(section)と記号付きのリストを作る.
     \section{Basic Functionalities in \LaTeX{}}
     \subsection{Lists}
     \LaTeX{} supports several types of lists, as illustrated below.
        
     \paragraph{Unordered lists.}
     These lists are called ``itemize'' in LaTeX{}, and they have the following characteristics:
     \begin{itemize}
     \item Order does not matter.
     \item Each item typically starts with a bullet.
     \item They can be nested:
         \begin{itemize}
         \item The symbol usually changes to hyphen when nested
         \end{itemize}
     \end{itemize}
    
    • \sectionは節を始まる.他:\section, \subsection, \subsubsection, \paragraph
    • \paragraphはタイトル付きの段落
    • \begin{...}\end{...}はLaTeXのenvironment(環境)を作る
    • itemize環境に\itemで記述を分ける
  11. 番号付きのリストを作る.続き:
    \paragraph{Ordered lists.}
    These lists are called ``enumerate'' in LaTeX{}, and they have the following characteristics:
    \begin{enumerate}
    \item Each item starts with a number.
    \item They are numbered automatically.
    \item They can be nested:
        \begin{enumerate}
        \item Typically, the numbering changes to letters.
        \end{enumerate}
    \end{enumerate}
    
  12. 数式モードを使ってみる.
    \subsection{Math mode}
        
    It is easy to write mathematics in \LaTeX{} documents. For instance, Greek letters: $\alpha$, $\beta$, $\gamma$, $\pi$, \ldots{} or in capital letters: $\Gamma$, $\Pi$, \ldots
        
    It is also possible to write formulas in the text, such as $\sqrt{256} = 16$ or $x_1 + x_2 + x_3$, or $(x+y)(x-y) = x^2 - y^2$.
        
    If you need bigger formula, you can use the display mode as follows:
    \[
    \sum_{n=1}^{\infty} \frac{1}{n^2} = \frac{\pi^2}{6}
    \]
    
    • $で挟んでいる文章は数式モードで認識される
    • \[\]は縦空間を利用した可視化する数式モード
    • ^が上付添字(例:冪乗),_が下付添字
    • \sum(和)で大きなシグマ
    • \frac{...}{...}(fraction)は分数を作る.左が分子,右が分母.
    • \ldots(low dots)は「…」を作る.
  13. 数式モードと相互参照の使い方
    Sometimes, equations must be numbered to be referenced in the text. For instance, consider Equation~\ref{eq:limit-for-e} below which expresses the constant $e$ as a limit.
    \begin{equation} \label{eq:limit-for-e}
    \lim_{n \rightarrow \infty} \left( 1+{1 \over n} \right)^n = e
    \end{equation}
    
    • equation環境だと,右に番号が付く
    • \label{...}である箇所に目印をつける
    • \ref{...}を目印名の番号に帰る(数式なら数式番号,図表なら図番号など).\pageref{...}だと目印のページ番号.
    • \left( \right)は内応に合わせて,大きさが変わる括弧を作る.
    • {... \over ...}も分数の書き方.左が分子,右が分母.
  14. 遊んでみる

つづく…