Learn TeXBB

Tutorial & support

Write a note, work with mathematics, organize a bibliography, and take your documents with you. Start with a chapter or jump to a useful tip.

Your first document

Getting started

Open Markdown

Install TeXBB for Windows from the Microsoft Store, then select Markdown in the mode bar. The editor and viewer show the source and formatted result for the same document. Use Open Tabs to move between documents.

A practice Markdown document with source text in the editor and its formatted result in the matching viewer.
Work with the document source and its formatted result side by side.

Try a short note

Click + in the Markdown toolbar to create a separate practice document. Paste this example into its editor and select Build to see the headings and list in the matching viewer.

Markdown example
# My first note

Welcome to TeXBB.

## Ideas to explore

- A definition
- A useful example
- A question for later

Structure your ideas

Markdown

Add headings and lists

Use # for a main heading and ## for a smaller heading. Start a list item with - followed by a space, and leave blank lines between paragraphs and blocks.

Emphasize text and add a link

Use **...** for bold text, *...* for emphasis, and [label](address) for a link.

Text and links
**An important idea**

*An aside or emphasis*

[An example link](https://example.com)

Include an equation

Wrap inline mathematics in $...$. For a displayed equation, put $$ on separate lines above and below the equation. Ordinary explanations stay outside these delimiters.

Mathematics in Markdown
Let $a=3$ and $b=4$.

$$
a^2+b^2=c^2
$$

Therefore $c=5$.
Markdown source with a displayed equation between separate $$ lines and its rendered preview.
Use $$ on separate lines for a displayed equation.

Keep pictures with your document

Paste a clipboard image or drop a PNG or JPEG into the editor. TeXBB stores a managed copy and inserts its image reference. When moving a source copy elsewhere, include the linked image files and preserve their relative paths.

From source to a PDF

LaTeX

Check your LaTeX setup

Open Settings → LaTeX and find the LaTeX setup card. TeXBB uses a compiler from an installed distribution such as MiKTeX or TeX Live. If it is not detected, install a distribution, then use Scan again to check the build tool and executable path.

LaTeX setup card showing a detected MiKTeX installation and available build tools.
The LaTeX setup card identifies the detected distribution and the build tool TeXBB will use.

Write the document body

Select LaTeX and click + for a practice document. With View → LaTeX → Show Header off, the editor shows only the body. Replace its placeholder text with this example while keeping the existing preamble and document structure. Build produces the PDF in the matching Viewer tab.

LaTeX body only
\section*{My first paper}

Welcome to TeXBB.

\subsection*{A small example}

Let \(a=3\) and \(b=4\).

\[
a^2+b^2=c^2
\]

Therefore \(c=5\).

This example belongs inside your document body. It does not replace the preamble or the document's opening and closing commands.

Understand a failed build

Open View → Log Panel and read the first compiler error. Check unmatched braces, missing commands or packages, and the LaTeX setup. The viewer can retain the last successful PDF even when the latest build fails.

Organize a reference library

Reference

Choose a reference library

Reference has Editor, Viewer, and Table tabs for the active .bib file. To practice separately, select a copy in Settings → Reference → BibTex file → Change File... before importing entries.

Import a citation

Open Tools → Reference → Import Citation... or use + in the Reference toolbar. Paste this fictional BibTeX entry and click Import. Use a unique citation key; importing adds entries without replacing the whole library.

Practice BibTeX entry
@article{TeXBBTutorial2026,
  author = {Example, Alex},
  title = {A sample reference for the tutorial},
  journal = {Example Journal},
  year = {2026}
}

This dialog accepts citation text you already have; it does not look up a DOI or URL.

Find a paper in the Table

Open Table to search by key, title, author, or year and inspect PDF status. Double-click a row to locate the paper in Viewer. Edit entry fields in Editor; View Details... in the paper menu is read-only.

Connect a paper’s PDF

Right-click a paper node in Viewer and choose Open PDF. If no PDF is connected, choose Connect PDF and select the local .pdf file. TeXBB stores a managed copy and opens it with your Windows default PDF app.

Set up the compiler

Typst

Check the Typst setup

Open Settings → Typst and find the Typst setup card. Use Scan again to check for an installed compiler. Detected means it is ready; Setup needed means TeXBB has not found one.

Typst setup card showing the compiler status and setup controls.
Check the compiler status in Typst setup before starting an installation or update.

Install Typst when needed

Choose Download Typst when setup is needed. TeXBB installs the separate compiler through Windows Package Manager (winget), which requires Internet access and App Installer. Wait for Detected and an executable path. An installed compiler shows Update Typst instead.

Connect your Android phone

Mobile

Open Mobile Viewer

Connect your PC and Android phone to the same local network; the PC can use Ethernet while the phone uses Wi-Fi. On the PC, open Settings → Mobile Viewer. If you need the Android app, use your phone's camera to scan the QR code under 1. Install Android app to open TeXBB in Google Play.

Mobile Viewer setting with the Connect with phone toggle.
Connect with phone enables the PC’s Mobile Viewer connection.

Connect your phone

Turn on Connect with phone. Use your phone's camera to scan the QR code under 2. Connect installed app and open the link in TeXBB. The two codes have different jobs: the first opens the store page; the second connects to this PC.

The two Mobile Viewer headings: Install Android app and Connect installed app.
The first QR section opens Google Play; the second connects the installed app to this PC.

Confirm the computer

On the PC, click Open Large under 2. Connect installed app. Compare its Certificate SHA-256 fingerprint with the one shown on your phone. Tap Connect on the phone when they match.

Use a connection link instead

Click Copy connection link on the PC. On your phone, open Connect to TeXBB PC version, paste it into Connection link, and tap Connect. Compare the fingerprint with the PC and confirm the connection as above. If the code has expired or was already used, return to Mobile Viewer for a new one.

Read your documents offline

The first sync starts after the connection is verified. Wait for it to finish, then open a document on your phone. Downloaded documents remain readable when the PC is off; receiving later changes requires another connection to the PC.

Useful things you might miss

Tips

Paste an image into Markdown

Copy an image to the clipboard, click in the Markdown editor, and press Ctrl + V or Shift + Insert. A copied PNG or JPEG file from File Explorer works too. TeXBB stores a managed image copy and inserts its Markdown reference at the cursor.

Drop an image into the editor

Drag a PNG or JPEG from File Explorer into the editor and drop it where you want the image. TeXBB inserts a reference to its managed copy, leaving the original file in place.

Keep only the references you cited

Open Tools → Reference → extract bib from aux.... Choose both the original .bib database and the .aux file generated by your LaTeX build. Choose a new output .bib file and click Extract. The AUX supplies citation keys; the original bibliography supplies the entry details. Check any missing-key warnings.

Bibliography extraction dialog with separate inputs for the original BibTeX database, the AUX file, and a new output BibTeX file.
Select the original bibliography and the AUX file, then choose a new output file for the cited entries.

Give the viewer its own window

In Markdown, drag the active viewer tab out of its tab strip. Place the separate viewer beside the editor or on another display. To dock it again, close that window or double-click the Viewer is open in a separate window area in the main app.

Edit in more than one place

Hold Alt and click in the editor to add another cursor. Type once to edit those positions together. An ordinary click returns to a single cursor. Try this in a practice document first.

Import citation text

Use Import Citation... when you already have BibTeX text. Adjust its citation key directly in the entry if needed, then import. See the practice entry in the Reference chapter.

Import Citation dialog with a BibTeX entry and the Import button.
Paste citation text into Import Citation; the citation key is part of the entry.

Find a command quickly

Press Ctrl + Shift + P to open the command palette. Type part of a command's name and select it. You can change this shortcut in Settings → Keyboard Shortcuts.

Command palette filtered by reference, showing two matching commands.
Search by part of a command’s name to narrow the command palette.

When something needs a closer look

Common fixes

The phone does not show recent changes
Check that synchronization has finished. For a LaTeX PDF, the latest PC build must succeed before that new version can reach the phone; an older preview may still be visible after a failed build.
Pairing does not complete
Keep both devices on the same local network and TeXBB open on the PC. Check that Connect with phone is on, then use a fresh connection QR code or link. Complete the fingerprint confirmation on the phone.
A LaTeX PDF does not build
Check the LaTeX setup card and read the first compiler error in View → Log Panel. Fix that error before treating a later message as a separate problem.
The PC is offline
Previously synchronized documents remain readable on the phone. New changes require the PC to be available for another synchronization.

Need a hand?

Contact support

Email texbb@kiyuobjung.com with the TeXBB version, your device and operating-system version, what you were trying to do, and the exact error message.

A screenshot can help. Remove private documents, QR codes, connection addresses, and credentials before sending it.

Back to the tutorial ↑