Re: Creating a statement of account
On Wed, 20 Dec 2017 14:32:09 -0800 (PST) Rich Shepardwrote: >I'm trying to create an account statement for clients whom I > invoice by time and expense and I'm missing something in my efforts. > The statement is a running explanation of payments received and > charges against those payments. I'm trying to use the invoice2 > package, so far unsuccessfully. Hi Rich, This is unresponsive to your question, but I think LyX is way the wrong tool for making invoices. If it's acceptable to use a mono type, I'd just use a program that outputs the invoice to stdout and pipe that to a printer, or make it ito a PDF. If it's guaranteed to always be one page and you want pretty fonts and pictures, use Inkscape to produce a .svg template, and within that template use replaceable tokens for everything. If it might be multiline, it's harder, but you can use break logic to trigger a page footer routine and a next-page-header routine to create several .svg files, then use (I'd imagine) pdfjam to turn those into a multipage PDF. Or, you can do something similar, except instead of .svg use plain TeX (which is much simpler than LaTeX) to make the header, footer, and line items, in the fonts you desire. LyX is a tool that's priceless for creating fixed-text PDF files, and if it were ever made a true XML it would be priceless also for creating ePub and HTML and everything else, but in my opinion it's wy too much tool for the concise and specific task of writing a report or invoice. When you're creating your company's accounting statements for stockholders within your yearly report, THAT's the time to use LyX (probably with plenty of replacement tokens). SteveT Steve Litt December 2017 featured book: Thriving in Tough Times http://www.troubleshooters.com/thrive
Creating a statement of account
I'm trying to create an account statement for clients whom I invoice by time and expense and I'm missing something in my efforts. The statement is a running explanation of payments received and charges against those payments. I'm trying to use the invoice2 package, so far unsuccessfully. The document class is KOMA article. At the top of the first page is my company letterhead (a .pdf file) in a titlehead environment, followed by a title (the name of the project or case). The preamble contains: \date{} \usepackage{scrpage2} \usepackage{invoice2} \usepackage{longtable} \pagestyle{scrheadings} Following the address (address environment) is a paragraph then the table which I understand should use the capabilities of the invoice2 package. I've not figured out how to make the table compatible with that package and would appreciate a clue stick. I can make the calculations outside the statement and enter results manually but would like to have the invoice2 package do this for me. Regards, Rich
Re: Help manual correction
On Wed, 20 Dec 2017, Ricardo Berlasso wrote: Technically speaking, that's not wrong (at least, not completely): it's possible to have a book without "parts", but if you try to write subsections without sections you'll have problems. "Parts" are optional and in fact they have "level -1" assigned (chapters are "level 0"). Ricardo, Yes, a book class does not require Parts, but that's still the maximum sectioning possible for that class. Chapter is not the maximum. That's the point I tried to make. Regards, Rich
Re: Help manual correction
2017-12-20 20:51 GMT+01:00 Rich Shepard: > I'm not subscribed to lists other than this one so I'll report a > discrepancy here. > > In the User Guide, Section 3.1.2.5 (properties) is a table of major class > properties. The table shows the maximum sectioning level for book classes > as > 'Chapter' when it should be 'Part.' > Technically speaking, that's not wrong (at least, not completely): it's possible to have a book without "parts", but if you try to write subsections without sections you'll have problems. "Parts" are optional and in fact they have "level -1" assigned (chapters are "level 0"). But yes, the table you indicate could be better. Maybe something similar to the table in https://en.wikibooks.org/wiki/LaTeX/Document_Structure#Sectioning_commands but adapted to LyX would be clearer. Regards, Ricardo > > Happy holidays, all, > > Rich >
Help manual correction
I'm not subscribed to lists other than this one so I'll report a discrepancy here. In the User Guide, Section 3.1.2.5 (properties) is a table of major class properties. The table shows the maximum sectioning level for book classes as 'Chapter' when it should be 'Part.' Happy holidays, all, Rich
Re: Vertical space between sections
Le 20/12/2017 à 09:28, Serge Vouillarmet a écrit : Dir Sir or Madam, I already searched this problem in wiki and the documentations, but I couldn’t fix it. Hello Serge, For example before chapter the space has to be 40pt, after it 30pt, and then should be next the text. I adjusted the stdlayout.inc file (TopSep, BottomSep), LyX interpreted it right, but in the pdf, there were no changes. Indeed, the layout file mostly show on screen what the LaTeX class does. Then I tried it with KOMA-Script: \RedeclareSectionCommand[beforeskip=42pt, afterskip=30pt]{chapter} I got an error, that \begin{document} is missing, then I tried several places in the document to put it in, but the error was still there. Put this command in the preamble (in French Documents>Paramètres>Préambule LaTeX). JMarc
Vertical space between sections
Dir Sir or Madam, I already searched this problem in wiki and the documentations, but I couldn't fix it. I'm using the article class for my master's thesis and I have to put defined vertical spaces before and after chapter-, section- and subsection-headings. For example before chapter the space has to be 40pt, after it 30pt, and then should be next the text. I adjusted the stdlayout.inc file (TopSep, BottomSep), LyX interpreted it right, but in the pdf, there were no changes. Then I tried it with KOMA-Script: \RedeclareSectionCommand[beforeskip=42pt, afterskip=30pt]{chapter} I got an error, that \begin{document} is missing, then I tried several places in the document to put it in, but the error was still there. Can you help me? Kind Regards Serge Vouillarmet