Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
LLNCS style and hyperef conflict
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Markus Kuhn  
View profile  
 More options Jun 30 2005, 8:49 am
Newsgroups: comp.text.tex
From: n05W26+mg...@cl.cam.ac.uk (Markus Kuhn)
Date: 30 Jun 2005 12:49:15 GMT
Local: Thurs, Jun 30 2005 8:49 am
Subject: LLNCS style and hyperef conflict
When I use Springer's LaTeX class for the Lecture Notes on
Computer Science (LNCS) series from

  ftp://ftp.springer.de/pub/tex/latex/llncs/latex2e/llncs.cls

(Document Class: llncs 2004/08/17 v2.14) along with

  \usepackage[dvips]{hyperref}

then suddenly the font size of all figure captions changes. Normally,
LNCS figure captions use a smaller font size than the normal text.
But as soon as I load hyperref, these are suddenly of the same size
as the main text.

Has anyone the faintest idea of what is happening here?
Is there a practical fix or workaround known?

I've just tested this under tetex-3.0 (SuSE Linux 9.3), but recall
having seen this problem also in other environments.

Markus

http://www.cl.cam.ac.uk/~mgk25/publ-tips/

--
Markus Kuhn, Computer Laboratory, University of Cambridge
http://www.cl.cam.ac.uk/~mgk25/ || CB3 0FD, Great Britain


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
lueck...@uark.edu  
View profile  
 More options Jun 30 2005, 4:59 pm
Newsgroups: comp.text.tex
From: lueck...@uark.edu
Date: 30 Jun 2005 13:59:48 -0700
Local: Thurs, Jun 30 2005 4:59 pm
Subject: Re: LLNCS style and hyperef conflict

I know whats happening...

> Is there a practical fix or workaround known?

...but can't think of an easy workaround.

llncs.cls obtains the smaller font by redefining \@floatboxreset, and
then omitting any font change from \@makecaption. Wrong. They should
have followed the standard practice of putting the caption font switch
into \@makecaption, which does the actual typesetting of the caption.

Hyperref, on the other hand, redefines \caption and \@caption and puts
\normalfont just before the call to \@makecaption.

One possible solution is to load a package that allows configuration of
captions. Hyperref recognizes the float package, so maybe that can be
used.

Another is to copy llcns.cls's definition of \@makecaption and put in
\small:
\long\def\@makecaption#1#2{%
  \small
  \vskip\abovecaptionskip
  \sbox\@tempboxa{{\bfseries #1.} #2}%
  \ifdim \wd\@tempboxa >\hsize
    {\bfseries #1.} #2\par
  \else
    \global \@minipagefalse
    \hb@xt@\hsize{\hfil\box\@tempboxa\hfil}%
  \fi
  \vskip\belowcaptionskip}

Or copy hyperref's definition of \@caption and change \normalfont to
\normalfont\small

Dan


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »