X 和 I 在中世纪字体中显示效果不佳

X 和 I 在中世纪字体中显示效果不佳

我在这里使用模板:https://www.overleaf.com/latex/templates/newspaper-slash-news-letter-template/wjxxhkxdjxhw

但是,在标题中,我想放“XI”,但它看起来与 X 和 I 非常不同。

我希望它显示 XI 报纸。使用此命令 \SetPaperName{\Large XI Newspaper}我得到: 在此处输入图片描述

如果我将其改为:

\SetPaperName{\Large XI News:\/paper}

我可以让报纸中的 s 看起来更好:

在此处输入图片描述

如何使 XI(前两个字母)看起来更易读?

答案1

他们newspaper在文档类使用的 Gothic 字体中查找 X 和 I。

您可能想要使用不同的黑体字体,但 Type1 格式中实际上没有可用的字体。

如果您愿意切换到 XeLaTeX 或 LuaLaTeX 并拥有最新的 TeX 发行版,则可以使用英文黑体字体。

\documentclass{article}

%\usepackage[utf8]{inputenc}
%\usepackage[T1]{fontenc}
\usepackage{fontspec}
\usepackage{microtype}
\usepackage{xpatch}

\usepackage{newspaper}

\newfontface{\mytitlefont}{QTCloisteredMonk.otf}[Scale=4]
\setmainfont{TeX Gyre Termes}

\makeatletter
\xpatchcmd{\maketitle}{\@papername}{{\fontencoding{TU}\mytitlefont\@papername}}{}{}
\makeatother

\date{\today}
\currentvolume{1}
\currentissue{1}

%% [LianTze] The newspaper package also provides 
%% these commands to set various metadata:

%% The banner headline on the first page
%%   (The colon after s: is to get a more
%%   modern majuscule s in this font instead of 
%%   the medieval tall s. For anyone interested 
%%   in the history: 
%%  http://medievalwriting.50megs.com/scripts/letters/historys.htm)
%\SetPaperName{Committee Times:}
\SetPaperName{\Large XI Newspaper}

%% The name used in the running header after
%% the first page
\SetHeaderName{Committee Times}

%% and also...
\SetPaperLocation{Washington DC}
\SetPaperSlogan{``All the News I Feel Like Printing.''}
\SetPaperPrice{Zero Dollars}


% [LianTze] times (the package not the font) is rather outdated now; use newtx (see later)
% \usepackage{times}
\usepackage{graphicx}
\usepackage{multicol}

\usepackage{picinpar}
%uasage of picinpar:
%\begin{window}[1,l,\includegraphics{},caption]xxxxx\end{window}


%% [LianTze] Contains some modifications
%\usepackage{newspaper-mod}
%%... so now you can redefine the headline and byline style if you want to.
%% These can be issued just before any
%% byline or headline in the paper, to
%% individually style each article
%%
% \renewcommand{\headlinestyle}{\itshape\Large\lsstyle}
% \renewcommand{\bylinestyle}{\bfseries\Large\raggedright}


%%%%%%%%%  Front matter   %%%%%%%%%%

\usepackage{lipsum}

\begin{document}
\maketitle

\begin{multicols}{3}

\byline{Geek Designs New \LaTeX{} Package}{Matthew Allen}

The package is basically a redefinition of the \verb+\maketitle+ command.  The model was the New York Times---hopefully I haven't violated any copyright laws.  I also had to redefine the plain pagestyle.  It kept me busy for a few nights after work.  The rest is packages other people have written.      

\begin{window}[2,r,\includegraphics[width=1.0in]{example-image-1x1},\centerline{The Atom}] The \verb+multicol+ package allows using multiple columns without starting a new page.  Using floats is not possible in a columns environment, however with the \verb+picinpar+ package, I can set a picture inside a block of text---just like you one you see here.  Isn't \LaTeX{} cool?
And now we're just filling more space, and yet more space.  
\end{window}
\closearticle


\headline{Another Headline}
This is just an example to fill up some space, but as long as I have your attention, I'll give some newspaper advice.

I suppose we could also show how an equation is type set:
\begin{displaymath}
x=\frac{-b\pm\sqrt{b^2-4ac}}{2a}
\end{displaymath}
and there you have it.  

\lipsum[1-4]

\closearticle

\end{multicols}

\end{document}

newspaper-mod.sty(我删除了不兼容的呼叫)。

在此处输入图片描述

相关内容