Text FormattingJustify Footnotes

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
joshua_smith_158
Posts: 15
Joined: Sun Aug 30, 2015 11:13 pm

Justify Footnotes

Post by joshua_smith_158 »

Dear All,

I am trying to justify the footnotes in my Lyx doc. I tried

Code: Select all

\usepackage{scrextend}
\deffootnote[1em]{1em}{1em}{\textsuperscript{\thefootnotemark}\,}
but it does not align..

Thank you for your help!
Last edited by cgnieder on Mon Sep 07, 2015 11:36 am, edited 1 time in total.

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

cgnieder
Site Moderator
Posts: 2000
Joined: Sat Apr 16, 2011 7:27 pm

Justify Footnotes

Post by cgnieder »

Can you add more information? What doesn't work? What do you expect the result to look like? What document class are you using?

If I take your code

Code: Select all

\documentclass{article}
\usepackage{scrextend}
\deffootnote[1em]{1em}{1em}{\textsuperscript{\thefootnotemark}\,}
\usepackage{lipsum}
\begin{document}
\footnote{\lipsum[1]}\footnote{\lipsum[2]}\footnote{\lipsum[3]}\footnote{\lipsum[4]}
\end{document}
I get the following:
footnote.png
footnote.png (110.37 KiB) Viewed 8148 times
Regards
site moderator & package author
joshua_smith_158
Posts: 15
Joined: Sun Aug 30, 2015 11:13 pm

Justify Footnotes

Post by joshua_smith_158 »

cgnieder wrote:Can you add more information? What doesn't work? What do you expect the result to look like? What document class are you using?

If I take your code

Code: Select all

\documentclass{article}
\usepackage{scrextend}
\deffootnote[1em]{1em}{1em}{\textsuperscript{\thefootnotemark}\,}
\usepackage{lipsum}
\begin{document}
\footnote{\lipsum[1]}\footnote{\lipsum[2]}\footnote{\lipsum[3]}\footnote{\lipsum[4]}
\end{document}
I get the following:
footnote.png
Regards

Hi! Thank you for your reply!
What I used was:

Code: Select all

\documentclass{article}
\usepackage{scrextend}
\deffootnote[1em]{1em}{1em}{\textsuperscript{\thefootnotemark}\,}
\begin{document}
\footnote{bla bla bla}
\end{document}
The problem is that the text in the footnotes is not justified, the right alignment is not justified
Last edited by cgnieder on Tue Sep 08, 2015 7:43 pm, edited 1 time in total.
User avatar
cgnieder
Site Moderator
Posts: 2000
Joined: Sat Apr 16, 2011 7:27 pm

Justify Footnotes

Post by cgnieder »

But this is the same as in my example and as my picture shows with this code footnotes are justified. If they're not for you then there must be something else…

Can you provide us with a minimal copy of your LyX document that shows this behaviour? You can attach it to your post in this forum.

Regards
site moderator & package author
joshua_smith_158
Posts: 15
Joined: Sun Aug 30, 2015 11:13 pm

Justify Footnotes

Post by joshua_smith_158 »

joshua_smith_158 wrote:
cgnieder wrote:Can you add more information? What doesn't work? What do you expect the result to look like? What document class are you using?

If I take your code

Code: Select all

\documentclass{article}
\usepackage{scrextend}
\deffootnote[1em]{1em}{1em}{\textsuperscript{\thefootnotemark}\,}
\usepackage{lipsum}
\begin{document}
\footnote{\lipsum[1]}\footnote{\lipsum[2]}\footnote{\lipsum[3]}\footnote{\lipsum[4]}
\end{document}
I get the following:
The attachment footnote.png is no longer available
Regards

Hi! Thank you for your reply!
What I used was:

Code: Select all

\documentclass{article}
\usepackage{scrextend}
\deffootnote[1em]{1em}{1em}{\textsuperscript{\thefootnotemark}\,}
\begin{document}
\footnote{bla bla bla}
\end{document}
The problem is that the text in the footnotes is not justified, the right alignment is not justified
Sure, find it attached.
Attachments
template.lyx
(3.13 KiB) Downloaded 454 times
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Justify Footnotes

Post by Johannes_B »

Inside your document, you are loading package ragged2e with the document option. This sets the whole document ragged on the right margin.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
joshua_smith_158
Posts: 15
Joined: Sun Aug 30, 2015 11:13 pm

Justify Footnotes

Post by joshua_smith_158 »

Johannes_B wrote:Inside your document, you are loading package ragged2e with the document option. This sets the whole document ragged on the right margin.

Didn't realize that, thank you very much for pointing this out
Post Reply