Skip to content

🧩Force Overleaf editor and preview to display top-bottom instead of side-by-side. 🧩让你的Overleaf编辑区和预览区纵向显示

Notifications You must be signed in to change notification settings

NorthSecond/overleaf_vertical

 
 

Repository files navigation

English | 中文

Overleaf Vertical

🔥Force Overleaf editor and PDF previewer to display top-bottom instead of side-by-side.

👀Highlights:

  1. Open-source extension for Overleaf platform
  2. Make better use of screen space. Writing papers and researching literature can be done simultaneously.
  3. Simple buttons to switch Overleaf layouts
  4. Resizable divider - drag to adjust the vertical split ratio
  5. Multi-domain support - works with cn.overleaf.com and self-hosted instances
  6. Automated builds via GitHub Actions

Features

Toggle Vertical/Horizontal Layout

Click the "Split" button in the Overleaf toolbar to toggle between vertical (top-bottom) and horizontal (side-by-side) layouts.

Resizable Divider

When in vertical mode, you can drag the divider between the editor and PDF preview to adjust the split ratio. Simply click and drag the divider to your preferred position.

Multi-Domain Support

The extension works with:

  • www.overleaf.com (default)
  • cn.overleaf.com (default, Chinese version)
  • Self-hosted Overleaf instances

To add custom domains (one at a time):

  1. Right-click the extension icon and select "Options"
  2. Enter your custom domain pattern in the input field
  3. Click "Add Domain" button
  4. Repeat steps 2-3 to add more domains
  5. Reload your Overleaf page

Example domain patterns:

  • *://cn.overleaf.com/* - Chinese Overleaf
  • *://latex.sysu.edu.cn/* - Sun Yat-sen University LaTeX
  • *://overleaf.mycompany.com/* - Company self-hosted instance
  • *://*.overleaf.com/* - All Overleaf subdomains

Automated Builds

The extension is automatically built and packaged using GitHub Actions. Download the latest release from the Releases page.

Installation

Please see Installation

Best Practice

Left: Overleaf | Right: Zetero
Left: Overleaf | Right: Website

License

MIT

About

🧩Force Overleaf editor and preview to display top-bottom instead of side-by-side. 🧩让你的Overleaf编辑区和预览区纵向显示

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 77.0%
  • HTML 23.0%