Optional numbers in subsections
Add tags to sections
Fix figure function

- figure tag instead of div
- Add style file
Single ref() method