MorganBauer / tufte-latex

Automatically exported from code.google.com/p/tufte-latex
0 stars 0 forks source link

Inclusion of subfig package changes font style of captions #40

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The inclusion of the subfig package changes the typesetting of captions in
the page margin. The font size and font type is then the same as in the
main text.

This behavior is observed with the latest svn build 128. It is not a
problem if the (deprecated) subfigure package is used instead of the subfig
package.

Footnotes and marginnotes are typeset correctly when the subfig package is
included.

Original issue reported on code.google.com by karl.schmid@gmail.com on 19 Oct 2009 at 9:01

Attachments:

GoogleCodeExporter commented 9 years ago
Hello, Karl.

Could you try this again with the latest svn version (at least r133)?  I tried 
and it
looks like the "Table 1: This is a table" caption is set in sans serif at the 
same
size and style as the sidenote and marginnote below it.

Thanks!

--Kevin

Original comment by godbyk@gmail.com on 24 Nov 2009 at 10:59

GoogleCodeExporter commented 9 years ago
Hi,

I've tried the test.tex above with ver144 (the last one) and the problem of 
caption
font is still there: same size as in the main text. So it still has to be 
investigated

Original comment by plutones...@gmail.com on 6 Feb 2010 at 5:30

GoogleCodeExporter commented 9 years ago
yep, package subfig also messes up with former issue 42 (algorithm caption) 
since
when using subfig, the caption comes back just above the algorithm.

Original comment by plutones...@gmail.com on 6 Feb 2010 at 10:25

GoogleCodeExporter commented 9 years ago
Try loading the subfig package with the caption=false option:

  \usepackage[caption=false]{subfig}

This tells the subfig package to leave the \caption commands alone (i.e., 
prevents it 
from overwriting the Tufte-LaTeX redefinitions of the \caption commands).

Original comment by godbyk@gmail.com on 7 Feb 2010 at 12:03

GoogleCodeExporter commented 9 years ago
for some reason, I did not get a personal message on this issue. Anyway, I just 
tried
your suggestion and it looks like it is working well. Thanks !

Original comment by plutones...@gmail.com on 16 Mar 2010 at 3:17

GoogleCodeExporter commented 9 years ago

Original comment by godbyk@gmail.com on 28 Mar 2010 at 10:10

GoogleCodeExporter commented 9 years ago
Issue 47 has been merged into this issue.

Original comment by godbyk@gmail.com on 6 Apr 2010 at 12:14

GoogleCodeExporter commented 9 years ago
This doesn't work for me.

LaTeX Warning: Command \selectfont   has changed.
               Check if current package is valid.

My workaround: create empty ragged2e.sty & everysel.sty on the current 
directory.

Original comment by selas...@gmail.com on 28 Apr 2010 at 7:28

GoogleCodeExporter commented 9 years ago
This worked for me: \usepackage[caption=false]{subfig}

Thank you very much.

Original comment by D.Marcel...@gmail.com on 5 Mar 2012 at 2:36