When this guide is useful
It is for users who want to use TeX viewer, LaTeX preview, view tex files, display mathematical formulas, and check LaTeX syntax errors without installing it.
- See an overview of .tex files received via email or shared folders
- Check frac, sqrt, superscript/subscript notation in mathematical formulas
- Look for forgetting to close begin and end, curly braces, and formula separators.
- Search and replace TeX code and save to UTF-8 file
Situations where TeX/LaTeX viewers are useful
- When quickly checking the document structure and formulas of the received .tex file
- When looking for basic writing mistakes before preparing the LaTeX environment
- When checking the input contents of formulas posted in README or teaching materials
- When organizing TeX source to UTF-8 and saving again
Steps to check TeX source
- Enter TeX code or select a .tex file.
- Additional information: UTF-8 Shift_JIS
- See headings, paragraphs, formulas, lists, and tables in the preview on the right.
- Move to the line displayed in the syntax diagnostic and correct the parentheses and environment correspondence.
- Save the modified TeX and eventually compile it with the TeX engine you plan to use.
Precautions when using simple preview
The browser version is not a complete compiler such as TeX Live or LuaLaTeX. Display results may not match when including original macros, external packages, BibTeX, images, and multiple files.
For academic papers and PDFs for submission, do not complete with a simple preview; please make a final check using the specified TeX environment, package, font, and build procedure.
Specific example: Correcting a formula that is forgotten to close
If there is no $ at the end of an inline formula, the following sentences will be treated as a formula, leading to compilation errors and unintended display.
Check the line number and error details using syntax diagnosis, move to the relevant line, and match the start and end symbols.
- Input
- Check "$ in inline formula is not closed" in Syntax Diagnostics.
- Select the diagnostic item, move to the corresponding line, and add $ to the end of the formula.
- Refresh the preview and diagnostics to confirm that the error is resolved.
Even if the error is resolved, please re-check the results of the packages and custom macros you use with the actual TeX engine.
Frequently asked questions
- Can I create PDF from LaTeX using only this tool?
- PDF compilation is not supported. Perform a simple preview and diagnosis of the basic syntax, and generate the PDF in a TeX environment such as TeX Live.
- Input
- Not sent. Files are loaded, analyzed, previewed, and saved within your current browser.
Try It in Your Browser
Your input is processed entirely in your browser. Keep the original data, review the output, and only then save or share it.
Open TeX/LaTeX preview/viewer