问题标签 [memoir]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
2 回答
1880 浏览

latex - 如何在 LaTeX 的 Memoir 文档类中格式化一封信?

如果您有一封带有类似内容的传统信件。

如何使用 LaTeX Memoir 类创建这样一封信。

换句话说,使用 Letter 类的规范是:

如何使用 Memoir 类实现相似或相同的格式?

谢谢你和欢呼。

0 投票
2 回答
6291 浏览

latex - 乳胶回忆录、诗歌环境和 \poemtitle

我目前正在使用回忆录类来排版一些诗歌。\poemtitle 命令给了我一个居中的诗标题,但我宁愿标题与诗体的边缘齐平。我重新定义了 \poemtitle 命令以删除自动居中。\verse 环境加上 \settowidth{\versewidth}{} 将使诗歌居中,左对齐...因此为了使标题与 verse 环境齐平,我在 \verse 环境中调用标题,如下所示:

然而,这有时会缩进诗歌的第一行,或将标题设置为缩进。我看到的唯一其他解决方案是将标题设置在自己的 verse 环境中,如下所示:

有一个更好的方法吗?还是我错过了回忆录文档中的某些内容(我已经阅读了很多次)?

编辑:也许我应该问一个更明确的问题:我可以向乳胶发出任何一组命令,以计算来自 \verse 命令的边距缩进,然后将该边距应用于 \poemtitle 以便诗标题结束与文本的左边缘齐平,而不在自己的 \verse 环境中设置 \poemtitle?

0 投票
2 回答
2207 浏览

latex - 有没有一种快速的方法可以在回忆录类中获得 titlesec“简单模式”功能?

回忆录类不适合 titlesec 包。Memoir 具有 titlesec 的所有功能,但它似乎没有一个很好的“简单模式”类似物。所以在titlesec(带有文章文档类)中我可以使用\usepackage[small,compact]{titlesec},就是这样。如果我想对回忆录做同样的事情,看起来我必须重新定义所有节标题格式和间距本身?

我是否错过了在回忆录中复制 [small,compact] 的快速方法?

关键不是我不知道如何让回忆录来做这些事情。关键是回忆录缺少 titlesec 的“快速选项”模式。如果我想要做的只是让所有的部分标题更小一点,那么调用包时 [small,compact] 选项就可以了。要在回忆录中做到这一点需要更多的工作,手动完成所有选项。这是真的还是我错过了快速选项的回忆录版本?

0 投票
2 回答
2146 浏览

latex - LaTeX, ntheorem package and memoir document class: no room for new \count error

So I want to use memoir document class and the ntheorem package with the thmmarks option. When I try and compile a file like this, I get "no room for a new \count" errors. What can I do about this?

ntheorem with thmmarks option works fine in article, and ntheorem works alright in memoir as long as I don't try and use the thmmarks option...

To reformulate the question: Is there a way to, I don't know, cut out parts of the memoir class definitions that I don't use to free up some \counts for ntheorem thmmarks? Or is there a way to alter how many \counts LaTeX allows so that there are enough to share?

(I'm fully aware that insisting on using memoir for typesetting a theorem-heavy document is a little perverse, but what the heck.)

0 投票
2 回答
4676 浏览

latex - 乳胶和回忆录类,海雀左/右

我正在使用带有乳胶的回忆录类,我需要两个字符:

“““, 和 ”””。

我发现了以下命令:

\guillemotright\guillemotleft,但它们看起来很丑。我在做什么有问题吗?乳胶来源:

http://pastebin.com/1w0J6jbN

结果: 在此处输入图像描述

任何帮助将不胜感激。谢谢!

——阿尔贝

0 投票
1 回答
690 浏览

latex - pdfLaTeX + memoir class compile error

I'm in the middle of writing my thesis, and was using KOMA-Script. The document compiles just fine. I stumbled upon the memoir class yesterday, and was thinking of giving it a try, so here I am trying to compile with this class instead of KOMA-Script. First compilation is OK. On second compilation, the document would not build

It has apparently not connected to hyperlink (btw, I'm using memhfixc), since I've commented this one out. Here is the preamble of my document, any thoughts?

0 投票
2 回答
63542 浏览

latex - 使用 \parindent 和 \parskip 与 \paragraph{} 没有效果

我正在使用memoir. XeLaTeX我在创建正确的段落演示文稿时遇到了麻烦,尤其是当我使用\paragraph{}lorem ipsumLaTeX 创建段落时,我忽略了\parskipand\parindent设置。

例如,如果我有一个文件

这种排版是这样的:

    orem ipsum dolor sit amet,consectetur adipiscing elit。Aliquam enim urna,mattis eu aliquet eget,调味品 id nibh。在 hac habitasse platea dictumst 中。

   ipsum dolor sit amet,consectetur adipiscing elit。Aliquam enim urna,mattis eu aliquet eget,调味品 id nibh。在 hac habitasse platea dictumst 中。

尽管设置为零\parskip,但这错误地同时具有段落缩进和跳过。\parindent

人们会期望排版输出看起来像这样(这是一种丑陋的段落格式选择,但说明了问题):

orem ipsum dolor sit amet,consectetur adipiscing elit。Aliquam enim urna,mattis eu aliquet eget,调味品 id nibh。在 hac habitasse platea dictumst 中。
ipsum dolor sit amet,consectetur adipiscing elit。Aliquam enim urna,mattis eu aliquet eget,调味品 id nibh。在 hac habitasse platea dictumst 中。

我注意到,当我用两个换行符分隔段落时(即不使用\paragraph{}, 和),\parskipand\parindent设置得到尊重。

我很高兴知道为什么在使用 时\paragraph{}\parskip命令\parindent不被尊重,以及如何让这些命令得到尊重,或者什么命令可以与用 . 创建的段落达到相同的效果\paragraph{}

感谢您的阅读。

布赖恩

0 投票
1 回答
1522 浏览

latex - 乳胶:了解回忆录页面样式

我有一个乳胶文档样本,希望您解释为什么它没有按预期工作。

这是代码:

编译后:

  1. 页面缩进从一页到另一页变化

  2. “标题测试”有时会出现,有时不会

  3. 当我明确输入“clearpage”时有空白页

你能解释一下如何解决并使事情稳定吗?谢谢

0 投票
1 回答
2386 浏览

latex - 如何更改回忆录中部分的字体和颜色?

我有一个测试文档正在使用memoir,我想弄清楚如何更改部分和较低级别的字体和颜色。

我知道这memoir包括 的功能titlesec,这似乎在手册的第 6 节中进行了描述,但我只是想不出使它起作用的咒语。如果我想\section在蓝色的sans字体中,而较低的级别为绿色,那么实现这一点的命令是什么?

0 投票
1 回答
42 浏览

latex - 在 LaTeX 的 Memoir 类中使用 \chapterstyle{article} 时如何抑制页面弹出?

我刚开始使用回忆录中的文章章节样式。我在 LyX 中作曲,文章的每个部分都在一个子文档中。从主文档编译时,我希望每个部分的编号如下:

为了做到这一点,顶级章节标题使用 \chapter。编号、格式等都是完美的。除了:每个 \chapter 都会触发页面弹出,我不知道如何解决这个问题。

当页面上有空间时,使每个 \chapter (文章的部分)从前一个章节开始的最简单方法是什么?