乳胶样式 - 您使用什么以及在哪里找到它们

时间:2021-07-05 23:23:47

What Latex styles do you use and where do you find them?

你使用什么Latex样式,你在哪里找到它们?

The reason I'm asking this is that it seems that some 99.9999% of all styles on the internet are copies of each other and of a physics exam paper

我问这个的原因是,似乎互联网上所有款式的99.9999%都是彼此的副本和物理试卷

However, when you try to find a style for a paper like this one... Good luck, you are never going to find it.

但是,当你试图为这样的纸张找到一种风格时...祝你好运,你永远不会找到它。

Creating your own style is often not really an option, because it requires you to dig quite deep into the very advanced features of TeX/LaTeX and fighting your way against possible incompatibilities with document classes/packages/whatnot.

创建自己的风格通常不是一个选择,因为它需要您深入研究TeX / LaTeX的高级功能,并与文档类/包/诸如此类的可能的不兼容性进行斗争。

3 个解决方案

#1


10  

LaTeX was originally designed as a reasonably flexible system on which a few standard classes were distributed — that were themselves rather inflexible.

LaTeX最初设计为一个相当灵活的系统,在该系统上分发了一些标准类 - 它们本身相当不灵活。

In the current state of affairs, if you want a custom layout, you need to write a few amount of supporting code yourself. How else would it happen? It's not like HTML+CSS gives you templates to work with; you need to implement the design yourself.

在当前的情况下,如果你想要一个自定义布局,你需要自己编写一些支持代码。怎么会发生?它不像HTML + CSS为您提供模板;你需要自己实现设计。

Creating your own style is often not really an option

创建自己的风格通常不是一个选择

Ah, well, not unless you know how to program in LaTeX!

啊,好吧,除非你知道如何在LaTeX中编程!

Seriously, it all depends on knowing where to start and what to build on top of. That catalogue you give as an example would, in my opinion, be reasonably easy to do in LaTeX; it's just a bunch of boxes.

说真的,这一切都取决于知道从哪里开始以及建立什么。在我看来,你给出的那个目录在LaTeX中相当容易做到;它只是一堆盒子。

You could write something like

你可以写点像

\newcommand\catalogueEntry[4]{%
  \parbox[t]{0.23\linewidth}{\textbf{#1}}%
  \hfill
  \parbox[t]{0.23\linewidth}{\includegraphics{#2}}%
  \hfill
  \parbox[t]{0.23\linewidth}{\textbf{Characteristics}\\ #3}%
  \hfill
  \parbox[t]{0.23\linewidth}{\textbf{Application}\\ #4}
}

and use it as so

并使用它

\catalogueEntry{Spotlights}{spotlight.jpg}
  {Eclipse spotlights are...}
  {Narrow to medium...}

This is just a basic illustration of what could be knocked up quickly — much more sophistication could be used to turn this into a more flexible system.

这只是可以快速敲击的基本例证 - 可以使用更复杂的方法将其转变为更灵活的系统。

I see LaTeX as an extensible markup system. If you separate your markup from its presentation on the page, it's not too hard to get your information represented in whichever form you wish. But getting started is a little tricky, I have to admit; the learning curve for LaTeX programming can be rather steep.

我认为LaTeX是一个可扩展的标记系统。如果您将标记与页面上的显示分开,那么以您希望的任何形式显示您的信息并不困难。但是我必须承认,开始使用有点棘手; LaTeX编程的学习曲线可能相当陡峭。

#2


8  

Memoir is a more flexible document class than the default ones, and its manual is excellent.

Memoir是一个比默认文档类更灵活的文档类,它的手册非常好。

#3


4  

Well I think CTAN is the best resource for LaTeX and TeX-related stuff. Also lots of scientific organizations provide their own styles, it makes sense to try tracing who was the author/publisher of the paper you like and check their websites.

我认为CTAN是LaTeX和TeX相关内容的最佳资源。许多科学组织也提供自己的风格,尝试追踪谁是你喜欢的论文的作者/出版商并检查他们的网站是有意义的。

#1


10  

LaTeX was originally designed as a reasonably flexible system on which a few standard classes were distributed — that were themselves rather inflexible.

LaTeX最初设计为一个相当灵活的系统,在该系统上分发了一些标准类 - 它们本身相当不灵活。

In the current state of affairs, if you want a custom layout, you need to write a few amount of supporting code yourself. How else would it happen? It's not like HTML+CSS gives you templates to work with; you need to implement the design yourself.

在当前的情况下,如果你想要一个自定义布局,你需要自己编写一些支持代码。怎么会发生?它不像HTML + CSS为您提供模板;你需要自己实现设计。

Creating your own style is often not really an option

创建自己的风格通常不是一个选择

Ah, well, not unless you know how to program in LaTeX!

啊,好吧,除非你知道如何在LaTeX中编程!

Seriously, it all depends on knowing where to start and what to build on top of. That catalogue you give as an example would, in my opinion, be reasonably easy to do in LaTeX; it's just a bunch of boxes.

说真的,这一切都取决于知道从哪里开始以及建立什么。在我看来,你给出的那个目录在LaTeX中相当容易做到;它只是一堆盒子。

You could write something like

你可以写点像

\newcommand\catalogueEntry[4]{%
  \parbox[t]{0.23\linewidth}{\textbf{#1}}%
  \hfill
  \parbox[t]{0.23\linewidth}{\includegraphics{#2}}%
  \hfill
  \parbox[t]{0.23\linewidth}{\textbf{Characteristics}\\ #3}%
  \hfill
  \parbox[t]{0.23\linewidth}{\textbf{Application}\\ #4}
}

and use it as so

并使用它

\catalogueEntry{Spotlights}{spotlight.jpg}
  {Eclipse spotlights are...}
  {Narrow to medium...}

This is just a basic illustration of what could be knocked up quickly — much more sophistication could be used to turn this into a more flexible system.

这只是可以快速敲击的基本例证 - 可以使用更复杂的方法将其转变为更灵活的系统。

I see LaTeX as an extensible markup system. If you separate your markup from its presentation on the page, it's not too hard to get your information represented in whichever form you wish. But getting started is a little tricky, I have to admit; the learning curve for LaTeX programming can be rather steep.

我认为LaTeX是一个可扩展的标记系统。如果您将标记与页面上的显示分开,那么以您希望的任何形式显示您的信息并不困难。但是我必须承认,开始使用有点棘手; LaTeX编程的学习曲线可能相当陡峭。

#2


8  

Memoir is a more flexible document class than the default ones, and its manual is excellent.

Memoir是一个比默认文档类更灵活的文档类,它的手册非常好。

#3


4  

Well I think CTAN is the best resource for LaTeX and TeX-related stuff. Also lots of scientific organizations provide their own styles, it makes sense to try tracing who was the author/publisher of the paper you like and check their websites.

我认为CTAN是LaTeX和TeX相关内容的最佳资源。许多科学组织也提供自己的风格,尝试追踪谁是你喜欢的论文的作者/出版商并检查他们的网站是有意义的。