qvdxia
Last Updated: September 14, 2016
·
37.2K
· zaus
D940dd93751cea6229c4b9b2098b7f39

2-page view in Google Docs

Many of us have giant or widescreen monitors, so the fact that Google Docs (the text-editor) restricts you to a single centered page is rather annoying.

Most PDF viewers have the option to view two pages side-by-side in continuous scroll mode, but is this possible in GDocs?

Sure, you can dock the whole tab to the left or right and get half your screen back, but where's the fun in that?

After inspecting the page source from "Print Layout" view, it looks like there are a couple places we can tweak the CSS:

.kix-zoomdocumentplugin-outer { left:0px !important; }
.kix-zoomdocumentplugin-outer, .kix-zoomdocumentplugin-inner { width:100%; }
.kix-page { float:left; width:48% !important; }

Until the Google Engineers get around to allowing this, you can fake it with the following [bookmarklet][1]:

(function(d,t,z,s) {
s = d.createElement(t);
s.innerHTML = z+'-outer{left:0px !important;}'+z+'-outer,'+z+'-inner{width:100% !important;}.kix-page{float:left; width:48% !important;}';
d.getElementsByTagName(t)[0].parentNode.appendChild(s);
})(document, 'style', '.kix-zoomdocumentplugin');

[1]: (javascript:(function(d,t,z,s){s=d.createElement(t);s.innerHTML=z+'-outer{left:0px !important;}'+z+'-outer,'+z+'-inner{width:100% !important;}.kix-page{float:left; width:48% !important;}';d.getElementsByTagName(t)[0].parentNode.appendChild(s);})(document,'style','.kix-zoomdocumentplugin');)

Say Thanks
Respond

4 Responses
Add your response

12394
0 zr 8kkcz nmxaltycji0k6rvrldrglcybv60kfpqftjhjzvomjguobfeojsftn tq4ryx8tkvirk

Works nicely expect if messes up cursor positioning, nice for reviewing documents but if you are still editing the doc then it's a bit problematic.

over 1 year ago ·
12613
D940dd93751cea6229c4b9b2098b7f39

@verymickey yup, unfortunately

over 1 year ago ·
18748
8a6a20e24066a23ad535b0f5f5b8588d normal

I used to be able to get a two-page view, I forget if this was with embedded=TRUE or not, by simply pressing the 2</code> key. No idea why they removed that functionality.

over 1 year ago ·
28159
36b0338fc781b0572198e33531d2bc17

I wrote a plugin to allow toggling this type of view, my solution is a little different than yours:
https://chrome.google.com/webstore/detail/side-by-side-view-for-goo/klojnkbccembmfbplidbaiblodibiccg

Here's the source:
https://github.com/ryanpcmcquen/side_by_side_gdocs

over 1 year ago ·