Forums: 公開討議/質問 (Thread #38784)

Can anyone provide a minimal example of ltj-warichu by latex mode? (2017-07-20 17:02 by bashee_wang #80088)

Hi,

I am very interested in the ltj-warichu, but unfortunately, there is only a plain tex example in the source. Is there anyone can provide a minimal workable example by using "\documentclass{article}\begin{document}\end{document}" example?

I have tried but there is always error when I compile it.

Here is my code:
\documentclass{article}
\usepackage{luatexja-core}

\showboxbreadth=999
\showboxdepth=999
\jfont\Song={name:NSimSun:jfm=ujis} at 16pt
\jfont\smallSong={name:NSimSun:jfm=ujis} at 7pt
\usepackage{ltj-warichu}
\usepackage{ltj-warichufnt}

\begin{document}
\zmh@depth=8pt
\guji@everytwolinemode={\smallSong\baselineskip=8pt\zmh@depth=4pt}
\guji@twolineraise=-1pt

\Song
\begin{guji}
你好|{我很好}
\end{guji}

\end{document}


"ERROR: Missing number, treated as zero."

Thank you so much!

Reply to #80088×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

Re: Can anyone provide a minimal example of ltj-warichu by latex mode? (2017-07-24 20:42 by h7k #80109)

[メッセージ #80088 への返信]
Sorry for late reply.
I commited an example in LaTeX (commit 8376cba).
Note that I changed the font, since I don't have NSimSun.

ltj-warichu.sty and warichu-test_ltx.tex in that commit should work
without an error, but the result is not good.
Reply to #80088

Reply to #80109×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

Re: Can anyone provide a minimal example of ltj-warichu by latex mode? (2017-07-25 15:49 by bashee_wang #80117)

[Reply To Message #80109]
> [メッセージ #80088 への返信]
> Sorry for late reply.
> I commited an example in LaTeX (commit 8376cba).
> Note that I changed the font, since I don't have NSimSun.
>
> ltj-warichu.sty and warichu-test_ltx.tex in that commit should work
> without an error, but the result is not good.

Thank you so much! This helps a lot. I will check it, and if there is any issues found, I will ask for help again. :)
Reply to #80109

Reply to #80117×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login