New answers tagged

3

I've just used the image provided by the O.P. and placed it in a node, then added another node that shows the text. \documentclass[oneside]{memoir} \usepackage{tikz} \usepackage{graphicx} \begin{document} \begin{center} \begin{tikzpicture}[scale=1] \node[inner sep=1pt] (MYCENTER) at (0,0) {\includegraphics[scale=1]{adriano.png}}; \node[inner ...


7

This is a little confusing to do. Remember that class options are not dynamic, so since 13pt is not hardcoded into the class, memoir does not recognize it. Instead we need to use the provided interface (page 3-4 in the memoir manual). Firstly you need to place your mem13.clo in a place where LaTeX can find it. For testing it is easiest to just palce it in ...


2

Warning: The preamble is a little bit strange and I don't address issues other than the main problem: \nofiles If \nofiles is used, no .aux file is generated from the beginning (or if \nofiles is added between two runs, the .aux file won't be updated. As such either .toc is not generated at all or it is not updated. Running with \nofiles right from the ...


2

First of all, your use of \renewcommand{\chaptername}{}% Remove a string "Chapter" for this chapter is incorrect, as there is still a space remaining as part of the chapter name printing macro. Instead you're looking to redefine \printchaptername to something like \renewcommand{\printchaptername}{\centering{\chapnumfont\thechapter}} Now, for setting ...


0

There is a small number, say, n of chapters, probably less than 20. Produce n images and then write one macro \mychaptersymbol[1]{...} which internally has a huge switch on its argument. Hack the \chapter macro to call \mychaptersymbol. I've hacked a lot with overlaying in the past, and, well, finally, I really understood that drawing an image was the ...


5

While waiting for more information, a possible solution could be: \documentclass{memoir} \usepackage[most]{tcolorbox} \usepackage[spanish]{babel} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{lmodern} \begin{document} \begin{tcolorbox}[sharp corners, notitle, colback=white] Páginas: 316 \begin{enumerate} \item Parapsicológica ...


2

In my point of view there's no need to use the titlingpage environment: Just use \maketitle in conjunction with \thispagestyle{empty}. I also cleaned up the \maketitle command a little bit! \documentclass[14pt,twoside,showtrims,a5paper,extrafontsizes]{memoir} \usepackage[utf8]{inputenc} \usepackage{graphicx} \usepackage{blindtext} \title{MY TITLE} ...


1

There is no need to load the caption package for changing the numbering. It suffices to use \renewcommand{\thetable}{\arabic{chapter}-\arabic{table}} with or without caption, even in memoir: \documentclass{memoir} \renewcommand{\thetable}{\arabic{chapter}-\arabic{table}} \begin{document} \chapter{A chapter} \begin{table} \caption{A table} ...


4

The title of the table of contents is set by macro \@tocmaketitle in memoir. This macro can be redefined to remove the title including the space: \documentclass[oneside,11pt]{memoir} % Hyperref \usepackage[colorlinks=true]{hyperref} \hypersetup{citecolor=red} \renewcommand{\thesection}{\arabic{section}} \usepackage{titletoc} \titlecontents*{section} % ...


1

In memoir changing the \headheight will not affect the position of the baseline of the header text. Increasing the \headheight allows more vertical space for the text. Changing \headheight will only alter the spacing between the top of the page and the baseline of the header.


2

In general, this is a little bit tricky, as there so many things influencing the size, but for this case, where the ticklabels on the y-axis are the only thing causing problems, you could try adding 'extraAxisOptions','yticklabel style={text width= width("$-0.6$")},align=right}' the matlab2tikz calls, where $-0.6$ is the widest ticklabel. As a ...


0

I see you are using the memoir class, which provides a variety of centred chapter titles. If you want to use one of these a simple \chapterstyle{name} in your preamble is all you need. Read section 6.5 Chapter Headings in the manual (texdoc memoir) for graphic display of the styles, and also how to create your own.


1

Assuming you're using one of the "standard" document classes (i.e., article, report or book) or a document class that's based on one of the standard classes, you could achieve your objective by adding the following instructions to the preamble: \usepackage{sectsty} \chapterfont{\centering}


8

This answer assumes you are using the report or book document classes. i.e. \documentclass[...]{report} or \documentclass[...]{book} is at the top of your document. The Easy Way The easiest way to achieve what you are looking for is to use the expanded form of the chapter command: % ## Expanded \chapter command ## % Format: ...


7

According to the user guide of the memoir package, the following default font sizes (in points) are provided: 9, 10, 11, 12, 14, 17, 20, 25, 30, 36, 48, and 60. For each of these sizes, a file called mem?.clo ìs provided, where ? can be 9, 10, 11, etc and clo stands for "class option". One needs to set the document class option extrafontsizes for font sizes ...


-1

I have searched about it... This package do the trick. \usepackage[fontsize=13pt]{scrextend}


8

To align lines on different pages (or columns) you need to typeset "on a grid". (https://en.wikipedia.org/wiki/Grid_%28graphic_design%29). That's rather difficult in LaTeX. There are a lot of irregular spaces and line heights which don't fit on a grid, e.g. sectioning commands, display math, lists. But in your case where only normal text is on the page ...


4

This is dependent on the length within \parskip. If it has some glue, it may stretch to better-fit the page. In your case, I see > 0.0pt plus 1.0pt > l.22 \showthe\parskip implying that your \parskip could be anything from 0pt to 1pt, which leads to what you see as a mis-alignment within the baselines. Is this normal? Sure. It allows for some ...


8

This isn't a fix. Imho regarding the experimental status of the code it is more important to find the problems currently. So I looked in the l3galley code to find all redefinitions of standard LaTeX/TeX commands which perhaps could matter and setup a test environment. With it you can restore the "old" meanings of the commands. Attention: The commands ...


1

The \tableofcontents is set like any other chapter under memoir and uses the chapter-related settings for spacing. Specifically, the \aftertoctitle macro governs what happens after the toc title. The default is to match \afterchaptertitle, so we can update this to suit our needs: \documentclass{memoir} \usepackage{blindtext} \newlength{\aftertocskip} ...


4

First, you need to reset the macro \figurename. Its default value, if the chemstyle package is loaded, is "Fig.". You should add \AtBeginDocument{\renewcommand\figurename{Figure}} to the preamble to change the macro to, you guessed it, "Figure". Second, you need to provide the option varioref=false when loading the chemstyle package: ...


1

Unfortunaly there is no MWE in the question. With memoir you should use the header and footer commands of this class: \documentclass{memoir} \usepackage{blindtext} \usepackage{xcolor} \colorlet{ared}{red} \pagestyle{ruled} \makeevenhead{ruled}{\leftmark}{}{\rightmark} \makeoddhead{ruled}{\rightmark}{}{\leftmark} \makeevenfoot{ruled}{}{\thepage}{} ...


1

The key here is using the pass feature of the geometry package that will preserve the underlying page setup of the memoir document class, while providing access to geometry routines. Thus, I save the memoir page setup initially using a \savegeometry. I then create a \newgeometry with no margins and do what needs to be done on that page. Finally, I restore ...


1

See, if this gives what you asking for: \documentclass[a4paper,12pt]{memoir} \usepackage{ragged2e} \usepackage{lipsum} \renewcommand{\sideparfont}{\RaggedRight\footnotesize}% <-- corrected \sideparmargin{outer} \begin{document} \sidepar{\begin{Spacing}{0.8} \lipsum[2] \end{Spacing}}% <-- added Spacing from Memoir \lipsum[1-2] \end{document} ...


4

In any LaTeX class, \title, \author, and \date actually set the values of internal macros (\@title, \@author, \@date in article class). The class comes with \maketitle predefined to typeset the values of those commands in a particular format. Memoir gives you an advantage by adding a titlingpage environment, and by making the values of the title, author, ...


1

OK, I don't know what happened. But apparently the code that I used in my question: \begin{sidecaption}[short caption]{long caption} does work. I must not have compiled the code enough times. Possibly it takes 3 times - at least with my system. I had done it two times when I posted the question.



Top 50 recent answers are included