# Tag Info

5

book, report and article are all generated from the same source (classes.dtx) and the differences that you mention are essentially the only differences there are. If they were no such differences then essentially there would only be one standard class. By design, article omits the \chapter level, to make it slightly easier to combine articles into a report ...

0

I solved this removing the new file I add in the LyX Layouts folder. So it looks like a bug. So I guess I must load "local layouts" every time.

0

I compiled this, downloaded from enter link description here \documentclass[12pt]{uvamath} \usepackage[english]{babel} \usepackage{graphicx} \usepackage{lipsum} \usepackage{caption} \usepackage{subcaption} \usepackage[pdfborder={0 0 0}]{hyperref} \usepackage{amsmath,amscd} \usepackage{amssymb} \usepackage{amsthm} \usepackage{color} ...

2

Here's a starting point. On the first run, this produces an .idx file but, obviously, your script would do that. The file is just for the MWE. So your script should produce a file \jobname.idx where \jobname will be the name of the .tex file without the extension e.g. if the file is greatindex.tex then your script will produce \greatindex.idx. (Best make a ...

3

I would avoid the complication of shell escape etc, and just put \newcommand{\EMAIL}{cccc@sss.com} into mysettings.sty and then just use \usepackage{mysettings} in both documents.

3

Like this may be: \documentclass{article} \usepackage[svgnames]{xcolor} \usepackage{sectsty} \allsectionsfont{\normalfont\sffamily\Large} \usepackage{lipsum} \title{\color{DarkBlue}\sffamily\Huge Hypothesis Testing in \\ Linear Regression Models} \author{} \date{} \begin{document} \maketitle \section{Introduction} \lipsum \end{document}

0

No one wanted to answer my question, there were just some comments debating whether documentation is adequate or not (notably without any links to support claims of adequate documentation). So I will try to answer it myself. The first trick is to use a titlepage, where you can design the first page of the document regardless of how the rest looks. I ended ...

2

Download the latest release of the sdaps bundle; This tar ball should include a tex folder that hosts the TeX-related content (class file): There is also a Git repository. Place sdaps.cls where TeX can see it. See Where do I place my own .sty or .cls files, to make them available to all my .tex files? Compile with \documentclass{sdaps} For more ...

2

Best option: Recommended Your first option should be to install the package which is part of TeX Live itself. If you installed TeX Live from upstream (recommended), you should already have it if you installed a full distribution. If not, you can use tlmgr to install it. If you installed TeX Live through your distro's package manager (e.g. apt or yum or ...

0

Each distribution should have a local texmf directory. Within that, use the TeX Directory Structure: .cls files go in tex/latex/elsarticle .bst files go in bibtex/bst/elsarticle the README and .pdf go in doc/elsarticle Templates aren't a special kind of file; they are just sample documents to fill in. Some TeX IDE's have a place to put them. For ...

4

Like this? \documentclass{article} \usepackage{lipsum} \usepackage[paperwidth=6in, paperheight=9in, margin=1in]{geometry} \begin{document} \lipsum \end{document}

7

A class is pretty useful to setup environments where certain functionality is essential. This is also meant in a conservative fashion that you don't want external tools affecting the result. From the beamer example mentioned earlier, certain packages don't work with beamer because their assumptions about itemization etc. environments is altered. Or in the ...

1

The OP decided to resolve this problem via defining \newenvironment{solution}{\begin{proof}[Solution]}{\end{proof}} See also the comments under the question

8

I think the answer depends what you are using LaTeX for. Creating "generic-format" documents using some common user-defined macros is one thing. Creating a set of documents all with the same fully-defined, customized, "print-ready" format is another. For one-time use, I don't think there is much practical difference. The functionality is the same either ...

15

I think there are two very different kind of class files: general purpose class files like memoir and KOMA, which strive to create a uniform interface to most aspects of document formatting, and specialized class files for particular document types. Peter Wilson has already addressed the first type in his answer. But there is another kind of class which is ...

18

I guess I have to plead guilty to creating the memoir class. Before doing that I had been involved in creating class files for ISO (the International Standards Organisation) and they kept on changing their requirements. In the end, for them, I tried to create a flexible class file that wouldn't need revamping every few months. I had written a number of ...

1

For #1, modify the \ressubheading command as follows: \newcommand{\ressubheading}[4]{% \begin{minipage}[t]{6.5in} \textbf{#1} \hfill #2 \\ \textit{#3} \hfill \textit{#4} \end{minipage}\vspace{-6pt}} For #2, enter the four arguments correctly as this: \ressubheading{Parallel Tools for High Speed Machines ...

Top 50 recent answers are included