Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- \documentclass[twocolumn=true]{scrartcl}
- \usepackage[
- paperwidth=.7\textwidth,
- paperheight=40\baselineskip,
- margin=5pt,
- bottom=1.5cm]{geometry}
- %% footnotes
- \usepackage{fnpct}
- \usepackage[hang,stable]{footmisc}
- %% multiple footnotes
- \usepackage[ruled]{bigfoot}
- % \DeclareNewFootnote{default}
- \DeclareNewFootnote{B}[alph]
- % rule for footnote
- \renewcommand{\footnoterule}{\hrule height 0.5pt \vspace{5pt}}
- \renewcommand{\extrafootnoterule}{\hrule height 0.2pt \vspace{5pt}}
- \makeatletter
- \long\def\@makefntext#1{%
- \bgroup
- \setbox\@tempboxa\hbox{%
- \ifdim\footnotemargin>0pt
- \hb@xt@\footnotemargin{\@makefnmark\hss}%
- \else
- \@makefnmark
- \fi
- }%
- \leftmargin\wd\@tempboxa
- \rightmargin\z@
- \linewidth \columnwidth
- \advance \linewidth -\leftmargin
- \parshape \@ne \leftmargin \linewidth
- \footnotesize
- \@setpar{{\@@par}}%
- \leavevmode
- \llap{\box\@tempboxa}%
- \parskip\hangfootparskip\relax
- \parindent\hangfootparindent\relax
- #1\strut\par\egroup %inserted \strut\par
- }
- \def\FN@commonending{%
- \expandafter\expandafter\expandafter
- \expandafter\expandafter\expandafter\expandafter
- \iffalse \FN@specific\FN@masterinsert\@makefntext\fi
- \@makefnendbox
- %\ifx\FN@boxtype\vbox\@finalstrut\strutbox \else \unskip \fi
- %removed
- \FN@colorstackfinish
- \color@endgroup
- \egroup
- \global\advance\FN@id\@ne
- \FN@slotxdef\FN@masterslot{\number\FN@id}%
- \ifhbox\z@
- \global\setbox\FN@tempbox\copy\z@
- \setbox\tw@\@makefnvbox{\unhbox\FN@tempbox}%
- \ht\z@\dimexpr\ht\tw@+\dp\tw@-\FN@masterslot sp\relax
- \else
- \ht\z@\dimexpr\ht\z@+\dp\z@-\FN@masterslot sp\relax
- \fi
- \wd\z@\dimen@
- \dp\z@\FN@masterslot sp\relax
- \MFL@insert\FN@masterinsert{\nointerlineskip\box\z@}%
- \marks\FN@slave{\number\FN@id}%
- \MFL@endminipage
- \FN@colorstackegroup
- }
- \def\blfootnote{\gdef\@thefnmark{}\@footnotetext}
- \makeatother
- \usepackage{lipsum}
- \begin{document}
- Hello\footnote{This is some text in the margin that should break and everything.}
- World\footnoteB{And some more text that should go to the margin as well and behave like
- the other footnote.}. Isn't this\footnote{Some more.} beautiful\footnote{Even more...}\footnote{Additionaly: More}\footnoteB{And more of the other type}? I think\blfootnote{And now something that's just an annotation}
- it's really\footnote{Foo} great\footnoteB{Bar} what one can do with \LaTeX\blfootnote{A\&B}
- \lipsum[1]
- \end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement