136

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 Update Heading # to match selection, that particular style could become your new "Code" style. Then select something else and ...


133

For Windows / Linux: Select what you want to strike and click Alt+Shift+5. For Mac: Select what you want to strike and click ⌘+Shift+X. Ctrl+? or ⌘+/ shows other such keyboard shortcuts.


104

With the new Add-Ons for Google Drive, you can get code highlighting with the Code Pretty add-on. After installing the add-on, you can access it by selecting the code you want to format, go to Add-ons → Code Pretty, and select Format Selection: The result looks like this: Lately, other alternatives have emerged, some of which have useful features. ...


79

Currently a single Google Document can only be either Landscape or Portrait not both. Changing page orientation is done by selecting File and then Page setup... It is currently recommended to separate the Landscape and Portrait pages into different documents. A good place to get more information that might help is at Google Products Forums. Note: An ...


77

Make sure you have View > Show ruler checked. In the ruler above your document, click where you want the right-most character of the right-aligned section to be. Then select the option that pops up: "Add right tab-stop". (In the example image in step 3, it is all the way at the right margin.) Then, on that line, type your left-most text as normal, then ...


72

A document can potentially be in multiple folders, but you can get a list of them through the UI. Click the folder icon next to the document title. If the document is in a single folder, you get a view into that single folder showing the folder name with an icon to open the folder in a new tab, other documents in the folder, and options to move the current ...


66

It’s possible to insert todays date through a macro. Open your Google Document and under Tools select Script editor. This opens Google's script editor where it’s possible to create macros for Google Documents. Paste this script and save it as Date Macro or something: (also available here) /** * The onOpen function runs automatically when the Google ...


56

As Lipis poins out, you still cannot create your own styles. So, you are left to repurpose an existing one. The downside to using Heading is this will result in "code" in my Table of Contents (TOC). :/ I found that using Title and Subtitle styles for code prevents those styles from showing in TOC.


52

With the new Add-Ons for Google Drive, you can get code highlighting with the Code Pretty add-on. After installing it, you can access the add-on by clicking Add-ons → Code Pretty, → Format Selection: This results in:


42

I'm honestly not sure when this was updated, but centering a table directly appears to be possible now. Simply right-click on the table and go to "Table Properties", "Table Alignment", "Center". Click OK.


37

This can be done in new Google Docs (Drive) as well. Do the necessary styling in a part of the document. Place your mouse pointer over this location. Click on the style selector and select the style you want to change the defaults of. Click on update option to change the defaults.


36

As of October 25, 2013, Google Documents does not support text wrapping around tables, so inserting a table and putting an image and a caption in it will work but cannot be made to have text wrapped around it. One workaround is that since text can wrap around images, we can choose Insert > Drawing... and create a drawing with the text we want to caption the ...


36

Actually, in Google Docs you can have it automatically replace the two dashes with the em dash while you type! Tools > Preferences... In 'Replace' type: -- (include space on each side) In 'With': Enter the em dash character*: Windows: Hold Alt and enter 0151 Mac: Option + Shift + - * as suggested by OnenOnlyWalter


30

Due to recent changes, the measuring system in Google Docs is now affected by your Google Account default language, not anymore by the document language as indicated in @Dominik's answer. More precisely it's the country sub-setting that counts, but Google artificially limits country options per chosen language. So: Go to myaccount.google.com/language. ...


27

If the See revision history is greyed out or you can't select it, the document you are viewing does not allow you to edit and hence, you can't see the revision history. This is usually the case when the owner of the document has set you to either: Can comment Can view To be able to see the revision history your permissions on the document must be either ...


27

A lot of the solutions don't work inline. This is a cleaned-up solution offered by @AlekseyBykov using Google App Scripts to add a custom menu action: Create a new script (Tools > Script Editor) Copy the following code into the editor: // Add new menu item function onOpen() { DocumentApp.getUi() .createMenu('Styles') .addItem('Format Code', '...


25

I broke down and made Font Awesome vectors in Google Draw, here you go: https://drive.google.com/previewtemplate?id=1S_wrhxJ-8f9nlz1EZx75Ldl_EM60RdGEVSpi5CFEqTE&mode=public


24

From today (2016-05-20) on, Google is starting to roll out the ability to embed a chart from a Google spreadsheet into a Google document. At this point, two of my 3 Google accounts make the option available in the Insert menu, with a new Insert→Chart submenu below the Insert→Drawing… item. When you insert such charts, they remain linked to the original ...


21

Answer by @SamtheBrand is correct, but there are also keyboard shortcuts to insert an em dash. Windows: Hold Alt and enter 0151 Mac: Option + Shift + -


21

Select the text Format> Paragraph Styles> Borders and Shading Choose your background color


20

You can add-on Code Block for Google Docs. 1*- Google Docs --> Add-ons Tab --> 2*- Get Add-ons ... --> Search For: 'Code Blocks' 3*- Then you go to Add-ons --> Code Block --> Start 4*- Select Theme(50+)


20

No guaranteed, faithful audit trail is given by Google Docs. Logs are lost by Google because of (1) deleterious forced upgrades (2) forced space optimization (3) no downloadable backups preventing loss. Revisions Deleted by Upgrade: Google Docs' last official upgrade did not save, nor migrate, old Revision History to their new version, resulting in total ...


20

edit There's an Add-on available that removes the header or footer in the active document only once added: Documents by Top Contributors Goto your Google Document and choose from the menu Add-ons > Get add-ons... and search for: Affiliation: I wrote the add-on The following line of code will reset the header (gray line disappears). Code function ...


20

In the Google Doc help forum, there are a few answers suggesting to change the view to "print layout". Changing the view to "print layout" fixed the issue for me.


18

Update 28.02.2016 They seem to have updated the possible keyboard shortcuts. With the new keyboard shortcuts, it also works now on my keyboard with the German layout. For Windows: For OS X: Source: https://support.google.com/docs/answer/179738?hl=en Original answer I found a workaround. Select a piece of text in the document. Ctrl+Alt+H opens the Help ...


18

Click on "Comments" at the top right corner (marked in the image below). The resolved ones are listed there. Source: Link To see the original context of a comment, click on that comment. This will only work if the original context still exists (wasn't deleted). If the original context was deleted, you can make a copy of an earlier version of the document, ...


17

I just found a possible work-around for the original question. It isn't elegant, but it may work. In each of your section headings (ie, in the text, which are then used to generate the TOC automatically), add a tab and the page number. You have to type in the page number manually, and I'm pretty sure it doesn't pay to get too fancy with placement, adjusting ...


17

This has been a feature request for a very long time. This functionality is not currently available.


17

Choose Menu -> Insert -> Drawing. Drag/Drop, Ctrl-V or right-click and paste in your image. Click the "Textbox" button near the top. Draw the textbox underneath your image, add some text. Set the lettering font/format with the "more" button upper left.


Only top voted, non community-wiki answers of a minimum length are eligible