小编fla*_*amm的帖子

在latex中存储文本字符串,然后向其中添加其他文本(连接)

我首先定义一个命令来存储字符串"Hello":

\newcommand{\textstring}{Hello}
Run Code Online (Sandbox Code Playgroud)

我想追加字符串"world"但不幸的是这段代码会导致错误:

\renewcommand{\textstring}{\textstring world}
Run Code Online (Sandbox Code Playgroud)

string latex

10
推荐指数
1
解决办法
1万
查看次数

标签 统计

latex ×1

string ×1