Welcome to Casablanca's Forum
Bạn có muốn phản ứng với tin nhắn này? Vui lòng đăng ký diễn đàn trong một vài cú nhấp chuột hoặc đăng nhập để tiếp tục.

\setcounter{secnumdepth}{2} - Section numbering

Go down

\setcounter{secnumdepth}{2} - Section numbering Empty setcounter{secnumdepth}{2} - Section numbering

Bài gửi by Admin 25/2/2011, 12:42

\setcounter{secnumdepth}{2} : Hien list So thu thu + Ten danh muc con thu 2
\setcounter{secnumdepth}{0}: Chi hien ten danh muc con thu 2

Section numbering


http://en.wikibooks.org/wiki/LaTeX/Document_Structure#Section_numbering
Admin
Admin
Admin

Tổng số bài gửi : 2108
Points : 3774
Reputation : 0
Join date : 25/10/2009
Đến từ : https://casablanca.forumvi.com

https://casablanca.forumvi.com

Về Đầu Trang Go down

\setcounter{secnumdepth}{2} - Section numbering Empty Re: \setcounter{secnumdepth}{2} - Section numbering

Bài gửi by Admin 25/2/2011, 13:16


Em dùng \documentclass[...]{report} để viết document. Nó chỉ đánh số mục đến \subsection thôi. Ví dụ:

\section ---> 1.1
\subsection-> 1.1.1

Em muốn nó đánh đến \subsubsection (hoặc sâu hơn nữa đến \paragraph) thì phải làm thế nào ạ?

\setcounter{secnumdepth}{number}
trong đó number có thể đến 5 (tức là nó đánh số đến subparagraph).
Admin
Admin
Admin

Tổng số bài gửi : 2108
Points : 3774
Reputation : 0
Join date : 25/10/2009
Đến từ : https://casablanca.forumvi.com

https://casablanca.forumvi.com

Về Đầu Trang Go down

\setcounter{secnumdepth}{2} - Section numbering Empty Re: \setcounter{secnumdepth}{2} - Section numbering

Bài gửi by Admin 25/2/2011, 13:17

\tableofcontents
mà muốn nó hiển thị đến mức \subparagraph thì làm thế nào?

Bác dùng cái dòng này ngay trước \tableofcontents
\setcounter{tocdepth}{number}
Em tham khảo ở đây: http://web.image.ufl.edu/help/latex/toc.shtml
Admin
Admin
Admin

Tổng số bài gửi : 2108
Points : 3774
Reputation : 0
Join date : 25/10/2009
Đến từ : https://casablanca.forumvi.com

https://casablanca.forumvi.com

Về Đầu Trang Go down

\setcounter{secnumdepth}{2} - Section numbering Empty Re: \setcounter{secnumdepth}{2} - Section numbering

Bài gửi by Sponsored content


Sponsored content


Về Đầu Trang Go down

Về Đầu Trang


 
Permissions in this forum:
Bạn không có quyền trả lời bài viết