About 26,700,000 results
Open links in new tab
  1. How to make a single word look as some code? - TeX

    Nov 24, 2011 · If you want a single word to look like a coded word and also to have a light-gray background as in StackExchange you can predefine a color \definecolor{light-gray}{gray}{0.95} …

    Missing:

    • Overleaf

    Must include:

  2. Code listing - Overleaf, Online LaTeX Editor

    LaTeX is widely used in science and programming has become an important aspect in several areas of science, hence the need for a tool that properly displays code. This article explains …

  3. Inserting code in this LaTeX document with indentation

    Jul 4, 2010 · Here is how to add inline code: You can add inline code with {\tt code } or \texttt{ code }. If you want to format the inline code, then it would be best to make your own command …

  4. listings - Make code in LaTeX look *nice* - Stack Overflow

    backgroundcolor=\color{white}, % choose the background color. You must add \usepackage{color} !!code!! The listings package is quite nice and very flexible (e.g. different …

    Missing:

    • Overleaf

    Must include:

  5. Use code-style font - TeX - TeX - LaTeX Stack Exchange

    Dec 18, 2018 · Just a quick question, I want parts of my document to be on this particular font which resembles a code, like this with mclust and FactoMineR: How can I do this?

    Missing:

    • Overleaf

    Must include:

  6. formatting - Code Snippet IN Text - TeX - LaTeX Stack Exchange

    How do I show a code snippet directly in my text? I don't want to have an extra box for it like lstlisting or verbatim provide it. My example may should look like this: The class List.class is...

  7. Typesetting Code in LaTeX - LaTeX Ninja'ing and the Digital …

    Jun 16, 2019 · Be sure to check out the template on Overleaf. This one isn’t a verbatim way to express code, but it will change the font to typewriter, so it ‘looks like code’. However, in these …

  8. Font sizes, families, and styles - Overleaf, Online LaTeX Editor

    In the following example the \textsl command sets the text in a slanted style which makes the text look a bit like italics, but not quite. See the reference guide for a complete list of font styles.

  9. Code style font : r/LaTeX - Reddit

    Feb 28, 2023 · What option should I use if I want some words of my text to look like "linpiston.m", "k=1", "m=2", "alpha=0" and so on? It seems kinda of a "thin bold" to mention codes and …

    Missing:

    • Overleaf

    Must include:

  10. How to Insert a Code Block in LaTeX: The Comprehensive Guide

    Oct 27, 2023 · The simplest way to insert a code block is using the verbatim environment. This displays code as plain text, without interpreting LaTeX syntax. To try it out, enclose your code …

  11. Some results have been removed
Refresh