Tag Info

Hot answers tagged

17

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


11

I have never written poems, even with pencil, but I think that every book class is equally good as starting point to make a title page, table of contents and index. Which class to choose at this respect is mainly a matter of personal preference, IMHO. These are standard LaTeX procedures and there are hundreds of answers covering any possible problem and ...


10

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

jhep is a somehow very strange class ;-) Seriously spoken: I would not use this class if it is not really necessary, but, honestly, I can not provide an alternative however. \documentclass{jhep} \usepackage{blindtext} \author{me} \abstract{a} \title{JHEP -- a very strange \LaTeX~ class} \begin{document} \blindtext \TABLE{% \begin{tabular}{llll}% 1 ...


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

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


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

My current resume is based on the article class; source hosted on GitHub and forked from kjhealy. It uses fontspec for OpenType fonts (Adobe Garamond Pro and FontAwesome). Still working on the best way to selectively place content for different purposes/companies. I'm experimenting with linked external documents, under the supposition that the resume ...


7

You need to redefine the macro \@chapter in this way (since you're loading hyperref) \makeatletter \def\@chapter[#1]#2{\ifnum \c@secnumdepth >\m@ne \refstepcounter{chapter}% \typeout{\@chapapp\space\thechapter.}% \addcontentsline{toc}{chapter}% ...


7

I don't know if a template exists elsewhere, but you can easily provide the required settings: \documentclass[14pt,openany]{memoir} \usepackage[a6paper,textheight=19\baselineskip,footskip=40pt]{geometry} \usepackage[pagestyles]{titlesec} \usepackage{xcolor} \usepackage{graphicx} \usepackage{lipsum}% kust to generate text for the example ...


7

the gsm-l.cls does not deal well with the geometry package. (none of the ams document classes do, since a number of features depend on the fact that the positioning of the output is always centered horizontally, a requirement for sending the output directly through an automated plate-maker to prepare plates for the press.) the three values that are ...


7

I get the error message: ! Undefined control sequence. \cftdotfill #1->\def \@tempa {#1}\def \@tempb {\cftnodots }\ifx \@tempa \@te... ... \cftdotfill is part of a table column specification in macro \ressubheading: \begin{tabular*}{6.5in}{l@{\cftdotfill{\cftsecdotsep}\extracolsep{\fill}}r} There it gets expanded via ...


6

There are better ways to obtain fixed-width tabulars - the main problem with the current template. I've swapped out the use of tabular* with tabularx, provided by the tabularx package (and some array pizzaz): % (c) 2002 Matthew Boedicker <mboedick@mboedick.org> (original author) http://mboedick.org % (c) 2003-2007 David J. Grant ...


6

This was accomplished using a combination of the everypage package and TikZ. To build, run pdflatex -recorder <file> pdflatex <file> The first run with -recorder is to generate the files needed for the currfile package (to automate the bottom left). The second run is to sort out TikZ issues and to resolve labels used for the ...


6

I've found the right trick... First of all, the right counter is questionnumber. Before setting the counter you have to put \resetcounterfalse MWE: \documentclass[11pt]{examdesign} \title{Exam} \author{Examiner} \date{Today} \class{This One} \begin{document} \begin{multiplechoice} \resetcounterfalse \setcounter{questionnumber}{50} ...


6

I had to deal with svmono in the past, so I'm probably in a charted territory. :) The following code uses xpatch to patch \@maketitle and remove the word Springer in the title page: \documentclass[graybox,envcountchap,sectrefs]{svmono} \usepackage{lipsum} \usepackage{xpatch} \makeatletter \xpatchcmd{\@maketitle}{{\Large Springer\par}}{}{}{} \makeatother ...


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

Recently added document class, cv4tw by Geoffrey Gouez, offers a "LaTeX CV class, with extended details". The class offers entries for assets and social networks; customizable styles are provided. The class comes with no documentation, but a worked example offers some guidance. This package is still under development but it shows great progress. ...


5

The Stationery folder in TeXShop is stored in ~/Library/TeXShop and its location can't be changed because TeXShop will automatically recreate it from a backup if it is moved or deleted. However, as long as the folder exists, TeXShop will be content. So it's perfectly possible to create the folder somewhere else (like your Dropbox folder) and then place a ...


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

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


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


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

My example shows how to do this task without any LaTeX packages. Suppose, we have the file names.csv in the format shown in Kumars answer. % in preamble: \newread\infile \def\printletters #1 {\bgroup \endlinechar=-1 \openin\infile=#1 \read\infile to\tmp \printlettersA } \def\printlettersA{\ifeof\infile \egroup \else \read\infile to\tmp ...


4

You can just grab the definition of \@maketitle from the class file and comment out the relevant lines. \documentclass[graybox,envcountchap,sectrefs]{svmono} \usepackage{lipsum} \makeatletter \def\@maketitle{\newpage \null \vskip 2em % Vertical space above title. \begingroup \def\and{\unskip, } \parindent=\z@ \pretolerance=10000 ...



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