Skip to content
Help

Writing LaTeX documents

Create a LaTeX document in Drive. Write on the left — visual editor or code editor — and read the compiled PDF on the right.

01

The three surfaces

  • Visual editor — approximate WYSIWYG on the left. Good for headings, lists, and clicking into formulas. It is not the PDF.
  • Code editor — the .tex source. Exact commands, packages, and comments.
  • PDF viewer — the compiled document. This is what print and download look like.

If something “didn’t show,” check which surface you are looking at. The PDF viewer is appearance truth.

02

Math keyboard

Open the math keyboard from Tools (or the √x control). Keys insert LaTeX into the code editor, the visual editor, or a formula you are editing. Chemistry and graphing live on the same keyboard.

03

Compile, Fix, and jump to source

  • Auto-compile updates the PDF as you type. Cmd/Ctrl+S compiles immediately.
  • On an error, open the log and use Fix — AI reads the log and proposes a diff you accept or reject.
  • Click text in the PDF to jump to the matching source (SyncTeX).

04

Files and convert

Extra chapters, .bib, and .sty files live inside the document. From main use \input, \include, or \addbibresource. See Documents & files for import and upload.

File → Convert to Typst… creates a new independent Typst document. Your LaTeX document stays unchanged.

05

Share and comments

Share invites editor, commenter, or viewer. Comments and suggesting mode live in the editor. Viewers can read the PDF; they cannot change the source.

Get started

Open a document and compile it

Sign in, create a Typst or LaTeX document in Drive, and watch the PDF build as you type.