编译环境
TEX Live 2020,装有 Source Han Serif JP
和 Source Han Sans JP
字体,编译方式 xelatex --shell-escape
正文
《辉夜大小姐想让我告白》第二季
代码
\documentclass{ctexart} \usepackage{geometry} \usepackage{tikz} \usetikzlibrary{tikzmark} \setCJKmainfont{Source Han Serif JP} \setCJKsansfont{Source Han Sans JP} \setCJKmonofont{Source Han Sans JP} \xeCJKsetup{sout/format=\color{red},sout/thickness=0.08cm} \begin{document}\pagestyle{empty} \begin{center} {\bfseries\huge{}か~ぐ~や~様~は~\tikz \subnode{a}{\textcolor{red}{告}};\hspace{1\ccwd}~ら~せ~た~い\textcolor{red}{?}}\\ \CJKsout*{〜{\sffamily{}天~\sffamily{}才~\sffamily{}た~\sffamily{}ち~\sffamily{}の~\sffamily{}恋~\sffamily{}愛~\sffamily{}頭~\sffamily{}脳~\sffamily{}戦}〜} \end{center} \begin{tikzpicture}[overlay,remember picture] \tikzset{shift={(pic cs:a)}} \draw[draw=red] plot[parametric,id=x,samples=500] function{1.9*sin(t)/5-1.9*sin(2*t)/10+0.38,1.9*cos(t)/5-1.9*cos(2*t)/10+0.49}; \end{tikzpicture} \end{document}
|
效果
《月刊少女野崎君》
代码
\documentclass{ctexart} \usepackage{sourcesanspro} \setCJKmainfont{Source Han Sans JP} \usepackage{graphicx,xcolor} \definecolor{qian}{RGB}{143,185,49} \definecolor{shen}{RGB}{143,194,33} \usepackage{tikz,calc} \def\meigui#1{\filldraw[fill=shen,draw=shen,domain=-3.141:3.141] plot[parametric,id=x,samples=500] function{0.233*#1*sin(2*t)*cos(t),0.233*#1*sin(2*t)*sin(t)};} \begin{document}\pagestyle{empty} \begin{center} \begin{tikzpicture} \node at (0,0) {\fontsize{36.135}{0}\selectfont\resizebox{!}{0.57\ccwd}{\parbox{2\ccwd}{\bfseries 月刊少女}}}; \node at (2,0) {\zihao{-0}野崎}; \node at (4,-0.24) {\fontsize{36.135}{0}\selectfont\resizebox{!}{0.5\ccwd}{% くん% }}; \node at (4.055,0.36) {\fontsize{18}{0}\selectfont\resizebox{2.2\ccwd}{0.5\ccwd}{% \parbox{\ccwd}{% \resizebox{\ccwd}{0.5\ccwd}{% \sffamily\color{qian}GEKKAN~SHOJO}\\ \resizebox{\ccwd}{0.5\ccwd}{% \sffamily\bfseries\color{shen}NOZAKI~KUN }}}}; \fill[white] (2.55,-0.45) rectangle ++ (0.4,0.4); \fill[white] (0.9064,0.0875) rectangle ++ (0.3824,0.3507); \tikzset{shift={(2.77,-0.22)}} \meigui{1} \tikzset{shift={(1.0976-2.77,0.26285+0.22)}} \meigui{0.68} \end{tikzpicture} \end{center} \end{document}
|
效果