Skip to content

Instantly share code, notes, and snippets.

@sekika
Created November 22, 2015 16:25
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 sekika/34cad1547e92a62a4a1b to your computer and use it in GitHub Desktop.
Save sekika/34cad1547e92a62a4a1b to your computer and use it in GitHub Desktop.
サンプル TeX ファイル
\documentclass[11pt, a4j, titlepage]{jsarticle}
\usepackage[dvipdfmx]{graphicx}
\usepackage[dvipdfmx]{hyperref}
\usepackage{amssymb, amsmath}
\usepackage{enumitem}
\usepackage{numprint}
\usepackage{siunitx}
\usepackage{ascmac}
\begin{document}
\title{サンプル \TeX ファイル}
\author{関 勝寿}
\maketitle
\section{数式}
\href{https://ja.wikipedia.org/wiki/%E3%83%AA%E3%83%81%E3%83%A3%E3%83%BC%E3%82%BA%E5%BC%8F}{リチャーズ式}を書きます。
\begin{align}
\frac{\partial \theta}{\partial t}= \frac{\partial}{\partial z}
\left[ K(\theta) \left (\frac{\partial \psi}{\partial z} + 1 \right) \right]\
\end{align}
\section{パッケージ}
いくつかのパッケージと使用例です。
enumitem パッケージ
\begin{enumerate}
\item hyperref パッケージ: \url{http://sekika.github.io/tags/tex/}
\item numprint パッケージ: \numprint{1234567e-89}
\item siunitx パッケージ: \si{kg.m.s^{-1}}, \si{\degreeCelsius}
\end{enumerate}
ascmac パッケージ
\begin{screen}
\begin{verbatim}
platex sample.tex
pdffonts sample.pdf
\end{verbatim}
\end{screen}
\end{document}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment