Tag Info

Hot answers tagged

8

The texlive package database has a one line description of each (texlive) package, derived I think from the ctan catalogue. $ pwd /usr/local/texlive/2014/tlpkg for i in `grep -l '\.cls' tlpobj/* ` ;do echo "";grep "^\(name\|shortdesc\| *texmf-dist.*\.cls\)" $i| sed -e "s@texmf.*/@@" ; done > cls.txt produces a file with 588 */.cls references that ...


5

This means that the class file is IETBook.cls but has the line \ProvidesClass{book} presumably just copied without thought from the standard book class. Or possibly it uses \input{book.cls} instead of \LoadClass{book} which would make a similar warning. As it's a publisher supplied class there is not much you can do other than complain to them ...


5

Just change the definition of the three fixed fonts to use the default encoding. \documentclass[12pt,a4paper]{letter-classic} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[icelandic,ngerman,english]{babel} \usepackage{lmodern} %\selectlanguage{english} %% main language of the letter (not necessary) ...


5

Surely you have declared your lemma numbering to be within section numbering, that is, something like \newtheorem{lem}{Lemma}[section] In fact, the following MWE \documentclass{article} \newtheorem{lem}{Lemma}[section] \begin{document} \begin{lem} Hello \end{lem} \end{document} produces Instead, you have to define it to not follow any existing ...


4

There is a strange interaction between svjour and mathdesign: they fight each other over \mathcal and you lose. Use a different name: \DeclareMathAlphabet{\mcal}{OMS}{cmsy}{m}{n} \SetMathAlphabet{\mcal}{bold}{OMS}{cmsy}{b}{n} Example (with svjour3, but it should be the same): \documentclass{svjour3} \usepackage[garamond]{mathdesign} ...


4

The \begin{article}...\end{article} environment wrapper inside the body is needed for a twocolumn setup (strangely enough, however) The document class can be found at PNAS Author site \documentclass{pnastwo} \author{Miss Ann Elk\affil{1}{Ministry of Silly Walks}} \title{On Brontosaurs} \usepackage{blindtext} \begin{document} \maketitle \begin{article} ...


4

The glyphs do not seem to be available with Computer Modern Sans Serif in OT1 encoding. The class defines three different switches, ssf, nsf and bsf, for small, normal and big cmss fonts, but all of them in OT1 encoding. T1 encoding (or Cork encoding) was developed to handle glyphs of western european alphabets. Simply declaring the switches in the document ...


3

Both starred and regular chapters in book class have 50pt space from the top of the page. If you want to get rid of them add the following in your preamble \usepackage{xpatch} \makeatletter \xpatchcmd{\@makechapterhead}{\vspace*{50\p@}}{}{}{} \xpatchcmd{\@makeschapterhead}{\vspace*{50\p@}}{}{}{} \makeatother If you want some other distance, you can add ...


3

All floats must be after \end{article}, using the starred form if two-column mode is used. This is clearly stated in the instruction manual: \documentclass[final]{pnastwo} \usepackage{amsmath} \usepackage{amssymb} \begin{document} \begin{article} In Table~\ref{test} we see \end{article} \begin{table*} \caption{TESTING} \label{test} ...


2

The tables and figures must go after \end{article}. In both cases the caption must precede the object. \documentclass{pnastwo} \usepackage{amsmath} \usepackage{amssymb} \begin{document} \begin{article} Table~\ref{test} \end{article} \begin{table} \caption{TESTING} \label{test} \begin{tabular}{ccc} \hline testing & testing & testing \\ ...


2

This should probably solve the problem (not tested) and also corrects your preamble a little bit. \documentclass[paper=a4, fontsize=11pt]{scrartcl} \usepackage[T1]{fontenc} \usepackage{fourier} \usepackage{listings} \usepackage[english]{babel} ...


2

This uses a very small font size and small margin values by applying options to the geometry package. \fontsize{6}{8}\selectfont is just one way to use (even smaller would be hardly readable, so it's not recommended) multicols allows for organzing in multiple columns. \documentclass{article} \usepackage[a4paper, ...


1

I assume that OP only wants to include some multiple choice questions typed like in exam class, i.e., a questions environment similar to enumerate but with \question[points] command instead of \item; and a multiple choice environment (oneparchoices) which is similar to an inline enumerate with \choice instead of \item. Both environments can be build with ...



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