Tag Info

Hot answers tagged

66

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 ...


56

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 ...


42

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 ...


41

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, ...


35

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 ...


34

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}


33

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 ...


25

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 ...


25

work with included files for each chapter one. Then you can uncomment single chapters in the list of \includeonly{} to speed up your compilation and the single files are less large which makes the navigation inside the code easier. All references, page numbers will be correct. In this examples code I name the files intro.tex, chap1.tex, chap2.tex and ...


23

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

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 ...


21

I did the same thing for my dissertation. Crappy copies for the University library, decent copies for myself and the committee. The easiest thing to do might be to have two versions of the master tex file, which then \input individual chapters. This lets you tweak each one, while using the same content. BTW: Playing with LaTeX formatting is a great way ...


19

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 ...


16

Use some sort of version control. This has already helped me numerous times. It's especially handy when working with someone else (also using google projects), but it can provide life-saving resques when working alone too (for eg. when you changed a paragraph whilst tired/drunk and want to change it back). I also like the way I can hide the excess files ...


16

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. ... ...


15

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 ...


14

While it has the disadvantage that it will likely look slightly different from the rest of your document, it does have the advantage that the title page will look like exactly like how the university expects it to be: include a PDF version you created with their Word template. This can be done with the pdfpages package: \usepackage{pdfpages} ...


14

For the margins use the geometry package. For your particular example use \usepackage[inner=2.5cm,outer=1.5cm,bottom=2cm]{geometry} Check the documentation of this package for more details and other options! For the line spacing use setspace. Again for your example \usepackage{setspace} \onehalfspacing % or \doublespacing


14

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) ...


13

Yes, but like many of the kernel class options it was not exactly designed for this. You'd by much better off simply having two potential document class lines, or something as simple as \documentclass[ twoside ]{book} so you can comment out the option as necessary.


13

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, ...


13

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} ...


12

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. ...


12

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 ...


12

Joseph's answer is the most pragmatic one -- there's no need to complicate things. Answering the question you didn't quite ask, however.... In some circumstances, it can be useful to exercise some control over LaTeX from 'outside' -- perhaps you want to be able to produce two different versions of a document from a Makefile. One way to do that is to ...


12

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 ...


11

With book class, you can do this: thesis.tex \documentclass{book} \usepackage{geometry} %%% put packages you need here \begin{document} \begin{titlepage} \vspace*{1in} \Huge This is the title \end{titlepage} %%---------------------------------------------- \frontmatter \include{acknowledgement} \tableofcontents \listoftables ...


11

I would take the whole text and preamble of the thesis, but swap some packages to really print it on A 0: \documentclass[pagesize, paper=a0, english, fontsize=6pt]{scrartcl} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{babel, blindtext, multicol, endnotes} \usepackage[margin=2cm]{geometry} \let\footnote=\endnote \title{Reamde} ...


11

Add the following to your preamble: \usepackage[titletoc]{appendix} \makeatletter \renewcommand\backmatter{ \def\chaptermark##1{\markboth{% \ifnum \c@secnumdepth > \m@ne \@chapapp\ \thechapter: \fi ##1}{% \ifnum \c@secnumdepth > \m@ne \@chapapp\ \thechapter: \fi ##1}}% \def\sectionmark##1{\relax}} \makeatother The ...


10

I would recommend a different structure. As a reader I'm not so much interested in why typography is important to you but more why the document is typeset the way it is. This can still entail arguments about readability but I would let arguments speak for themselves rather than presenting them explicitly as your opinion. Also, asking about the opinion of ...



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