Skip to main content
9 events
when toggle format what by license comment
Jun 20, 2021 at 2:17 comment added B flat I created a solution here: mathematica.stackexchange.com/questions/249892/…
Jun 19, 2021 at 4:04 history edited CA Trevillian CC BY-SA 4.0
fixed markdown issue creating a trailing bracket meant to be included in code block
Jun 19, 2021 at 3:59 history edited B flat CC BY-SA 4.0
added 63 characters in body
Jun 19, 2021 at 3:56 comment added B flat Thanks @CATrevillian! I added an edit 1 above to explain how to evaluate the code and what it does. Yes, Carl's code modifies the stylesheet which can be saved for for the notebook to make it permanent. Does my edit 1 explain things better? Carl's solutions is awesome and works... but using CellTags has some negatives. One negative addressed earlier in that post is that duplicating a cell will also duplicate the CellTag which means you have to write code to generate new ones. It's a pain. I'd like to avoid that by using CellIDs where every cell has a unique identifier gauranteed.
Jun 19, 2021 at 3:48 history edited B flat CC BY-SA 4.0
added 878 characters in body
Jun 19, 2021 at 1:50 comment added CA Trevillian Thanks for the clarification, Michael. I think I know (programmatically) how to adjust the code to accommodate for this change, but can you please clarify further about how exactly this code is evaluated? Is it placed in a custom stylesheet? I think this will help immensely to improve this question & any potential answers. It’s not clear even in the linked QA that it comes from how my exactly it is implemented. Perhaps this is something rather basic I overlooked, but it’s absence surely is a cause of confusion for more than just myself. Thanks!
Jun 18, 2021 at 21:17 comment added B flat @CATrevillian I'm not sure what you mean. The numbered equation cells is the easy part. Just click Format>Style>DisplayFormulaNumbered. This will add a cell with numbering displayed on the right. What I need help with is referencing them in my text in a way that stays up to date when I move the numbered cells, delete them, or add new ones. I hope that makes sense. I would like to use CellID to do this. The CellTag solution above works perfectly but it's not ideal for my purposes. Again.. I'm looking for the solution but with CellID instead of CellTags.
Jun 18, 2021 at 20:30 comment added CA Trevillian How would you expect to (ideally) generate the numbered equation cells?
Jun 18, 2021 at 18:21 history asked B flat CC BY-SA 4.0