@@ -188,11 +188,6 @@ If the problem environment(s) have the "titletext" attribute defined, then overw
188188Note: This is used to do automatic translation, but could also be used to change the default text in *any* way we would want,
189189e.g. use "P1", "Problem 1", "Prob 1", "Exciting Problem 1", etc.
190190*/
191- .problem-environment [titletext ]::before {
192- /* Numbered everything in CSS is causing trouble. TeX should decide the numbering. */
193- /* content:"${nameOfClass} " counter($counterToIncrement) ". ";*/
194- content : attr (titletext) attr (numbered) "." ;
195- }
196191
197192.theorem-like [titletext ]::before {
198193 content : attr (titletext);
@@ -202,6 +197,12 @@ e.g. use "P1", "Problem 1", "Prob 1", "Exciting Problem 1", etc.
202197 content : attr (titletext) ": " ;
203198}
204199
200+ .problem-environment [titletext ]::before {
201+ /* Numbered everything in CSS is causing trouble. TeX should decide the numbering. */
202+ /* content:"${nameOfClass} " counter($counterToIncrement) ". ";*/
203+ content : attr (titletext) attr (numbered) "." ;
204+ }
205+
205206
206207/* Outcome Formatting */
207208
@@ -230,4 +231,15 @@ e.g. use "P1", "Problem 1", "Prob 1", "Exciting Problem 1", etc.
230231
231232.proof {
232233 background-color : whitesmoke;
234+ }
235+
236+
237+ /* No numbers/left border for explanation-inside-example */
238+ .example .explanation ::before {
239+ content : attr (titletext) ":" ;
240+ }
241+
242+ .example .explanation {
243+ border-left : unset;
244+ padding-left : 0px ;
233245}
0 commit comments