如您所见,由于单词“AuthenticateWith”过长,导致空格过宽。有什么想法可以在下方引入连字符{itemize}
并以某种方式调整项目。我试过了\justifying
,{ragged2e}
但都不起作用。请看代码:
\begin{itemize}
\item The predicate \textbf{\emph{authenticateWith}} is defined to associate \textbf{Federation} and \textbf{Centre} individuals, e.g. \emph{authenticateWith}(\emph{Birmingham03}, \emph{INPDR}) refers to the fact that identity certificates issued from the centre \emph{Birmingham03} can be automatically verified by \emph{INPDR}.
\end{itemize}
答案1
我尝试使用此代码重现您的问题,但没有出现,因此我建议您使用 LaTeX 发行版进行测试。如果出现相同的问题,则可能是您的 LaTeX 版本或 babel 包版本的问题。
\documentclass[a4paper,12pt]{article}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage[main=english,frenchb]{babel}
\begin{document}
\begin{minipage}{10cm}
\begin{itemize}
\item The predicate \textbf{authenticateWidth} is defined to associate \textbf{Federation and Centre individuals}, e.g. \textit{AuthenticateWidth(Birminghamoz, INPDR)} refers to the fact that identity certificates issued from the centre \textit{Birminghamoz} can be automatically verified by INPDR.
\end{itemize}
\begin{itemize}
\item The predicate \textbf{\emph{trust}} is defined to associate \textbf{Centre} individuals, e.g. \emph{trust}(\emph{Udine02}, \emph{Berlin03}) refers to an organisational trust relation between centres \emph{Udine02} and \emph{Berlin03}.
\end{itemize}
\end{minipage}
\end{document}
正如 Ian Thompson 所写,我建议您发送一个代码示例来重现问题。这对于解决您的问题和帮助遇到同样问题的人非常有用,这是专业软件开发人员采用的典型规则。