Hot answers tagged

39

As one of the resident linguists here, I'd like to add my two cents to this discussion. First off, language meanings aren't carved in stone (or in dictionaries), but are essentially determined by language use. And although there are some experienced LaTeX users on the site who would like to prescribe a particular meaning to the term, this is fundamentally ...


27

The term isn't used (in that sense) anywhere in latex itself. It is usually means a small sample document that loads up some particular class and selection of packages and has some dummy text, so people can just start from that and edit rather than read enough documentation to build a new document from scratch.


16

A template is a complete example code for example to write the formalias for the master thesis of a special university. Then there are added special commands to insert author, etc. at the required place, fullfilling the given title page etc. of the special university. The problem with template is that a lot of them are buggy ... The template uses ...


10

That very same question has been asked before by Barbara Beeton in TUGboat That question is impossible to answer though, because the term template is not defined for LaTeX. Let's take a look from different perspectives. Why is someone searching for a template? Almost all users using that term want a base to start with. A mould to pour in content. An ...


6

I've discovered that I'm a Grumpy Old Man (GOM) but I want to thank everyone who has answered and obviously put a lot of thought into it. As a GOM, and considering the other answers I'm now thinking of a Template as being example (La/TeX) code, preferably as a complete example document or as a code snippet for a particular task. I think that my summary word ...


4

The template already fiddles with the title, so, you are not doing any harm by adding few more lines as in \title{ \normalfont \LARGE \textsc{University of Example - School of Management, Economics, Law, Social Sciences and International Affairs} \\ [25pt] % Your university, school and/or department name(s) \horrule{1pt} \\[0.4cm] % Thin top horizontal rule ...


4

Dirty templates, dirty solutions. Use the following, which is ugly, but ... \name{My name, P\MakeLowercase{h}.D} If you use a font that supports bold small caps, you can do that as well. By the way, the code is from either https://github.com/treyhunner/resume or http://www.latextemplates.com/template/medium-length-professional-cv


4

Proof of concept with two tabulars. Uses fontspec so has to be compiled with xelatex or lualatex. Fonts used are Fira Sans (https://github.com/mozilla/Fira) and TeX Gyre Chorus. (Note that this code wont win any awards for elegancy. On the contrary, it's quite the hack job.) \documentclass[a4paper]{article} \usepackage{array} ...


4

Use a \parbox for #1 too. Add the following in the preamble. \renewcommand{\entry}[4]{% \parbox[t]{0.18\linewidth}{#1\par}&\parbox[t]{0.82\linewidth}{% \textbf{#2}% \hfill% {\footnotesize\addfontfeature{Color=lightgray} #3}\\% #4\vspace{\parsep}% }\\} Adjust 0.18\linewidth and 0.82\linewidth as you wish.


4

Using \fbox \documentclass{article} \usepackage[top=1in, bottom=1in, left=1in, right=1in]{geometry} \usepackage{graphicx} \newcommand{\centerbox}[1]% #1 = text {\bgroup% use local definitions \parskip=0pt \sbox0{\fbox{#1}} \dimen0=\dimexpr 0.5\textwidth - 0.5\wd0\relax \par\noindent\rule{\dimen0}{0.8pt}\box0\rule{\dimen0}{0.8pt}\par \egroup} ...


3

A good and common synonym for Template is Form. Templates aid in achieving sameness. Templates do that by setting or constraining visual or physical parameters of some productive process. Which aspects are duplicated by a template will vary by domain. For example, in a text document, the visual parameters of style are set by the template; but in the domain ...


3

Better late than never. Redefining a bit of stuff should get you what you want. \documentclass{article} \usepackage{blindtext} \usepackage{titling} \usepackage{array} \preauthor{\begin{center} \large \lineskip .75em% \begin{tabular}[t]{>{\centering\arraybackslash}p{.45\textwidth}}} \postauthor{\end{tabular}\par\end{center}} ...


2

If you are willing to live risky, you can add the following after your title page. I cannot recommend that solution, though. It is against the design of the template. The author must have had some reasoning when coming up with that. Basically, that replaces all instances of an empty page with a plain page. All of them after you do this. ...


2

The difference is in the font used.The simplest way is to use the \usepackage{mathptmx} package to load times font. Other alternatives are the newtx packages (i.e., newtxtext and newtxmath). However, recently Springer will revert back all LaTeX papers to Computer Modern.


2

I am forever thankful to both @johannes_B and @Torbjorn. Again, I would never have gone around it if it was not for their help. The problem I was finding was how to write ideas found online on a template. It seems that I was writing every user packages in the main.tex when I should have written it in a particular file in that e main.tex. After I had done ...


2

I know content is already done but for next writing it's good reminder that you can always focus the most on content, and using stripped down writing software is always a nice time. If you use plain text you can always use markdown (+pandoc) Now to the actual answer. I've set a book with 4 initial pages as stated. Not sure if code is clean, or could get ...


1

I'm afraid the news isn't encouraging. The class file sig-alternate-05-2015.cls contains the following code, starting at about line 130: \newcount\ACM@basesize \ACM@basesize=9\relax \DeclareOption{9pt}{\ACM@basesize=9\relax} \DeclareOption{10pt}{\ACM@basesize=10\relax} \DeclareOption{11pt}{\ClassError{sig-alternate}{The `11pt' option is not ...


1

The llncs class is derived from article.cls so it does have the \author macro. It provides an\institute macro as well, but \date isn't used apparently. \documentclass{llncs} \author{Ann Elk (Mrs.) and Mr. Arthur Gumby (Brain Surgeon)} \title{Theory of Brontosaurs} \date{30th of February 2016} \institute{Ministry of Silly Walks} \usepackage{cleveref} ...


1

IET has recently published a LaTeX template for its journal submission. See their author guide for more information or use the direct link to the .zip archive.


1

Not exactly what you are looking for, but here are my recommendations; maybe they will be useful to you or others. I start writing the document (no template/snippet/whatsit business). When I reach a point in the document when I need a feature of <package>, I add \usepackage{<package>} to my preamble. It's super efficient! In each document, I ...


1

In the KOMA classes you have alredy have an enhanced meta data interface, i.e. there is \subtitle to add a subtitle. For the rest I recommend to use a series of patches to get in the additional information and keep the macros gathering the meta data clean of any sort of formatting command. Specifically I would prefer to write \title{European Competition ...


1

In my experience using \documentclass{nature} , it works ok except for some problems with tables and figures alignment since the commands options [htbp] donĀ“t work anymore.


1

I think this particular usage of the word template comes from Microsoft Word users. In that application, a template is essentially an example document with placeholder text and styling that can be customized to suit one's needs. Word ships with several templates for letters, invoices, agendas, etc. Templates can be pretty sophisticated with their own ...



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