alves-nickolas / Mood-Tracker-Template

LaTeX template for a mood tracker calendar.
1 stars 2 forks source link

Request: range for moods #1

Open jbae-89 opened 2 months ago

jbae-89 commented 2 months ago

Create a mood range command that allows using a syntax similar to \moodrange{start}{stop}{color}

An example of \moodrange{2023-03-14}{2023-03-24}{green} may look like this: moodrange

I couldn't figure out how to make this work well but figured I'd toss the idea your way if you were interested in handling it.

Thank you for your tracker!

alves-nickolas commented 1 month ago

This is a very interesting idea. I've been thinking about it since you posted it, but didn't find the time to get to this yet. Maybe I will in the future.

I really like this design for multi-day marking, but it seems a bit incompatible with two colors. Code-wise, I would need to figure out a way to draw the square borders correctly (which takes some thinking, but seems quite manageable).

A straightforward way to get this functionality would be to use a \foreach loop (available from TikZ, for example) to run over the different days and mark each of them with a color one by one, using the usual command. The technical thing is handling the conversions from human-readable dates to Julian days.

I like the idea, and maybe I get to it in the future. I'm not sure when though. In any case, thank you very much for the suggestion!