-
Notifications
You must be signed in to change notification settings - Fork 288
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question #31
Comments
Yes, any object inherits from one of the container baseclasses can also contain "raw" latex strings. doc = Document()
doc.append(r'\newpage')
doc.append('This is on a new page') This is also why you should always escape user supplied strings using the utils function. In some cases it might be easier to use the Command class. This is mostly the case when your commands need arguments that aren't hard coded. |
Thank you for these infos and the fast reply! |
No problem. BTW the |
Thank you for this info :) |
Note that this no longer works. You should use wrap your raw latex in |
Hello,
I read your introduction/presentation and you're saying:
"Everything else you want you can still add to the document by adding LaTeX formatted strings to the container class you want it to be in."
Could you provide an example ?
I would like to add a Tittle page at the very beggining of a document created with PyLaTeX.
Is it possible to add directly "raw" latex command such as \newpage or a group of these kind of lines with PyLaTeX ?
Thank you in advance! :)
The text was updated successfully, but these errors were encountered: