Hot answers tagged

26

You do not specify the minimum (similar?) requirements of your desired magazine layout, but in general, such complex and inconsistent layouts are more suitable for desktop publishing software as Scribus or InDesign. Said that, there are the paperTeX document class: There also a newspaper package to produce a similar layout to the New York Times: And ...


12

ShareLaTeX provides a list of CV/Resume Templates, including: ModernCV Oldstyle ModernCV Casual ModernCV Classic ModernCV Banking EuropeCV SC_CV Classic Thesis Style - CV Academic CV Professional CV Two-Column CV Fancy CV ECV Curriculum Vitae (English or German) Curve ESIEEcv currvita Cies Breijs Resume CV US Clean CV ...


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


10

CTAN has a document class named lex-br, written in accordance with the Brazilian Complementary Law 95, which has instructions on how to typeset laws and norms. The class author is my good friend Youssef Cherem. :) The class is avaliable in recent TeX distributions. There's an example available as well in the bundle: ...


8

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


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

You don't really need a "template" at all, I'd just keep everything to a minimum and just use article (and perhaps geometry if you want to adjust the margins). Keeping the requirements basic means it is easy to switch a final version to whatever publisher class you need.


6

If using an additonal package is an option for you, then tcolorbox could be used for the job. Here, the two embedded boxes are set by the tcbitemize environment which allows to set the boxes to an equal height. It takes two compilations to see the effect. For the example, I used a 2mm distance between the two boxes. This distance is put as raster column ...


6

Here's an example which merges a list of 8 names and addresses from a data file into a template which uses the labels package to create a list of address labels on an A4 sheet of 16 such labels. The merging is done with textmerg. 2 labels are created for each entry from the data file, for a total of 16 labels. For convenience here, the data file is written ...


6

Here is a suggestion using package scrlayer (part of the KOMA-Script bundle) to define a new page style for the chapter pages. This new page styles inserts the chapter image and the background box for the chapter title. \RedeclareSectionCommand is used to set the skip before and after the title. Additionally a horizontal skip before the chapter is appended ...


6

Something like the following? \documentclass{article} \usepackage{amsmath} \usepackage{siunitx} \begin{document} \[ F^{-1}_{\text{Risk}_m} (\text{stress level}_m) = \num{0.995} \text{ with } \text{Risk}_m \sim N(\mu_m, \sigma_m^2) \text{ for } m = 1, \dots, 5 \] \end{document} And the in text version: \documentclass{article} ...


6

I had some issues with that template, so here's a solution with the article class. I have used 10pt to fit the example in a single page, but you can use 12pt too, for example. Please note that I don't speak Fārsī, so there might be mistakes in the title, author or even the date, although I tried to check to the best of my abilities and everything seems OK. ...


5

If you can't find an template on the website of the journal the best way is to contact the journal and ask, what they want to have to publish an article. They know best what they need to fit their production process. If they accept LaTeX, ask for a template and if the do not have on ask them, what they need. It could be they want documentclass article. ...


5

Some of the things you want are non-standard in beamer. But you can always take the existing beamer templates as starting point and tweak the according to your needs \documentclass[xcolor=x11names,compress]{beamer} \usetheme{Darmstadt} \useoutertheme[subsection=false,footline=authortitle]{miniframes} \usefonttheme{serif} \usepackage{palatino} ...


5

The fact that the README file contains the locution An up-to-date installation of AMS-LaTeX is also required and points the reader to a non-CTAN website strongly suggests that the instructions haven't been updated in a decade, and maybe quite a bit longer. (The last time I recall seeing the amsmath package being referred to as AMS-LaTeX was long before ...


5

(Edited to arrange the template in two files and to provide an addendum to show how one might use subfloats.) Even though I fully agree with Harish's and Joseph's recommendations not to use LaTeX for the conference/journal version of your paper -- at least not until you've gotten an explicit go-ahead from the conference organizers and/or journal editors ...


5

There is some example of simple dictionary for Syrian Arabic. It uses LuaLaTeX for typesetting Arabic and current version of odsfile package. It is included in TeX Live distribution, but fixes for some recent issues are only in development version at the moment. I've downloaded your full spreadsheet in .ods format. Unfortunately, it couldn't be processes ...


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


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


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

It's very easy, you open the document ("Open as template"), and click on "Project". Then you can either "Download as zip" or just open the file "wlscirep.cls" directly online to view in the Overleaf editor. I would use the template from Overleaf (either downloaded or online), that way you should always get the current requirements.


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

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

I accept unicoins... and compile this with XeLaTeX: \documentclass[10pt]{article} \usepackage{geometry} \geometry{ vmargin=0.75in, hmargin=1.00in } \usepackage{multicol,enumitem,caption,graphicx} \captionsetup[figure]{ font=small,% 9pt labelsep=endash } \usepackage{fontspec} \setmainfont{Times New Roman} \newfontfamily{\titlefont}{Rockwell Bold} ...


4

If you don't use quote: \documentclass{moderncv} \moderncvstyle{classic} \usepackage[scale=0.8]{geometry} \name{The name}{} \title{Some title} \address{address\\address\\address\\} \phone[mobile]{123456789} %\quote{some quote here} \usepackage{xpatch} \xpatchcmd{\makecvhead}{% \usebox{\makecvheadnamebox}\fi% \\[2.5em]% }{% ...


4

Edit: See the better version at the end of this answer. Just use \renewcommand{\thechapter}{\Alph{chapter}} after \backmatter. But in my point of view, \backmatter is of no use here. \documentclass[11pt,fleqn]{book} \usepackage[top=3cm,bottom=3cm,left=3.2cm,right=3.2cm,headsep=10pt,a4paper]{geometry} \usepackage{lipsum, fancyhdr} ...


4

There aren't many LyX users on here, and probably fewer who play with LyX layout files. I have done this before, and the general steps involved are: Find the Customising LyX: Features for the Advanced User document and go to section 5: Installing New Document Classes, Layouts and Templates. Section 5.2.3 talks specifically about .cls files. I highly ...


4

Update: The template has been updated. It is now possible to define the separator between the icon and the content for all instances at once. By default, it is a \space, but can be changed to a \quad or something to your liking. \renewcommand{\acvHeaderIconSep}{\quad} The folloing is now obsolete and won't work anymore. Add to preamble: ...


4

The template works if you replace old day code. Your errors are due to placing it outside of the calender environment. I started in the 2nd half of 2015 and the 1st half of 2015. To shift the cycle, initialize the \cleanerID to some value from 0 to 29. For the given requirement, it's 18. To pause and start, you can use the at most and at least keywords of ...



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