Showing posts with label LaTex. Show all posts
Showing posts with label LaTex. Show all posts

Friday, February 22, 2013

Arial LaTeX

http://tex.stackexchange.com/questions/23957/how-to-set-font-to-arial-throughout-the-entire-document

Tuesday, October 9, 2012

Homework LaTeX Template I use


https://gist.github.com/1278588


http://tex.stackexchange.com/questions/31183/class-file-for-homework-assignments

Wednesday, August 1, 2012

Tuesday, June 19, 2012

Convert .gif to png under Linux

convert image.gif image.png

http://superuser.com/questions/71028/batch-converting-png-to-jpg-in-linux

Monday, May 28, 2012

How to install LaTeX/Packages/Extra Packages

http://en.wikibooks.org/wiki/LaTeX/Packages/Installing_Extra_Packages

1. Extract the files:
Run LaTeX on the .ins file. That is, open the file in your editor and process it as if it were a LaTeX document.

Or type : latex xxx.ins in terminal window.

2. Create the documentation
Run LaTeX on the .dtx file. You might need to run it twice or more. to get the cross-references right (just like any other LaTeX document). This will create a .dvi file of documentation explaining what the package is for and how to use it. If you prefer to create PDF then run pdfLaTeX instead. If you created a .idx as well, it means that the document contains an index, too. .glo (glossary) file has been produced. Run the following command instead:


makeindex -s gglo.ist -o name.gls name.glo


3. Install the files While the documentation is printing, move or copy the package files from your temporary directory to the right places in your TeX local installation directory tree, Packages installed by hand should always be placed in your "local" directory tree, not in the directory tree containing all the pre-installed packages.

Unix-type systems: Usually ~/texmf/ or ~/texmf-texlive

The "right place" sometimes causes confusion, especially if your TeX installation is old or does not conform to the TeX Directory Structure. For a TDS-conformant system, the "right place" for a LaTeX .sty file is suitably-named subdirectory of texmf/tex/latex/.

TDS?
http://www.tex.ac.uk/tex-archive/info/beginlatex/html/chapter5.html#TDS




4. Update your index Finally, run your TeX indexer program to update the package database.
texhash
mktexlsr
.....

This step is utterly essential, otherwise nothing will work.
http://theoval.cmp.uea.ac.uk/~nlct/latex/novices/installsty.html

Easy installatin/removal of a LaTeX package
http://askubuntu.com/questions/72803/easy-installation-removal-of-a-latex-package

Friday, April 20, 2012

Fixing problem during installing gummi spelling check

gtkspell need

No package 'gtk+-2.0' found solution:
http://ubuntuforums.org/showthread.php?t=1255480

libgtk2.0-dev 
fixed it

No package 'enchant' found solution:
Download enchant source
http://www.linuxfromscratch.org/blfs/view/cvs/general/enchant.html

Installation Method:
http://groups.google.com/group/pyenchant-users/browse_thread/thread/6be9036c488d37bb?pli=1

./configure
make
make install (maybe need sudo permission)

inttool installation (need intltool 0.35.0 or later)
./configure
make
make install

Thursday, February 23, 2012

How to include a bitmap file in LaTeX

http://www.tug.org/pipermail/texhax/2007-February/007805.html

Graphics(jpg) Inclusion:
http://mactex-wiki.tug.org/wiki/index.php?title=Graphics_inclusion

How to input a graphics to latex file
http://en.wikibooks.org/wiki/LaTeX/Importing_Graphics


\begin{figure}[htb]
\centering
\includegraphics[width=0.8\textwidth]{image.png}
\caption{Awesome Image}
\label{fig:awesome_image}
\end{figure}


Wednesday, December 21, 2011

Latex ! Undefined control sequence

A Guide To Latex (H Kopka, P Daly) 4Ed
P402 Appendix C. Error Messages

! Undefined control sequence.
l.3 The last words appear in \txetbf
{bold face}.
?
! Undefined control sequence, meaning that an unknown command name (control sequence) was the cause of the error. Next comes a pair of text lines, the first of which is prefixed with 1.3, meaning that the error occurred in 'line 3' of the input text. The error itself was encountered at the last symbol printed in the upper line. The lower line shows the continuation of the input line being processed when the error was found, here the words {bold face}. Before continuing, TEX waits for a reaction from the user, as indicated by the question mark in the last line of the message.


For my case:
! Undefined control sequence.
l.9 A random vector \underscore
                               {x}:

should be changed to \underline{x}
fixed


Monday, December 19, 2011

Sunday, December 18, 2011