Timeline for Stylesheet code for limitspositioning option of InlineCell inside a "Text" vs "DisplayFormula" cell
Current License: CC BY-SA 3.0
8 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jul 30, 2017 at 8:50 | comment | added | B flat | I was able to solve the problem easily. I took out all reference to limits positioning in the for "InlineCell" in my private stylesheet. It turns out "InlineCell" adopts the limitpositioning of any cell it is inside. So I set limitspositioning of "Text" to True. Then created a new style and set limitspositioning to False. Now anytime I call an inline cell within each it adopts whats in the parent cell. I guess "InlineCell" is built like this on purpose. | |
| Nov 28, 2016 at 4:42 | vote | accept | B flat | ||
| Nov 24, 2016 at 8:50 | answer | added | Alexei Boulbitch | timeline score: 1 | |
| Nov 24, 2016 at 7:11 | comment | added | Kuba | This probably can be done with dynamic reference to ParentCell[] but I am not sure it will be efficient or a proper way to do. It really seems like you need two styles e.g. InlineFormula and StandaloneFormula, one can inherit from another with adjustments you need, that gives you more flexibility. | |
| Nov 23, 2016 at 22:06 | history | edited | B flat | CC BY-SA 3.0 | added 214 characters in body |
| Nov 23, 2016 at 21:59 | history | edited | B flat | CC BY-SA 3.0 | added 214 characters in body |
| Nov 23, 2016 at 21:49 | comment | added | B flat | I'm thinking that maybe I should create a function inside my stylesheet that that sets the limitspositining to true or false dependent on whether I am currently in a "Text" or "DisplayFormula" cell. Not sure how to do this. Or I could create two InlineCell definitions in my stylesheet... one that I call while inside a "Text" cell and one that I call while inside a "DisplayFormula" cell. But this doesn't seem efficient as all other information is identical. | |
| Nov 23, 2016 at 21:46 | history | asked | B flat | CC BY-SA 3.0 |