New answers tagged

1

You could change \renewcommand{\printchaptername}{\centering{\chapnumfont\thechapter}} to, say, \renewcommand{\printchaptername}{\centering{\chapnumfont\HUGE\thechapter}} A full MWE: \documentclass[14pt,twoside,a5paper,extrafontsizes]{memoir} \usepackage[brazilian]{babel} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{ebgaramond} %...


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 ...


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[...


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.


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 ...


2

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


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

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 ...


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: \...


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 \...


0

microtype has defaults which can take care of most of the text in memoir. I tried the defaults with LuaLaTeX as well as XeLaTeX. And then I tried it with pdfLaTeX. I liked the output of pdfLaTeX as well as LuaLaTeX. Takeaway: LuaLaTeX seems to work better with microtype, when compared with XeLaTeX.


3

I think these things are perhaps very sparse, so I'd suggest defining commands to solve your problem: \documentclass{memoir} \usepackage{graphicx} \captiontitlefont{\slshape} % All captions slanted \newcommand{\slplus}{\mathbin{\mbox{\slshape +}}} \newcommand{\slone}{\mbox{\slshape 1}} \begin{document} \begin{figure} \centering \includegraphics[...


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} \...


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}, ...



Top 50 recent answers are included