\texorpdfstring 中的双击 unicode 字符

\texorpdfstring 中的双击 unicode 字符

考虑以下示例(PDFLaTeX,TeXLive 2011):

\documentclass{article}
\usepackage{xspace,amssymb,mathtools,fixltx2e}
% This isn't *stricly* necessary, of course...
\ifdefined\TextOrMath
  \def\ensuremath#1{\TextOrMath{\(\relax #1\)}{#1}}
\fi
\usepackage[utf8]{inputenc}
\usepackage[unicode]{hyperref}
\def\defTeXorMathorUnicodePDFcmd#1#2#3{%
  \def#1{\texorpdfstring{\ensuremath{#2}}{#3}\xspace}}
% Common double-struck characters such as ℂ, ℍ, ℕ, ℙ, ℚ, ℝ and ℤ are
% set up to work by inputenc.sty.  They are in the range u+2102-2149
% along with some other characters that aren't in amsmath's blackboard
% bold font such as ⅆ and ⅈ.
\defTeXorMathorUnicodePDFcmd\CC{\mathbb C}{ℂ}
% 

答案1

这不是一个正确的答案,而是对问题的分析。

这个问题似乎与 pdf-viewer 有关。我明白了

相关内容