Page LayoutPut footnotes at the bottom of margin

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
abclatex
Posts: 17
Joined: Wed Nov 28, 2012 10:09 pm

Put footnotes at the bottom of margin

Post by abclatex »

All the footnotes need to be put together at the bottom of margin like this way:

sample of footnote.JPG
sample of footnote.JPG (57.65 KiB) Viewed 10615 times
I already used \usepackage[side,flushmargin]{footmisc} to put all footnotes at the margin area, but they parallel to noted texts.

so how can I make them looks like the above sample?

These are my codes:

Code: Select all

Code, edit and compile here:
\documentclass[10pt,a4paper]{book}
\textwidth=11cm
\textheight=25cm
\marginparsep=1cm
\usepackage{fancyhdr}
\pagestyle{plain}
\renewcommand{\headrulewidth}{0.4pt} \renewcommand{\footrulewidth}{0.4pt}
\renewcommand\thepage{{\large\arabic{page}}}
\usepackage{geometry}
\geometry{left=2cm,right=7cm,top=2cm,bottom=2cm}
\usepackage[side,flushmargin]{footmisc}
\usepackage{morefloats}
\usepackage[german,french]{babel}
\begin{document}
\frontmatter
\begin{flushleft}
\thispagestyle{empty}
\pagenumbering{Roman}
\mainmatter
\chapter{chapter1}
"Chasing Pavements"
I've made up my mind,
Don't need to think it over\footnote{adele1}
If I'm wrong, I am right
Don't need to look no further\footnote{adele1}
This ain't lust
I know this is love
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX


This is the outcome of my codes:
current outcome (footnote).JPG
current outcome (footnote).JPG (22.84 KiB) Viewed 10612 times
Thanks a lot!

Recommended reading 2024:

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

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

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

Put footnotes at the bottom of margin

Post by cgnieder »

Hi abclatex and welcome to the LaTeX community.

What you want is a none-trivial task. However, there are some solutions. Have a look at the question Send (and stack) \marginpar to the top or the bottom of the page and its answers at TeX.sx, especially the answer by Heiko Oberdiek.

Regards
site moderator & package author
abclatex
Posts: 17
Joined: Wed Nov 28, 2012 10:09 pm

Re: Put footnotes at the bottom of margin

Post by abclatex »

Thank you, cgnieder.

I've looked through "Send (and stack) \marginpar to the top or the bottom of the page" by Heiko Oberdiek.

But, a number counter and space adjusting need to done later. So I wonder if there is easy way to solve it via footnote instead of marginpar.
User avatar
cgnieder
Site Moderator
Posts: 2000
Joined: Sat Apr 16, 2011 7:27 pm

Put footnotes at the bottom of margin

Post by cgnieder »

Have you also looked at the adapted self-answer by Mathieu? It provides (nearly) everything you need.

I have taken his code and added these lines:

Code: Select all

Code, edit and compile here:
\makeatletter
\renewcommand\footnote[1]{%
\footnotemark\footmarginnote{\textsuperscript{\@thefnmark}\,#1}}
\makeatother
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Now the complete code looks as follows:

Code: Select all

Code, edit and compile here:
\documentclass{article}
\usepackage[%
a4paper,
left=2cm,
textheight=24cm,
textwidth=10cm,
marginparsep=2cm,
marginparwidth=5cm
]{geometry}
\usepackage{forarray,etoolbox,xifthen,,graphicx,picture,calc,atbegshi,lipsum,color}
\newlength{\vincrement}
\newlength{\fmvorigin}
\newlength{\fmhorigin}
\newlength{\fmvoffset}
\newlength{\nextfmvoffset}
\newlength{\fmvskip}
\setlength{\fmvorigin}{-1in-\voffset-\topmargin-\headheight-\headsep-\textheight}
\makeatletter
\ifthenelse{\isundefined{\Gm@lmargin}}%
{\setlength{\fmhorigin}{1in+\hoffset+\oddsidemargin+\textwidth+\marginparsep}}%
{\setlength{\fmhorigin}{\Gm@lmargin+\textwidth+\marginparsep}}
\makeatother
\setlength{\fmvoffset}{0pt}
\setlength{\fmvskip}{3ex}
\newlength{\tmvorigin}
\newlength{\tmhorigin}
\newlength{\tmvoffset}
\newlength{\nexttmvoffset}
\newlength{\tmvskip}
\newlength{\maxtmnheight}
\setlength{\tmvorigin}{-1in-\voffset-\topmargin-\headheight-\headsep-\baselineskip}
\setlength{\tmhorigin}{\fmhorigin}
\setlength{\tmvoffset}{0pt}
\setlength{\tmvskip}{6ex}
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
bottomsidenotes.png
bottomsidenotes.png (34.37 KiB) Viewed 10597 times
Regards
site moderator & package author
abclatex
Posts: 17
Joined: Wed Nov 28, 2012 10:09 pm

Re: Put footnotes at the bottom of margin

Post by abclatex »

It's awesome!!
I didn't find it.
Many thanks to you, cgnieder. Schoenes Wochenende!
magical marshmallow
Posts: 30
Joined: Mon Jan 21, 2013 11:37 am

Put footnotes at the bottom of margin

Post by magical marshmallow »

Hey,

I'm trying to do a similar thing in that I want my footnotes to appear below a footrule in the bottom margin. I am using the footmisc package to suppress the short foot note rule that autogenerates when a footnote is inserted.

Using my current setup, the explanaitons occur above the footrule which looks atrocious.

Ideally I would have a standard space between the bottom of my text and the footrule, and then the same gap again to the footnote explanation.

Does anyone have any ideas what to do as I have none?

Cheers

Code: Select all

Code, edit and compile here:
\documentclass[11pt,a4paper,numbers=noenddot]{scrreprt}
\usepackage[english]{babel}
\usepackage[top=2cm,headsep=1.25cm,bottom=2.25cm,footskip=0.5cm,left=2.54cm,right=2.54cm]{geometry}
\usepackage{fancyhdr}
\pagestyle{fancy}
\renewcommand{\footrulewidth}{0.3pt}
\usepackage[perpage,symbol,norule]{footmisc}
\begin{document}
Some text with a footnote\footnote{footnote}
\end{document}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Post Reply