Last active
April 25, 2020 11:04
-
-
Save Tdrj2716/bd247faedb9a595b75b215184ab01988 to your computer and use it in GitHub Desktop.
TeXのサンプル
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\begin{tikzpicture} | |
\draw[->,>=stealth,thick] (-2,0)--(3,0)node[above]{$x$}; %x軸 | |
\draw[->,>=stealth,thick] (0,-1)--(0,3)node[right]{$y$}; %y軸 | |
\draw (0,0)node[below right]{O}; %原点 | |
\draw[domain=-1.5:1.5] plot(\x,\x+1)node[below right]{$y=x+1$}; | |
\draw (-1,0)node[below]{-1}; | |
\draw (0,1)node[above left]{1}; | |
\end{tikzpicture} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass[a4paper,12pt,uplatex]{jsarticle} | |
\usepackage{amsmath,amsfonts} | |
\begin{document} | |
\title{初めての\LaTeX} | |
\author{Your Name} | |
\date{\today} | |
\maketitle | |
\section{数式の入力} | |
\subsection{オイラーの公式} | |
指数関数と三角関数の間には以下の関係式が成り立つ. ($i$は虚数単位) | |
\[ | |
\mathrm{e}^{i\theta} = \cos\theta + i\sin\theta | |
\] | |
\end{document} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass[a4paper,12pt,uplatex]{jsarticle} | |
\usepackage{amsfonts} | |
\usepackage[tone]{tipa} | |
\usepackage{tipx} | |
\begin{document} | |
\title{What is \LaTeX ?} | |
\author{R++} | |
\maketitle | |
PCでレポートを書く場合, Wordを使う人が多いと思います. ですがWordの場合はレイアウトが簡単に確認出来たり直感的な操作が出来る反面, 図の割り振りやフォントと段落の処理といった体裁を整えるために神経を使う場面が出てきます. 一方, \LaTeX | |
\footnote{初見では読み方に困ると思いますが, \TeX (後述)が | |
テフ/\textipa{\textprimstress tEx}/ 又は | |
テック/\textipa{\textprimstress tEk}/ と呼ばれるため, 一般には | |
ラテフ/\textipa{\textprimstress lA:tEx}/, | |
ラテック/\textipa{\textprimstress lA:tEk}/, | |
レイテック/\textipa{\textprimstress leitEk}/ と発音されます. | |
発音記号のような特殊な文字や記号であってもこのように綺麗に出力されます. そう, \LaTeX ならね.} | |
ではそのような打ち損じを気にせずに、今ご覧の美しい書式を維持しながらも, 書き手は執筆作業に集中することが出来るのです。\par | |
特筆すべき点として | |
\[ | |
\mathrm{e}^{i\theta} = \cos\theta + i\sin\theta | |
\] | |
このように数式の挿入が見栄え良く出来ること, 文献の引用や図表の挿入が綺麗に出来ることが挙げられます. 理系の学生なら\LaTeX は必須, と言われるのはこれらのことが所以でしょう. | |
\end{document} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment