Tag Info

New answers tagged

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


0

A really great place for LaTeX templates is: http://www.latextemplates.com This website is beautifully laid out and the templates are sorted into categories that make it easy to find the template that is best suited to your purposes. All of the templates have PDF examples and full template code. I am not affiliated with this website in any way but have ...


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


2

Sorry, there's no way to use the class with languages different from English, without extensive work. It uses several \font declarations and the same happens in the accompanying w-bookps.sty file. This is due to the fact that Wiley uses proprietary fonts for the final printout. Accents are all wrong or swallowed. There are other horrible features in the ...


2

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.


0

As of Feb. 2015, I found that the answer from egreg did not remove the \hrules. There is an additional macro, \pprintMaketitle in which I had to comment out the same lines of code to remove the horizontal rules around the abstract that are present even if no abstract is present. \documentclass{elsarticle} \makeatletter ...


0

The downloaded zip file must compile as it is, once it is extracted. Remember to use xelatex. On the other hand, if you want to use the attached fonts, just copy the otf files to your /home font folder, usually /home/USER/.fonts. If you don't find it, then there are two possibilities: either you have to tell nautilus to «unhide» files (then you'll see ...


2

The problem is causes by catcode reassignments in the template: some code changes uses something like \catcode\-=13 which causes TeX to change the meaning of the minus character -. Any occurrence of this character will be different from before -- and pgfplots uses it inside of the error bar input specification. The solution is to change it back before ...


1

The most simple solution seems to be to just add the \sffamily switch to the field. Chances are high though, that the journal editors will ust revert the changes. \documentclass{acm_proc_article-sp} \title{Title} \author{Name$^{\dag}$, Name$^{\dag}$, Name$^{\dag\ddag}$...\\ \affaddr{$\dag$ University, Address}\\ \affaddr{$\ddag$ University, Address} \\ ...


0

The hgb-bundle is meant for people studying and working at the University of Hagenberg. It is actually one of the more thought through university templates. The maintainer decided to go with the modern package biblatex along with the modern bibliography processor biber. As such, you should not use package natbib along with BibTeX. There is in principal a ...


5

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


1

The original template as well as the code you are giving us is a bit of a mess ;-) The first error you encounter is thrown because you try to bold face a hyperlink. If you want the stuff bold, do \href{http://chat.stackexchange.com/rooms/41/tex-latex-and-friends}{\bfseries A nice place to hang out}. I redefined the \lineunder macro to use predefined ...


1

Rule of thumb, load as many packages as needed, but as few as possible. The following uses standard KOMA-book including a font package for another font, mathtools for some amsmath fixes and biblatex for citing. This should be all you need right now. Further packages you should keep in the back of your head: chemformula for chemistry siunitx for ...


3

As you may know, there is no general procedure to "reverse engineer" a LaTeX document. I would proceed as follow: Is this article published? If so, is the journal / conference / proceedings imposing a style? In that case, this paper was an abstract to 2011 NIPS Workshop on Bayesian Nonparametrics. It was accepted, and lead to a poster presentation, but ...


3

I would replace the \setmarginsrb{} with the \usepackage{geometry}, see more here. Something like this in the preamble: \usepackage{geometry} \geometry{% letterpaper, % a4paper left= 40 mm, right= 40 mm, top= 15 mm, bottom= 20 mm, } You can also specify inner and outer margins with package geometry Assuming I am interpreting your university's ...


0

Can you please try with \documentclass[final,5p,times]{elsarticle} and you don't need to modify the template with \twocolumn[ \begin{@twocolumnfalse} \begin{frontmatter}. I have just checked the documentation on http://mirrors.ibiblio.org/CTAN/macros/latex/contrib/elsarticle/doc/elsdoc.pdf and according to the doc (page 2) 5p is always two column ...


0

There aren't any popular templates circulating around for for writing a novel in LaTeX. I wish there was one for say CreateSpace submittal 8" x 5" and 9" x 6" formats. And similar ones for Lula, for self-publishers. But, I'm still using LaTeX (LyX) for composing my first novel, because I agree with your points. Basicly, to adjust your default ...


0

Your tex code seems fine. I would suggest to use the elsarticle template. \documentclass[two-column,final]{elsarticle} If you use the two-column and final option, you should get the layout you want. This template is e.g. included with the texlive-publishers package in Debian or Ubuntu or can be downloaded at elsarticle at CTAN


1

How about \documentclass{nature} ?


2

If you're running Debian or Ubuntu, install the texlive-publishers package. The template is called elsarticle. Two-column layout is an option: \documentclass[twocolumn]{elsarticle} For the keywords, you need to define \begin{keywords} keywords go here \end{keywords}


15

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



Top 50 recent answers are included