LyX[koma-letter] inappropriate lines on the pdf

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
thibaud74
Posts: 13
Joined: Fri May 27, 2011 4:33 pm

[koma-letter] inappropriate lines on the pdf

Post by thibaud74 »

Hi,
When I make a letter with koma letter V.2 class, I have two inappropriate lines ate left of my page. You can see an example here :
example.png
example.png (80.1 KiB) Viewed 2240 times
How can I erase them ?

Here ici the preambule :

Code: Select all

\LoadLetterOption{DIN}
\KOMAoptions{
fromalign=center%        alignment of the address
,fromrule=aftername%    separate the address with a line?
,fromphone=true%         print sender phone number
}
\setkomafont{fromaddress}{\small}
\setkomafont{fromname}{\scshape}
Thanks to you,
Thibaud.
Last edited by thibaud74 on Fri May 27, 2011 5:48 pm, edited 3 times in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Stefan Kottwitz
Site Admin
Posts: 10324
Joined: Mon Mar 10, 2008 9:44 pm

[koma-letter] inappropriate lines on the pdf

Post by Stefan Kottwitz »

Hi Thibaud,

welcome to the board!

Modify the document class option foldmarks, such as by

Code: Select all

\KOMAoption{foldmarks=false}
or add it to your \KOMAoptions call or declare it when loading the document class.

Some tipps for the start: when writing or editing posts, you can click the Code button to mark LaTeX code for more readability, I just did it for you. Further I attached the image to the forum post, that's better than using external links. If you wish to add another image later, just attach it to the post and click on Place inline.

Stefan
LaTeX.org admin
thibaud74
Posts: 13
Joined: Fri May 27, 2011 4:33 pm

Re: [koma-letter] inappropriate lines on the pdf

Post by thibaud74 »

Thanks you ! I don't know why this feature is activate by default, but lyx is a real great tool.
Have a very good week-end,
Thibaud.
Post Reply