改变字符线条粗细的简单方法

改变字符线条粗细的简单方法

我正在使用一些字符作为参考标记。©、℗ 和 ® 正是我需要的。但是我还需要使用带圆圈的点。我发​​现的带圆圈的点的线条要细得多。不过其他一切似乎都很好。有没有简单的方法可以让线条变粗?请参阅下面的示例。我保留了序言,以便可以识别任何可能的冲突。

\documentclass[paper=a5,fontsize=10pt,twoside,twocolumn,pagesize,DIV=15,headsepline,titlepage,openright,BCOR=8mm,numbers=noenddot]{scrbook}
\usepackage{scrlayer-scrpage}
\usepackage{cmap}
\usepackage[utf8]{inputenc}
\usepackage[vietnamese=nohyphenation]{hyphsubst}
\usepackage[vietnamese,polish]{babel}
\usepackage[T5,T1]{fontenc}
\usepackage{longtable}
\usepackage{lmodern}
\usepackage{textcomp}
\usepackage{amsfonts}
\usepackage{pifont}

\newcommand{\languagechange}[3]{%
  %\wlog{Lang: #3}%
  \newcommand{#1}{}%
  \DeclareRobustCommand{#1}{%
    \fontencoding{#2}\selectfont
    \csname otherlanguage*\endcsname{#3}%
  }%
}
\languagechange{\pl}{T1}{polish}
\languagechange{\vn}{T5}{vietnamese}

\newcommand{\xwzb}{{\small $\odot$}}
\newcommand{\xrzecz}{\textregistered}
\newcommand{\xczas}{\textcopyright}

\begin{document}

\begin{description}
\item[\pl abecadło] \vn xin chào
\item[\pl z pieca \xczas] \vn anh có khỏe không
\item[\pl spadło \xrzecz] \vn có gì mới không
\item[\pl i tyle \xwzb] \vn con chó
\end{description}

\end{document}

带细线的圆圈点

答案1

使用包contour。它通过将文本副本放置在文本本身周围来在给定文本周围生成(彩色)轮廓。

b

% !TeX TS-program = pdflatex

\documentclass[paper=a5,fontsize=10pt,twoside,twocolumn,pagesize,DIV=15,headsepline,titlepage,openright,BCOR=8mm,numbers=noenddot]{scrbook}
\usepackage{scrlayer-scrpage}
\usepackage{cmap}
\usepackage[utf8]{inputenc}
\usepackage[vietnamese=nohyphenation]{hyphsubst}
\usepackage[vietnamese,polish]{babel}
\usepackage[T5,T1]{fontenc}
\usepackage{longtable}
\usepackage{lmodern}
\usepackage{textcomp}
\usepackage{amsfonts}
\usepackage{pifont}

\newcommand{\languagechange}[3]{%
    %\wlog{Lang: #3}%
    \newcommand{#1}{}%
    \DeclareRobustCommand{#1}{%
        \fontencoding{#2}\selectfont
        \csname otherlanguage*\endcsname{#3}%
    }%
}
\languagechange{\pl}{T1}{polish}
\languagechange{\vn}{T5}{vietnamese}

\newcommand{\xwzb}{{\small $\odot$}}
\newcommand{\xrzecz}{\textregistered}
\newcommand{\xczas}{\textcopyright}

\usepackage[outline]{contour} % added <<<<<<<<<<<<<<<<<<<<<<<
\newcommand{\xcxxx}{\contourlength{0.02em}\contour{black}{$\odot$}}

\begin{document}
    
    \begin{description}
        \item[\pl abecadło] \vn xin chào
        \item[\pl z pieca \xczas] \vn anh có khỏe không
        \item[\pl spadło \xrzecz] \vn có gì mới không
        \item[\pl i tyle \xwzb] \vn con chó
        \item[\pl i tyle \xcxxx] \vn tốt hơn rồi
    \end{description}

\end{document}

相关内容