Search found 5 matches

by gokotai
Tue Aug 16, 2022 4:36 pm
Forum: Graphics, Figures & Tables
Topic: Looping through a folder and inserting all figures
Replies: 1
Views: 3218

Looping through a folder and inserting all figures

used \samples instead of {\samples}
by gokotai
Tue Aug 16, 2022 4:05 pm
Forum: Graphics, Figures & Tables
Topic: Looping through a folder and inserting all figures
Replies: 1
Views: 3218

Looping through a folder and inserting all figures

Hi folks,
I have a folder within overleaf of 65 images, which I'd like to include as figures in the document.
However, I'm having some trouble with calling the for loop. May I ask for some assistance in finding what I've done wrong please?

\newcommand*{\samples}
{
AFCO 01-JAN-19,
AFCO 02-NOV-18 ...
by gokotai
Fri Aug 12, 2022 10:31 am
Forum: Graphics, Figures & Tables
Topic: Including matlab code as a listing in an appendix
Replies: 3
Views: 4936

Including matlab code as a listing in an appendix

So it turns out the error was because the files are .mlx format. Converting them to .m format fixed the issue!
by gokotai
Thu Aug 11, 2022 7:51 pm
Forum: Graphics, Figures & Tables
Topic: Including matlab code as a listing in an appendix
Replies: 3
Views: 4936

Including matlab code as a listing in an appendix

This worked for me without the \lstset line with a short .m file that I included using the report class.

It may be something you changed in your "mystyle" info (whatever that is) or it may be something in your documentclass, neither of which you posted so we can't be sure.

I would say a is in ...
by gokotai
Thu Aug 11, 2022 12:42 pm
Forum: Graphics, Figures & Tables
Topic: Including matlab code as a listing in an appendix
Replies: 3
Views: 4936

Including matlab code as a listing in an appendix

Hi folks,

I'm using overleaf to write my phd thesis.

I have some matlab code which I'd like to include in my appendix section, so I've uploaded the ".mlx" file to a folder called "programmes" and have called the listings package in the preamble.

I have used the following lines to call the ...