这本教科书是用 LaTeX 编写的吗?

这本教科书是用 LaTeX 编写的吗?

考虑一下 Young & Freedman 的大学物理下面。设计看起来并不像 TeX。但是,由于它是由物理学家编写的,你会认为这是他们使用的自然程序。所以问题是,可以这是用 LaTeX 编写的,使用了非常高级的布局设置?你觉得是这样吗?

附带一个问题:您将如何重现此布局?

杨和弗里德曼

答案1

这似乎是由 Acrobat Distiller 完成的。在任何情况下,您都可以向发布者发送一封礼貌的邮件,并肯定会得到信息。您关于如何重现这个问题的问题对于本网站来说太宽泛了。

在此处输入图片描述

答案2

本书是用 latex 或 lyx 编写的:

1-问题和答案是用tcolorbox和multicolumn编写的:

\usepackage{tikz,lipsum}
\tcbuselibrary{skins,breakable}
\newcounter{example}
\colorlet{colexam}{green!45!black}
\newtcolorbox[use counter=example]{myexample}{%
70
empty,title={\colorbox{green!45!black}{\textcolor{white}{Example \thetcbcounter}\textcolor{green!45!black}{\thinspace text text text}},attach boxed title to top left,
boxed title style={empty,size=minimal,toprule=2pt,top=4pt,
overlay={\draw[colexam,line width=2pt]
([yshift=-1pt]frame.north west)--([yshift=-1pt]frame.north east);}},
coltitle=colexam,fonttitle=\Large\bfseries,
before=\par\medskip\noindent,parbox=false,boxsep=0pt,left=0pt,right=3mm,top=4pt,
breakable,pad at break*=0mm,vfill before first,
overlay unbroken={\draw[colexam,line width=1pt]
([yshift=-1pt]title.north east)--([xshift=-0.5pt,yshift=-1pt]title.north-|frame.east)
--([xshift=-0.5pt]frame.south east)--(frame.south west); },
overlay first={\draw[colexam,line width=1pt]
([yshift=-1pt]title.north east)--([xshift=-0.5pt,yshift=-1pt]title.north-|frame.east)
--([xshift=-0.5pt]frame.south east); },
overlay middle={\draw[colexam,line width=1pt] ([xshift=-0.5pt]frame.north east)
--([xshift=-0.5pt]frame.south east); },
overlay last={\draw[colexam,line width=1pt] ([xshift=-0.5pt]frame.north east)
--([xshift=-0.5pt]frame.south east)--(frame.south west);},%
}
\begin{myexample}
\lipsum[1]
\end{myexample}

2- 粗体红色标题:

    \usepackage[labelformat=simple,labelsep=colon,textformat=simple,justification=justified,font=scriptsize]{caption}
\usepackage{color}
\captionsetup{labelfont={color=red,bf},
textfont={color=black}}

答案3

您可以使用基于 LaTeX 构建的 LyX 程序来设计像本书一样的书,图像中的问题和答案通过tcolorbox包进行设计multicolumnhttps://www.ctan.org/pkg/tcolorbox 看第71页。

你可以在这里看到 GPL 物理学书籍:

https://sourceforge.net/projects/ohodquizgame/files/Books/

在此处输入图片描述

相关内容