LaTeX: set indent space
\parindent=10pt
Change indents as default : write \parindent=(some)pt to the preamble.
YaTeX; change fill var
/usr/share/emacs/site-lisp/yatex/yatex.el
locate
(defvar YaTeX-fill-column 72
then reset 72 to which you want to set
rename /usr/share/emacs22/site-lisp/yatex/yatex.elc to yatex.elcold
M-x byte-compile /usr/share/emacs/site-lisp/yatex/yatex.el
making tables for LaTeX
make a table with openoffice calc.
copy the table.
paste it to opanoffice draw.
save it as odg.
save the table as eps with checking area select.
old version
http://myunko.wordpress.com/2008/02/19/latex-making-tableslatex-making-tables/
LaTeX; change section font size
# gedit newsec.sty
\def\section{\@startsection {section}{1}{\z@}{-3.5ex plus -1ex minus
-.2ex}{2.3ex plus .2ex}{\large\bf}}
preamble
\usepackage{newsec}
Ubuntu; Adopt LaTeX .sty files
#sudo mkdir /usr/share/texmf/tex/latex/misc
put .sty to misc directory.
#sudo mktexlsr
LaTeX pdf landscape memo
\documentclass[30pt,landscape,papersize]{jsarticle}
\renewcommand{\familydefault}{\sfdefault}
\renewcommand{\kanjifamilydefault}{\gtdefault}
\pagestyle{empty}
\usepackage[dvipdfm]{graphicx,color}
\pagecolor[rgb]{0,0,0.5}
LaTeX Background & Character color
\usepackage[dvips]{color}
background color
\pagecolor{colorname}
colorname, for example, red, blue, etc.
character color
\color{colorname}
This settings are useful for pdf presentations.
LaTeX; Making Tables
\begin{table} … \end{table} <- difficult
table.eps <- easy
- Openoffice Spreadsheet; Make a table
- Select the table -> Copy it
- GIMP -> Paste It
- output -> .eps
Paste the table to .tex as an eps file .
LaTeX; Insert pictures
GIMP
output -> eps
.tex; preamble
\usepackage[dvips]{graphicx}
.tex
\begin{figure}[h]
\begin{center}
\includegraphics[width=**cm,keepaspectratio,clip]{filename.eps}
\end{center}
\caption{filename}
\end{figure}
LaTeX extensible package for emacs or other
Default Ubuntu don’t have LaTeX helper, as YaTeX, AUCTeX.
Install it.
Other choice -> Winefish
September 22, 2008
September 4, 2008
August 17, 2008