I need to change the location of the footnotes. Instead of the footnotes being at the bottom of the page, they should be in the side column of the main text. I also need it to be exactly on the corresponding line where the footnote is written and appears in the main text (as shown in the image).
It would be interesting if I could automate this process. I will be working periodically with articles and would like it to work this way. Do you know how to do this? Is there a script?