Theses, Books, Title pagesmcode.sty file addition to a theses template

Classicthesis, Bachelor and Master thesis, PhD, Doctoral degree
Post Reply
bhavna
Posts: 2
Joined: Sat Apr 30, 2016 8:39 pm

mcode.sty file addition to a theses template

Post by bhavna »

Hi

I have added mcode.sty file to the preamble section yet the matlab code using ls listing doesnt work can someone please share the exact steps to get this to work correctly or of another way by which i can put my matlab code in a overleaf latex document .

Thanks
Regards

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

mcode.sty file addition to a theses template

Post by Johannes_B »

You are not even telling us what template you are using. mcode just prettifies your code, but you have to use listings like you would do with regular code snippets.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
bhavna
Posts: 2
Joined: Sat Apr 30, 2016 8:39 pm

mcode.sty file addition to a theses template

Post by bhavna »

Johannes_B wrote:You are not even telling us what template you are using. mcode just prettifies your code, but you have to use listings like you would do with regular code snippets.
Hi I am using a these template on overleaf its the university of bristol one there and I cant seem to put in my code despite using listings package or mcode
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Re: mcode.sty file addition to a theses template

Post by Johannes_B »

Usually this part of the forum is not for general discussion, but whatever. Instead of letting one of the helpers here search the huge database of bad templates on overleaf, why not simply share a link with us?
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Post Reply