Jun 26

I don’t try this tips yet, but I know that someday I will adding a new file style on my TeX. I found this site in bahasa that explain how to add a file style (.sty) on LaTeX.

In LyX, my .sty files are in folder :
/usr/local/teTeX/share/texmf.tetex/tex/latex

Here is the steps: (just in case those page not exist anymore, I will rewrote here)
Continue reading »

Jun 26

Bullet in Lyx
I get bored with the default bullets style. I found out there are many other styles we can choose for our bullets. From Lyx, just go to menu Documents – Settings…, and choose the Bullets section.

If you don’t use LyX, here the TeX code, dont forget to usepackage pifont.sty to make this code work on your documents :
\renewcommand{\labelitemi}{\ding{43}}

or, if you only want to change one list (not for the whole document), try this one:
Continue reading »

Jun 26

I have too many tables, figures and equation in my document. The default caption numbering is always increasing (so if I have 100 figures, then I would have caption Figures – 100). I want to restart numbering for each section so I can recognize which section the figures belong to.

Here how I change it.

In Latex Preamble (Or from LyX go to menu Document – Settings.. in tab Latex Preamble)

\renewcommand{\thefigure}{\thesection-\arabic{figure}}
\renewcommand{\thetable}{\arabic{section}.\arabic{table} }
\renewcommand{\theequation}{\thesection-\arabic{equation}}

Continue reading »

Jun 25

I learn to write documentation with LyX and LaTeX recently. I will write some notes here to remind me of what I have learned. I will add some document example later on.

To make comment:
Continue reading »