# Tag Info

14

It depends on what you want to change … Example Let’s assume a simple and small package package.sty with the following content. I use this imaginary package since it can contain all things I want to share and doens’t have that complex code. If you want to test it save the package code as package.sty in your document folder, i.e. the same where the text ...

11

I tried to do something similar for a packtpub book and you can see the result: http://catalatex.blogspot.com.es/2013/08/llibre-de-format-actual.html. If you like it, feel free to adapt to your needs. The PDF is here: https://docs.google.com/viewer?a=v&pid=sites&srcid=ZGVmYXVsdGRvbWFpbnxjYXRhbGF0ZXg5fGd4Ojc2Mzk5ZTRmNTA2NzZiODI The code is here: ...

10

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

9

The journal recommend using either the article, revtex or amsart document classes. They say the following: TeX/LaTeX - Authors submitting LaTeX files may use any of the standard class files such as article.cls, revtex.cls or amsart.cls. Non-standard fonts should be avoided; please use the default Computer Modern fonts. For the inclusion of ...

9

Currently a group of four people (Elena, Pascal, Richard and myself) are working on this topic, too. We are merging the ideas of the class tikzposter and Elena´s class together. Our aim is to create an easy to handle poster class. It separates the content and the appearance of the poster with the help of themes for every part of the poster. This makes our ...

9

You can cheat by adding a \null or \mbox{} or \phantom{some text}: \documentclass{beamer} %% redefine frametitle template \setbeamercolor{frametitle}{fg = white, bg = black} \setbeamertemplate{frametitle}{% \vskip-3pt \begin{beamercolorbox}[sep=0.6em,wd=\paperwidth,leftskip=0cm,rightskip=0cm]{frametitle}% \vspace{-2pt}\par ...

9

The cool automation tool arara helps in situations like this. If you can afford to use it, here is what should be done. If you don't have arara installed already (It comes bundled with texlive), download it from github and install. It needs java. Now let us assume that your file is main.tex. Put the following just before the \documentclass{...}: % arara: ...

8

Here you go. My code is a mild extension of this answer by Paul Gaborit. Code \documentclass{article} \usepackage{tikz} \pagestyle{empty} \newcommand\genkoyoshi[4]{% \def\rowopacities{#1}% \def\colnames{#2}% \def\size{#3}% \def\sep{#4}% \begin{tikzpicture}[yscale=-1] \pgfmathsetmacro{\inc}{\size+\sep} \newcounter{col} \newcounter{row} ...

8

I have only tested this in versions pre-8.0. I would highly recommend to read the org-mode manual for LaTeX exporting capabilities. It is very good: org-export-latex. org-mode for Emacs has the optional LaTeX customization by using this: #+LaTeX_HEADER: \newcommand\myaddress{...} You can put as many header information lines as you please which in turn ...

8

You don't need XeLaTeX, nor many of the customization in that template. \documentclass{article} \usepackage[letterpaper,margin=1in]{geometry} \usepackage{xcolor} \usepackage{fancyhdr} \usepackage{tgschola} % or any other font package you like \pagestyle{fancy} \fancyhf{} \fancyhead[C]{% \footnotesize\sffamily \yourname\quad web: ...

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

I recommend opening an existing theme and seeing how it's done. Experimenting works here quite well I would say. The themes are usually located in <TeX root>/tex/latex/beamer/themes/theme/. Remember to put your new style in the folder where you document is and give the file a name beamertheme<Theme Name>.sty

7

The package algpseudocode provides some options. One option is noend. So you can load: \usepackage[noend]{algpseudocode} And the result is:

7

To get the order of compilations correct you should think about the informations the external tool needs to know. As an example: biber needs only to know all citations you used in your document. This information is stored on the first pdflatex run in a .bcf file. So the correct order for biber is: pdflatex % to create the bcf biber % to create the ...

6

Like most journals, google for the journal name leads to a page with author submission guidelines. In this case http://www.tandfonline.com/action/authorSubmission?journalCode=ubes20&page=instructions#.Ucy1r-IkBBk which says: Authors are encouraged to use LaTeX if possible, and should use “article” style, avoiding the use of any special macros ...

6

Here's one initial version: \documentclass{article} \usepackage[paperwidth=30cm,paperheight=45cm,bmargin=2cm,lmargin=2cm,rmargin=2cm]{geometry} \usepackage{array} \usepackage{url} \usepackage{tikz} \usepackage{xcolor} \usepackage{lmodern} \usepackage{multicol} \usepackage{lipsum} \usepackage{tcolorbox} \usetikzlibrary{shadows,calc} ...

6

In www.latextemplates.com there are 3 nice general LaTeX templates for articles. One of these made with the scrartcl class have this layout: Another good source is www.sharelatex.com. Among the 76 articles templates for submission to scientific journals or proceedings, several have a two column format. You can download or open and compile in ShareLaTeX. ...

6

You set dimensions of your PDF page by \pdfpagewidth and \pdfpageheight. However, with a standard parameters of svmono, text doesn't fit the page. An example of correction by setting \oddsidemargin and \evensidemargin is shown. \documentclass{svmono} \usepackage{lipsum} % A text for an illustration \pdfpagewidth16cm \pdfpageheight24cm \oddsidemargin0cm % ...

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

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

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

5

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

5

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

5

A layout in LyX is analogous to document classes in LaTeX. Since the provided document class (ociamthesis.cls) is not covered by an existing LyX layout, you have to create your own, by following these instructions (also available under Help > Customization; section 5.3 The layout file format): First you have to install the LaTeX class so that it works with ...

5

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

5


5

Your quoting of the error message is misleading, the actual error is ! Undefined control sequence. <argument> \@chairmanname \\ \@chairmantitle l.91 \maketitle The undefined command is always the last token on the second line so \@chairmanname the later lines show the context where the error was detected which is ...

5

The cv.sty has this on line 66: \usepackage[sorting=ynt,bibstyle=authoryear-comp,defernumbers=true,maxnames=20,firstinits=true, uniquename=init,dashed=false,doi=false,isbn=false,backend=biber]{biblatex} Hence you have to use biber instead of bibtex. The compilation would be pdflatex → biber → pdflatex Then you get:

5

Here's the framework for an answer, based on @Ignasi's suggestion. Documentation for the combine package (http://ctan.mackichan.com/macros/latex/contrib/combine/combine.pdf) will help you play with formatting, make the toc work, even generate an index and a table of figures. The student gets two files, preamble.tex (read only if possible) and template.tex. ...

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