我正在写报告,遇到了typewriter
字体问题;字体没有调整到文本宽度。我找不到任何相关的答案或主题。
这是我的 MWE:
\documentclass[12pt,a4paper]{article}
\usepackage[spanish,es-noshorthands]{babel}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{mathptmx}
\usepackage[title]{appendix}
\usepackage{pdflscape}
\begin{document}
\section{New Story}
A written line
\section{Another}
\begin{itemize}
\item Blah blah blah blah blah blah blah blah blah blah blah blah blah \texttt{RegistroSismico.xls}, blah blah. Blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah.
\end{itemize}
Blah blah blah blah blah blah blah blah blah blah blah blah blah \texttt{RegistroSismico.xls}, blah blah. Blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah. Blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah. Blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah
\end{document}
答案1
如果允许使用连字符,请比较已更正和未更正的段落。\-
's 是允许使用连字符的地方。
\documentclass[12pt,a4paper]{article}
\usepackage[spanish,es-noshorthands]{babel}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{mathptmx}
\usepackage[title]{appendix}
\usepackage{pdflscape}
\begin{document}
\section{New Story}
A written line
\section{Another}
\begin{itemize}
\item Blah blah blah blah blah blah blah blah blah blah blah blah blah \texttt{Registro\-Sis\-mi\-co.xls}, blah blah. Blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah.
\end{itemize}
Blah blah blah blah blah blah blah blah blah blah blah blah blah \texttt{RegistroSismico.xls}, blah blah. Blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah. Blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah. Blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah
\end{document}