What the LaTeX editor in Coauthor does: supported file types, the code editor, compiling to PDF, and where errors, shortcuts, and the AI coauthor fit in.
LaTeX Editor Overview
Coauthor includes a LaTeX code editor with cloud compilation, so you can write papers, theses, and any document that needs precise typesetting without installing TeX on your own machine. LaTeX files open in the document panel in the middle of the workspace, and the compiled PDF appears next to the source.
Supported File Extensions
Any of these files can be created or imported into a Coauthor folder and edited in the LaTeX editor:
| Extension | Purpose |
|---|---|
.tex | LaTeX source files (one of them is the folder's main file) |
.bib | BibTeX bibliography databases |
.sty | Style / package files |
.cls | Document class files |
.bst | BibTeX bibliography style files |
.bbx, .cbx | Biblatex bibliography and citation style files |
.def, .fd, .cfg | LaTeX definition and configuration files |
Images and PDFs that your document includes are stored as supporting files in the same folder. See Importing Files and Folders.
The Editor
- Monospace text with line numbers and LaTeX syntax highlighting.
- Autocomplete for commands, environments, document classes, and package names, plus automatic closing of
{},[],$...$, and\begin{...}/\end{...}pairs. See Autocomplete, Snippets, and Find & Replace. - A find & replace bar (Ctrl+F) and a Go to Line dialog (Ctrl+Shift+L).
- Real-time collaboration, comments, track changes, and version history work the same way as in the rich text editor.
- Right-click a selection, or press Enter with text selected, for Go to PDF, Add comment, and Add to Agent Thread, together with cut, copy and paste; see The Right-Click Menu.
Compiling
Compilation runs on Coauthor's servers with latexmk (pdfLaTeX with SyncTeX enabled), which also runs BibTeX when your document needs it.
- Put your project in a folder and mark one
.texfile as the main file from the file menu (Set as main). See LaTeX Main Files. - Click Compile in the editor toolbar, or press Ctrl+S or Ctrl+Enter.
- When the compile succeeds, the tab switches to the PDF view. Use the LaTeX, PDF, and LaTeX+PDF buttons in the tab bar to change the layout.
Auto compile is on by default: every time your edits are saved, Coauthor rebuilds the PDF in the background. Details are in Compiling and PDF Preview.
Errors and Logs
If a compile fails, the toolbar shows a red button with the number of errors. Click it to open the Compilation Results panel, where each error lists its line number; click an entry to jump to that line. The panel also holds the per-pass output and the Full Compilation Log. See Compile Errors, Warnings, and Logs.
Source and PDF Navigation
Select text in the source, right-click, and choose Go to PDF to highlight the matching spot in the PDF. Double-click a spot in the PDF to jump to the corresponding source line. See Jumping Between Source and PDF (SyncTeX).
Working with the AI Coauthor
The AI coauthor in the right panel can read and edit your .tex and .bib files, explain compile errors, and draft TikZ diagrams. Select a passage, right-click, and choose Add to Agent Thread to give it exact context. See AI Coauthor Overview.
Exporting
Use the Export document button (download icon) in the toolbar and choose Download as .tex to save the current source file. Use Download PDF in the PDF view to save the compiled PDF.
Related articles
Prefer to ask?
Inside Coauthor, ask the AI coauthor how any feature works — it answers from these same help articles. For anything else, use the ? button in the top-right corner of the app.