Adding an embedded mode to patter

I made this a pull request because I am not really happy with how I did this, but this is an example of how a patter room could work in an embedded mode with custom styles.