# Tag Info

5

I get the error with tl14 and it goes away if I add the calc package: \documentclass[a4paper]{abntex2} \usepackage{calc} \begin{document} \chapter{Glossário de siglas} Teste \end{document} But I have no idea if this a workaround which only hides some other problem, or the real solution.

5

Try escaping the asterisk using a backslash: latexdiff --exclude-textcmd="section\*" a.tex b.tex > c.tex

4

Memoir includes code based on both the titling and abstract packages so you should use these facilities for modifying the layout. The abstract is not a section but, rather, a specialised environment of its own with its own settings and configuration. Note that using Memoir's tools for configuring the title means that the relevant pieces of data are ...

3

The \chapter command sets the \thispagestyle{chapter} explicitly which has no header by default. To trick memoir it's possible to use \aliaspagestyle, but ideally one would copy the original chapter page style first. \documentclass{memoir} \makepagestyle{generalstyle} \makeevenhead{generalstyle}{}{HEADER}{} \makeoddhead{generalstyle}{}{HEADER}{} ...

2

Here is a solution. I didn't load tocloft, since I use titletoc. Also I added a formatting for thoe unnumbered sections which should appear in the table of contents: \documentclass[12pt]{article} \usepackage[utf8]{inputenc} \usepackage[english]{babel} \usepackage[showframe]{geometry} \usepackage{titlesec} \usepackage{titletoc} \addto\captionsenglish{ ...

2

Here's an implementation using the enumitem to do some of the lifting with formating: In the code below, we have: \newlist{exercise}{enumerate}{5} \setlist[exercise]{label*=\arabic*.,ref=\arabic*,before={\subsection*{Exercises}}} This defines a list-like environment called exercise. The next bit, % copy \item into \ex \let\ex\item defines \ex as ...

2

I don't know why this has to reproduced, but this is a starter (only), without a further package. \documentclass[a4paper,11pt,openany,leqno]{memoir} \usepackage{blindtext} \begin{document} {% \centering {% \large \textsc{Transport Architectures for an evolving internet}% by \textsc{Keith Winstein}% } \vskip\baselineskip Submitted to the Department of ...

2

Don't put formatting in the \section argument! Just define section to be inline rather than display (by changing the sign of the space argument) \documentclass[english]{amsart} \usepackage[T1]{fontenc} \usepackage[latin9]{inputenc} \usepackage{amsthm} \usepackage{setspace} \makeatletter %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Textclass specific LaTeX commands. ...

2

book and report are the same in this respect, just continue to use \include for chapters and then \input the files with sections.

1

For such an appendix you don't really want the figures to float at all so rather than specifying that they float and hoping they don't, use [H] to tell latex not to float them, then the usual rules about keeping section headings with teh first text in the section will kick in. I also added some % to ends of lines to avoid the overfull box warnings in the ...

1

You could switch to the KOMA-classes and patch \addsec. This would also remove the need for the \addcontentsline. But imho the numbering is curious. It looks as if the typesetter made an error and forget a number. \documentclass{scrartcl} \usepackage{etoolbox} \pretocmd\addsec{\refstepcounter{section}}{}{} \begin{document} \tableofcontents \section{First ...

1

If you use the explicit option for titlesec then you can use #1 for the section title in the definition. I've minimised your example: \documentclass{article} \usepackage{xcolor} \usepackage{fontspec} \newfontface\secfont{Quintessential-Regular} \definecolor{sectioncolor}{HTML}{58170D} \definecolor{sectionoutline}{HTML}{D0D2C7} ...

1


1

Don't load both sectsty and titlesec. The font commands for section titles must be defined in the preamble, not in the main body of the document. Also, a priori, text color is black, unless otherwise specified, so you don't need to mention it: \titleformat{\section} {\sffamily\bfseries} {\thesection.}{1em}{} ...

1

The following answer makes use of http://tex.stackexchange.com/a/73346/36296 and http://tex.stackexchange.com/a/244024/36296 The idea of the following answer is not to reset the total frame number, but to calculate the length of the current part. \documentclass{beamer} \usepackage{etoolbox} \makeatletter \newcount\beamer@partstartframe ...

1

This seems like the least hacky approach: \documentclass{article} \begin{document} \paragraph*{Some title stuff}\leavevmode\\ blah blah blah \end{document} It tests OK with \documentclass{report|book} too. The * in \paragraph*{} is not essential; it just keeps the heading out of a Table of Contents. If you want the text indented, you can add a blank ...

1

With KOMA-Script Version 3.19a or newer you can redefine \chapterlinesformat: \documentclass[ fontsize=12pt, a4paper, parskip=half, ngerman, headinclude=true, footinclude=false, captions=tableheading, numbers=noenddot, headings=big ]{scrreprt}[2015/10/03] \usepackage[ngerman]{babel} \usepackage[utf8]{inputenc} \usepackage{xcolor} ...

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