I have to memorize a list for which I have a mnemonic. I’d like to have the front of a card prompt for the list, with a note that a mnemonic exists, and the back have the clozes. So, for example:
Front:
What are the names of the neighbors’ children?
(There’s a mnemonic!)
Back:
K: […]
I: […]
D: […]
S: […]
I think I can make the back OK, but how do I get a front with cloze-overlapper?
Motivation: I want to be tested on recall of both the mnemonic and the list items.
So, the first step is open the card browser on the desktop app, select a cloze overlapped card you have already created, then click the “Fields” button. Add a field and name it “Mnemonic”. More info here. Click okay until you’re back at the browser.
Again, from the browser, select a cloze overlapped card, but this time click the template button.
Since I don’t really want to take the time to explain everything, first copy and paste the 3 sections into a word document so you can fix things if it doesn’t work out. You are simply backing up the text that you have before this so you can go back if it doesn’t work out.
No “template” button, but I surmised that the “Cards” button was what we wanted; it offers three text fields, Front Template, Back Template, and Styling. I replaced them with your Front Section, Back Section, and CSS Section respectively.
But I never saw my content in the Front field, only clozes cards – the clozed contents of the “Original” field.
I like the dark blue background color and the eye icon though (The icon was not responsive to the mouse.)
I was not clear about my intention for the mnemonic. I want it exposed on the back of the card. I’ll guess at it when I see the front of the card, before I see the back. I want to have cards like shown in the example of my OP, where the mnemonic is “KIDS”. (The list items could be Kelly, Iris, Dan, Sally.)
Also, what version of anki are you using, and what version of cloze overlapper plugin are you using?
You can find the cloze overlapper version by opening the file named “_version.py” in notepad or any plaintext editor. You can locate that file in anki by going to tools >> addons >> cloze overlapper >> click “view files”
This might be simpler. Try importing this deck. Go into the deck and click study and see if it behaves correctly. The mnemonic appears on back at bottom in the one example note I put in the deck.
The eye button only works after revealing the back of the card, FYI.
Responding first to your penultimate reply: I did add a Mnemonic field, at the default position, last. Seemed to work as I infer the designer intended. I am running Anki 2.1.35, and cloze overlapper 0.4.0-alpha.0.
Your import deck works as I infer it’s intended to. It’s not exactly what I had envisioned, but that may not matter. I was interpreting “front” and “back” more literally rather than functionally, and imagined what you have as the title to be the sole content of the front.
What I’m looking for is to be prompted for and then shown the following in the following order when I hit Enter after each prompt:
The prompt for the mnemonic; that prompt would be, schematically, “What are the [items] of [list]? (There’s a mnemonic!)”.
The mnemonic.
The first list item’s cloze prompt, i.e., “[…]”.
The first list item.
The second list item’s cloze prompt, i.e., “[…]”.
The second list item.
[etc. etc. until…]
The last list item.
…Where the context for each item is all of the preceding (already shown) items. I don’t care whether I see only one cloze indicator “[…]” at a time or all that remain to be shown.
I want do do this both when the cards are new and when they are reviewed. From the user’s point of view, it would both when the list is new, and when the list is reviewed.
I’m confident that Anki + coder can do this; from my current position, which is that of a newbie a few days into a deep dive, I’m less confident that it can be done right now.
Thanks so much for hanging with me on this!
Edit: I think showing all the preceding items can be done by changing the cloze overlapper Options::Context Before to 20 and the Context After to 0.
I have to use screenshots in this reply of some code or it disappears in this thread bc website thinks its code, but…
I’ll have to look at this later, but try replacing this line:
with only this:
{{#Mnemonic}} What is the mnemonic? {{hint:Mnemonic}} {{/Mnemonic}}
This will create a link you can click or tap that I think will give you the multi-step cards you are looking for.
Here are some other tips that may be aha moments for you, and is noted in the anki documentation, but pretty confusing and buried. All of these examples will use the field named “Mnemonic” but this works with any field.
{{#Mnemonic}}This text willl ONLY show up if the mnemonic field is NOT blank. {{/Mnemonic}}
{{^Mnemonic}}This text willl ONLY show up if the mnemonic field IS empty. {{/Mnemonic}}
{{hint:Mnemonic}}
↑↑↑ This will show up as a link with the name of the field that you can click to reveal the text
{{Mnemonic}}
↑↑↑ and of course, this will simply showup as the text from the field.
so, you may want {{hint:Mnemonic}} on the front template, and {{Mnemonic}} on the back so you don’t have to click it.
If you want it to be formatted differently and in the little box, wrap it with the css like this:
Find the line in the CSS section of the card template that begins with .Mnemonic and you can google (for example) “How to change font-size with css” and update that line for different formatting using example in previous bullet.
The front and back are independent templates, so you have to edit the front and back templates or your changes will not appear on both sides of the card.
This is on a basically unrelated note, but you will probably find useful. Import this deck and play around with the dynamic multi card template. Notice that there are fields at the very bottom of this template you can use to make images or text appear on multiple cards on the back only, both sides, etc. These cards will be considered siblings. Google what that means if you care.
Also, it just occurred to me, maybe this is what your original post wanted:
If you want a “back” of the card. Add another field to the template named “Back”, then on the back section of the card template add this to the bottom:
I commented out the <div class="hint-mnemonic-empty">{{hint:Mnemonic}}</div>
line on the Front template and added this near the beginning just after {{/Title}} on the Back:
to change the position and get rid of the explicit prompt – the presence of the link is sufficient; and to get it on the “back,” which is a work in progress. On to your next reply…
Edit: my next reply will await my importing of your MultiQuestionDarkThemeTemplate… and playing around.
I’m thinking that cloze overlapper won’t work for me. I’ve just fully appreciated that Anki’s scheduler treats separate clozes as separate cards, and tries its utmost not to show them consecutively. But logically and pedagogically the items of a list belong together. Yes, it would be better to chunk them into separate items – but only if the chunks are chronologically connected. On an exam they have to be produced together.
Because I was thinking of hand-writing my cards on an iPad – creating the cards is that way a better learning experience than typing them – I thought maybe I could use image occlusion. But that addon either hides or shows all of the occluded elements other than the one being recalled.
So unless some other solution is available, I seem to be stuck with dealing with each list as a unit.
Meanwhile, I altered the Image Occlusion code to show a cascading reveal – i.e., reveal each occlusion one at a time without hiding the previously revealed ones. But I’m still not sure whether individual occlusions will be interleaved with other cards not related to the image.