L A TEX M1 E-mail : takigawa@atmos.rcast.u-tokyo.ac.jp 2016 4 19 L A TEX ( c ) 1 1 1.1................................................. 1 1.2................................................ 3 1.3............................................... 3 2 5 2.1 TEX.................................................... 5 2.2 L A TEX.................................................... 5 2.3 TEX.................................................. 6 2.4.................................................... 6 3 L A TEX (1) 7 3.1.................................................... 7 3.2............................................... 7 3.3..................................................... 8 3.4...................................................... 8 3.5.................................................... 9 3.6.................................................... 10 0
3.7....................................................... 10 4 L A TEX (2) 11 4.1.............................................. 11 4.2................................................. 11 4.3....................................................... 11 4.4................................................... 12 4.5....................................................... 13 4.6..................................................... 13 4.7....................................................... 14 4.8....................................................... 14 5 15 5.1........................................... 15 5.2..................................................... 16 5.3....................................................... 18 5.4..................................................... 18 5.5....................................................... 19 6 20 6.1.................................................... 20 6.2.................................................... 20 6.3...................................................... 21 6.4............................................. 21 6.5....................................................... 22 6.6................................................... 22 6.7................................................... 23 6.8.............................................. 23 6.9....................................................... 24 6.10 AMS-L A TEX................................................... 25 6.11....................................................... 26 7 27 7.1.................................................... 27 7.2............................................... 29 7.3...................................................... 30 7.4 EPS.......................................... 31 7.5....................................................... 32 8 33 9 34 9.1 Emacs YaTeX()............................................. 34 9.2 Windows Max OS X Emacs+YaTeX.................................. 35 9.3 L A TEX.............................................. 35 10 36 1
A 37 A.1 Emacs........................................... 37 A.2......................................... 38 0
1 1.1 Emacs \documentclass{jsarticle} \begin{document} {\TeX} \end{document} sample.tex (. ) tex platex sample.tex This is e-ptex, Version 3.1415926-p3.3-110825-2.4 (utf8.euc) (TeX Live 2012/Debian) restricted \write18 enabled. entering extended mode (./sample.tex platex2e <2006/11/10> (based on LaTeX2e <2011/06/27> patch level 0) Babel <v3.8m> and hyphenation patterns for english, dumylang, nohyphenation, pi nyin, thai, loaded. (/usr/share/texlive/texmf-dist/tex/platex/jsclasses/jsarticle.cls Document Class: jsarticle 2010/03/14 okumura ) No file sample.aux. [1] (./sample.aux) ) Output written on sample.dvi (1 page, 324 bytes). Transcript written on sample.log.? x ls sample.aux sample.dvi sample.log sample.tex sample.tex 3 sample.dvi xdvi sample.dvi 1 sample.dvi 210 sample.dvi 210 PostScript sample.dvi PostScript 1
dvips sample.dvi 1 xdvi This is pdvips(k) p1.7b Copyright 2010 ASCII MEDIA WORKS. (ptex-staff@ml.asciimw.jp) based on dvips(k) 5.98dev Copyright 2010 Radical Eye Software (www.radicaleye.com) TeX output 2016.04.17:1414 -> sample.ps </usr/share/texmf/dvipsj/base/tex.pro> </usr/share/texmf/dvipsj/base/texps.pro>. </usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmr10.pfb>[1] sample.ps ls gv sample.ps gv lp sample.ps PostScript PDF sample.dvi PDF dvipdfmx sample.dvi sample.dvi -> sample.pdf [1] 2162 bytes written sample.pdf Adobe Reader (evince sample.pdf gv ) 2
1.2 TEX platex.tex dvi dvipdfmx.dvi PDF V3 V3 1. Emacs tex \documentclass{jsarticle} \begin{document} \end{document} \begin{document}\end{document} ( 3 ) 2. () platex *.tex L A TEX *.dvi 3. xdvi *.dvi PostScript dvips *.dvi PDF dvipdfmx *.dvi O.K. 1.3 L A TEX sample.tex 2 \documentclass{jsarticle} \began{document} {\TeX} \end{document} 3
platex sample.tex This is e-ptex, Version 3.1415926-p3.3-110825-2.4 (utf8.euc) (TeX Live 2012/Debian) restricted \write18 enabled. entering extended mode (./sample.tex platex2e <2006/11/10> (based on LaTeX2e <2011/06/27> patch level 0) Babel <v3.8m> and hyphenation patterns for english, dumylang, nohyphenation, pi nyin, thai, loaded. (/usr/share/texlive/texmf-dist/tex/platex/jsclasses/jsarticle.cls Document Class: jsarticle 2010/03/14 okumura )! Undefined control sequence. <recently read> \began? l.2 \began {document} begin began l.2(2 ) x platex sample.tex x Enter x * (Please type a command or say \end) \end{document} 4
2 1 L A TEX 2.1 TEX TEX *1 Stanford Donald E. Knuth () TEX τ ϵ χ χ (typesetting) TEX TEX TEX *2 Windows MacintoshUNIX d Φ(t + δt) Φ(t) Φ(t) = lim = dt δt 0 δt S(t) ( ) B t ( U B) ds = 0 different finish different finish ff fi () TEX () Volcano Volcano o V 1 TEX 1 TEX 2.2 L A TEX TEX (primitive) TEX DEC(Digital Equipment Corporation) Leslie Lamport TEX L A TEX L A TEX TEX L A TEX HTML(HyperText Markup Languege) HTML <CENTER></CENTER> *1 TEX TeX e LATEX LaTeX KinKi Kids *2 TeXLive MacTeX 5
L A TEX \begin{center}\end{center} L A TEX 2.09 L A TEX L A TEX2.09 1993 L A TEX 2ε 2.3 TEX () TEX p(publishing ) platex L A TEX 2.4 L A TEX platex platex platex version e-ptex 3.1415926-p3.3-110825-2.4 (utf8.euc) (TeX Live 2012/Debian) (utf8.euc) UTF-8 *3 Emacs 2 2 U UTF-8 EUC-JP E EUC-JP UTF-8 Emacs Ctrl + x Enter f Coding system for saving file (default nil): utf-8 U nkf Google *3 UTF-8 EUC-JP UNIX 6
2 Emacs 3 L A TEX (1) 3.1 1.2 L A TEX \documentclass{jsarticle} \begin{document} \end{document} L A TEX \documentclass[]{} \begin{document} \end{document} 3.2 \documentclass {} jsarticle 7
jsbook report article report book articlereportbook jarticlejreportjbook jsarticlejsbook [] [] 10pt, 11pt, 12pt 10pt a4paper, b5paper, a5paper, letterpaper a4paper onecolumn 1 twocolumn 2 onecolumn landscape [], [] 3.3 \title{} \author{} \date{} \begin{document} \maketitle 3.4 L A TEX 1 1 L A TEX \part{} \chapter{} \section{} \subsection{} \subsubsection{} \paragraph{} \subparagraph{} (js)article 8
\section{} \subsection{} \subsection{} \section{} \subsection{} 1 1.1 1.2 2 2.1 \section{} \subsection{} \subsection{} \section{} \section{} \subsection{} 1 1.1 1.2 2 3 3.1 L A TEX 3.5 Enter TEX 40 20 ( Enter ) TEX : \\ 2 9
3.6 1 2 L A TEX 1998 Simple Peter held the mirror up to his face and Simple Peter held the mirror up to his face and peered into it. First he peered into it. First he turned one way, then turned one way, then he turned the he turned the 1 L A TEX it First 1 2 L A TEX \\ 5 6 ~~ Fill in the blank below:\\ So Peter ( ).\\ \\ So Peter ( \ \ \ \ \ \ \ \ \ \ \ ).\\ So Peter (~~~~~~~~~~~~).\\ Fill in the blank below: So Peter ( ). So Peter ( ). So Peter ( ). 3.7 /home2/takigawa/exercise/exercise1.tex - \title - \date - \section \subsection - 10
4 L A TEX (2) 4.1 \{} \ { } $ & # ^ _ ~ % 10 \^~\ 4.2 L A TEX L A TEX 2 2 L A TEX \{ { \aa å \l l \dag! \} } \AA Å \L L \ddag? \$ $ \ae æ \o ø \S \pounds \& & \AE Æ \O Ø \P \copyright c \# # \oe œ \ss ß \i ı \TeX TEX \_ \OE Œ \SS SS \j ȷ \LaTeX L A TEX \% % \LaTeXe L A TEX 2ε 4.3 L A TEX NHK NHK YKK YKK This This 3 \{} 3 She is my mother, but I am She is my mother, but I am not her daughter. \textbf{not} her daughter.\\ She is my mother, but I am She is my mother, but I am not her daughter. \textit{not} her daughter. 11
She is my brother, but I am \textbf{\textit{not}} her daughter. She is my mother, but I am not her daughter. 3 \textrm This is Roman. \textsf This is San Serif. \texttt This is Typewriter. \textmd This is Mediumface. \textbf This is Boldface. \textit This is Italic. \textsl This is Slanted. \textsc This is Small Caps. 4 \textmc 4 \textmc \textgt \textgt{} 4.4 {\ ()} 5 10 \normalsize 12
5 () \tiny \scriptsize \footnotesize \small \normalsize \large \Large \LARGE \huge \Huge {\tiny } {\scriptsize } {\footnotesize } {\small } {\normalsize } {\large } {\Large } {\LARGE } {\huge } {\Huge } 5 4.5 \footnote{} *4 4.6 % % % *4 13
4.7 Shift + 7 Shift + 2 Bob said, "This B is strange". Bob said, This B is strange. Shift + @ Shift + 7 2 1 2 Shift + 2 Bob said, This B is strange. Bob said, This B is strange. 4.8 exercise1.tex 14
5 \ \{} \maketitle \textbf{} - - \begin{} \end{} 5.1 3 6 6 flushleft center flushright 15
\begin{flushleft} \\ \end{flushleft} \begin{flushright} 28 4 18 \\ \end{flushright} \begin{center} \end{center} 100\% 28 4 18 100% \begin{flushright} \end{flushright} 5.2 L A TEX itemize enumerate 1, 2, 3, description description 3 \begin{} \item[] \end{} 16
itemize \begin{itemize} \item planet \item dwarf planet \begin{itemize} planet \item ex) dwarf planet \end{itemize} ex) \item small solar system bodies small solar system bodies \begin{itemize} \item \begin{itemize} ex) \item ex) \end{itemize} TNO \item \item TNO \item (IAU Resolution 5A) \end{itemize} \end{itemize} (IAU Resolution 5A) description \item \begin{description} \item[unix] \item[fortran] FORTRAN90 \item[] 1 \item[] \item[] \end{description} UNIX FORTRAN FORTRAN90 1 17
5.3 Aki and Richards [2002] A faulting \emph{aki and Richards} [2002] A faulting source is an event associated with an internal source is an event associated with an internal surface, such as slip across a fracture plane. A surface, such as slip across a fracture plane. volume source is an event associated with an A volume source is an event associated with an internal volume, such as a sudden (explosive) internal volume, such as a sudden (explosive) expansion throughout a volumetric source region. We shall find that a unified treatment expansion throughout a volumetric source region. We shall find that a unified treatment of both source type is possible,the common link of both source type is possible,the common being the concept of an internal surface across link being the concept of an internal surface which discontinuities can occur in displacemant across which discontinuities can occur in displacemant (for the faulting source) or in strain (for the faulting source) or in strain (for the volume source). (for the volume source). quote quotation quotation Aki and Richards [2002] \emph{aki and Richards} [2002] \begin{quote} A faulting source is an event associated with A faulting source is an event associated with an internal surface, such as slip an internal surface, such as slip across a across a fracture plane. A volume source fracture plane. A volume source is an event associated () surface across which is an event associated ( ) surface discontinuities can occur in displacemant across which discontinuities can occur in (for the faulting source) or in strain (for the displacemant (for the faulting source) or volume source). \end{quote} in strain (for the volume source). 5.4 L A TEX quote 18
Fortran program main implicit none integer ::i do i=1,100 write (*,*) Hello, World! end do Fortran program main implicit none integer ::i do i=1,100 write (*,*) Hello, World! end do stop end program main stop end program main verbatim verbatim L A TEX Fortran Fortran \begin{verbatim} program main implicit none integer ::i program main implicit none integer ::i do i=1,100 write (*,*) Hello, World! end do do i=1,100 end do write (*,*) Hello, World! stop end program main \end{verbatim}. stop end program main \verb + verbatim L A TEX tex tex verbatim... 5.5 /home2/takigawa/exercise/ exercise2.tex exercise2a.pdf pdf pdf itemize enumerate 19
6 TEX 6.1 $ $ $a+b$$ab$ a + b ab \[ \] *5 c = a b \[ c=a-b \] \[ c=a-b \] c = a b 6.2 L A TEX 2 $ a + ( - b ) = a - b $ \\ $a+(-b)=a-b$ a + ( b) = a b a + ( b) = a b b L A TEX 7 7 \, \: \; \ \quad 2 \qquad \! *5 $$...$$plaintex 20
\[ \int \int f(x,y) dx dy \] \[ \int \!\!\! \int f(x,y) \, dx \, dy \] f(x, y)dxdy f(x, y) dx dy 6.3 ^_ ^{} _{} 2 1 $x^2$2 $x^{22}$\\ $a_2$2 $a_{22}$\\ $x^22$$a_22$ x 2 2 x 22 a 2 2 a 22 x 2 2 a 2 2 6.4 () 8 8 \frac{}{} \sqrt{} sqrt{}{} \int_{}^{} \sum_{}^{} 8 $\frac{1}{2},\sum_{n=1}^{n}, \int_{0}^{1}$ \[ \frac{1}{2},\sum_{n=1}^{n},\int_{0}^{1} \] \displaystyle 1 2, N n=1, 1 0 1 N 2, 1, n=1 0 8 a/b 21
$\displaystyle \frac{1}{2}, \sum_{n=1}^{n},\int_{0}^{1}$ \\ $a/b$ 1 2, N 1, n=1 0 a/b 6.5 sin x $sinx$ sinx s i n x sin L A TEX 9 9 \arccos arccos \csc csc \ker ker \min min \arcsin arcsin \deg deg \lg lg \Pr Pr \arctan arctan \det det \lim lim \sec sec \arg arg \dim dim \liminf lim inf \sin sin \cos cos \exp exp \limsup lim sup \sinh sinh \cosh cosh \gcd gcd \ln ln \sup sup \cot cot \hom hom \log log \tan tan \coth coth \inf inf \max max \tanh tanh \[ \lim_{x\to 0} \frac{\sin x}{x} = 1 \] sin x lim x 0 x = 1 6.6 10 o(omicron) o() 11 12 11 10 () \alpha α \eta η \nu ν \tau τ \beta β \theta θ \xi ξ \upsilon υ \gamma γ \iota ι o o \phi ϕ \delta δ \kappa κ \pi π \chi χ \epsilon ϵ \lambda λ \rho ρ \psi ψ \zeta ζ \mu µ \sigma σ \omega ω 22
11 () \varepsilon ε \varpi ϖ \varsigma ς \vartheta ϑ \varrho ϱ \varphi φ 12 () \Gamma Γ \Lambda Λ \Sigma Σ \Psi Ψ \Delta \Xi Ξ \Upsilon Υ \Omega Ω \Theta Θ \Pi Π \Phi Φ \mathrm{a} 6.7 13 13 \le \pm ± \hbar ħ \leftarrow \ge \mp \Re R \Leftarrow \ll \times \Im I \longleftarrow \gg \div \imath ı \Longleftarrow = \in \ast \jmath ȷ \rightarrow \ni \star \ell l \Rightarrow \neq \cdot \partial \longrightarrow \equiv \circ \infty \Longrightarrow = \sim \bullet \nabla \leftrightarrow \subset \bigcirc \natural \Leftrightarrow \supset \vee \flat \longleftrightarrow \parallel \wedge \sharp \Longleftrightarrow 6.8 2 \[ 3 \times (2+5) = 21 \] \[ \frac{1}{2} \times ( \frac{4}{7} - \frac{5}{13} ) \neq \frac{19}{162} \] 3 (2 + 5) = 21 1 2 (4 7 5 13 ) 19 162 23
\left{} \right{} \[ \frac{1}{2} \times \left( \frac{4}{7} - \frac{5}{13} \right) = \frac{17}{182} \] ( 1 4 2 7 5 ) = 17 13 182 6.9 L A TEX array \begin{array}{} a 1,1 & & a 1,n \\. &... &. \\ a m,1 & & a m,n \end{array} 14 14 array l c r 24
\[ \begin{array}{cc} \cos x & -\sin x \\ \sin x & \cos x \end{array} \] \[ \begin{array}{ll} \cos x & -\sin x \\ \sin x & \cos x \end{array} \] cos x sin x cos x sin x sin x cos x sin x cos x 6.8 \[ \left( \begin{array}{cc} \cos x & -\sin x \\ \sin x & \cos x \end{array} \right) \] ( cos x ) sin x sin x cos x 6.10 AMS-L A TEX L A TEX AMS-L A TEX \usepackage{amsmath} \[ A = \begin{pmatrix} \cos x & -\sin x \\ \sin x & \cos x \end{pmatrix} \] ( ) cos x sin x A = sin x cos x 25
{\LaTeX} \[ \int \int f(x,y) dx dy \] \[ \int \!\!\! \int f(x,y) dx dy \] {\AmS-\LaTeX} \[ \iint f(x,y) dx dy \] L A TEX f(x, y)dxdy f(x, y)dxdy AMS-L A TEX f(x, y)dxdy 6.11 /home2/takigawa/exercise/exercise3.tex exercise3a.pdf - sin - - equation - eqnarray *6 *6 AMS-LATEX align 26
7 3 127 L A TEX 7.1 tabular \begin{tabular}{} a 1,1 & & a 1,n \\. &... &. \\ a m,1 & & a m,n \end{tabular} array array \begin{tabular}{lll} l & & Left \\ c & & Center \\ r & & Right \end{tabular} \begin{tabular}{ c c c } l & & Left \\ c & & Center \\ r & & Right \end{tabular} 15 l Left c Center r Right l Left c Center r Right 15 \hline \hline\hline \vline \cline{} \multicolumn{}{}{} \hline\hline\hline\vline 27
\begin{tabular}{lll}\hline\hline l & & Left \\ \hline l Left c & & Center\vline \\ c Center \hline\hline \end{tabular} \hline r & \vline & Right \\ r Right \vline \cline \begin{tabular}{lll}\hline\hline l & & Left \\ \cline{1-1} l Left c & & Center \\ c Center \hline\hline \end{tabular} \cline{2-3} r & & Right \\ r Right \multcolumn {} \begin{tabular}{ c c c }\hline \multicolumn{3}{ c }{} \\ \hline l & & Left \\ l Left \hline c & & Center \\ c Center \hline r Right r & & Right \\ \hline \end{tabular} \multcolumn {1} \begin{tabular}{ c c c c }\hline \multicolumn{3}{ l }{ } & \\ \cline{2-2} & & \multicolumn{2}{l }{} \\ \cline{4-4} \multicolumn{2}{ l }{} & \multicolumn{2}{l }{} \\ \cline{1-1} \multicolumn{1}{l }{} & & & \\ \cline{3-3} \multicolumn{2}{ l }{} & \multicolumn{2}{l }{} \\ \cline{1-2}\cline{4-4} \end{tabular} 28
1 0.8 0.6 0.4 0.2 0-0.2-0.4-0.6-0.8-1 -3-2 -1 0 1 2 3 1 0.8 0.6 0.4 0.2 0-0.2-0.4-0.6-0.8-1 sin(x) sin(x) -3-2 -1 0 1 2 3 7.2 () L A TEX gnuplot eps \usepackage[]{graphicx} graphicx dvipdfm *7 \includegraphics[]{} [ ] height= width= sin.eps 50mm 1 sin(x) 0.8 50mm \\ \includegraphics[width=50mm]{sin.eps}\\ $\sin x$ 0.6 0.4 0.2 0-0.2-0.4-0.6-0.8-1 -3-2 -1 0 1 2 3 sin x 20mm \\ \includegraphics[height=20mm]{sin.eps}\\ $\sin x$ 20mm sin x \\ \includegraphics[height=20mm,width=50mm] {sin.eps}\\ $\sin x$ sin x *7 platex dvi File dvipdfm.def not found. dvipdfmx 29
1 0.8 0.6 0.4 0.2 0-0.2-0.4-0.6-0.8-1 \verb+degree+ \\ \includegraphics[width=20mm,angle=90.0] {sin.eps}\\ $\sin x$ degree sin x sin(x) -3-2 -1 0 1 2 3 7.3 L A TEX (float) table figure L A TEX \begin{figure}[] \includegraphics[]{} \caption{} \label{} \end{figure} \begin{table}[] \caption{} \label{} \begin{tabular} () \end{tabular} \end{table} \includegraphics tabular 7.1 7.2 \begin{figure}\end{figure}\begin{tabular}\end{tabular} L A TEX 16 [htbp] 16 h t b p [tbp] 30
htbp \caption \caption \label{} *8 \ref{tab:float} \begin{table}[htbp] \begin{center} \caption{} \label{tab:float} \begin{tabular}{ll} () \end{tabular} \end{center} \end{table} \label{tab:float}\ref{tab:float} () \label \ref tab:float hyou \ref{} L A TEX \label{}\caption platex 2 (?? ) aux 7.4 EPS dvipdfm(x) EPS PDFPNGJPEG L A TEX sample.jpg \includegraphics[width=50mm,bb=0 0 640 480]{sample.jpg} TA eps Emacs 6 eps dvipdfm ebb ebb sample.jpg bb L A TEX L A TEX jpgpng bb *8 \begin{center}\centering 31
ebb *.{jpg or png} Imagemagick EPS EPS 7.5 /home2/takigawa/exercise/exercise4.tex poincare.eps exercise4.tex - - \label{poincare}\ref{poincare} (\label{chaos}\ref{chaos}) 32
8 TEX TEX t \frac{\partial}{\partial t} \def define \def\deln#1{\frac{\partial}{\partial {\mbox{$#1$}}}} \def \deln \deln #1 \deln (nothing) \def\riderkick#1 \\ $\deln{x}$\\ x \def \newcommand 33
9 L A TEX Emacs YaTeX 9.1 Emacs YaTeX().emacs less.emacs Emacs L A TEX YaTeX http://www.yatex.org/ SPC 9.1.1 begin Ctrl + C Ctrl + B SPC Begin environment(default document): Enter \begin{document} \end{document} \begin{} \end{} (equation ) Enter (equation E ) Tab section Ctrl + C Ctrl + S (C-v for view-section)???{}(default documentclass): large Ctrl + C Ctrl + L {??? }(default large): Enter {\large } { } \bigskip Ctrl + C SPC Tab : ; α β \frac{\partial \alpha}{\partial\beta} 34
; f Enter, ; 6 Enter, : a Enter, Enter, ; 6 Enter, : b Enter 9.1.2 itemizeenumerate,description \item \item[*] Esc + Enter *9 \item 9.1.3 L A TEX Ctrl + C Ctrl + T J)latex R)egion E)nv B)ibtex mk(i)dx latex+p(d)f K)ill P)review V)iewErr L)pr J LA TEX P xdvi D pdf 9.2 Windows Max OS X Emacs+YaTeX Windows GNU Emacs xyzzy KaTeX( ) Emacs+YaTeX http://www.jsdlab.co.jp/ kamei/ http://osuneko.at.infoseek.co.jp/xyzzy/xyzzy.html Mac OS X UNIX OS Emacs Cygwin MSYS2 UNIX Windows GNU Emacs 9.3 L A TEX Emacs+YaTeX Emacs L A TEX GUI () * 10 Emacs+YaTeX TeXStudio Lyx Lyx Word L A TEX *9 Alt + Enter *10 GUI() Xcode Visual Studio,Eclipse 35
10 /home2/takigawa/homework/homework.pdf TEX gnuplot ( ) /home2/takigawa/homework/ s (/s1726?? * 11 ).tex PDF 4 25 ()23:59(JST) (takigawa@atmos.rcast.u-tokyo.ac.jp) *11?? 2 36
A tex (210 edu utf-8 ) platex dvi A.1 Emacs 2.4 Ctrl + x Enter f UTF-8 Emacs EUC-JP.emacs Emacs.emacs ;; YaTeX-mode (setq auto-mode-alist (cons (cons "\\.tex$" yatex-mode) auto-mode-alist)) (setq dvi2-command "xdvi" tex-command "platex" dviprint-command-format "dvips %s -o!lpr -Pionia" YaTeX-kanji-code 3) YaTeX-kanji-code 3 YaTeX EUC-JP YaTeX-kanji-code 4 ;; YaTeX-mode (setq auto-mode-alist (cons (cons "\\.tex$" yatex-mode) auto-mode-alist)) (setq dvi2-command "xdvi" tex-command "platex" dviprint-command-format "dvips %s -o!lpr -Pionia" YaTeX-kanji-code 4) YaTeX UTF-8 Ctrl + x Enter r Emacs UTF-8 utf-8 yes.emacs 37
(set-default-coding-systems (set-terminal-coding-system (set-keyboard-coding-system utf-8) utf-8) utf-8) (set-buffer-file-coding-system utf-8) (set-clipboard-coding-system utf-8) (setq default-enable-multibyte-characters t) A.2 echo $LANG ja_jp.euc-jp EUC-JP ja_jp.utf8 UTF-8 UTF-8 export LANG=ja JP.utf8 EUC-JP.bashrc export LANG=ja_JP.EUC-JP LANG.bashrc EUC-JP # #export LANG=ja_JP.EUC-JP export LANG=ja_JP.utf8 UTF-8 source.bashrc 38