라텍스에서 pdfcomment 텍스트 상자 색상 및 테두리 변경

라텍스에서 pdfcomment 텍스트 상자 색상 및 테두리 변경

텍스트 상자 색상을 보기 흉한 노란색에서 다른 색상으로 변경하고 싶습니다. 누구든지 그것을 수행하는 방법을 알고 있습니까? 그리고 검은색 테두리선 없애는 것도 가능한가요?

예제 코드:

\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{pdfcomment}
\usepackage{xcolor}
\begin{document}
\pdfmarkupcomment[author={},subject={test},color=green!25]{Commented text}{Comment}
\end{document}

답변1

OP의 예를 사용하면 노란색 설명 상자가 표시되지 않습니다. 저는 macOS 10.15.2에서 Preview 11.0과 최신 Adobe Acrobat Reader를 사용하고 있습니다. (버전을 확인하기 위해 "정보"를 클릭하면 Acrobat Reader가 충돌하므로 정확한 버전 번호를 제공할 수 없습니다.)

미리보기로 열기

Adobe Acrobat Reader로 열기

내 라텍스 패키지 버전 정보( \listfiles서문을 추가하고 pdflatex를 실행한 다음 로그 파일에서 버전 정보를 찾을 수 있습니다.):

 *File List*
 article.cls    2019/12/20 v1.4l Standard LaTeX document class
  size10.clo    2019/12/20 v1.4l Standard LaTeX file (size option)
inputenc.sty    2018/08/11 v1.3c Input encoding file
pdfcomment.sty    2018/11/01 pdfcomment.sty v2.4a - Josef Kleber (C) 2008-2012,
 2015-2016, 2018
 xkeyval.sty    2014/12/03 v2.7a package option processing (HA)
 xkeyval.tex    2014/12/03 v2.7a key=value parser (HA)
etoolbox.sty    2019/09/21 v2.5h e-TeX tools for LaTeX (JAW)
datetime2.sty    2019/11/11 v1.5.5 (NLCT) date and time formats
tracklang.sty    2019/11/30 v1.4 (NLCT) Track Languages
tracklang.tex    2019/11/30 v1.4 (NLCT) Track Languages Generic Code
zref-savepos.sty    2019/11/29 v2.28 Module savepos for zref (HO)
zref-base.sty    2019/11/29 v2.28 Module base for zref (HO)
 ltxcmds.sty    2019/12/15 v1.24 LaTeX kernel commands for general use (HO)
infwarerr.sty    2019/12/03 v1.5 Providing info/warning/error messages (HO)
kvsetkeys.sty    2019/12/15 v1.18 Key value parser (HO)
kvdefinekeys.sty    2019-12-19 v1.6 Define keys (HO)
pdftexcmds.sty    2019/11/24 v0.31 Utility functions of pdfTeX for LuaTeX (HO)
   iftex.sty    2019/11/07 v1.0c TeX engine tests
etexcmds.sty    2019/12/15 v1.7 Avoid name clashes with e-TeX commands (HO)
 auxhook.sty    2019-12-17 v1.6 Hooks for auxiliary files (HO)
   ifpdf.sty    2019/10/25 v3.4 ifpdf legacy package. Use iftex instead.
refcount.sty    2019/12/15 v3.6 Data extraction from label references (HO)
  ifthen.sty    2014/09/29 v1.1c Standard LaTeX ifthen package (DPC)
    calc.sty    2017/05/25 v4.3 Infix arithmetic (KKT,FJ)
marginnote.sty    2018/08/09 v1.4b non floating margin notes for LaTeX
ifluatex.sty    2019/10/25 v1.5 ifluatex legacy package. Use iftex instead.
 soulpos.sty    2012/02/25 v1.1 Fancy underlining
hyperref.sty    2020/01/14 v7.00d Hypertext links for LaTeX
pdfescape.sty    2019/12/09 v1.15 Implements pdfTeX's escape features (HO)
 hycolor.sty    2020-01-27 v1.10 Color options for hyperref/bookmark (HO)
letltxmacro.sty    2019/12/03 v1.6 Let assignment for LaTeX macros (HO)
kvoptions.sty    2019/11/29 v3.13 Key value format for package options (HO)
  pd1enc.def    2020/01/14 v7.00d Hyperref: PDFDocEncoding definition (HO)
 intcalc.sty    2019/12/15 v1.3 Expandable calculations with integers (HO)
   puenc.def    2020/01/14 v7.00d Hyperref: PDF Unicode definition (HO)
stringenc.sty    2019/11/29 v1.12 Convert strings between diff. encodings (HO)
     url.sty    2013/09/16  ver 3.4  Verb mode for urls, etc.
  bitset.sty    2019/12/09 v1.3 Handle bit-vector datatype (HO)
bigintcalc.sty    2019/12/15 v1.5 Expandable calculations on big integers (HO)
atbegshi.sty    2019/12/05 v1.19 At begin shipout hook (HO)
 hpdftex.def    2020/01/14 v7.00d Hyperref driver for pdfTeX
atveryend.sty    2019-12-11 v1.11 Hooks at the very end of document (HO)
rerunfilecheck.sty    2019/12/05 v1.9 Rerun checks for auxiliary files (HO)
uniquecounter.sty    2019/12/15 v1.4 Provide unlimited unique counter (HO)
  xcolor.sty    2016/05/11 v2.12 LaTeX color extensions (UK)
   color.cfg    2016/01/02 v1.6 sample color configuration
  pdftex.def    2018/01/08 v1.0l Graphics/color driver for pdftex
l3backend-pdfmode.def    2020-02-23 L3 backend support: PDF mode
soulutf8.sty    2019/12/15 v1.2 Permit use of UTF-8 characters in soul (HO)
    soul.sty    2003/11/17 v2.4 letterspacing/underlining (mf)
 nameref.sty    2019/09/16 v2.46 Cross-referencing by name of section
gettitlestring.sty    2019/12/15 v1.6 Cleanup title references (HO)
pdfcomment.out
pdfcomment.out
supp-pdf.mkii
se-pdfdoc.def    2019/11/29 v1.12 stringenc: PDFDocEncoding
pdfcomment.upa
 ***********

관련 정보