About 323,000 results
Open links in new tab
  1. Code Highlighting with minted - Overleaf, Online LaTeX Editor

    There are two important commands here. In the preamble the package is imported by writing. then the tags \begin{minted}{python} and \end{minted} delimit an environment that print the text verbatim in monospaced fonts and also apply colour to comments, keywords and functions.

  2. Configure minted style in LaTeX for code highlighting

    Feb 19, 2021 · Customizing the colors and other font attributes used in minted styles can be done by writing a style definition file (or editing an existing style). This process is not really transferable, you need to place the style file directly into the directory where Pygments (the formatting engine used by minted) is installed. This directory is ...

    Missing:

    • Library

    Must include:

  3. How to use the different styles (mainly color schemes) of minted ...

    Jul 19, 2023 · A solution is putting a color NAME to avoid the minted limitation in the color background (beacause pygments works fine): \definecolor{base03}{HTML}{002b36} \begin{minted}[style=solarized-dark,bgcolor=base03]{python} –

    Missing:

    • Library

    Must include:

  4. Which colors are these? (minted package) - TeX - TeX - LaTeX Stack Exchange

    Aug 1, 2019 · I am using code Highlighting for Python 3.7 with the minted package. I am using the tango color scheme (you can see all the color schemes minted uses in this page). I want to know the hex/rgb/cymk color code of the colors in this scheme (I want to use the same colors for other things in my document) but I cannot find them anywhere.

    Missing:

    • Library

    Must include:

  5. latex - Change highlight colors in minted - Stack Overflow

    Feb 1, 2011 · minted is really great, but is there a way to change the highlight colors? Since minted uses the Pygments library, I assume Pygments is the key to the color, but I haven't found it yet. Could anyone explain how it can be done or post a link that shows how it's done?

  6. minted provides syntax highlighting using thePygmentslibrary. It also provides options for customizing the highlighted source code output, including features implemented in Python such as selecting snippets of code with regular expressions. The original development of mintedversion 3 was funded by aTEX Development Fund grantfrom theTEX Users ...

  7. Syntax Highlighting in LaTeX with minted · Wizards of the Web

    Mar 26, 2018 · This post serves as an introduction to minted, a pygments-based syntax highlighter for LaTeX. Adding pygments to LaTeX streamlines so many things. The post provides a few examples of things you can do with minted , details the installation process, and covers some basic security.

  8. Change highlighting color for numbers · Issue #275 · gpoore/minted

    Here is an example changing color for token types Number.Integer and Number.Float to green. minted use python library pygments to do syntax highlighting. pygments firstly splits code snippet into tokens, then apply a style to highlight it. For LaTeX use, every style has a corresponding <style name>.pygsty stored in cache directory used by minted.

  9. GitHub - gpoore/minted: minted is a LaTeX package that …

    minted is a LaTeX package that provides syntax highlighting using the Pygments library. The package also provides options for customizing the highlighted source code output, including features implemented in Python such as selecting snippets of code with regular expressions.

  10. Create Beautiful Code Listings with Minted - LaTeX-Tutorial.com

    In this tutorial I’m going to show you how to use the minted package to produce nice-looking and customizable code listings, with highlighted syntax. In this section, we are going to see quickly how to install minted.

  11. Some results have been removed
Refresh