Answers for "latex # symbol"

4

latex real number symbol

\documentclass{article}
\usepackage{amssymb}
\begin{document}
\begin{tabular}{ll}
Plain-\TeX{}:   & ${\rm I\!R}$\\
amssymb:        & $\mathbb{R}$
\end{tabular}
\end{document}
Posted by: Guest on November-09-2020
1

latex code

\documentclass{article}
\usepackage[utf8]{inputenc}

\usepackage{listings}
\usepackage{xcolor}

\definecolor{codegreen}{rgb}{0,0.6,0}
\definecolor{codegray}{rgb}{0.5,0.5,0.5}
\definecolor{codepurple}{rgb}{0.58,0,0.82}
\definecolor{backcolour}{rgb}{0.95,0.95,0.92}

\lstdefinestyle{mystyle}{
    backgroundcolor=\color{backcolour},   
    commentstyle=\color{codegreen},
    keywordstyle=\color{magenta},
    numberstyle=\tiny\color{codegray},
    stringstyle=\color{codepurple},
    basicstyle=\ttfamily\footnotesize,
    breakatwhitespace=false,         
    breaklines=true,                 
    captionpos=b,                    
    keepspaces=true,                 
    numbers=left,                    
    numbersep=5pt,                  
    showspaces=false,                
    showstringspaces=false,
    showtabs=false,                  
    tabsize=2
}

\lstset{style=mystyle}

\begin{document}
The next code will be directly imported from a file

\lstinputlisting[language=Octave]{BitXorMatrix.m}
\end{document}
Posted by: Guest on November-16-2020
2

latex x element of symbol

\documentclass{article}
\usepackage{graphicx}
\usepackage{amsmath}

\newcommand\Inn{%
  \mathrel{\ooalign{$\subset$\cr\hfil\scalebox{0.8}[1]{$=$}\hfil\cr}}%
}
\begin{document}

\[
A\in B % one stroke in middle
\]

\[
A\Inn B % two strokes in middle
\]

\end{document}
Posted by: Guest on October-05-2020
0

latex not in

\notin
Posted by: Guest on October-25-2020

Browse Popular Code Answers by Language