ご質問はこちらへ
beamerでballが表示されない/影が途切れる問題について
macOS Catalina 10.15.7でTeX Live 2020を使用しています。
(MacTeXインストール後、https://texwiki.texjp.org/?ヒラギノフォントにしたがってヒラギノフォント のセットアップを行いました)
\documentclass[dvipdfmx]{beamer}
\usepackage{bxdpx-beamer}
\usepackage{otf}
\usepackage{graphicx}
\usepackage{pxjahyper}
\usetheme{Madrid}
\usefonttheme{professionalfonts}
\begin{document}
\begin{frame}
\frametitle{結果}
\begin{alertblock}{ドゥルーズ-ガタリによる分類}
\begin{enumerate}
\item 原始共同体
\item 古代専制国家
\item 近代資本制
\end{enumerate}
\end{alertblock}
\end{frame}
\end{document}

(up)LaTeXへのttfフォント追加方法について
newtxの\mathrmと\mathitの変遷
\usepackage{newtxtext}
\usepackage{newtxmath}
\begin{document}\thispagestyle{empty}
$\Delta\mathrm{\Delta}$
$\Deltait\varDelta\mathit{\Delta}$
\end{document}
このコードをTeXLive2020(最新のもので確認)で処理すると,期待通り,各行で同じ字形のものが並びます.
2019のfrozenでも期待通り同じ字形です.
ところがこれを,TeXLive2018 forzenで処理すると\mathrm/\mathitのものは字形が変わります(旧来のtxfontsの由来のもの).
そして,newtxtextの読み込みをやめると,
2020でも2018と同様の結果になります.
このあたりの変遷を
ご存じの方いらっしゃいませんか.
大文字ギリシアの定義というか
lettersとかの割り振りを変えればいいのでしょうが,
下手に変えると整合性が崩れる
(letters->lettersAにすると\mathitでもローマンになる)
ので難儀しています.
実は、2018で動いている環境で発見したので,
悩んでいる(運用でなんとかなるレベルなので
どうにかなるんですが)わけです.
2018じゃなくって2019/2020を使えばいいのですが,
NFSS2周りのアレとかhookのアレ(expl3もアレ)を
いきなり実投入するのも,それはそれでアレでして.
fontspec error: "font-not-found"
dviout で原ノ味フォント
原ノ味フォントを利用しようと思い,$user.map にフォント名を設定しました。
角ゴシックについては,
原ノ味角ゴシック Medium
原ノ味角ゴシック Heavy
と書くとうまくいき,
原ノ味角ゴシック Regular
原ノ味角ゴシック Bold
だと,
Cannot find font file for *****!
A default FONT will be used.
というエラーになります(*****は設定した箇所の名前)。なお,
原ノ味角ゴシック
だけにすると,Regular と思われるフォントで表示されます。
同様に,明朝については,
原ノ味明朝 Light
や
原ノ味明朝
なら適切に表示され,Regular や Bold をつけたものはエラーになります。
解決策をご存じでしたら,教えていただければと思います。
ptex2pdf が突然失敗するようになった
This is ptex2pdf[.lua] version 20200307.0.
Processing Prob-mathphys4.tex
指定されたパスが見つかりません。
This is e-pTeX, Version 3.14159265-p3.8.3-191112-2.6 (utf8.sjis) (TeX Live 2020/W32TeX) (preloaded format=platex)
restricted \write18 enabled.
entering extended mode
(./Prob-mathphys4.tex(guessed encoding: UTF-8 = utf8)
pLaTeX2e <2020-02-02>+3 (based on LaTeX2e <2020-02-02> patch level 5)
L3 programming layer <2020-03-06>
(g:/texlive/2020/texmf-dist/tex/platex/base/jbook.cls(guessed encoding: ISO-2022-JP = jis)
Document Class: jbook 2020/01/03 v1.8e Standard pLaTeX class
(g:/texlive/2020/texmf-dist/tex/platex/base/jbk12.clo))
(g:/texlive/2020/texmf-dist/tex/latex/geometry/geometry.sty
(g:/texlive/2020/texmf-dist/tex/latex/graphics/keyval.sty)
(g:/texlive/2020/texmf-dist/tex/generic/iftex/ifvtex.sty
(g:/texlive/2020/texmf-dist/tex/generic/iftex/iftex.sty)))
(g:/texlive/2020/texmf-dist/tex/latex/tools/delarray.sty
(g:/texlive/2020/texmf-dist/tex/latex/tools/array.sty))
(g:/texlive/2020/texmf-dist/tex/latex/tools/enumerate.sty)
(g:/texlive/2020/texmf-dist/tex/latex/graphics/graphicx.sty
(g:/texlive/2020/texmf-dist/tex/latex/graphics/graphics.sty
(g:/texlive/2020/texmf-dist/tex/latex/graphics/trig.sty)
(g:/texlive/2020/texmf-dist/tex/latex/graphics-cfg/graphics.cfg)
(g:/texlive/2020/texmf-dist/tex/latex/graphics-def/dvips.def)))
(g:/texlive/2020/texmf-dist/tex/latex/l3backend/l3backend-dvips.def)
(./Prob-mathphys4.aux(guessed encoding: UTF-8 = utf8))
*geometry* driver: auto-detecting
*geometry* detected driver: dvips
第 4 章
[1] [2] (./Prob-mathphys4.aux(guessed encoding: UTF-8 = utf8)) )
Output written on Prob-mathphys4.dvi (2 pages, 7992 bytes).
Transcript written on Prob-mathphys4.log.
ptex2pdf processing of Prob-mathphys4.tex failed.
C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;c:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64_win\compiler;C:\WINDOWS\System32\OpenSSH\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\MATLAB\R2020a\bin;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64_win\compiler;C:\Users\yoshida\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\yoshida\AppData\Local\Microsoft\WindowsApps;G:\texlive\2020\bin\win32;
pandocでlualatexを使用してmdからpdfに変換ができない
[plautopatch] pdfpages を読み込むとエラー
\RequirePackage{plautopatch}
\documentclass[uplatex,dvipdfmx]{jsarticle}
\usepackage{pdfpages}
\begin{document}
hoge
\end{document}
エラーの内容は
/usr/local/texlive/2020/texmf-dist/tex/latex/gentombow/pxesopic.sty:173: Undefined control sequence.
l.173 ...r\AtBeginShipout\expandafter{\pxesop@hook
}}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
新LaTeX の hook 関係でしょうか。
数式フォントの埋め込みについて
\documentclass{jarticle}
\usepackage{amsmath,amssymb}%
\usepackage{qtxmath}%
\usepackage{tgtermes,tgheros}%
\renewcommand{\bfdefault}{bx}%
\renewcommand{\ttdefault}{lmtt}%
\begin{document}
\[A(x, y)=\left(\frac{ai+bi}{2}, ai-bi\right)\]
\[\overline{d}\;\overline{+} × \sqrt{\frac{SDd}{n}}\]
\[t=r \sqrt{\frac{n-2}{1-r^2}}\]
\[A`(x, y) = \left(\frac{ai+bi}{2},\quad \left(\frac{ai-bi}{\left(\frac{ai+bi}{2}\right)}\right)\right)\]
\[A`(x, y) = \left(\frac{ai+bi}{2},\quad \log_{10}\sqrt\frac{ai+bi}{2}\right)\]
\end{document}