口胃读什么| 办理护照需要什么资料| 望尘莫及什么意思| 灵芝长什么样子图片| 梦见抓鸟是什么征兆| 阳光照耀是什么意思| 拉屎擦屁股纸上有血什么原因| 糖吃多了有什么危害| 旭五行属什么| 干咳嗽是什么原因| 爱是什么东西| 月经不能吃什么水果| 宽字五行属什么| 有什么别有病| 前列腺增生是什么意思| 脾胃不好吃什么食物| 晚上做梦掉牙有什么预兆| 玻璃水是干什么用的| 天降横财什么意思| 青海有什么湖| 梦见发大水是什么意思| 做ct需要注意什么| 大便臭是什么原因| 腰胀是什么原因引起的| 什么叫丁克| 负压引流器有什么作用| 感冒看什么科| 褪黑素不能和什么一起吃| 血虚是什么意思| 6.18是什么星座| 什么水果对心脏有好处| 什么头蛇尾| mr和mri有什么区别| 瑶浴是什么意思| 女生为什么会叫| 脂肪肝不能吃什么| 膝盖疼吃什么药好| 什么是组织| 海参有什么营养价值| 甘草泡水喝有什么功效| 吃什么东西养胃最有效| 面部脂溢性皮炎用什么药| 张信哲属什么生肖| 吃避孕药对身体有什么影响| 什么地画| 钟点房是什么意思| 呼吸内镜检查什么| 吃木瓜有什么好处| 六指是什么原因导致的| 珍惜眼前人是什么意思| 内科查什么| 上面一个四下面一个正念什么| 蒲地蓝消炎片主治什么| 龙筋是什么| 大便很臭什么原因| 摩羯座女生和什么星座男生最配| 嘴巴苦吃什么药| 身上无力是什么原因| 除权是什么意思| 脑门出汗多是什么原因| 06是什么生肖| kkkk是什么意思| 左耳朵嗡嗡响是什么原因引起的| 湿气重吃什么食物| 综合用地是什么性质| 发烧酒精擦什么部位| 7月15是什么节| 一个三点水一个有读什么字| 脑梗三项是检查什么| 过期葡萄酒有什么用途| 脚后跟干裂起硬皮用什么药| 尿发绿是什么原因| 吃什么对肝最好| 哥文花园女装什么档次| 甚嚣尘上是什么意思| 脱肛是什么症状| ur是什么品牌| 大便成细条状是什么病| 结肠炎有什么症状表现| 很nice什么意思| 姑婆的儿子叫什么| 孕妇感冒了对胎儿有什么影响| 细菌计数高是什么原因| 睡前吃什么有助于睡眠| 翻来覆去是什么意思| 为什么白带是黄色的| 丧偶式婚姻是什么意思| 平安扣适合什么人戴| ev病毒是什么| 2019年出生属什么生肖| 胸椎退行性变什么意思| 耳朵痒痒用什么药| 早上出汗是什么原因| 汗毛长的女人代表什么| 唯有读书高的前一句是什么| 什么茶养胃又治胃病| 大米有什么营养| 1037年属什么生肖| 礻字旁与什么有关| 先天性心脏病是什么原因造成的| 空调外机很响是什么原因| 红参和高丽参有什么区别| 西红柿不能和什么一起吃| 月经提前了10天是什么原因| 微量元素六项是什么检查| 石光荣是什么军衔| 姜枣茶什么时间喝最好| 本色出演是什么意思| 吃鱼肝油有什么好处| 膝盖疼应该挂什么科| 三叉神经痛吃什么药效果最好| 2028是什么年| 蝉长什么样| 肺部结节挂什么科| 淋巴结是什么| 脸上长痘痘什么原因| 榴莲树长什么样子图片| 素鸡是用什么做的| 放炮是什么意思| 宣字五行属什么| 男才女貌是什么意思| 左腹部是什么器官| 为什么不建议儿童做胃镜| 鸡蛋不能和什么食物一起吃| 人潮汹涌是什么意思| 2017年属鸡火命缺什么| 弓山文念什么| 肠胃不好吃什么调理| 胆固醇高对身体有什么危害| 胃病能吃什么水果| 黑眼圈重是什么原因| rolex是什么牌子的手表| 什么不见| od值是什么意思| 黑五是什么| 人为什么怕死| 1962属什么生肖| 磋磨什么意思| 虾皮是什么虾| 泻盐是什么东西| 农历五月初五是什么节日| 孕期头晕是什么原因| 仁爱是什么意思| 牡丹花是什么颜色的| 翻墙是什么意思| 杜鹃花什么时候开花| 芥酸对身体有什么危害| 吃饭掉筷子有什么预兆| 邓超的公司叫什么名字| 孕妇吃榴莲对胎儿有什么好处| 出家人不打诳语是什么意思| 胃疼可以吃什么| 足跟疼挂什么科室| 什么是理疗| 麦冬有什么功效| ozark是什么牌子| 衬衫什么面料好| 江西什么最出名| 男性感染支原体有什么症状| 活动性肺结核是什么意思| 氟利昂什么味道| absolutvodka什么酒| 碘化银什么颜色| 氢氧化钙是什么东西| 女性血热吃什么好得快| 手抖头抖是什么病| 纳尼是什么意思| 黄瓜为什么会发苦| 天秤座什么象星座| 快递属于什么行业| 丈青色是什么颜色| 撸管什么意思| 护资成绩什么时候出| 因果循环是什么意思| 平衡是什么意思| 特务是什么| 阴阳两虚吃什么中成药| 冬是什么结构| 辣椒含有什么维生素| 什么是桥本病| 双是什么意思| 漏斗胸是什么病| 蟾蜍吃什么| 狸猫是什么动物| vans属于什么档次| 什么口什么舌| 毛囊炎是什么症状图片| 月经期头晕是什么原因| 排除是什么意思| 喝茶是什么意思| 低密度脂蛋白高吃什么药| 宫颈疼是什么原因| dunk是什么牌子| 湦是什么意思| 玛卡是什么| 4月什么星座| 托塔李天王的塔叫什么| opec是什么意思| 女性生活疼痛什么原因| 什么叫野鸡大学| 马上封侯是什么意思| 身份证借给别人有什么危害性| 甲鱼吃什么东西| 前列腺是什么病| 庹是什么意思| 急性腮腺炎吃什么药| 高位破水是什么意思| 庚字五行属什么| 看甲状腺去医院挂什么科| 吞服是什么意思| 拉不出尿是什么原因| 为什么会出现眼袋| 心功能iv级是什么意思| 红曲红是什么| 疏肝解郁吃什么药| 慈禧姓什么| 发现新大陆是什么意思| 用什么泡脚可以活血化瘀疏通经络| flour是什么意思| 五根手指叫什么| 一什么边| 看痣挂什么科| 备孕吃什么水果| 萎靡不振是什么意思| 好马不吃回头草什么意思| 梦见粉条是什么意思| 3月4号什么星座| 阴枣是什么| 头皮发麻是什么原因| ena是什么检查项目| 绍兴本地人喝什么黄酒| 复试一般会问什么问题| 东莞有什么好玩的地方| m是什么尺码| 鸡蛋散黄是什么原因| 月经期间适合吃什么食物| 肾功能四项检查什么| 低血压是什么原因造成的| 1995年出生属什么| 二甲双胍不能和什么药一起吃| 胃病忌什么| 手指关节肿胀是什么原因| 女人没经验开什么店好| 涂防晒霜之前要涂什么| 抗日战争什么时候开始的| 鼠标cpi是什么意思| 身上为什么会长小肉球| 树叶像什么比喻句| 门静脉增宽是什么意思| 带状疱疹是什么原因引起| 流产能吃什么水果| 结肠炎不能吃什么食物| 什么酒最贵| 晕车的读音是什么| 车震是什么意思啊| 磁力链接是什么| 一个鸟一个衣是什么字| 更年期什么症状| 心脏搭桥后最怕什么| 左手小指疼痛预兆什么| 站点是什么意思| 石榴花什么时候开花| 五谷是什么| 肌酐高有什么症状表现| 百度
Skip to main content
The 2025 Developer Survey results are in. Explore insights into technology and tools, careers, community and more. View results.
百度 在规模上台阶的基础上,按照“质量第一”的原则,上海国资委提出,2018年要确保发展速度不低于全市经济增速,质量效益继续高于全国国有企业平均水平。

{macros} is for questions specifically concerning TeX's macro processor. Note that, because TeX uses macros ubiquitously, most questions about code that uses macros are not looking for information about how macros work, and so are not appropriate for this tag.

Filter by
Sorted by
Tagged with
3 votes
4 answers
339 views

Parsing \def patterns with braces

See MWE: \documentclass{article} \def\test hello#1{End}{#1} \begin{document} \test helloworld{End} \end{document} I would like to parse a pattern with braces in \def. How can I achieve that? ...
John's user avatar
  • 2,924
6 votes
3 answers
321 views

How can I automatically replace curly braces { and } in LaTeX macro arguments—e.g., in math formulas—for label generation?

I want to automatically "sanitize" arbitrary LaTeX math formulas (such as \mathcal{P}(A)) into a string that can be used as a label, by replacing all curly braces { with e.g. Lp and } with ...
Martin Kunze's user avatar
4 votes
5 answers
243 views

How to \input file as arguments?

Background I have a file QA.tex whose entire content looks like: {Question}{Answer} I would like to include this file into a document, but parse for only the Question part. My attempt at a solution (...
jonathan's user avatar
  • 103
8 votes
2 answers
231 views

Customized alignment environment with indentation effect

I have a tex file \documentclass{article} \usepackage{amssymb,mathtools} \mathtoolsset{showonlyrefs} \begin{document} \begin{align} U_{t}^{r, x, \xi + h \eta} (y) & = \begin{aligned}[t] & \...
Akira's user avatar
  • 2,903
6 votes
3 answers
184 views

Create string expansion in a single command

I am uncertain of what terms to search for to ask this question, but my goal is something along these lines: \documentclass{article} [\mycommand definition] \begin{document} 1: \mycommand{a,b} ...
Æzor Æhai -him-'s user avatar
2 votes
3 answers
171 views

\def : How is the \verb=\verb= command defined?

\def : How is the \verb command, e.g. in \verb=\verb=, defined? I'm not asking about \verb as such, but as an example how to \def something like that, a command with arguments encapsulated in brace-...
Gyro Gearloose's user avatar
3 votes
2 answers
129 views

Define command valid only for a specific environment in expl3

I am defining an environment myenv using expl3 syntax. \ExplSyntaxOn \NewDocumentEnvironment { myenv } { } { } { } \ExplSyntaxOff (Should I use NewEnviron here instead of ...
J...S's user avatar
  • 393
2 votes
3 answers
121 views

Use of l3keys to collect optional arguments of `\NewDocumentCommand`

I am trying to understand how to use xparse to specify arguments to \NewDocumentCommand. I need need to make a command which accepts a bunch of optional arguments in addition to a mandatory argument. ...
J...S's user avatar
  • 393
5 votes
2 answers
108 views

listings' morekeywords=[...]{...} in a custom command doesn't work

With listings, it is easy to define new languages with own keywords: \documentclass{article} \usepackage{listings} \usepackage{xcolor} \lstdefinelanguage{mylang}{% morekeywords=[1]{foo},% numeric ...
Denis Bitouzé's user avatar
2 votes
2 answers
110 views

Macro Definition Outside Current Group

If you use \gdef you can define stuff at the global scope. However, how can you define/overwrite a macro at the scope outside the current group but inside the parent group? I think I can probably ...
John's user avatar
  • 2,924
3 votes
2 answers
116 views

How to check if a macro exists when its name is constructed from a user-defined macro in LaTeX?

Problem I'm writing a LaTeX macro system to manage acronyms in Overleaf, and I need to dynamically check whether a macro like \acronym@CH@used exists. The acronym key (e.g., CH) is stored in another ...
slimguat's user avatar
3 votes
1 answer
80 views

Creating a macro out of a tabulararray command

I would like to define a command that changes the background color of a specific table cell. The following minimal working example (MWE) does not work as intended. How can I properly define a macro ...
Colas's user avatar
  • 7,562
2 votes
2 answers
87 views

Make a modification of aligned environment into a separate command

I have a tex file (taken from David Carlisle's answer): \documentclass{article} \usepackage{etoolbox,amsmath} \makeatletter \patchcmd{\start@aligned} {{}} {\align@prercellhook} {}{\errmessage{...
Akira's user avatar
  • 2,903
3 votes
1 answer
89 views

Command for computing binomial coefficients

Consider the following MWE: \documentclass{article} \newcommand*\binomCoef[2]{\fpeval{fact(#1)/(fact(#2)*fact(#1-#2))}} \begin{document} \binomCoef{5}{2} \end{document} The above example does ...
Svend Tveskæg's user avatar
0 votes
1 answer
61 views

Simpler approach to change 1 line in the internal of aligned environment

I have a macro taken from this answer: \documentclass{article} \usepackage{mathtools} \makeatletter \def\align@prercellhook{{}} \renewcommand{\start@aligned}[2]{% \RIfM@\else \...
Akira's user avatar
  • 2,903

15 30 50 per page
早搏吃什么药效果好 手上长斑点是什么原因 为什么血压会高 阿胶是什么做的 气管痉挛是什么症状
中校相当于政府什么官 糖尿病吃什么食物最好 肝郁气滞是什么意思 一级甲等医院是什么意思 人为什么没有尾巴
世界上最小的长度单位是什么 一个虫一个圣念什么 女人喝蜂蜜水有什么好处 什么是基础病 为什么会打雷闪电
nm是什么单位 棉花是什么时候传入中国的 粉瘤挂什么科 焦虑症吃什么中成药能根治 肚脐眼红是什么原因
5月31号什么星座hcv8jop3ns2r.cn 什么是龙抬头hcv8jop0ns0r.cn 实质性是什么意思hcv8jop9ns6r.cn 8.19是什么星座xinmaowt.com 神经炎用什么药hcv7jop9ns5r.cn
吃什么对胆囊有好处hcv9jop6ns3r.cn 芒果有什么营养价值hcv8jop1ns9r.cn aqua是什么牌子hcv8jop8ns4r.cn 头抖是什么原因hcv8jop9ns5r.cn 狗屎运是什么意思cl108k.com
胶原蛋白有什么作用hcv8jop6ns1r.cn 肝气不舒有什么症状adwl56.com 唐僧是什么生肖hcv9jop7ns1r.cn 肾尿盐结晶是什么意思hcv9jop6ns7r.cn pd1是什么意思hcv8jop8ns1r.cn
脓毒血症是什么病hcv8jop2ns1r.cn 一个虫一个圣读什么hcv9jop5ns4r.cn 肝气郁结吃什么中药cj623037.com 什么的寒风hcv8jop3ns3r.cn 梦见自己得了绝症预示着什么hcv8jop7ns5r.cn
百度