I am a teacher. An ongoing problem is that students post assignments to websites like chegg.com to have other people write projects for them. I don't know if the students are providing JPGs or PDFs -- but what I see on the website is a text version of the assignment. See for example: https://www.chegg.com/homework-help/questions-and-answers/part-2-confidence-intervals-recovery-great-recession-2007-2009-economic-situation-many-fam-q37153607
For my assignments, the assignment is written in LaTex. I'm wondering how I might embed a unique identifier in each student's assignment so that I can tell by looking at the assignment who posted it. Let's imagine that I'm teaching 500 students (9 bits), and it would be good to encode the semester and year (5 bits), plus a parity bit for good measure-- so let's just say I need to encode 16 bits.
Requirements:
- Cannot use font changes -- the font information is lost in the chegg posting.
- Cannot use watermarks or other imagery -- again, this information has been stripped from the posting.
- Cannot use spacing changes -- mainly because this runs counter to how LaTex is formatting the page, and I'm not sure that subtle spacing changes would survive to the posting. (in other words, no stegsnow)
- The optimal answer would embed the identifier multiple times so that even if only a portion of the assignment is posted, it is possible to identify the source.
What this means, I believe, is that I basically need something that is visible, but easily overlooked in the text itself. Ideas:
- Double a particular word that that a reader is likely to overlook --depending on which word is doubled, identity is know (such as my doubling the word "that" in the preceding text).
- Using extra punctuation marks that might be easily overlooked.. (see double periods at the end).
- Inserting occasoinal letter flips that look like sloppy spell checking but actually encode the identifier. (see spelling of occasional)
Anyone know of something that has already been implemented? Any suggestions about the easiest way to do this?
Here's a potential starting point for a solution. In the optimal implementation, the \stenagbox could include "complicated" text such as begin/end{enumerate}, multiple paragraphs with formatting, etc.
\documentclass[10pt]{article}
\newcommand{\stenagbox}[2]{#2}
\begin{document}
\stenagbox{16000}{When moving to a new area, it is important to
understand the climate that you will be living in. Does it rain
more or less than you are used to? Will it typically be hotter or
colder than the city that you are coming from? Just knowing where
a city is located on a map is not sufficient. In some areas,
nearby mountains may block the wind and make the climate hotter or
colder than expected. In other areas, the ocean may keep the
region cool in the summer time and warm in the winter. Using
statistics, the climate in two areas can be compared to determine
what to expect.}
\end{document}



\ifand\else. Maybe\variant{"2}{it’s not}{it isn’t}, for each bit of the counter, where “It’s not” represents a zero in bit 2, and “it isn’t” represents a one. – Davislor May 08 '19 at 01:03\defspecified by each run. In that case, this question becomes how you want to specify the various options (\RepeatWord,\RepeatPunctuation,\MispellWord, etc). In that case, this becomes pretty easy to solve. – Peter Grill May 08 '19 at 01:15