Jul 06

## Changing the label enumerator

I want to change my list enumerator style from 1, 2, 3 to be like (1), (2), (3) … in LyX. Here how I change it in Lyx:

In preamble Latex, add this line:
``` \usepackage{enumerate} \renewcommand{\labelenumi}{(\arabic{enumi})} ```

Jul 03

## Cross Referencing in TOC

I’ve been searching for a while, how to make my table of contents have a clickable links in my pdf output. Today I found out, it is very easy, and only need hyperref package. This package only works for pdf output (I tried to postscript output, and when it converted to pdf, the table of content didn’t have links)

Here is how to make it, add in Latex Preamble:
``` \usepackage {hyperref}```

Jun 26

## Adding File Style on LaTeX

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)

Jun 26

## Bullets Style

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:

Jun 26

## Numbering for Tables, Figures and Equation

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)