Latex在图片中添加文字

该博客围绕Latex展开,介绍了定义字体大小、开始文件和导入图片的相关内容。还提及文字位置用(100,40)表示,字体颜色用\\textcolor[rgb]{0.00,0.00,1.00}表示,字号用\\wuhao表示。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

定义字体大小

\newcommand{\chuhao}{\fontsize{42pt}{\baselineskip}\selectfont}
\newcommand{\xiaochuhao}{\fontsize{36pt}{\baselineskip}\selectfont}
\newcommand{\yihao}{\fontsize{28pt}{\baselineskip}\selectfont}
\newcommand{\erhao}{\fontsize{21pt}{\baselineskip}\selectfont}
\newcommand{\xiaoerhao}{\fontsize{18pt}{\baselineskip}\selectfont}
\newcommand{\sanhao}{\fontsize{15.75pt}{\baselineskip}\selectfont}
\newcommand{\sihao}{\fontsize{16pt}{\baselineskip}\selectfont}
\newcommand{\xiaosihao}{\fontsize{12pt}{\baselineskip}\selectfont}
\newcommand{\wuhao}{\fontsize{10pt}{\baselineskip}\selectfont}
\newcommand{\xiaowuhao}{\fontsize{9.2pt}{\baselineskip}\selectfont}
\newcommand{\liuhao}{\fontsize{8.4pt}{\baselineskip}\selectfont}
\newcommand{\xiaoliu}{\fontsize{6.2pt}{\baselineskip}\selectfont}
\newcommand{\qihao}{\fontsize{11pt}{\baselineskip}\selectfont}
\newcommand{\bahao}{\fontsize{14pt}{\baselineskip}\selectfont}

开始文件

\begin{document}

导入图片

\begin{figure}
\begin{center}
\begin{overpic}[scale=0.7]{fig2.eps}
%\put(100,40){\textcolor[rgb]{0.00,0.00,1.00}{\wuhao $\alpha$}}

其中,
(100,40)表示文字位置,
\textcolor[rgb]{0.00,0.00,1.00}表示字体颜色,
\wuhao表示字号。

\end{overpic}
\end{center}
\end{figure}
\end{document}
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值