Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

图录表录 #116

Closed
hellobiek opened this issue Dec 12, 2012 · 3 comments
Closed

图录表录 #116

hellobiek opened this issue Dec 12, 2012 · 3 comments

Comments

@hellobiek
Copy link

就是显示的时候如何改成
由 i改成
图 i (i=1,2,....,n)

表i (i=1,2,...,n)

@huxuan
Copy link
Member

huxuan commented Dec 12, 2012

hi @hellobiek , I think this is only a customization for you own instead of a bug.
As far as I am concerned, I don't agree with such kind of customization.
\listoftables and \listoffigures just work very fine, it's globally recongnized pattern.
we shouldn't think it as another kind of Microsoft Word, which do can easily change in a WYSIWYG way, but it's not the fashion for LaTeX.

Anyway, there do exist some hacks to achieve what we want. For this problem, titletoc package which has been introduced in our cls do support this kind of customization.
To change the label style in \listoffigures, we can add following codes between \documentclass{} and \begin{document}:

\titlecontents{figure}[0em]{\vspace{0.1\baselineskip}\songti\zihao{-4}}
    {图\ \thecontentslabel\quad}{}
    {\hspace{.5em}\titlerule*[4pt]{$\cdot$}\contentspage}

To change the label style in \listoftables, we can simply change the first params figure to table and the in the second line of code snippet to .

For more information, you can refer to the titletoc package documentation. For ctex mirror, the url is http://www.ctex.org/documents/packages/layout/titlesec.pdf, there also exists a mirror in http://mirror.buaa.edu.cn (I can not access to it in my place currently) with almost the same relative path. You can't miss it.

@huxuan
Copy link
Member

huxuan commented Dec 14, 2012

@hellobiek hi, seems this issue received no update for two days.
Is the problem fixed for you or if there is any other opinions you want me to hear?

@hellobiek
Copy link
Author

OK,I have solved this problem .

I have closed the problem.

thank you!

2012/12/14 Sean Hu notifications@github.com

@hellobiek https://github.com/hellobiek hi, seems this issue received
no update for two days.
Is the problem fixed for you or if there is any other opinions you want me
to hear?


Reply to this email directly or view it on GitHubhttps://github.com//issues/116#issuecomment-11365610.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants