Giter Site home page Giter Site logo

Comments (5)

JosephPeng avatar JosephPeng commented on August 27, 2024

目测再在caption外加一层大括号试试。

from buaathesis.

grissiom avatar grissiom commented on August 27, 2024

On Sat, Dec 8, 2012 at 6:50 PM, Joseph [email protected] wrote:

目测再在caption外加一层大括号试试。

不成的。木有作用…… 也试过在 includegraphic 周围加大括号,无果……

Cheers,
Grissiom

from buaathesis.

JosephPeng avatar JosephPeng commented on August 27, 2024

@grissiom
呃,这个情况略有些奇葩。
这个情况的现状是:将caption和label移到includegraphics上面时,会将其下面的一段文字内容加粗显示,尝试使用\pargraph{}、\songti、\newline未果,但使用\newpage则可正常显示,但不可取。
但我在chapter4的第146行开始的那个图片进行你所说的尝试时,亦有此奇葩现象。
目测是和caption宏包有关,目前未找到具体原因。

from buaathesis.

huxuan avatar huxuan commented on August 27, 2024

折腾了半天也未能搞定,分享一点不知道算不算进展的进展吧

  • 感觉是caption的textfont中的bf属性也应用到了后面的内容上,不仅仅是内容,页码都变成粗体了
  • 一个奇怪的实验,把\DeclareCaptionFormat{masterfigure}{\songti\bf\zihao{5}{#1\textrm{#2}#3}}中的\bf去掉就没有后面的粗体,但是标题本身也不是粗体了
  • 一个更奇怪的实验,cls里的\DeclareCaptionFormat{masterfigure}{\songti\bf\zihao{5}{#1\textrm{#2}#3}}在大括号内最后多加任意内容,比如\DeclareCaptionFormat{masterfigure}{\songti\bf\zihao{5}{#1\textrm{#2}#3}a}即可避免后面的粗体,但是每个标题都会另起一行有一个字母a
  • 也有可能是includegraphics导致的粗体,网上有很多相关的内容,但是未能找到有效的解决方案,大部分都是说升级tex系统,把eps转换成pdf之类的,未能进行尝试。

from buaathesis.

linkingcon avatar linkingcon commented on August 27, 2024

首先,感谢楼上各位提供的北航毕业论文latex模板。
此问题困扰3日,偶然搜索到如下帖子,暂时得以解决。
http://bbs.ctex.org/forum.php?mod=redirect&goto=findpost&ptid=58508&pid=384018
该帖建议尽量选用1.4及以下版本的pdf图片。
经本人测试,如下技巧似乎可以避免1.5版本的pdf的上述问题:
\mbox{\color{white}0} \includegraphics[...]{...} \mbox{\color{white}0}
希望以上信息能够有所帮助。

from buaathesis.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.