【问题标题】:! LaTeX Error: File `trajan.sty' not found! LaTeX 错误:找不到文件“trajan.sty”
【发布时间】:2021-03-08 19:37:59
【问题描述】:

我不确定如何为我的 Latex 项目获取 Trajan 样式字体。我读过的所有博客都说我需要使用sudo apt-get install texlive-full

有什么方法我不需要下载 5 Gb 的 texlive 并只指定 Trajan 字体样式?

谢谢!

【问题讨论】:

  • 如果你想使用 vanilla texlive 而不是 ubuntu 包,你可以使用tlmgr 来管理应该安装哪些包。 tlmgr install trajan 之类的东西应该安装包
  • 我不熟悉使用 vanilla texlive。我在 Windows 计算机上使用 ubuntu。你的方法仍然可行吗?
  • 当然!你可以从tug.org/texlive/quickinstall.html 获得 texlive(我总是推荐来自 TUG 网站的版本,而不是 ubuntu 的东西包,因为它是最新的)

标签: ubuntu latex tex-live


【解决方案1】:

trajanfontenc 包应该足够了,如 this TUG article

\documentclass{article}
\usepackage{trajan}
\usepackage[T1]{fontenc}

\begin{document}
{\trjnfamily %
TRAJAN EXISTS IN UPPERCASE ONLY. THE TRAJAN BUNDLE PROVIDES FONTS BASED ON THE CAPITALS CARVED ON THE TRAJAN COLUMN IN ROME IN $114$ AD. MANY TYPOGRAPHERS THINK THESE RANK FIRST AMONG THE ROMAN'S ARTISTIC LEGACY.
}%

Trajan exists in uppercase only. The trajan bundle provides fonts based on the capitals carved on the Trajan column in Rome in 114 AD. Many typographers think these rank first among the Roman's artistic legacy.
\end{document}

请注意,因为并非所有您可能需要的字符都在 Trajan 中可用(我建议阅读 package guide)。

【讨论】:

  • 以及如何安装包?
  • @samcarter_is_at_topanswers.xyz 你同意tlmgr install trajan 是命令吗?
  • 当然! ___________________
猜你喜欢
  • 2022-01-23
  • 2021-08-06
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2020-08-06
  • 2014-09-16
  • 2015-05-25
  • 1970-01-01
相关资源
最近更新 更多