change name from lemma to theorem #108

pull/120/head
Jon Eugster 3 years ago committed by joneugster
parent 923a6cfb4f
commit c3a36e2cf3

@ -87,9 +87,9 @@ Optionally, you can add a `Introduction "some text"` and `Conclusion "some text"
The introduction will be shown at the beginning, the conclusion is displayed once the level The introduction will be shown at the beginning, the conclusion is displayed once the level
is solved. is solved.
#### Lemmas/Tactics/Definitions #### Theorems/Tactics/Definitions
Only enabled lemmas/tactics/definitions (called "items" here) are available in a level. Only enabled theorems/tactics/definitions (called "items" here) are available in a level.
To add a new item in a level, you can add To add a new item in a level, you can add

@ -29,7 +29,7 @@ export function Inventory({levelInfo, openDoc, enableAll=false} :
{levelInfo?.definitions && {levelInfo?.definitions &&
<InventoryList items={levelInfo?.definitions} docType="Definition" openDoc={openDoc} enableAll={enableAll}/> <InventoryList items={levelInfo?.definitions} docType="Definition" openDoc={openDoc} enableAll={enableAll}/>
} }
<h2>Lemmas</h2> <h2>Theorems</h2>
{levelInfo?.lemmas && {levelInfo?.lemmas &&
<InventoryList items={levelInfo?.lemmas} docType="Lemma" openDoc={openDoc} defaultTab={levelInfo?.lemmaTab} level={levelInfo} enableAll={enableAll}/> <InventoryList items={levelInfo?.lemmas} docType="Lemma" openDoc={openDoc} defaultTab={levelInfo?.lemmaTab} level={levelInfo} enableAll={enableAll}/>
} }

Loading…
Cancel
Save