Paralist* compactdesc 環境のフォント オプション

Paralist* compactdesc 環境のフォント オプション

私は、最初の行がぶら下がっている密集した段落の仮の手段として、paralist の compactdesc 環境を使用しています。実際、description 環境の使用は、私が行っていること (名前のリストと所属機関) に適しているため、ラベル (つまり、名前) を何らかの異なるフォント ファミリにすることは悪い動きではありません。私が避けようとしているのは、特に太字の使用であり、サンセリフなどの他のフォントに調整するかもしれません。方法がわかったら、残りは自分で考えます。

私はラベルから太字を削除しようとしている、または何らかの方法でそれを調整しようとしているのですが、オンラインでそれが適切に説明されている場所(理想的にはコピーペーストに適した例)が見つかりません。

基本的に;

\documentclass{article}
\usepackage{paralist}
    ...
\begin{document}

\begin{compactdesc}
    \raggedright
\item [Something]. Short description.
\item [Something else].  A very long line which may or may not run over to the next line and which isn't hyphen-split thanks to ragged edges
\item [And another thing]. Short description.
\end{compactdesc}

\end{document}

私が求めているのは、[Something] 部分が太字にならないことです。そのためのコードは、ほぼ間違いなくプリアンブルのどこかにあります - ある種の \setcompactdesc{font=\normalfont} のような処理です (ただし、そのコマンドは機能しません)。

何か助けて?

答え1

十分には分かりませんparalistが、 を使用すると簡単にこの結果を得ることができます。をラベル フォントとしてenumitem使用した例:scshape

\documentclass{article}

\usepackage{enumitem}
\usepackage{lipsum}

\begin{document}

\lipsum[11]
\begin{description}[nosep, font=\mdseries\scshape]
  \raggedright
  \item [Something]. Short description.
  \item [Something else]. A very long line which may or may not run over to the next line and which isn't hyphen-split thanks to ragged edges
  \item [And another thing]. Short description.
\end{description}

\end{document} 

ここに画像の説明を入力してください

答え2

paralist ドキュメンテーション4ページ目にあります。

画像

\documentclass{article}

\usepackage{lipsum}
\usepackage{paralist}

\renewcommand*\descriptionlabel[1]{%
\hspace\labelsep\scshape #1}


\begin{document}

\lipsum[11]
\begin{compactdesc}\raggedright
  \item [Something.] Short description.
  \item [Something else.]  A very long line which may or may not run over to the next line and which isn't hyphen-split thanks to ragged edges.
  \item [And another thing.] Short description.
\end{compactdesc}

\end{document}

画像

...ドット付き内部@Bernard が提案したアイテム。

関連情報