Tag Info

Hot answers tagged

18

Welcome! Just look at all the questions on this site from people who are struggling to adapt thesis templates to their needs and their university's requirements. I think that shows it is better to start from scratch if you have the time. My recommendation is to use the memoir class and base your customized design on the model thesis demonstrated in the ...


16

Yout code won't work because the itemize/enumerate \beameritemnestingprefix body begin template is used before the \list internally used by itemize. You can patch \itemize (original definition in beamerbaselocalstructure.sty): \documentclass[14pt]{beamer} \usepackage{xpatch} \xpatchcmd{\itemize} {\def\makelabel} ...


11

Improved version (Other versions can be consulted in the edit history of the answer) Using the xkeyvalue package, this new version has a \EducNotebook command with a key-value system to control the attributes; the main features are: The spiral can be drawn on top, to the left or to the right. The user can select the number of spirals to be used. The ...


11

First ask your university if they have a LaTeX template. If they don't, then I would definitely ask around other students that have indeed produced a "valid" thesis with LaTeX. Then use that, scrap all the text out, and there you have your university-proof template. Make sure it conforms to the standards by asking whoever enforces the requirements, and be a ...


9

One possibility using the background package and a \foreach loop to draw the horizontal rules: \documentclass{article} \usepackage[vmargin=3cm]{geometry} \usepackage{tikzpagenodes} \usepackage{lipsum} \usepackage{background} \definecolor{notepadrule}{RGB}{217,244,244} \backgroundsetup{ contents={% \begin{tikzpicture} \foreach \fila in {0,...,52} ...


8

I expect that the dimensions of the text body are chosen on purpose. Filling a complete A4 (or letter) paper would either require very long lines ⇒ poor readability; or quite large margins ⇒ ineffective high paper costs). Therefore I assume that the one-column layout is intended for a final paper size that is smaller than A4 (or letter). And I ...


8

Here is a starting point using datatool. I won't discuss the design of the check (layout) as it is a candidate for a separate question. \documentclass{article} \usepackage[a4paper,textheight=5in,left=1in,right=1in]{geometry} %% 5in only for demo \usepackage{xcolor}% \usepackage{adjustbox} % \usepackage{filecontents} \begin{filecontents*}{names.csv} ...


7

The simplest way for modifying the phrase is to add a couple of lines to the .tex document. I'll take the example document as a basis, you find the change between self-explaining comments: %% ---------------------------------------------------------------- %% Thesis.tex -- MAIN FILE (the one that you compile with LaTeX) %% ...


7

The cleveref package patches \appendix assuming it's a parameterless macro, which isn't true with ametsoc. My strategy is thus to recover the correct definition of \appendix from the badly patched macro and doing the patch in a safer way. \documentclass[twocol]{ametsoc} \journal{mwr} \usepackage{cleveref} \usepackage{xpatch} % split the badly patched ...


7

If you load the tikzmark library, you could do something like this (with some tidying up): \bigskip \tikzmark{p0} {\fboxsep3pt\fboxrule0pt\color{spot!50!white} \hskip\dimexpr-\leftmargin-\hoffset\relax\fbox{\HHUGE\color{spot!50!white}\tikzmark{p3}Postgraduate\tikzmark{p1}} \definecolor{head}{rgb}{173,216,230} ...


7

I left numerous comments in the code below highlighting bad code, however this version runs without error in latex and pdflatex \documentclass[12pt]{article} % never load epsfig it is just for emulating latex2.09 documents from 1980's % rotating might be needed for sideways table, otherwise not % psfrag doesn't work as is with pdflatex or dvipdfm % ...


6

Without changing anything in cleanthesis.sty, add the following lines in your document, just before \begin{document} \makeatletter \pretocmd{\Hy@org@chapter}{\KOMAoptions{parskip=full}}{}{} \pretocmd{\H@old@schapter}{\KOMAoptions{parskip=full}}{}{} \pretocmd{\cleanchapterquote}{\KOMAoptions{parskip=full}}{}{} ...


6

\documentclass[11pt,spanish,a4paper]{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} OK so far except that theses usually have chapters so book or report might be preferable. \setlength{\parskip}{2ex} \setlength{\parindent}{0pt} Better to use parskip: \usepackage{parskip}% but do you really want no indentation in a thesis? ...


6

This is the first time I've ever succeeded in actually using the background package so caveat emptor... This code is based on code originally posted at http://michaelgoerz.net/blog/2009/07/printable-paper-with-latex-and-tikz/. However, when I just tried that link, it seemed to be broken so I am not sure where to direct the attribution now. Basically, the ...


6

\documentclass{article} \def\a{\stepcounter{enumi}One two three four \roman{enumi} five six seven eight. } \def\b{\a\a\a\a Red blue yellow. \a\a\a\a\a\ Green black blue \Roman{enumi}. } \def\c{\b\b\b\par\a\b\a\b\a\par} \def\z{ Interesting text that has notes attached} \def\zz{\z\z\z\z\z} \newcommand\mynote[1]{\strut\vadjust{% ...


5

I think the following should cover most things. If anything is missing or appears wrong, please let me know. File organisation Place named.sty and named.bst in the same folder as your .lyx file. Document class options Go to Document --> Settings --> Document class, choose Report from the list of classes, and add 11pt,openright,twoside,letterpaper to ...


5

Not \include but you can use \input so if you want \input{preamble} \include{A} \include{B} \include{C} \input{postamble} where preamble.tex is \documentclass{article} \usepackage{tikz} \usepackage{array} \begin{document} and postamble.tex is \end{document} you can do that. However I wouldn't: it obscures the form of your document. If you want to ...


5

Put this just before the \begin{document} \makeatletter \renewcommand*{\makeletterclosing}{ \@closing\\[3em]% {\includegraphics[width=2cm]{example-image-a} \par \bfseries \@firstname~\@lastname}% \ifthenelse{\isundefined{\@enclosure}}{}{% \\% \vfill% {\color{color2}\itshape\enclname: \@enclosure}}} \makeatother Change ...


5

The intended usage in article is to place address information after the author separated by \\ and to separate individual authors with \and \documentclass{article} \usepackage{amsmath} \usepackage[a4paper]{geometry} \usepackage{graphicx} \usepackage{microtype} \usepackage{siunitx} \usepackage{booktabs} \usepackage[colorlinks=false, pdfborder={0 0 ...


5

I can't speak for the AAS, but I am well acquainted with the templates from AMS (the American Mathematical Society). These templates are quite basic, containing only a few packages that are known to be used almost universally, along with recommendations in the form of comments regarding other packages that are known to be compatible with the document ...


5

\documentclass[twoside,numbers=noenddot]{scrartcl} \usepackage{lipsum} \usepackage{multicol} \usepackage{fancyhdr} \fancyfoot[LE]{\makebox[0pt][r]{\textbf{\thepage}\hspace{3em}}% \tiny January/February 2013} \fancyfoot[CE]{\tiny Copublished by the IEEE Computer and Reliability Societies} \fancyfoot[RE]{\tiny 1540-7993/15/\$31.00 2015 ...


5

Use \setmainfont{Fontin Regular}[SmallCapsFont = Fontin SmallCaps] (newer syntax), or \setmainfont[SmallCapsFont = Fontin SmallCaps]{Fontin Regular} (older syntax).


5

Here is another suggestion using scrlayer-scrpage \documentclass[twoside,numbers=noenddot]{scrartcl} \usepackage{lipsum} \usepackage{multicol} \usepackage{xcolor} \newcommand\pagenumberspace{3em} \usepackage[ headwidth=paper, footwidth=\the\textwidth+\pagenumberspace:0pt, headtopline=.5pt, headsepline=.5pt, ]{scrlayer-scrpage} \clearscrheadfoot ...


4

I defined a \Title command with four arguments to produce the desired layout; for example, the title in the image below was produced using \Title{Mohcine}{Some particular title}{Some test text}{Some other text} Please, feel free to adjust the settings according to your needs. The code: \documentclass[11pt,a4paper]{report} \usepackage{xhfill} ...


4

No need for extra packages; simply include your image with a standard \includegraphics and use \smash, as in The Netherlands\hfill \smash{\includegraphics[width=3cm]{example-image-a}} A complete example: The code: \documentclass[10pt,a4paper]{article} \usepackage[a4paper,margin=0.75in]{geometry} \usepackage[english]{babel} \usepackage{graphicx} ...


4

Same content as David's but using scrlayer-scrpage which is recommended with KOMA classes. Better not use fancyhdr here. \documentclass[twoside,numbers=noenddot]{scrartcl} \usepackage{lipsum} \usepackage{multicol} \usepackage[headsepline]{scrlayer-scrpage} \lefoot*{\makebox[0pt][r]{\textbf{\thepage}\hspace{3em}}% \tiny January/February 2013} ...


4

For the messiness: Read the console output. Packages often try to tell you useful stuff. For example, fancyhdr is as close to knocking you over the head as a piece of software can come without evolving into a robot. It is desperately trying to get your attention: Package Fancyhdr Warning: \headheight is too small (39.36879pt): Make it at least ...


4

You can download the source as for most documents on arxiv: http://arxiv.org/format/1303.5621v1


4

This should be a start. For setting the pagination parameters use geometry. \documentclass[a4paper]{book} \usepackage[T2A]{fontenc} \usepackage[utf8]{inputenc} \usepackage[russian]{babel} \usepackage{microtype} \usepackage{titlesec,titletoc,chngcntr} \titleformat{\chapter}[display] {\Large} {\titleline[l]{\chaptertitlename\ ...


4

A simple attempt with minipages and \fbox: \documentclass[twocolumn,a4paper]{article} \usepackage[margin=.5in,columnsep=.5in]{geometry} \usepackage{xcolor} \usepackage{graphicx} \setlength{\parskip}{\bigskipamount} \setlength{\parindent}{0pt} \usepackage{bbding} \newcommand\tab[1]{ \Huge\ScissorRightBrokenBottom\\[-5pt] {\color{gray!30} ...



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