Text FormattingFootnotes without superscript - but with ragged right?

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
shlstrm
Posts: 2
Joined: Sat Jan 08, 2011 7:49 pm

Footnotes without superscript - but with ragged right?

Post by shlstrm »

Hello everyone,

I am writing a minor thesis and am in trouble as to footnotes formatting. I have searched everywhere but I just can't figure out a solution to this problem (being a LaTeX beginner). I believe it is similar to this thread, but there is a big difference in that I need my footnote paragraphs to be ragged right. I have to solve this as soon as possible, so I am eternally grateful for any help I can get!

I am using LyX with the Memoir book class and with the following code in the preamble (along with \raggedright for the body text) I almost get what I want:

Code: Select all

\usepackage[ragged,hang]{footmisc}
\setlength{\footnotesep}{14pt}
\setlength{\skip\footins}{24pt}
The result:
with footmisc
with footmisc
shlstrmfot1.png (38.93 KiB) Viewed 3262 times
This is almost desireable, but I would like the footnote marks to be not in superscript and preferrably followed by a dot like 1. Blablabla.

Without the footmisc package and with the following code:

Code: Select all

\renewcommand\@makefntext[1]{%
  \noindent\parbox[t][\height][l]{3em}{\@thefnmark.}\parbox[t][\height][l]{14cm}{#1}\vskip3pt}
\makeatother
I get this:
almost perfect
almost perfect
shlstrmfot2.png (35.75 KiB) Viewed 3262 times
This is almost perfect, but as you can see in the image the text is not ragged right (like the body text). This is an absolute must for me - I would be very grateful if anyone can help me to achieve this!

Thanks in advance!
Håkan

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Footnotes without superscript - but with ragged right?

Post by frabjous »

Try changing your second definition to:

Code: Select all

\makeatletter
\renewcommand\@makefntext[1]{%
  \noindent\parbox[t][\height][l]{3em}{\@thefnmark.}\parbox[t][\height][l]{14cm}{\raggedright #1}\vskip3pt}
\makeatother
shlstrm
Posts: 2
Joined: Sat Jan 08, 2011 7:49 pm

Re: Footnotes without superscript - but with ragged right?

Post by shlstrm »

Beautiful! Thanks.
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Footnotes without superscript - but with ragged right?

Post by localghost »

Now that the problem is solved, please be so kind and mark the topic (not the last post) accordingly as clearly written in the Board Rules (to be read before posting). Please keep that in mind for the future so that further reminders will not be necessary.


Thorsten
Post Reply