64
votes
How do I add new styles to Google docs?
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 Extensions > Apps Script
...
52
votes
Accepted
Easy way to convert text lines into table rows?
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 ...
46
votes
How can I highlight an entire paragraph of text without any gaps?
You can set the background color for a paragraph instead of highlighting the text.
Select the text
Open the Borders and shading dialog using the mouse and menus or the keyboard shortcut:
Format >...
40
votes
Show resolved comments on Google Docs in context without re-opening them?
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 ...
37
votes
How to view the parent folder of a Google Document?
Update: Folder icon has now changed to a move icon, but it still works...
35
votes
Can I format the Google Docs Table of Contents to only include certain headers?
Unfortunately Google Docs does not support hiding specific heading levels.
The only "solution" would be to change the headers you want to hide to the "Normal" style, then manually set the font ...
31
votes
How can I get code syntax highlighting in Google Docs?
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(...
31
votes
What is the hotkey for adding rows in Google Docs?
Pressing Tab when the cursor is at the rightmost of the bottom row automatically adds a new row below it. It's quite handy if you don't know how many rows you need in advance and require them as you ...
30
votes
Can I format the Google Docs Table of Contents to only include certain headers?
What I did to solve the problem which is probably doc specific, but I was using H1 through H3, what would have been H4 I didn't want to show up in the TOC. I converted all the H4's to Subtitles, then ...
30
votes
How to automatically size tables to the entire width of a Google Doc?
This is all because of the Column width property in a table.
If you right-click the table and choose Table properties, you'll see a dialog such as:
In the original "pristine" state, all 3 ...
26
votes
How to view the parent folder of a Google Document?
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 ...
24
votes
Accepted
All Google Docs URL parameters/functions/commands?
There is no official Google documentation for this. Let's have unofficial one:
/copy
/export
/edit
/view
/preview
/create
/pub?
/fm?id=
/tq?tqx=out:html
&key=[ID]
&gid=[#]
&single=[true|...
23
votes
Can I format the Google Docs Table of Contents to only include certain headers?
The previous answers suggests setting the style of headers to "Normal" and manually setting their style to look like a header. If you do so, you will lose the ability to link to that header from ...
22
votes
Always a blank line above where I insert a table?
Right now you can fully hide the line with font size 1 and custom line spacing .06, I visually verified that saving as PDF shows no whitespace at the top.
Also, in regards to not being able to ...
22
votes
How to extend word underline to end of line with Google Docs
You can achieve a similar effect by:
Highlighting the text
Opening Format > Paragraph styles > Borders and shading...
Choosing a bottom border
Pressing Apply
22
votes
Google Docs strike-through shortcut not working on Mac in Chrome
I eventually tested on a 3rd Mac and it worked. It turns out it was a Chrome extension using that same shortcut on my 2 Macs. I don't know why Incognito mode didn't solve this.
You can see the ...
21
votes
Can't add alternate email in Gmail
I spent too much time trying to crack this and finally figured out a solution. This applies if you're in a very specific situation where all of these apply:
When you try to add an alternate email to ...
20
votes
Accepted
Google Docs PDF export has extra blank pages at the end of the document
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.
17
votes
Accepted
Link to view PDF version of a Google Docs
Replace the beginning of the url with the Google Docs viewer.
This is what you need:
https://docs.google.com/viewer?url=https://docs.google.com/x/yyyy/document/z/nvjsinmsdfjnlsnlkkn-hslknl1_V7sc/...
17
votes
How do I add new styles to Google docs?
The workaround I've come to rely on is the Copy/Paste Format feature shortcut. As the format "clipboard" is separate from the text clipboard, it is preserved for as long as you have the document open. ...
17
votes
Add page break in table in Google Docs
To split a table in Google Docs:
Select the bottom part of the table - everything below the point where you want the split.
Drag it below the table
Delete the empty rows that are left behind
16
votes
Accepted
How can I link to revision history on Google Docs?
In Google Sheets (but not Docs) I was able to get a permalink for a particular from/to revision pair.
While in the Google Sheet, enable your browser's developer tool
In the Sheet, select File -> See ...
16
votes
Accepted
How to make hundreds of URLs clickable in Google Docs
I did some research on using Google Apps Scripts and I came up with this script that works for my needs. I hope it's useful for someone else too.
function onOpen() {
DocumentApp.getUi()....
16
votes
Accepted
How can I create an anchor link in a Google Docs document?
You can create a bookmark.
Place the cursor where you want to link to, and select Insert → Bookmark from the menu.
Click the Link item in the popup menu:
The browser location bar now shows ...
16
votes
Accepted
Can you specify an accout to use with Google's “.new” doc creation URL?
Since Jul. 25th 2019 it's actually possible to specify in which account to create the new file, exactly as you stated in your question.
From now on:
docs.new/1 - creates the file in your personal ...
15
votes
Putting page numbers in a table of contents in Google Docs
The recent (5 Oct 2016) update of Google Documents now include that feature. To insert a table of contents with page numbers,
... simply select the numbered option when inserting a table of
...
15
votes
How to extend word underline to end of line with Google Docs
If you're trying to do the same thing I was - extend the underline on the same line after some text - here's the trick:
The fix is to insert a special character. Go to Insert → Special Characters → ...
15
votes
Accepted
Track Changes, View "Final" in Google Docs?
activate Editing or Suggesting mode
go to Tools
select Review suggested edits
select Show suggested edits
select Preview "Accept all"
15
votes
How to copy from a protected Google doc?
Change the end of the document URL from /edit to /mobilebasic.
Disable JavaScript:
Click the Site settings icon to the left of the URL
Select "Site settings"
Under "Permissions", ...
14
votes
Convert all headings X into headings X + 1 or heading X - 1 in Google Documents
I figured out a work-around when I was copying text from another Google Doc that already had h1, h2, etc that didn't fit into the target document.
If you highlight text, in the right-click menu, ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
google-docs × 950google-drive × 160
google-sheets × 125
google-apps-script × 92
formatting × 49
google-workspace × 46
keyboard-shortcuts × 41
google-drive-sharing × 22
pdf × 17
google-slides × 14
text-formatting × 14
gmail × 13
links × 13
google-account × 12
sharing × 10
firefox × 10
permissions × 10
formulas × 9
google × 9
google-docs-template × 9
google-chrome × 8
import × 8
html × 8
copy-paste × 8
google-forms × 7