For some reason, I can't seem to adjust the leading (interline space) when using \fontsize with \fontspec. Here, \fontsize{10}{12} should give me a font with 10pt size and 12pt leading. But when enclosed in curly braces, it does not work. That is,
Someone with more TeX knowledge than I may be able to explain it better, but I think the interline space (\baselineskip) attribute it something that is applied to the paragraph as a whole, when it is "shipped out" so to speak, and hence if the \fontsize{..}{..} command is used inside braces that don't include the end of the paragraph, that part of it has no effect on the paragraph.
You should be able to remedy this by including the end of the paragraph as part of what's inside the braces, which is done either by the \par command, or by leaving a blank line.
I think that Fontspec's \fontspec command does what \selectfont does (--in fact, that may be part of its definition, I'm too lazy to look--) so that's not the issue here.
Do let us know if my suggestions above are of any help. I've never really had the need to fiddle much with fontsize/leading size when using fontspec.
frabjous wrote:I think that Fontspec's \fontspec command does what \selectfont does (--in fact, that may be part of its definition, I'm too lazy to look--) so that's not the issue here.
Do let us know if my suggestions above are of any help. I've never really had the need to fiddle much with fontsize/leading size when using fontspec.
Dear frabjous,
Thanks for your help. I think you're right and that I'll simply have to make sure to always end any entries [within curly braces] with \par
Since I already have you on the line, then a more general question is: how do I have control over spacing in my document, which is a long monograph and not only a few pages for which I can do everything manually?
One idea is to use the \linespread command (or the leading) package, which will set a single multiplier for the leading for all the fonts (\normalfont, \small, \huge, etc.). The problem with this is that I need different leadings for figure captions and footnotes, and so on.
In a sense, this is slightly remedied by the setspace package, but I would still like to specify different leadings for certain areas (as a silly example, suppose I wanted my main text to be \fontsize{10}{20} but my captions to be \fontsize{10}{15}).
I think the easiest way is to simply redefine all the sizes:
...and so on. In actuality, I only use maybe three of the total twelve size commands. This should take care of caption/footnote packages that use \small or \footnotesized. Afterwards, most things can be handled on a case-by-case basis.
I've usually used the setspace package to handle spacing issues, but I've never really tried to do anything fancy with footnotes or captions. Perhaps one of the packages devoted to those (bigfoot, caption, etc.), would have solutions? Someone who knows more than I may be able to answer.