Google docs has a nice set of styles such as normal text and header 1.
How do I add my own? I want to add a style called "code" for text that is programming code.
|
Google docs has a nice set of styles such as normal text and header 1. How do I add my own? I want to add a style called "code" for text that is programming code. |
||||
|
|
|
Right now it's not possible to add more styles or rename the existed ones, but you can modify them to match your needs. For example you could style your code as you wish and then by selecting one of the headers and choosing the Then select something else and apply that heading and you're done.
|
|||||
|
|
Until recently, it was possible to edit the CSS (stylesheet) and HTML source of a document. It took some work, but if you knew HTML and CSS you could add a CSS class to your doc, and then edit the HTML to use it, e.g. in the HTML
and in the CSS
Google has more or less phased out this capability with their new format, forcing old docs to the new format. But, I've heard there are ways to keep docs in the old format, so there may be some hope. |
||||
|
|