The memoir
package supports both marginpars and sidenotes, which can be in opposite margins.
Here's an example:
\documentclass[a4paper,final,oneside]{memoir}
\isopage[6] % Quick and dirty large margins
\checkandfixthelayout
\begin{document}
The medievalpage command generates the position and
\sidepar{A sidepar note}
\marginpar{A marginpar note}
size of the typeblock according
to the principles of medieval scribes and the early
printers, as discovered and described
by Jan Tschichold. The basic principle is that the
spine, top, fore-edge and bottom
margins around the typeblock are in the ratio 2:3:4:6.
Typically the spine margin was 1/9
the width of the page, which is what medievalpage
assumes by default. This can be
changed with the optional [spine] argument.
\end{document}
Note that \sidepar
notes do not float, and so may overlap.
Sorry, as I'm a bit bogged down, this is just a quick-and-dirty answer, which I'm sure can be improved upon. I haven't, for example, detailed how you can adjust the margins to what you want (memoir
has this built-in, so you don't need geometry
).
It appears from the discussion that you do not actually need to follow Australian National University's guidelines. There is therefore no good reason to use this very complicated and low-quality template. The best thing you can do is to get rid of it entirely: remove all the custom preamble (except maybe what you understand and are sure that you really need and is not automatically provided by LyX — given what I see, you should probably remove almost everything). Also reset all document parameters that you do not understand.
Then the question is, how to get again a nice-looking document? Use the following guide to have a good starting point.
Simple document defaults to get started with report writing in LyX
Document class
This is the most important choice. I recommend one of the classes from KOMA-Script. They have sensible defaults, and later, a lot of customization options and a good manual (texdoc scrguien
) to explain the customization options. Use the following guide to choose between the article class, the report class and the book class from KOMA-Script: https://tex.stackexchange.com/a/36989/87201.
Page Layout
Choose your format (A4 or US Letter). Set Two-Sided Document if relevant for you; it sets the margins and other things appropriately for two-sided printing.
Select Page Style > Headings. This prints the Chapter and the Section at the top of the page.
Margins
Trust KOMA-Script to come up with a good choice of margins. You can fine-tune the margin size under Document Class > Class Options > Custom. There, type DIV=n
where n is an integer. It denotes the fraction of the page that must be reserved for margins (more precisely, all the page dimensions are computed so that the text width is (n-2)/n times the page width while remaining harmonious).
Under the Page Margins tab, make sure that Default Margins is selected. (This prevents the geometry
package from loading, which would interfere with KOMA-Script.)
Fonts
If you need special symbols (e.g. if you need mathematical formulae) I recommend choosing one of the recent high-quality fonts that provide everything you need in one package. This includes the Latin Modern fonts (selectable from the interface) and also the STIX fonts (choose Default as Roman font in the interface and add \usepackage{stix}
in the preamble; also choose a suitable sans-serif font).
If you do not need special symbols, you have more freedom in the font choice and the LyX interface provides a good sample.
It is also possible to select system fonts (LyX will automatically switch to XeTeX or LuaTeX). However I do not recommend this for a start especially if math fonts are needed.
Modules
LyX functionality is extended with modules. Under the Modules tab, select what is relevant for your field. For instance if you need theorem environment, select an appropriate Theorems module.
Hyperref support
Activate Hyperref Support under PDF Properties. Select Automatically Fill Header, Break Links Over Lines and No Frames Around Links.
Math Options
Make sure that all packages are set to load automatically.
Tables
I recommend using tables in the booktabs
style also known as the Formal style in LyX (available from the table properties). Looking at the examples in the booktabs manual is recommended (texdoc booktabs
). There is also a small section on it in LyX's Embedded Objects manual.
Bibliography
The standard bibliographic tool used by LyX is bibtex (starting from version 2.3, LyX also supports biblatex). Add your bibtex bibliography from the Insertion menu and choose the style according to the best practices of your field. (amsalpha
is a good one for mathematics.)
Sub-documents
For long document separated into child documents, you only need to select the same document class and modules, and to set up the master document for each child.
If in addition you want to be able to compile child documents independently, you must apply the above settings for each child document. They are ignored when compiling from the master document.
Going further
Many more customizations are possible! For this I recommend going step-by-step and using the LyX manuals and the KOMA-Script manual as your primary source. Introduce in the preamble commands that you find on the Internet only after you understand them and you are sure that LyX or KOMA-Script do not provide simpler alternatives.
Best Answer
Here's something that adapts Fran's answer to be a bit more in the spirit of standard Cornell Notes.