Replies: 5 comments 4 replies
        
          
            
              This comment has been hidden.
            
          
            
        
      
    
            
              This comment has been hidden.
            
          
            
        
        
          
            
              This comment has been hidden.
            
          
            
        
      
    
            
              This comment has been hidden.
            
          
            
        -
| I don't think there is an easy way. Most customisations like this would involve working with a Lua filter because here you need to process the content. Now there are alternatives (alone or mixed): 
 | 
Beta Was this translation helpful? Give feedback.
-
| Thank you @mcanouil. Can I just follow up quickly? What is the lua filter that controls the appearance of the theorem/example? Like I said,  | 
Beta Was this translation helpful? Give feedback.
-
| Thank you, @mcanouil. In case this is helpful, a very quick test suggests that modifying  to replace the original seems to do the trick (if I replace the code in the original file)... With this, the formatting is something like which is pretty much what I wanted. However, creating a new  does not work and the standard behaviour replaces the changes... Thanks! | 
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
Hi all, I have mentioned this in a reply to issue #317 but haven't seen much activity there, so trying again here. I have a book, in which I want to customise the appearance of the "example" blocks. In other words, when I do
this gets rendered as
Example X (Some title) the text of the example...
Now, I would like to modify the appearance and remove the brackets around the title tag --- I can customise some elements in css (like change the font or control colors/size, using
.example .theorem-title {...}. But I couldn't control the brackets. I tried hacking thetheorems.luafilter, but to no avail.Is there a way to do it?
BTW: my book uses the CRC template, which is fairly structured, but I have tried on a minimal example with just a book and the same happened --- this is not about the template, I think; it's just how (presumably filters?) parse the text into the final format and, clearly, I haven't been clever enough to figure how to change it...
Any ideas?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions