I'd like to do the following in latex (it's being fed to pandoc for conversion) I use the mainfont and mainfontoptions in pandoc
I have a piece of text on top that I'd like centered, and set to the the fonts specified in the command line.
The rest of the text, I'd like it to just be the default.
If I put in something like:
It centers fine, but also centers the rest of the document. It also doesn't use the font I want to use.
If I do
It uses the font (and makes it bold) but doesn't center. Ideally, I'd like to figure out some way to do a one-line \center and #.