Showing posts with label LaTeX. Show all posts
Showing posts with label LaTeX. Show all posts

Saturday, February 27, 2010

YaTeX command list

 コンパイル、プレビュー、印刷 (C-c t)
C-c t j コンパイル(platex)
rコンパイル(領域指定)
kコンパイル中断
bjbibtex
 pプレビュー(xvdi)
l印刷(lpr)
s
※印刷環境の整備ができていないため、現在直接印刷はできません
 入力補完
(La)TeXでは多くの環境が提供されるため、すべてのキーバインドを一度に覚えることはできないため、コマンド一覧を表記するコマンドを示す。
C-c aアクセント補完
b SPCbegin型補完
B SPCbegin型補完(領域指定)
b 環境の頭文字begin型補完(即時)
B 環境の頭文字begin型補完(即時・領域指定)
eend補完
llarge型補完
Llarge型補完(領域指定)
mmaketitle補完
ssection型補完
Ssection型補完(領域指定)
SPC随時補完
;数式記号イメージ補完
(数式環境内で)
:ギリシャ文字イメージ補完
(数式環境内で)
 カーソルジャンプ
C-c ’ コンパイルエラー個所へ
g対応するオブジェクト
4g別ウィンドウで対応するオブジェクトへ
^メインファイルへ
4^別ウィンドウでメインファイルへ
ESCC-a環境の先頭
ESCC-e環境の末尾
ESCC-h環境全体をマーク
 コメントアウト
C-c>領域/環境のコメントアウト
<領域/環境のコメント解除
.段落/環境宣言コメントアウト
,段落/環境宣言コメント解除
 その他
C-ci itemの桁揃え
cLaTeXコマンド変更
kコマンドの削除
)領域を()で括る
}領域を{}で括る
$領域を$$で括る
wモードの切り替え
%%#記法の編集
&tabular/array桁位置表示
?オンラインヘルプ
/オンラインapropos 
dインクルード構造ブラウズ
ESCRETおまかせ改行
tabular,array,itemize,enumerate,list,descriptionで
 
information from 
http://www.yuge.ac.jp/home/~nagao/teaching/LaTeX/yatex.html

ArabTeX testing the first code

ArabTeX is a package for LaTeX to write beautiful arabic letters.
In codes, no Arabic characters are used.

\documentclass[a4]{article}
\usepackage{arabtex}
\begin{document}
\setarab
\fullvocalize
\transtrue
\arabtrue
\begin{RLtext}
bismi al-ll ahi al-rra.hm_ani al-rra.hImi
\end{RLtext}
\end{document}


LaTeX compile and producing PDF file

$latex xxx.tex
$dvipdf xxx.dvi

Wednesday, February 24, 2010

YaTeX set up

YaTeX is a major mode of Emacs for editing LaTeX.  It enables completions by typing the Tab key.

download from
http://www.yatex.org/

and untar by
tar xvzf xxx.tar

 move the folder to where the path is reachable.

in .emacs
-------------------------------------------------------------

(setq auto-mode-alist
      (cons (cons "\\.tex$" 'yatex-mode) auto-mode-alist))
(autoload 'yatex-mode "yatex" "Yet Another LaTeX mode" t)
-------------------------------------------------------------
will do.