LaTeX forum ⇒ LyXFootnote font size in lyx Topic is solved

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
np2333
Posts: 10
Joined: Tue Oct 06, 2015 5:19 pm

Footnote font size in lyx

Postby np2333 » Tue Oct 06, 2015 5:22 pm

Hi,

I am trying to compile a document with footnotes. I would like to change the footnote font size. I have tried multiple ways of doing this by adding commands in the preamble but none of these work. Any help would be greatly appreicated

User avatar
Johannes_B
Site Moderator
Posts: 4161
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Tue Oct 06, 2015 8:46 pm

Hi and welcome,

the best way of doing this depends on the documentclass in use. Are you already loading a package that customizes footnotes? Those information would be very very helpful.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

np2333
Posts: 10
Joined: Tue Oct 06, 2015 5:19 pm

Postby np2333 » Tue Oct 13, 2015 3:53 pm

Thanks. I am using the document class "article". A minimal example file is attached. Any help wo be greatly appreciated.
Attachments
testfootnotefont1.lyx
(6.19 KiB) Downloaded 212 times

User avatar
Johannes_B
Site Moderator
Posts: 4161
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Thu Oct 15, 2015 11:30 am

Exporting your document to human-readable and comfortable LaTeX code, i see two things: I completely messed up preamble and the following:
  1. \begin{document}
  2. {\large{}I am trying to get the footnotes to appear in a smaller font
  3. size.}%
  4. \footnote{{\large{}But as you can see, this font size is the same as the main
  5. text}%
  6. }{\large{}This can be done manually,}%
  7. \footnote{{\large{}By highlighting, right clicking and adjusting the font size
  8. for each footnote inducidually}%
  9. }{\large{} but I am looking for a way to do this for hte document as
  10. a whole, possibly with a command added in the preamble.}
  11. \end{document}


There isn't really a surprise seeing the footnotes being typeset with a large font if this is what you clicked.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

np2333
Posts: 10
Joined: Tue Oct 06, 2015 5:19 pm

Postby np2333 » Thu Oct 15, 2015 2:45 pm

Thanks. I highlighted the entire text and clicked large because I want the main text to appear large. But doing this automatically makes the footnotes large as well. Is there a way to include something in my preamble to make sure that the command large does not apply to footnotes but only to the main text

User avatar
Johannes_B
Site Moderator
Posts: 4161
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Thu Oct 15, 2015 5:45 pm

Well, no.

But i am not sure if your approach is the right one. You want to set the whole document large, which for a standard article document is 12 pt. You can set the default size of text by using the global option 12pt.

This typesets your normal text with 12 pt, but also the footnotes get larger. From a former 9 pt to now 10 pt.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

np2333
Posts: 10
Joined: Tue Oct 06, 2015 5:19 pm

Postby np2333 » Thu Oct 15, 2015 6:17 pm

Sorry, I did not follow your suggestion. All I am trying to do is to have the footnotes appear in a smaller font size than the main text (as requested by an editor), and I wish to do so without manually changing the fontsize of all ( ~50 ) footnotes. Surely there has to be a way to do this I would imagine!

User avatar
Johannes_B
Site Moderator
Posts: 4161
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Thu Oct 15, 2015 6:20 pm

This is the standard bhaviour, but you kicked that in the nards by placing large everywhere. Revert that. You want the main font to be larger, do so in a sane way. Place 12pt as the global option for the document class in the document properties.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

np2333
Posts: 10
Joined: Tue Oct 06, 2015 5:19 pm

Postby np2333 » Thu Oct 15, 2015 6:26 pm

Perfect! Problem solved, thanks a lot!

synred
Posts: 6
Joined: Tue Feb 16, 2016 11:55 pm

Postby synred » Wed Feb 17, 2016 7:42 pm

What happened do changing font and size by 'selecting' text in a word-like way? I pretty sure 'lyx' use to allow this ...

It' very hand, if, e.g., you want to insert a long quotation in bold or italics and a different size.

I'm pasting things in from a PDF document and they come out in too small a font I need to change. I can avoid the problem by pasting into the middle of some already exist text, but it seems like I should be able to change a piece.

Same thing would by useful for footnotes. I find they're too small for my old-goat eyes and like to increase them too ..,

-Traruh


Return to “LyX”

Who is online

Users browsing this forum: No registered users and 1 guest