用于教育书籍的开源 LaTeX 环境?

发布于 2024-08-14 15:45:51 字数 1539 浏览 3 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(6

谜兔 2024-08-21 15:45:51

几周前我确实问过类似的问题:

https://stackoverflow.com/questions/1783400/developing-ebooks-software

,其中一些回复提到了一些其他工具和软件包。

显然 LaTeX 具有书籍风格和类似的东西,但必须记住它主要是一种科学文档生成工具 - 它非常适合,但对于其他任务,通常有更适合该工作的工具:

祝你好运,如果您发现其他任何东西,请告诉我们您发现了什么 - 我仍在寻找“理想”工具:)

I did ask a similar question a few weeks ago:

https://stackoverflow.com/questions/1783400/developing-ebooks-software

where a couple of responses mentioned some other tools and packages.

Obviously LaTeX has the book style and those sorts of things, but one must remember it's primarily a scientific document producing tool - which it's fantastic for, but for other tasks there are often tools more suited to the job:

Good luck, let us know what you find if you spot anything else - I'm still on the hunt for the 'ideal' tool :)

故事↓在人 2024-08-21 15:45:51

对于更可配置的长文档类,通常建议是 memoir (阅读详细的[手册PDF 链接)。

彩色环境背景等可能必须与附加类一起引入。

The usual recommendation for a more configurable long document class is memoir (read the extensive [manual PDF link).

Colored environment background and the like will probably have to be brought in with additional classes.

帅冕 2024-08-21 15:45:51

看一下 context,这是一个基于 tex 的排版系统,专为教育出版而设计。它以比 Latex 更复杂的方式处理页面布局,并且可以给出更独特的结果。

我建议在编写上下文时不要使用任何花哨的东西:重点关注文本和内容必要的图形,直到文本完成;对其进行编辑,然后再进行排版。在排版后尝试编辑文档无异于重做工作。

从 Latex 转换到 context 是相当轻松的。与 Latex 相比,涉及学习上下文的工作更多,但是,您想要好的结果吗?

后记ConTeXt:一次游览< /a> 介绍了 context 的主要文档准备功能,并展示了它与 Metapost 的集成。该文档具有超链接导航,但不适用于所有 pdf 查看器。

TeX Showcase 上的一些文档是根据上下文准备的。那里也有一些令人印象深刻的乳胶示例:您可以使用乳胶获得良好的结果,但我认为工作要困难得多。

contextgarden wiki 有官方文档列表从 LaTeX 到 ConTeXt,文档迁移建议。一旦掌握了上下文的窍门,迁移文档并不难。

Take a look at context, a tex-based typesetting system which was designed for education publishing. It deals with page layout in a much more sophisticated manner than latex, and can give much more distinctive results.

I recommend not using anything fancy when writing the context: focus on the text and content-necessary graphics until the text is complete; get it edited and only then work through the typesetting. Trying to edit the document after it has been typeset is an invitation to redo work.

It is fairly painless to convert from latex to context. There's more work involved learning context than latex, but, well, you want good results?

Postscript: ConTeXt: An Excursion provides an introduction to the main document preparation features of context, and showcases its integration with metapost. The document has hyperlink navigation, which doesn't work with all pdf viewers.

Some of the documents on the TeX Showcase are prepared in context. There are some impressive latex examples there, too: you can get good results with latex, but it is, I think much harder work.

The contextgarden wiki has a list of official documentation, and From LaTeX to ConTeXt, the document migration advice. Migrating documents isn't hard, once you've got the hang of context.

没企图 2024-08-21 15:45:51

编辑 #2:您可能需要查看 http ://www.math.harvard.edu/computing/latex/color.html,特别是大约 2/3 的部分称为“彩色框背景”...还有此链接 http://www.latex-community.org/forum/viewtopic.php?f=5&t=1441&start=0&st=0&sk=t&sd=a 谈论framed 包将为环境背景着色。

编辑:将其变成自己的命令。

\documentclass[10pt]{article}
\usepackage{tikz}
\definecolor{shade}{HTML}{884763}   

\newcommand{\uglybg}[1]{%
\begin{tikzpicture}
\node [fill=shade,rounded corners=5pt]
{%
\begin{minipage}{1\textwidth}
#1
\end{minipage}
};%
\end{tikzpicture}
}

\begin{document}

\uglybg{some text here please}

\end{document}

Edit #2: you may want to check out http://www.math.harvard.edu/computing/latex/color.html, particularly the section about 2/3 of the way down called "Coloured box backgrounds"... also this link http://www.latex-community.org/forum/viewtopic.php?f=5&t=1441&start=0&st=0&sk=t&sd=a talks about the framed package which will color environment backgrounds, apparently.

Edit: Made it into its own command.

\documentclass[10pt]{article}
\usepackage{tikz}
\definecolor{shade}{HTML}{884763}   

\newcommand{\uglybg}[1]{%
\begin{tikzpicture}
\node [fill=shade,rounded corners=5pt]
{%
\begin{minipage}{1\textwidth}
#1
\end{minipage}
};%
\end{tikzpicture}
}

\begin{document}

\uglybg{some text here please}

\end{document}
︶ ̄淡然 2024-08-21 15:45:51

教授。 Jim Hefferon 使用 LaTeX 写了一本关于线性代数的书。他在以下网站中分享了源代码:
源代码

的使用条款是GNU 自由文档许可证
(http://www.gnu.org/copyleft/fdl.html)

查看他的代码。我喜欢这本书的格式。

我正在做一些基础数学的笔记,但说实话,
我认为宏仍然需要改进。
查看注释(全部为西班牙语):
http://www.aprendematematicas.org.mx/notas.html

Profr. Jim Hefferon has written a book on Linear Algebra using LaTeX. He shares the source code in the following site:
http://joshua.smcvt.edu/linearalgebra/

The terms of use of the source code are the GNU Free Documentation License
(http://www.gnu.org/copyleft/fdl.html)

Check out his code. I like the formatting of the book.

I am doing some notes on basic math, but to be honest,
I think that the macros still need improvement.
Check out the notes (all in spanish) at
http://www.aprendematematicas.org.mx/notas.html

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文