White space in argument-

博客分享了在使用LaTeX编译时遇到的一个常见问题——引用中间不应有空格,如cite{2019Multimodal,gkoumas2021makes}

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

latex编译的时候出现了上述问题
说的是空格的问题。
在引用的时候,中间不能加空格:

\cite{2019Multimodal, gkoumas2021makes}

注意上面逗号的后面有个空格,所以报错了。

去掉空格就好了。

说来惭愧,之前居然没有遇到过这个问题。

PS C:\Users\15330\Desktop\ui界面测试> pylint mandala_tesk_2.py ************* Module mandala_tesk_2 mandala_tesk_2.py:43:0: C0303: Trailing whitespace (trailing-whitespace) mandala_tesk_2.py:50:0: C0303: Trailing whitespace (trailing-whitespace) mandala_tesk_2.py:1:0: C0114: Missing module docstring (missing-module-docstring) mandala_tesk_2.py:4:0: C0116: Missing function or method docstring (missing-function-docstring) mandala_tesk_2.py:4:15: W0621: Redefining name 'center' from outer scope (line 142) (redefined-outer-name) mandala_tesk_2.py:13:0: C0116: Missing function or method docstring (missing-function-docstring) mandala_tesk_2.py:13:23: W0621: Redefining name 'center' from outer scope (line 142) (redefined-outer-name) mandala_tesk_2.py:20:0: C0116: Missing function or method docstring (missing-function-docstring) mandala_tesk_2.py:20:28: C0103: Argument name "R" doesn't conform to snake_case naming style (invalid-name) mandala_tesk_2.py:20:0: R0913: Too many arguments (6/5) (too-many-arguments) mandala_tesk_2.py:20:0: R0917: Too many positional arguments (6/5) (too-many-positional-arguments) mandala_tesk_2.py:20:20: W0621: Redefining name 'center' from outer scope (line 142) (redefined-outer-name) mandala_tesk_2.py:20:28: W0621: Redefining name 'R' from outer scope (line 143) (redefined-outer-name) mandala_tesk_2.py:20:31: W0621: Redefining name 'r' from outer scope (line 144) (redefined-outer-name) mandala_tesk_2.py:20:34: W0621: Redefining name 'n' from outer scope
最新发布
03-13
xiazai.py:10:0: C0301: Line too long (130/100) (line-too-long) xiazai.py:29:21: C0303: Trailing whitespace (trailing-whitespace) xiazai.py:30:0: W0311: Bad indentation. Found 10 spaces, expected 12 (bad-indentation) xiazai.py:40:0: C0301: Line too long (103/100) (line-too-long) xiazai.py:41:0: C0301: Line too long (153/100) (line-too-long) xiazai.py:53:0: C0305: Trailing newlines (trailing-newlines) xiazai.py:1:0: C0114: Missing module docstring (missing-module-docstring) xiazai.py:7:0: C0103: Constant name "url" doesn't conform to UPPER_CASE naming style (invalid-name) xiazai.py:13:13: W3101: Missing timeout argument for method 'requests.get' can cause your program to hang indefinitely (missing-timeout) xiazai.py:14:16: I1101: Module 'lxml.etree' has no 'HTML' member, but source is unavailable. Consider adding this module to extension-pkg-allow-list if you want to perform analysis based on run-time introspection of living objects. (c-extension-no-member) xiazai.py:19:0: C0103: Constant name "num" doesn't conform to UPPER_CASE naming style (invalid-name) xiazai.py:21:4: R1723: Unnecessary "elif" after "break", remove the leading "el" from "elif" (no-else-break) xiazai.py:24:17: W3101: Missing timeout argument for method 'requests.get' can cause your program to hang indefinitely (missing-timeout) xiazai.py:25:20: I1101: Module 'lxml.etree' has no 'HTML' member, but source is unavailable. Consider adding this module to extension-pkg-allow-list if you want to perform analysis based on run-time introspection of living objects. (c-extension-no-member) xiazai.py:28:8: C0103: Constant name "judge" doesn't conform to UPPER_CASE naming style (invalid-name) xiazai.py:28:31: C0209: Formatting a regular string which could be a f-string (consider-using-f-string) xiazai.py:30:22: C0209: Formatting a regular string which could be a f-string (consider-using-f-string) xiazai.py:31:14: C0209: Formatting a regular string which could be a f-string (consider-using-f-string) xiazai.py:34:8: C0103: Constant name "chapter_num" doesn't conform to UPPER_CASE naming style (invalid-name) xiazai.py:38:29: W3101: Missing timeout argument for method 'requests.get' can cause your program to hang indefinitely (missing-timeout) xiazai.py:39:32: I1101: Module 'lxml.etree' has no 'HTML' member, but source is unavailable. Consider adding this module to extension-pkg-allow-list if you want to perform analysis based on run-time introspection of living objects. (c-extension-no-member) xiazai.py:41:22: C0209: Formatting a regular string which could be a f-string (consider-using-f-string) xiazai.py:42:16: C0103: Constant name "all_content" doesn't conform to UPPER_CASE naming style (invalid-name) xiazai.py:44:20: R1713: Consider using str.join(sequence) for concatenating strings from an iterable (consider-using-join) ----------------------------------- Your code has been rated at 5.43/10
07-15
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

binqiang2wang

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值