3

How do I modify the behavior of the footnote line and text with optex?

I'd like to change the width and height of the rule, and the footnotes to hang thus:

¹ Text text text
  text text text
  text text text

I've tried changing footnoterule, but it didn't work.

\def\footnoterule{\vfill % added this
   \kern-3pt\hrule width 1cm \kern 2.6pt} % doesn't work
   
% \footnoterulewidth 1cm % doesn't work
  
\fnote{asdf}

\bye
4
  • It's difficult to understand what you want to achieve with that \vfill.
    – egreg
    Jan 31 at 23:34
  • @egreg, nothing in particular. I just copied it from a question here (tex.stackexchange.com/questions/573538/…). I just want to redefine footnoterule and make them hang.
    – user574859
    Feb 1 at 1:44
  • Do you just want to change the length/width of the footnote rule, and have hanging footnote paragraphs?
    – jarnosz
    Feb 1 at 4:49
  • @jarnosz, yes, that's it.
    – user574859
    Feb 1 at 9:20

1 Answer 1

3

As you realized, OpTeX is not quite "Plain" according to a strict description: it has its own internals somewhat differing from Plain itself; that of itself is not evil, just slightly misleading.

Anyway, to set the hanging indent to your footnotes add the following redefinition to your document.

\_def\_fnset{\everypar={\hangindent=1.5cc\hangafter=1}\_scalemain \_typoscale[800/800]}

To change the footnote rule:

\_def \_footnoterule {\_kern-3pt \_hrule width 1truein height 2pt \_kern 2.6pt }

visual result

2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.