< LaTeX
Getting Started Common Elements Mechanics Technical Texts Special Pages Special Documents Creating Graphics Programming Miscellaneous Help and Recommendations Appendices |
edit this box • edit the TOC |
- 1Footnotes
If I save that as a Word 97-2004 Document, the differing margins are preserved, so it seems that's supported at least back to Word 97. On the Mac I get to it using View Header and Footer, and with View Rulers checked, you can click in the area you want to change the margins of and drag the margins in the ruler. – blm Nov 29 '15 at 17:46. Each new document based on that template automatically uses the new margin settings. To change the margins for part of a document, select the text, and then set the margins you want. In the Apply to box, click Selected text. Microsoft Word automatically inserts section breaks before and after the text with the new margin settings.
Footnotes[edit]
Footnotes are a very useful way of providing extra information to the reader. Usually, it is non-essential information which can be placed at the bottom of the page. This keeps the main body of text concise.
The footnote facility is easy to use. The command you need is:
footnote{text}
. Do not leave a space between the command and the word where you wish the footnote marker to appear, otherwise LaTeX will process that space and will leave the output not looking as intended.LaTeX will obviously take care of typesetting the footnote at the bottom of the page. Each footnote is numbered sequentially - a process that, as you should have guessed by now, is automatically done for you.
If you want your footnote to be at the bottom of the page (instead of the default position of `glued` under the text), consider using:
You can also choose to place the footnote text manually. In this case we use the
footnotemark
-footnotetext
duo:The footnote number can also be explicitly specified.
Customization[edit]
It is possible to customize the footnote marking. By default, they are numbered sequentially (Arabic). However, without going too much into the mechanics of LaTeX at this point, it is possible to change this using the following command (which needs to be placed at the beginning of the document, or at least before the first footnote command is issued).
renewcommand{thefootnote}{arabic{footnote}} | Arabic numerals, e.g., 1, 2, 3... |
renewcommand{thefootnote}{roman{footnote}} | Roman numerals (lowercase), e.g., i, ii, iii... |
renewcommand{thefootnote}{Roman{footnote}} | Roman numerals (uppercase), e.g., I, II, III... |
renewcommand{thefootnote}{alph{footnote}} | Alphabetic (lowercase), e.g., a, b, c... |
renewcommand{thefootnote}{Alph{footnote}} | Alphabetic (uppercase), e.g., A, B, C... |
renewcommand{thefootnote}{fnsymbol{footnote}} | A sequence of nine symbols, try it and see! |
To make a footnote without number mark use this declaration:
In this way, the numbering is switched off globally. To have only one footnote without number mark, the above command has to be placed between { }.Nevertheless, in that case, the current footnote counter is still incremented, so for instance you'd get footnote 1, unnumbered, and 3. A better solution[1] consists in defining the following macro in the preamble, and to use it:
The package footmisc offers many possibilities for customizing the appearance of footnotes. It can be used, for example, to use a different font within footnotes.
Reset counter[edit]
- every section
- every page
(This may require running LaTeX twice)
Common problems and workarounds[edit]
- Footnotes unfortunately don't work with tables, as it is considered a bad practice. You can overcome this limitation with several techniques: you can use
footnotemark[123]
in the table, andfootnotetext[123]{HelloWorld!}
somewhere on the page. The same with references: usefootnote{HelloWorld!label{fnote}}
somewhere on the page andtextsuperscript{ref{fnote}}
in the table. Or, you can addusepackage{footnotehyper}
andmakesavenoteenv{tabular}
to the preamble, and put your table environment in abegin{savenotes}
environment. Note that the latter does not work with the packages color or colortbl. See this FAQ page for other approaches (such as the use of tablenotes with threeparttable).
- Footnotes also don't work inside minipage environment (In fact, several environments break footnote support. the
makesavenoteenv{environmentname}
command of the footnote package might fix most). The minipage includes its own footnotes, independent of the document's. The package mpfnmark allows greater flexibility in managing these two sets of footnotes.
- If the text within the footnote is a URL (using
url
orhref
commands) with special characters, it will not compile. You must either escape the characters with a leading backslash, or use another command.
- If the text within the footnote is very long, LaTeX may split the footnote over several pages. You can prevent LaTeX from doing so by increasing the penalty for such an operation. To do this, insert the following line into the preamble of your document:
- To make multiple references to the same footnote, you can use the following syntax:
If you need hyperref support, use instead:
Note that these approaches will not work if there are other footnotes between the first reference and the subsequent 'duplicate' references. For more general solutions, see here and here.
- If the footnote is intended to be added to the title of a chapter, a section, or similar, two methods can be used:
- Write
section[title]{titlefootnote{I'm a footnote referred to the section}}
where title is the title of the section. - Use the footmisc package, with package option stable, and simply add the footnote to the section title.
Margin Notes[edit]
A margin note.
Margin Notes are useful during the editorial process, to exchange comments among authors. To insert a margin note use
marginpar{margin text}
. For one-sided layout (simplex), the text will be placed in the right margin, starting from the line where it is defined. For two-sided layout (duplex), it will be placed in the outside margin and for two-column layout it will be placed in the nearest margin.To swap the default side, use
reversemarginpar
and margin notes will then be placed on the opposite side, which would be the inside margin for two-sided layout.If the text of your marginpar depends on which margin it is put in (say it includes an arrow pointing at the text or refers to a direction as in 'as seen to the left...'), you can use
marginpar[left text]{right text}
to specify the variants. ![Change Margins Latex Change Margins Latex](/uploads/1/2/3/9/123900935/860265921.png)
To insert a margin note in an area that
marginpar
can't handle, such as footnotes or equation environments, use the package marginnote.Another option for adding colored margin notes in a fancy way provides the package todonotes by using
todo{todo note}
. It makes use of the package pgf used for designing and drawing with a huge tool database.The packages mparhack and marginnote can be used if the native
marginpar
command does not meet your needs.Margin geometry (bottom margin H not shown).
The marginnote and geometry package can set the widths of the margins and marginnotes as follows.
In the preamble, insert
and use the geometry package with custom sizes:
where A, B, C, D, E, F, G, H are all numbers in cm (of course other units than cm can be used).
In the main text, employ the marginnote package according to:
Specifically,
- marginparwidth (E) is the width of the margin note,
- marginparsep (D) is the separation between the paragraph and the margin note,
- F is the downwards vertical offset from the first line the margin note was written (negative values of F shift the margin note upwards), and
- the value G = C − (D + E) is the separation between the edge of the margin note and the edge.
The example on the right was typeset by the following:
Additionally, the minimum vertical gap between margin notes can be adjusted with
marginparpush
, such as with setlength{marginparpush}{0pt}
.Notes and References[edit]
- ↑'LaTeX footnotes'. https://web.archive.org/web/20131716502800/http://help-csli.stanford.edu/tex/latex-footnotes.shtml. Retrieved 2016-01-14.
This page uses material from Andy Roberts' Getting to grips with LaTeX with permission from the author.
Previous: Floats, Figures and Captions | Index | Next: Hyperlinks |
Retrieved from 'https://en.wikibooks.org/w/index.php?title=LaTeX/Footnotes_and_Margin_Notes&oldid=3510921'
Last updated: March 26, 2019
Fitting a printed spreadsheet on the correct number of pages in Excel 2010 can be a bit of a balancing act. There are several adjustments that you can make to accomplish it, but perhaps one of the most useful and effective is to adjust the size of the margins on the page. Excel 2010 offers a number of simple margin adjustments, but there is also a Custom Margin option where you have complete control over the size of the margins on your page. Continue reading below to learn how to edit margins in excel 2010.
Excel 2010 offers a number of simple margin adjustments, but there is also a Custom Margin option where you have complete control over the size of the margins on your page. Continue reading below to learn how to edit margins in excel 2010.
How to Change Page Margins in Excel – Quick Summary
- Select the Page Layout tab.
- Click the Margins button.
- Choose the desired page margins for your printed spreadsheet.
For additional information and pictures for these steps, continue to the section below.
How to Adjust Page Margins in Excel 2010
We are going to set up custom margins for the purpose of this tutorial, but we will be passing by the preset margin options in the process of doing so. These options are helpful if you just need to make a slight adjustment to your margins, but some people prefer to have complete control over the elements of their printed page.
It is important to note, however, that using margins that are too small may result in your printer being unable to print your spreadsheet. If you get a warning or error message after you attempt to print a spreadsheet with very small margins, you may need to increase them until your printer is able to print them.
Step 1: Open the Excel spreadsheet for which you want to adjust the margins.
Step 2: Click the Page Layout tab at the top of the window.
Step 3: Click the Margins button in the ribbon at the top of the window, which will expand a drop-down menu.
Step 4: Click the Custom Margins option at the bottom of the menu. You will notice that there are several presets on this menu, including the Narrow option, which can be helpful if you are trying to decrease the size of your margins.
Step 4: Click inside each of the fields in this window for which you want to adjust the margins. Note that I have changed my side margins to .2, and my top and bottom margins to .25. My printer will print pages with margins that small without issue, and it adds a good amount of additional page space over the Narrow option.
Step 5: Click the OK button at the bottom of the window, or click the Print Preview button to see how your page will print with your adjusted margins.
Read this article to learn how to fit an Excel spreadsheet on one page.
You can also configure a spreadsheet so that it is centered horizontally and vertically when you print it. Read here to learn how.
Disclaimer: Most of the pages on the internet include affiliate links, including some on this site.