# Tag Info

5

There's no 'best'. Really, the best choice is the one which enables you to work most efficiently and effectively. Which this is depends on your specific needs - not just languages, but encodings, format etc. You do not need to load any package at all to create a basic index. The functionality is part of core LaTeX. For example: \documentclass{article} \...

4

With memoir, I believe that this is a lot simpler than you imagine. You dont need any extra packages for this, nor \fontsize commands. Code your first line as: \documentclass[12pt,twoside,openany,showtrims,a5paper]{memoir} When you set the font size to 12pt, memoir sets the leading to 14.5pt, which is what you want. From mem12.clo where this is set: \...

4

As the OP notes in the comment, \lsstyle, while it works as an argument to titlesec, does not allow for the letterspacing value to be explicitly set. Here, I introduce \lsstylehelp{} in lieu of \lsstyle, where the argument is the letterspacing value to set for the subsequent \lsstyle. The definition is simply \newcommand\lsstylehelp[1]{\edef\MT@...

3

Adding a \strut to your first code ensures the same size. If you wanted to set the height to a lower value, you should replace \makebox with a \parbox, where you can control the height and width of the box. The syntax is \parbox[verticalPos][height][horisontalPos]{width}{text}. Example \parbox[b][.8ex][l]{.7em}{text} \documentclass[11pt]{memoir} \usepackage[...

3

Since you want to have two different layouts for the same thing - \chapters - you'll have to insert content into the ToC at specific times so the formatting occurs dynamically. Below I've patched \frontmatter and \mainmatter to do exactly that. Each command inserts something specific into the ToC. \frontmatter updates \cftchapterfont by appending to it a ...

3

One easy way is to use the \frontmatter and \mainmatter commands to separate your preface content from the main body of your document. Pages in the front matter are Roman-numbered, but chapters are un-numbered. Main matter pages are Arabic-numbered, and chapters are numbered. \documentclass{memoir} \begin{document} \frontmatter \tableofcontents* % so ToC ...

3


2

In order to make \fontsize{12}{14.5} take effect, you must also call \selectfont. If I modify your original example, you can see what I mean: % note: default font size set to 10pt \documentclass[10pt,twoside,openany,showtrims,a5paper]{memoir} \usepackage[brazilian]{babel} %Translates to Portuguese \usepackage[utf8]{inputenc} %Recognize special characters \...

2

Something like this, perhaps? The norule option of footmisc does redefine \footnoterule to do nothing in general as and just applies a skip instead. I've introduced the \newif\iffootnoterule conditional, that is checked each time in \footnoterule and if true, applies the stored definition of \footnoterule (by \let\latex@@footnoterule\footnoterule). This ...

2

Look again at your bib-entries. First, you have the book: @book{baxandall1971, author={Baxandall, Michael}, title = {Giotto and the Orators}, year = {1971}, } Here, you set the year to 1971. Now you crossreference it: @bookinbook{manuel, author = {{Manuel 2. Palaiologos}}, title = {Beskrivelse af tapet}, pages = {148--49}, ...

2

The memoir document class offers two values for specifying the depth of the "List of Figure" and "List of Tables": lofdepth and lotdepth, and their default value is 1. So setting the option list=on (or list=true) when loading the subcaption package is not sufficient, the corresponsing "depth" value must be changed, too. For example: \documentclass[a4paper]{...

2

Just replace \titleformat with this: \titleformat {\chapter} [display] {\filcenter\normalfont\scshape\huge} {\HUGE\thechapter} {18pt} {\textsomels}[\vspace{42pt}]

2

Could you please check whether the following helps: \documentclass[14pt,twoside,a5paper,extrafontsizes]{memoir} \usepackage[brazilian]{babel} \usepackage[utf8]{inputenc} \newcolumntype{C}{>{\footnotesize\centering\arraybackslash}p{.45\textwidth}<{~}} \begin{document} \extrarowheight=6pt \begin{tabular}{|C|C|} \hline 1 ...

1


1

In your example code you have \newsubfloat{figure} behind \usepackage{hyperref}. This is correct and compile without warnings. But in your screenshot you have \newsubfloat{figure} before \usepackage{hyperref}, and this leads to the warning as now hyperref can't patch the subfloat.

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