XinzeZhang / HUST-PhD-Thesis-Latex

华中科技大学博士毕业论文Latex模板
133 stars 31 forks source link

图片标题多行格式问题 #8

Open RainerTian opened 1 year ago

RainerTian commented 1 year ago

大佬,答辩的时候专家提出,图片题注两行也要居中对齐,另外现在每段缩进不是两个字符,比两个字符要小,请问这俩如何修改?

XinzeZhang commented 1 year ago

截图举例?

Sincerely,

Xinze Zhang

Ph.D Candidate, John Hopcroft Lab, School of Computer & Science, Huazhong University of Science & Technology

在 2023年5月20日,12:07,RainerTian @.***> 写道:



大佬,答辩的时候专家提出,图片题注两行也要居中对齐,另外现在每段缩进不是两个字符,比两个字符要小,请问这俩如何修改?

— Reply to this email directly, view it on GitHubhttps://github.com/XinzeZhang/HUST-PhD-Thesis-Latex/issues/8, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AEFKWMZSJOTT32WLSG4TED3XHA7PJANCNFSM6AAAAAAYIPMKOQ. You are receiving this because you are subscribed to this thread.Message ID: @.***>

RainerTian commented 1 year ago

搞定了,题目标题转为居中对齐,代码改成下面的这样, % 如果图表标题的长度超过一行,则采用悬挂缩进的方式 %\@hangfrom{#1~~}#2 \hb@xt@\hsize{\parbox[t]{\hsize}{\centering #1~~#2}}%

RainerTian commented 1 year ago

现在每段缩进不是两个字符,比两个字符要小,这个是我字体参数设置错了,模板里没有问题的,感谢大佬的多次帮助,顺利毕业了哈哈