13

Using Artificial Intelligence with LaTeX

In recent years, there has been remarkable progress in artificial intelligence (AI), which refers to machine or software-simulated intelligence. AI involves processing extensive data and learning through logic, statistics, and algorithmic training.

Generative AI, in particular, can create text, images, and videos. This is highly useful for us, as LaTeX revolves around text, both regarding content and source code. Text generation involves using a large language model (LLM) trained on vast datasets. You can give it some input text, a so-called prompt, and it predicts the following words based on the statistical relationships it has learned. So, based on the LLM’s language expertise and training data, ...

Get LaTeX Cookbook - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.