Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I'm trying to find a package that would allow me to include the following sentence in my tex file:

(我正在尝试找到一个程序包,该程序包可使我在tex文件中包含以下句子:)

A really good initiative ????

I tried

(我试过了)

setmainfont{DejaVu Sans}

but I could't manage to make it work.

(但我无法使其正常运行。)

It appears that there are some emojis missing.

(似乎缺少一些表情符号。)

Any help would be greatly appreciated.

(任何帮助将不胜感激。)

  ask by patri translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
722 views
Welcome To Ask or Share your Answers For Others

1 Answer

In the end, I used:

(最后,我使用了:)

usepackage{scalerel,graphicx,xparse}

NewDocumentCommandemojione{}{scalerel*{includegraphics{1F44F}}{X}}
NewDocumentCommandemojitwo{}{scalerel*{includegraphics{270C}}{X}}

where 1F44F and 270C are the emojis that I wanted to include uploaded as pdf files.

(其中1F44F和270C是我要包括以pdf文件形式上传的表情符号。)

Hope this will help someone else also.

(希望这也会对其他人有所帮助。)


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...