Hot answers tagged


It seems that the browser must enable this feature. Chrome, PC: Ctrl + Shift + V Chrome, Mac: Command ⌘ + Shift ⇧ + V Firefox, PC: Ctrl + Shift + V Firefox, Mac: Command ⌘ + Shift ⇧ + V Safari, Mac: Command ⌘ + Shift ⇧ + Option ⌥ + V


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


Select what you want to strike and click Alt+Shift+5. (Option+Shift+5 for Mac). Ctrl+? to see other such keyboard shortcuts.


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:


A document can potentially be in multiple folders, but you can get a list of them through the UI. First, click the folder icon next to the document title: This will open a list of the folders that the current document is in: You can click the folder name from that list to go to the main Drive listing for that folder, or click the Organize button to move ...


Try this one. Implementation of "Eight Days of Malaise" idea. Open and Sign Up for new account. After signing in click on the Add Snipt button. Write your code in given area, select appropriate language from drop down and click save button. You can see in below image that your code is colourized. Select this colourized code and copy it. ...


AFAIK, you can only copy and paste from the spreadsheet to the text document. The spreadsheet is inserted as a table, but they are not linked: if you change something in the Spreadsheet, it will not get reflected in the text document. Of course, I'd absolutely love to be proved wrong!


Make sure you have View > Show ruler checked. In the ruler above your document, click where you want the right-most character to be. Then select the option that pops up: "Add right tab-stop". Then, on that line, type your left-most text as normal, then hit the Tab key until your cursor is located at the tab-stop you just created and type your text. You ...


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 TOC. :/ I found that using Subtitle style for code prevents it from showing in TOC.


I've found which allows to share code snippets. It supports syntax highlighting and even compilation of code. And it supports wide range of programming languages — C, C++, D, Haskell, Lua, OCaml, PHP, Perl, Python, Ruby, Scheme, Tcl. And one more great feature — it does not require to login.


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


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


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


As of 10-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 image ...


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


No. The closest thing you can do is use a table.


Actually it is possible even without editing the HTML/CSS. I'll give you an example with a blank document but once you'll figure out how it works you will be able to do it on already existed document. Also if you are not already using the keyboard shortcuts I would suggest you to start using them (in this example I'm using Mac's shortcuts, but you can easily ...


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


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.


The answer is to insert the background image and text as a drawing (insert > drawing). The drawing tools allow ordering of layers unlike the normal editor.


The following line of code will reset the header (gray line disappears). Code function onOpen() { DocumentApp.getUi().createMenu("Header / Footer") .addItem("Reset header", "resetHeader") .addItem("Reset footer", "resetFooter") .addToUi() } function resetHeader() { try { DocumentApp.getActiveDocument().getHeader().removeFromParent(); ...


Actually, in Google Docs you can have it automatically replace the two dashes with the em dash while you type! Menu: Tools, preferences... In 'Replace' type: -- In 'With': Enter the em dash character as 'OnenOnlyWalter' suggests for keyboard shortcuts.


You can indeed. Looking at the HTTP traffic, when you click the button to create a new document, it goes to first. I've checked and you can hit this page directly and it will do just what you want. As noted by Ava, you can also use:


Google Sets was shut down in September 2011. You can closely recreate this feature using Google Docs Spreadsheets when you build a keyword list. Follow these sets after opening up a fresh document in Google Spreadsheets: Enter values in a single column Select all values in this column Hold down Ctrl or Cmd Click and drag the blue dot that appears ...


It's not a webapp answer, but I use a program called PureText. It just sits in your system tray and provides a hotkey (configurable) that will paste the current clipboard contents as plain text. I absolutely love this feature. I have it set to WINDOWS+v


Go to Settings → Document Settings on the top right of the page and change the language to English (UK). Rulers and margins will now both be in centimetres (cm). You may need to log out and sign back in before you see the changes take effect.


Create a white box using the Drawing feature. Place it over the number. That is what I had to do. Unless you want the number on the next page to be 1. :)


I just checked and currently it is not possible to do that, on the table itself. There's however a "hack" option available: add a table in a table, see screenshot. Screenshot Example See example doc I've created: table in a table Note If you set the color of the grid lines to be white, than it will fade away. It will also give you flexibility to ...


No. For programming online when out and about, check out Mozilla Bespin EDIT: Mozilla Bespin is dead, it was merged in Cloud 9 IDE.

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