Machine Readability
Do NOT use the "Print to PDF" function! This is known to produce files that are not machine-readable.
All written assignments that use Turnitin are required to be machine-readable. As all LaTeX generators work differently, there’s no definitive set-up to ensure the correct result.
The easiest method to check machine-readability is to search the pdf using any software, such as Adobe Acrobat Reader, that does not have automatic OCR functions built in (i.e. do not use Mac OS's Preview software). Search for a common word; if it is able to search the text, then it is machine-readable. Try a few words, to be sure.
To find the pdf created when compiling with (eg) TeXmaker, look in the folder where the tex file was saved and there should be a pdf file with the same name. This pdf should be machine readable:
Do NOT open and re-print to pdf. Printing to pdf causes files to lose their machine-readability:
For further tips on using Latex, see this helpful, Maths-focused LaTeX guide.