Skip to content

LiangliangNan/WriteCodeInLaTeX

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Write Code in LaTeX

If you write

\begin{lstlisting}
	#include <iostream>
  
	int main() {
		std::cout << "Hello World!" << std::endl;
		int a = 3;
		int b = 2;
		// compute the product of a and b
		int c = a * b;
		return 0;
	}
\end{lstlisting}

You will get

About

No description, website, or topics provided.

Resources

Stars

4 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages