Comments (2)
\If{$i\geq 5$}{
\State $i \gets i-1$
} \Else {
\If{$i\leq 3$}{
\State $i \gets i+2$}
}
}
我用{}
好像还是没有得到我想要的结果, 要如何改正代码才能得到如下结果
if i>= 5:
i -= 1
else:
if i <= 3:
i += 2
from sysu-thesis.
\If{$i\geq 5$}{
$i \gets i-1$
} \Else {
\If{$i\leq 3$}{
$i \gets i+2$}
}
已解决,去掉\State
即可
from sysu-thesis.
Related Issues (20)
- mactex+texstudio 中文字符渲染全为空白 HOT 3
- Proof里面没法使用\begin{equation} HOT 2
- 编译后PDF英文封面仍是中文 HOT 1
- \autoref 在definition环境下显示错误 HOT 4
- Overleaf 字数统计报错
- 学术诚信说明是否可以修改?
- 目录上方有大量空白 HOT 3
- Overleaf 中文生僻字问题
- 目录显示与章节编号 HOT 2
- 用其做开题报告时无法跨页 HOT 1
- 请问这个模板如何添加宏包和自定义命令? HOT 4
- 请用这个模板引用参考文献可以不使用上标吗? HOT 5
- 请问这个有英文模板吗
- MikTex 兼容问题 HOT 3
- 如何让definition,theorem等共用编号 HOT 1
- 英文封面问题
- section 和 subsection 标题字体样式问题
- 学术诚信声明如何签名、填写日期 HOT 1
- 字体缺失问题 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sysu-thesis.