Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/variables/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Algorithm 应该使用哪些符号来指定latex中变量的版本?_Algorithm_Variables_Latex_Version - Fatal编程技术网

Algorithm 应该使用哪些符号来指定latex中变量的版本?

Algorithm 应该使用哪些符号来指定latex中变量的版本?,algorithm,variables,latex,version,Algorithm,Variables,Latex,Version,我想了解在latex中显示变量更新版本时应该使用哪些符号?实际上,'和'似乎很适合指定版本,例如: a'← a和x b'← a'| | c b“← b'| | d 但是我需要更多,因为我的算法很长,我想详细地展示每一步。我认为~和overline在算法内部看起来很糟糕,尤其是当I用作变量时 提前感谢您可以使用上标: a(1)← a和x b(1)← a(1)| c b(2)← b(1)| | d b(3)← b(2)| e …谢谢,这是合乎逻辑的@pkpnd

我想了解在latex中显示变量更新版本时应该使用哪些符号?实际上,''似乎很适合指定版本,例如:

a'← a和x
b'← a'| | c
b“← b'| | d

但是我需要更多,因为我的算法很长,我想详细地展示每一步。我认为~overline在算法内部看起来很糟糕,尤其是当I用作变量时


提前感谢

您可以使用上标:

a(1)← a和x
b(1)← a(1)| c
b(2)← b(1)| | d
b(3)← b(2)| e

谢谢,这是合乎逻辑的@pkpnd