139

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.


115

With the new Add-Ons for Google Drive, you can get code highlighting with the Code Blocks add-on. After installing the add-on, you can access it by selecting the code you want to format, go to _Add-ons → Code Blocks → Start: This pops up a sidebar where you can select the programming language and a theme: After clicking Format, the result looks ...


86

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 ...


84

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 ...


80

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 ...


76

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 ...


60

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.


55

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:


48

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.


41

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 ...


40

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', '...


38

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.


38

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


34

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. ...


28

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


28

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


26

The problem for a Q&A site is that "easiest" is subjective. However I can offer one approach which is to copy the text into Sheets and copy that back into Docs. It is quite practical for me, but might not be "easiest" for you.


25

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, ...


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 ...


23

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+)


22

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

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 ...


20

You can reduce the gap at the top of a table by placing the cursor above the table, and reducing the font size. I can't seem to reduce it below 6 points, and even this required me to type the number into the "Font size" box. However, it does at least move the table up a bit. I had to do the same thing at the bottom of my table. If anybody wants to log this ...


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

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.


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

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

Missing the Folder Icon? If you find that little folder missing to the right of the file name, then you can choose File > Document details... to at least see the parent directory name. E.g.: And you'll find where the hell Waldo is.


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