I wan to be able adding numbered footnotes for some words in my documents, but displaying them on the same page and not at the end of the document. Ho do I do that?
If I understand your edited question correctly, you're asking how to attach a footnote to a word and have the footnote display on the same page as the word. (Right?) The first thing I would say is that LaTeX generally does this by default, if you use the
will produce a footnote that displays at the bottom of the page on which
If your footnotes are appearing at the end of the document instead, there must be some package or class you're using which causes that behavior. It may have an option to switch between footnotes and endnotes, but I couldn't tell you what that might be unless you provide more information (namely, your document preamble).
You could define a macro for each term that you want to present this way, as follows:
And whenever you would write
Note that this has a slight capitalization issue, in that its case is fixed, regardless of use at the beginning of a sentence.
Please take my comment about this being a bad idea to heart, though.