很抱歉收到您的反馈意见。我最终使用了此解决方案(带逐字*的乳胶中的位流vera字体):
\documentclass{article}
\usepackage{bera}
\begin{document}
% text using bera font (Bitstream Vera), which has dotted zeroes
% the * after verbatim adds visible spaces
\begin{verbatim*}'1 l oO0}4 _i6D-WtF#q\end{verbatim*}
% visible space
hello\textvisiblespace world
% slashed zero
\o
\end{document}
我还尝试了其他一些方法。
要从中创建pdf:
pdflatex password_printing_4.tex
如果遇到任何错误,请尝试简单地安装texmaker。这取决于最必要的乳胶包装:
sudo apt-get install texmaker
我也尝试过使用乳胶中的inconsolata字体,但看起来并不相同:
\documentclass{article}
\usepackage{inconsolata}
%\usepackage{bera}
% requires texlive-xetex package:
\usepackage[xetex]{graphicx}
%\usepackage{fontspec,xunicode}
%\defaultfontfeatures{Mapping=tex-text,Scale=MatchLowercase}
%\setmainfont[Scale=.95]{Inconsolata}
\begin{document}
% text using bera font (Bitstream Vera), which has dotted zeroes
% the * after verbatim adds visible spaces
\begin{verbatim*}`!=}k o6~-cRR1loO0\end{verbatim*}
%\renewcommand{\bera}{\inconsolata}
\texttt{This is Inconsolata. zero: 0}
%\renewcommand{\inconsolata}{\bera}
\texttt{This is Bera. zero: 0}
% visible space
hello\textvisiblespace world
% slashed zero
\o
\end{document}