Hot answers tagged

193

The appendix package could be used here; the toc and page package options and the appendices environment will do what you need: \documentclass{book} \usepackage[toc,page]{appendix} \begin{document} \tableofcontents \chapter{Regular Chapter} \begin{appendices} \chapter{Some Appendix} The contents... \end{appendices} \end{document}


83

Universities normally have poorly written guides and badly designed template requirements. Most of these are remnants of solutions to problems caused by typewriters. If your University does not have one and you are free to use your own style consider yourself lucky. Start fresh from a good base class. book, memoir or koma and modify as you need. Use a ...


79

You can use pdfpages. In the example below, test2.pdf has 178 pages, and ceil(sqrt(178)) = 14. The purpose of the delta option is actually to add additional white space between each page. By setting it to negative values I guess the effect is that each page overlaps a bit. So it doesn't actually crop anything, but one gets the same effect -- less white ...


61

A different solution that I use is below. \appendix \section{\\Title of Appendix A} % the \\ insures the section title is centered below the phrase: AppendixA Text of Appendix A is Here \section{\\Title of Appendix B} % the \\ insures the section title is centered below the phrase: Appendix B Text of Appendix B is Here


49

To build on Yiannis's answer: Use Git and comment prodigiously. It's always nice to know why you added something (e.g., "added section on blabbidy blab because Prof X wanted it there.") Consider splitting chapters/sections/thoughts into separate files and use the \input{file} function to combine them in one main file. Early on, find a good bibtex solution ...


48

I get pretty many people convinced to edit the PDF either with "PDFXchangeviewer", which you can download for free (but it isn't open source), or using "PDF Annotator", which is used widely in the academic area. With both it is easy and can even be fun to annotate texts. And there is one large advantage to word & co: You can see at the first glance, ...


46

By request in the comment section, I have been exhorted to share specifics on my comment: I had a similar situation in our organization in that they, one day, insisted that every report had to be times-roman font (not my beloved Palatino), but allowed that figures could have other fonts. So I submitted my report, where each page of my Palatino manuscript ...


36

You need to talk to your supervisor to find out what he is willing to do. Then you need to modify your work flow to achieve that. If he is willing to read/edit raw/uncompiled LaTeX in MS Word, then that is easy. Just import your LaTeX files into MS Word. If he is okay with the occasional bit of LaTeX markup, but not too much, then maybe you need to do ...


33

Don't worry about the length of package documentation, you don't need to read everything! If you use just the packages present in TeX Live (or MiKTeK or any other official distribution), I don't think you have license problems. If your faculty already has a template, use it. If not, just start with: \documentclass{book} \input{preamble.tex} \begin{...


32

Both the glossaries package and the glossaries-extra extension package provide the package option symbols, which creates a new list labelled symbols with the default title given by the language-sensitive \glssymbolsgroupname ("Symbols"). This list can be referenced with type=symbols. If you don't use this package option then you can use the default main ...


29

Thought I'd chime in here with a piece of surprisingly unmentioned yet super-critical advice. I strongly suggest you coming up with at least two backup plans. Hard drive failures and laptop thefts will set you back to the stone age the week before you hand in your dissertation. I'm a 3rd year PhD chemistry student. I manage our lab's computer cluster on ...


26

To add to the other (excellent) answers: I generated a lot of numerical results for my PhD thesis, plotted the results in Matlab and then included the graphics. I put a lot of details in my latex code immediately after the figures/tables describing how the parameters were set so that I could regenerate the results without too much trouble. For example \...


26

The following code is derived from my template code (currently only in svn). My old template can be found on this site. It shows how to organise chapters using include and includeonly. Also numbering of pages at the beginning, main part and appendix are set up. having a bib for each chapter can be set up using biblatex, which I have not tried yet. ... \...


26

You could adapt the LaTeX source of the thesis to typeset it on A0 paper in four columns, each of which has the width of one A4 sheet. For better typesetting, i.e. a smaller number of characters per line, you could even increase the number of columns. \documentclass{article} \usepackage[a0paper, margin = 2.5cm]{geometry} \usepackage[english]{babel} \...


22

The first question you need to answer before you embark on such an endeavour is the raison d'être for writing a new class. In many cases a small package might be a better idea. I would start from using and understanding an existing class such as classicthesis, make a list of the changes that you want and then fork it into something new. My suggestion is ...


22

The situation with fonts is much better than you thought! I absolutely agree with your advisor that you should use OpenType fonts (and therefore, the unicode-math package on either XeLaTeX or LuaLaTeX). Any OpenType math font will have more-complete and consistent symbol coverage than any combination of legacy LaTeX packages, but the package also allows ...


21

Use Git as often and specifically as possible. Important note: you can get a free Github academic micro plan that can be used for thesis or other research work. To simplify review of specific chapters, instead of \input{}, use the \include{} command. This allows you to compile the entire document but only include material from a specified chapter (via \...


21

Any markdown flavor is indeed a better option than LaTeX to focus on contents and format a document easily with a decent format, no doubt. But the paradise vanishes when you need more than standards sections and bulleted list. Simple formatting options such as centering an image or making two columns are not available. This is not a criticism of markdown:...


18

I can only point to some bibliography I recently ran into: @Aditya's comment to this question led me to the following video: Boris Veytsman, Class Writing for Wizard Apprentices, TUG 2009; I didn't listen to the full video since I'm not a Wizard Apprentice, but he points to some very interesting articles for beginners like me: Jim Hefferon, "Minutes in ...


17

minitoc produces a file <jobname>.mtc? for each of the chapter-level sectioning commands in the thesis template (here ? denotes the current chapter-level section). So, if <jobname> is Thesis, Thesis.mtc1 corresponds to "Declaration of Authorship" Thesis.mtc2 corresponds to "Abstract" Thesis.mtc3 corresponds to "Acknowledgements" Thesis.mtc4 ...


17

Following up on Yiannis' answer, I think you will feel the need to write a class instead of a package only if you work in a field that requires rather specific things which are currently not offered by standard classes and packages. So this would mainly apply if you are working in the humanities or social sciences, for which the main classes will be memoir, ...


17

This will likely get downvoted, but I think the best answer is to use Word. Making it so that your supervisor may feel frustrated dealing with your thesis is a very bad idea. Be glad your supervisor is willing to edit it, rather than just making notes on a hard copy that you are going to have to put into the file yourself. In my experience that is unusual. ...


17

Why not just find your ASCII art by using an external package and include it verbatim, perhaps using listings's \lstinputlisting: \documentclass{article} \usepackage{filecontents,listings,graphicx,varwidth}% http://ctan.org/pkg/{filecontents,listings,graphicx,varwidth} % Source: http://www.chris.com/ascii/index.php?art=animals/birds%20(water) \begin{...


16

In general, I suggest to start with a preamble that is as small as possible and to add packages and/or custom commands as the need for them arises. With regard to your code sample: Don't fiddle with \topmargin, \textheight and similar commands. If you want to change the margins of your document, use the geometry or typearea packages. If you really must ...


15

On the "Managing" side, I'd really recommend a version control system. git (and github) has treated me very well.


15

Yes, memoir is ideal for a humanities thesis. I am using it for mine. The memoir class incorporates the functions of a large number of commonly used packages to provide a more consistent interface, and is designed to be easy to customize. So instead of loading a dozen possibly conflicting packages---geometry to change margins, and setspace to change line ...


14

You can simply go \begin{table} \includegraphics{.... there is no requirement to use tabular in table or to use \includegraphics in figure The commenters requested code to put the caption in both the lof and the lot, so in cse that is what you meant: \documentclass{article} \begin{document} \listoftables \listoffigures \section{jkhgfv} \begin{...


14

Let a package do the hard work for you (that's one of the reasons they were written in the first place). The rotating package offers you sidewaysfigure (and sidewaystable): \documentclass{book} \usepackage[a6paper]{geometry}% just for the example \usepackage{graphicx} \usepackage{rotating} \begin{document} .\clearpage% just for the example \begin{...


12

I'd answer three main questions before starting any thesis class or package: Is your university in the U.S. or elsewhere? U.S. universities often have very strict requirements on thesis formatting, and though those requirements can almost certainly be met with LaTeX, you may not have the time to satisfy them. Their documentation on formatting requirements ...


12

The problem is the extra \begin{document}..\end{document} inside chap1.tex. It doesn't belong there. There is just one document -- created from one or multiple source files. Removing the extra environment should fix the errors.


Only top voted, non community-wiki answers of a minimum length are eligible