Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- THIS IS AN ANKI CARD TEMPLATE FOR KANJI/RTK, WITH 3 FONTS:
- - HGKyoukashotai, for learning what the kanji looks like when written
- - MSMincho, to keep track of differences between written kanji and their print equivalents
- - KanjiStrokeOrders, for... stroke order, duh.
- Note that you need to copy-paste these fonts into your Anki collection.media folder and add an underscore to the 3 filenames to make sure Anki never deletes them during a media check.
- This template and these settings will work on desktop and mobile.
- HERE'S THE FRONT TEMPLATE:
- <div style="text-align: left;"><span style="color:#339922;font-size: 22px;">{{Tags}}</span>{{#Number}}<span style="font-size":22px;">:</span>{{/Number}}<span style="color:#585858;font-size: 22px;">#{{Number}}</span><br><span style="font-size: 45px; font-family: Times New Roman">{{Keyword}}</span>{{#Def}}<br><span style="font-size:20px; font-family: Times New Roman">{{Def}}</span>{{/Def}}{{#Def}}<br>{{/Def}}{{#Reading}}<br><span style="font-size:27.5px; font-family: Times New Roman">{{Reading}}</span>{{/Reading}}
- HERE'S THE STYLING:
- .win .card {
- font-size: 22px;
- background-color:#FFFAF0;
- color:#2A1B0A;
- font-family: Times New Roman;
- text-align:center;
- }
- .mobile .card {
- font-size: 22px;
- background-color:#FFFAF0;
- color:#2A1B0A;
- font-family: Times New Roman;
- text-align:center;
- }
- @font-face { font-family: myfont;src: url('_HGRKK.ttc'); }
- @font-face { font-family: myfont2;src: url('_msmincho.ttc'); }
- @font-face { font-family: myfont3;src: url('_KanjiStrokeOrders.ttf'); }
- .mobile .jp {
- font-family: "myfont";
- font-size: 100px;
- }
- .win .jp {
- font-family: "myfont";
- font-size: 130px;
- }
- .mobile .mc {
- font-family: "myfont2";
- font-size: 100px;
- }
- .win .mc {
- font-family: "myfont2";
- font-size: 130px;
- }
- .mobile .fk {
- font-family: "myfont3";
- font-size: 100px;
- }
- .win .fk {
- font-family: "myfont3";
- font-size: 130px;
- }
- AND HERE'S THE BACK TEMPLATE:
- {{FrontSide}}
- <hr id=answer>
- <span class=jp>{{漢字}}</span><span class=mc>{{漢字}}</span><span class=fk>{{漢字}}</span><br><br><span style="font-size: 25px; ">{{Story}}</span>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement