Tag Info

Hot answers tagged

7

The cleveref package patches \appendix assuming it's a parameterless macro, which isn't true with ametsoc. My strategy is thus to recover the correct definition of \appendix from the badly patched macro and doing the patch in a safer way. \documentclass[twocol]{ametsoc} \journal{mwr} \usepackage{cleveref} \usepackage{xpatch} % split the badly patched ...


5

Not \include but you can use \input so if you want \input{preamble} \include{A} \include{B} \include{C} \input{postamble} where preamble.tex is \documentclass{article} \usepackage{tikz} \usepackage{array} \begin{document} and postamble.tex is \end{document} you can do that. However I wouldn't: it obscures the form of your document. If you want to ...


5

Put this just before the \begin{document} \makeatletter \renewcommand*{\makeletterclosing}{ \@closing\\[3em]% {\includegraphics[width=2cm]{example-image-a} \par \bfseries \@firstname~\@lastname}% \ifthenelse{\isundefined{\@enclosure}}{}{% \\% \vfill% {\color{color2}\itshape\enclname: \@enclosure}}} \makeatother Change ...


5

\documentclass[11pt,spanish,a4paper]{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} OK so far except that theses usually have chapters so book or report might be preferable. \setlength{\parskip}{2ex} \setlength{\parindent}{0pt} Better to use parskip: \usepackage{parskip}% but do you really want no indentation in a thesis? ...


4

This should be a start. For setting the pagination parameters use geometry. \documentclass[a4paper]{book} \usepackage[T2A]{fontenc} \usepackage[utf8]{inputenc} \usepackage[russian]{babel} \usepackage{microtype} \usepackage{titlesec,titletoc,chngcntr} \titleformat{\chapter}[display] {\Large} {\titleline[l]{\chaptertitlename\ ...


2

You should have no space in the comma separated list of values in the optional argument: \documentclass[preprint,12pt]{elsarticle} \begin{document} \begin{frontmatter} \title{My title} \author[affiliation1,affiliation2]{Author1} \author[affiliation3,affiliation5]{Author2} \author[affiliation2]{Author3} ...


2

With tcolorbox it's easy to define your own shadows. You'll have to adjust box dimensions, but next code could serve as starting point. \documentclass{article} \usepackage{xcolor} %\usepackage{fancybox} \usepackage{mwe} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{lmodern} \usepackage[french]{babel} \usepackage[most]{tcolorbox} ...


1

The fields journaltitle and date are not supported by standard bibtex styles (they are supported by biblatex). To use bibtex you have to replace journaltitle by journal and date by year.


1

Here's a fast and simple example of your layout: The basic concept is to use three minipages side by side, 30% of the width each, with \hfill to create the gaps in between. Personally I think you should consider a completely different layout, however; this has a lot of gaps and I think better decisions about the hierarchy of information you're ...


1

So, here is the answer mostly coming from this post. The code \usecolortheme{myct} loads the file usecolorthememyct.sty. If this file is included in another folder than the working directory, we have to use \usepackage{template/beamercolothememyct}.


1

A quick and dirty solution is to add a \vspace{} after the frametitle % Now that we have changed the headline, we will need to orient the frame titles in a way that the come at the right stop just above the horizontal line. \setbeamertemplate{frametitle}{ \vspace*{4mm}\hspace*{0mm}\insertframetitle \vspace*{1cm}} Full code: %% beamerthemeMedian.sty %% ...


1

Thesis.cls uses vmargin to configure the page dimensions so you should use this interface if you wish to alter those dimensions. Otherwise, you are likely to get inconsistent and undesired results. The command used by Thesis is: \setmarginsrb {1.5in} % left margin {0.6in} % top margin {1in} % right margin {0.8in} % ...



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