<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Latex on</title><link>https://zhanghb55.github.io/docs/latex/</link><description>Recent content in Latex on</description><generator>Hugo -- gohugo.io</generator><lastBuildDate>Thu, 12 Jan 2023 18:34:30 +0800</lastBuildDate><atom:link href="https://zhanghb55.github.io/docs/latex/index.xml" rel="self" type="application/rss+xml"/><item><title>Acm Template</title><link>https://zhanghb55.github.io/docs/latex/acm/</link><pubDate>Fri, 05 Apr 2024 14:53:44 +0800</pubDate><guid>https://zhanghb55.github.io/docs/latex/acm/</guid><description>Remove front matters in draft.
\settopmatter{printacmref=false} % Removes citation information below abstract \renewcommand\footnotetextcopyrightpermission[1]{} % removes footnote with conference information in first column \pagestyle{plain} % removes running headers \settopmatter{printfolios=true} Set number of authors in a row.
\settopmatter{authorsperrow=4} Check if there is Type 3 font in PDF.
import os import subprocess import sys def check_pdffonts_installed(): &amp;#34;&amp;#34;&amp;#34;检查系统是否安装了 pdffonts 工具&amp;#34;&amp;#34;&amp;#34; try: subprocess.run([&amp;#34;pdffonts&amp;#34;, &amp;#34;-v&amp;#34;], stdout=subprocess.PIPE, stderr=subprocess.PIPE) return True except FileNotFoundError: return False def has_type3_font(file_path): &amp;#34;&amp;#34;&amp;#34; 使用 pdffonts 检查单个 PDF 文件是否包含 Type 3 字体。 返回: (bool, list) -&amp;gt; (是否包含, 字体信息列表) &amp;#34;&amp;#34;&amp;#34; try: # 调用 pdffonts 命令 result = subprocess.</description></item><item><title>Table</title><link>https://zhanghb55.github.io/docs/latex/table/</link><pubDate>Thu, 12 Jan 2023 18:34:30 +0800</pubDate><guid>https://zhanghb55.github.io/docs/latex/table/</guid><description>Misc # 愚蠢的tlmgr要远程版本低于本地咋办，把年份换成本地的
sudo tlmgr option repository https://mirrors.tuna.tsinghua.edu.cn/tex-historic-archive/systems/texlive/2022/tlnet-final Long Table # \begin{center} \begin{longtable}[!htbp]{c|c|ccc|c|c|ccc} \caption{迭代次数和误差} \vspace*{-1em} \label{tab:exp-result} \\ \toprule 函数 &amp;amp; 初值 &amp;amp; 方法 &amp;amp; \makecell[c]{迭代\\次数} &amp;amp; \makecell[c]{与$x^*$\\误差} &amp;amp; 函数 &amp;amp; 初值 &amp;amp; 方法 &amp;amp; \makecell[c]{迭代\\次数} &amp;amp; \makecell[c]{与$x^*$\\误差} \\ \midrule \endfirsthead \multicolumn{10}{c}{{\tablename\ \thetable{} 迭代次数和误差（接上页）}} \\ \toprule 函数 &amp;amp; 初值 &amp;amp; 方法 &amp;amp; \makecell[c]{迭代\\次数} &amp;amp; \makecell[c]{与$x^*$\\误差} &amp;amp; 函数 &amp;amp; 初值 &amp;amp; 方法 &amp;amp; \makecell[c]{迭代\\次数} &amp;amp; \makecell[c]{与$x^*$\\误差} \\ \midrule \endhead \bottomrule \multicolumn{10}{r}{{续下页}} \\ \endfoot \bottomrule \endlastfoot \end{longtable} \end{center} Minted Code # abcdefg</description></item></channel></rss>