change date position in a koma letter class

2011-06-06 Thread Giovanni Bacci

  Hello. Maybe this question is a little off topic, so excuse me, but
i'm trying to change the date field position in a koma-letter2 class,
without any success. Already googled without success. If someone have
some hints...

Thanks,
  Giovanni


Re: change date position in a koma letter class

2011-06-07 Thread Giovanni Bacci

  martedì 07 giugno 2011, 05:23, Jürgen Spitzmüller:

 See section 6.3.4 of the KOMA class manual, The Pseudo-Lengths. The
 date is par of the reference fields line, so e.g.
 
 % shift vertical position by 3cm
 \@addtoplength{refvpos}{3cm}
 % define ref line width
 \@addtoplength{refwidth}{6cm}
 % horizontally place ref line
 \@addtoplength{refhpos}{5cm}

  it worked like a charm!

thanks a lot!
G.


equation and tikz problem

2009-11-07 Thread Giovanni Bacci

  Hi all! I'm experiencing a strange behaviour. A bug i suppose.
Anyway, i cannot compile the attached simple document.
Removing /usepackage{tikz} from the preamble makes everything goes
fine. It's a bug? Or i doing something wrong?

btw:
lyx 1.6.4 on FedoraCore 10
pdflatex --version
pdfTeX using libpoppler 3.141592-1.40.3-2.2 (Web2C 7.5.6)
[...]
Compiled with libpng 1.2.31; using libpng 1.2.37
Compiled with zlib 1.2.3; using zlib 1.2.3
Compiled with libpoppler version 3.00

Thanks,
  Giovanni

tikz-bug-test.lyx
Description: application/lyx


Re: equation and tikz problem

2009-11-07 Thread Giovanni Bacci

  sabato 07 novembre 2009, 16:27, Jürgen Spitzmüller:

 Giovanni Bacci wrote:
  Hi all! I'm experiencing a strange behaviour. A bug i suppose.
  Anyway, i cannot compile the attached simple document.
  Removing /usepackage{tikz} from the preamble makes everything goes
  fine. It's a bug? Or i doing something wrong?
 
 The document compiles fine for me.

  I've tried exporting in pdflatex and doing pdflatex file.tex
directly, and i get the attached error. Maybe it depends on pdflatex or
pgf/tikz version? Or there's something misconfigured in my computer?

Thanks,
  Giovanni


tikz-bug-test.log.gz
Description: GNU Zip compressed data


Re: equation and tikz problem

2009-11-07 Thread Giovanni Bacci

  sabato 07 novembre 2009, 16:42, Jürgen Spitzmüller:

 Giovanni Bacci wrote:
  I've tried exporting in pdflatex and doing pdflatex file.tex
  directly, and i get the attached error.
 
 FYI this error log can also be obtained directly in LyX (Document -
 LaTeX Log File)

  I'm not aware of this. Thank for the info.

  Maybe it depends on pdflatex or
  pgf/tikz version? Or there's something misconfigured in my computer?
 
 Probably an old, buggy pgf version? Here is my file list (you get
 such a list in the log file by inserting \listfiles to the preamble):

  Yes, probably it's the case. Here's:
tikz.sty2006/10/17 v1.10 (rcs-revision 1.68)  
pgf.sty2006/10/11 v1.10 (rcs-revision 1.7)

  I'll try to upgrade. Thanks for pointing me in the right direction.

Giovanni


change subject alignment in letter koma-script v.2

2010-02-14 Thread Giovanni Bacci

  Hi list. I've a problem non strictly about lyx, but i hope to get an
answer, maybe useful for other lyxer too.
Anyway, I'd like to know if it's possible to change subject alignment
in a letter koma-script v.2 class. As an option i can only choose
{before,after}opening and titled/untitled. Both of them came with
a center aligned text. But what i'd like to obtain is a left justified
alignment. I've googled a bit, but without finding any clue.
  Any hints?

Thanks,
  Giovanni


Re: change subject alignment in letter koma-script v.2

2010-02-14 Thread Giovanni Bacci

  domenica 14 febbraio 2010, 22:26, Jean-Marie Pacquet:

 Default subject (i.e. beforeopening and untitled) is left justified. 
 Only the title (if selected) is centered. This can be seen on figure 
 6.1: Schematic of letter paper's pseudo lengths.
 So I don't really understand your request: do you want the title to
 be left justified?

  I've attached an example. As you can see, setting
subject=afteropening cause the object to be centered in the page. What
i'd like to have is a left-aligned subject line, exactly as it's with
subject=beforeopening

Thanks,
  Giovanni

newfile1.pdf
Description: Adobe PDF document


lyx and beamer class

2010-03-03 Thread Giovanni Bacci

  Hi all! I'm trying to do a presentation with the beamer class inside
LyX. I'd like to pass an option to the itemize environment. In plain
latex:
\begin{itemize}[+-]

It's possible to do this directly in LyX, without writing all the
itemize code in an ERT?

Thanks,
  Giovanni


Re: lyx and beamer class

2010-03-03 Thread Giovanni Bacci

  mercoledì 03 marzo 2010, 20:07, Paul Rubin:

 Giovanni Bacci s206...@... writes:
 
Hi all! I'm trying to do a presentation with the beamer class
  inside LyX. I'd like to pass an option to the itemize environment.
  In plain latex:
  \begin{itemize}[+-]
  
  It's possible to do this directly in LyX, without writing all the
  itemize code in an ERT?
 
 Start an itemize list, put the cursor at the start of the first item,
 click Insert  Short Title (the fact that the menu label is not
 intuitive has been discussed before), and type in +- (but not the
 brackets).

  worked like a charm!

Thanks for the trick.
G.


language and master and child documents

2009-04-21 Thread Giovanni Bacci

  Hi all. I've discovered a (maybe) strange behaviour:
- master document, language=italian
- child document, language=english

  When i pdflatex the master document, the resulting document follow
the italian setting til the point where the child document it's
inserted, then starting with english. And it looks like that, if a
third child document (with lang=italian) it's included after the
second one, it still follow the english setting. All this whit lyx
1.6.2.
  So i'm just wondering:
- the master document setting should't be applied to the whole
document? I mean, master language=it, sot all the doc is IT, ignoring
the child docs settings
-  if the latter it's wrong, then when a third doc, whit lang=IT it's
loaded, the resulting doc should be IT-EN-IT again.

Thanks,
  Giovanni

-- 
By the time they had diminished from 50 to 8, the other dwarves began
to suspect Hungry.
-- a Larson cartoon


Re: language and master and child documents

2009-04-21 Thread Giovanni Bacci

  martedì 21 aprile 2009, 22:17, Jean-Marc Lasgouttes:

 Giovanni Bacci s206...@studenti.ing.unipi.it writes:
  
  - the master document setting should't be applied to the whole
  document? I mean, master language=it, sot all the doc is IT,
  ignoring the child docs settings
 
 The language is a property of the text, not tthe document, so this is
 normal.

  Well, if the language setting is in the document setting, i think
letting the master setting prevale will be a more reasonable meaning.

  -  if the latter it's wrong, then when a third doc, whit lang=IT
  it's loaded, the resulting doc should be IT-EN-IT again.
 
 This seems wrong indeed. Could you provide an example file?

  Attached it's a simple example. It should be Figura 1 Figure 2
and Figura 3 again.

Thanks,
  Giovanni


LyX_test.tar.gz
Description: GNU Zip compressed data


merge .tex document in a .lyx one

2009-09-11 Thread Giovanni Bacci

  Hi all. I would like to know if it's possible to merge a latex
document in another .lyx file. I've tried with include/input but
without any success. This approach it's ok if i remove all the preamble
stuff, but then i have to merge manually the two docs preambles.
  Any hints?

Thanks,
  Giovanni

-- 
Reality -- what a concept!
-- Robin Williams


change date position in a koma letter class

2011-06-06 Thread Giovanni Bacci

  Hello. Maybe this question is a little off topic, so excuse me, but
i'm trying to change the date field position in a koma-letter2 class,
without any success. Already googled without success. If someone have
some hints...

Thanks,
  Giovanni


Re: change date position in a koma letter class

2011-06-07 Thread Giovanni Bacci

  martedì 07 giugno 2011, 05:23, Jürgen Spitzmüller:

 See section 6.3.4 of the KOMA class manual, The Pseudo-Lengths. The
 date is par of the reference fields line, so e.g.
 
 % shift vertical position by 3cm
 \@addtoplength{refvpos}{3cm}
 % define ref line width
 \@addtoplength{refwidth}{6cm}
 % horizontally place ref line
 \@addtoplength{refhpos}{5cm}

  it worked like a charm!

thanks a lot!
G.


equation and tikz problem

2009-11-07 Thread Giovanni Bacci

  Hi all! I'm experiencing a strange behaviour. A bug i suppose.
Anyway, i cannot compile the attached simple document.
Removing /usepackage{tikz} from the preamble makes everything goes
fine. It's a bug? Or i doing something wrong?

btw:
lyx 1.6.4 on FedoraCore 10
pdflatex --version
pdfTeX using libpoppler 3.141592-1.40.3-2.2 (Web2C 7.5.6)
[...]
Compiled with libpng 1.2.31; using libpng 1.2.37
Compiled with zlib 1.2.3; using zlib 1.2.3
Compiled with libpoppler version 3.00

Thanks,
  Giovanni

tikz-bug-test.lyx
Description: application/lyx


Re: equation and tikz problem

2009-11-07 Thread Giovanni Bacci

  sabato 07 novembre 2009, 16:27, Jürgen Spitzmüller:

 Giovanni Bacci wrote:
  Hi all! I'm experiencing a strange behaviour. A bug i suppose.
  Anyway, i cannot compile the attached simple document.
  Removing /usepackage{tikz} from the preamble makes everything goes
  fine. It's a bug? Or i doing something wrong?
 
 The document compiles fine for me.

  I've tried exporting in pdflatex and doing pdflatex file.tex
directly, and i get the attached error. Maybe it depends on pdflatex or
pgf/tikz version? Or there's something misconfigured in my computer?

Thanks,
  Giovanni


tikz-bug-test.log.gz
Description: GNU Zip compressed data


Re: equation and tikz problem

2009-11-07 Thread Giovanni Bacci

  sabato 07 novembre 2009, 16:42, Jürgen Spitzmüller:

 Giovanni Bacci wrote:
  I've tried exporting in pdflatex and doing pdflatex file.tex
  directly, and i get the attached error.
 
 FYI this error log can also be obtained directly in LyX (Document -
 LaTeX Log File)

  I'm not aware of this. Thank for the info.

  Maybe it depends on pdflatex or
  pgf/tikz version? Or there's something misconfigured in my computer?
 
 Probably an old, buggy pgf version? Here is my file list (you get
 such a list in the log file by inserting \listfiles to the preamble):

  Yes, probably it's the case. Here's:
tikz.sty2006/10/17 v1.10 (rcs-revision 1.68)  
pgf.sty2006/10/11 v1.10 (rcs-revision 1.7)

  I'll try to upgrade. Thanks for pointing me in the right direction.

Giovanni


change subject alignment in letter koma-script v.2

2010-02-14 Thread Giovanni Bacci

  Hi list. I've a problem non strictly about lyx, but i hope to get an
answer, maybe useful for other lyxer too.
Anyway, I'd like to know if it's possible to change subject alignment
in a letter koma-script v.2 class. As an option i can only choose
{before,after}opening and titled/untitled. Both of them came with
a center aligned text. But what i'd like to obtain is a left justified
alignment. I've googled a bit, but without finding any clue.
  Any hints?

Thanks,
  Giovanni


Re: change subject alignment in letter koma-script v.2

2010-02-14 Thread Giovanni Bacci

  domenica 14 febbraio 2010, 22:26, Jean-Marie Pacquet:

 Default subject (i.e. beforeopening and untitled) is left justified. 
 Only the title (if selected) is centered. This can be seen on figure 
 6.1: Schematic of letter paper's pseudo lengths.
 So I don't really understand your request: do you want the title to
 be left justified?

  I've attached an example. As you can see, setting
subject=afteropening cause the object to be centered in the page. What
i'd like to have is a left-aligned subject line, exactly as it's with
subject=beforeopening

Thanks,
  Giovanni

newfile1.pdf
Description: Adobe PDF document


lyx and beamer class

2010-03-03 Thread Giovanni Bacci

  Hi all! I'm trying to do a presentation with the beamer class inside
LyX. I'd like to pass an option to the itemize environment. In plain
latex:
\begin{itemize}[+-]

It's possible to do this directly in LyX, without writing all the
itemize code in an ERT?

Thanks,
  Giovanni


Re: lyx and beamer class

2010-03-03 Thread Giovanni Bacci

  mercoledì 03 marzo 2010, 20:07, Paul Rubin:

 Giovanni Bacci s206...@... writes:
 
Hi all! I'm trying to do a presentation with the beamer class
  inside LyX. I'd like to pass an option to the itemize environment.
  In plain latex:
  \begin{itemize}[+-]
  
  It's possible to do this directly in LyX, without writing all the
  itemize code in an ERT?
 
 Start an itemize list, put the cursor at the start of the first item,
 click Insert  Short Title (the fact that the menu label is not
 intuitive has been discussed before), and type in +- (but not the
 brackets).

  worked like a charm!

Thanks for the trick.
G.


language and master and child documents

2009-04-21 Thread Giovanni Bacci

  Hi all. I've discovered a (maybe) strange behaviour:
- master document, language=italian
- child document, language=english

  When i pdflatex the master document, the resulting document follow
the italian setting til the point where the child document it's
inserted, then starting with english. And it looks like that, if a
third child document (with lang=italian) it's included after the
second one, it still follow the english setting. All this whit lyx
1.6.2.
  So i'm just wondering:
- the master document setting should't be applied to the whole
document? I mean, master language=it, sot all the doc is IT, ignoring
the child docs settings
-  if the latter it's wrong, then when a third doc, whit lang=IT it's
loaded, the resulting doc should be IT-EN-IT again.

Thanks,
  Giovanni

-- 
By the time they had diminished from 50 to 8, the other dwarves began
to suspect Hungry.
-- a Larson cartoon


Re: language and master and child documents

2009-04-21 Thread Giovanni Bacci

  martedì 21 aprile 2009, 22:17, Jean-Marc Lasgouttes:

 Giovanni Bacci s206...@studenti.ing.unipi.it writes:
  
  - the master document setting should't be applied to the whole
  document? I mean, master language=it, sot all the doc is IT,
  ignoring the child docs settings
 
 The language is a property of the text, not tthe document, so this is
 normal.

  Well, if the language setting is in the document setting, i think
letting the master setting prevale will be a more reasonable meaning.

  -  if the latter it's wrong, then when a third doc, whit lang=IT
  it's loaded, the resulting doc should be IT-EN-IT again.
 
 This seems wrong indeed. Could you provide an example file?

  Attached it's a simple example. It should be Figura 1 Figure 2
and Figura 3 again.

Thanks,
  Giovanni


LyX_test.tar.gz
Description: GNU Zip compressed data


merge .tex document in a .lyx one

2009-09-11 Thread Giovanni Bacci

  Hi all. I would like to know if it's possible to merge a latex
document in another .lyx file. I've tried with include/input but
without any success. This approach it's ok if i remove all the preamble
stuff, but then i have to merge manually the two docs preambles.
  Any hints?

Thanks,
  Giovanni

-- 
Reality -- what a concept!
-- Robin Williams


change date position in a koma letter class

2011-06-06 Thread Giovanni Bacci

  Hello. Maybe this question is a little off topic, so excuse me, but
i'm trying to change the "date" field position in a koma-letter2 class,
without any success. Already googled without success. If someone have
some hints...

Thanks,
  Giovanni


Re: change date position in a koma letter class

2011-06-07 Thread Giovanni Bacci

  martedì 07 giugno 2011, 05:23, Jürgen Spitzmüller:

> See section 6.3.4 of the KOMA class manual, "The Pseudo-Lengths". The
> date is par of the reference fields line, so e.g.
> 
> % shift vertical position by 3cm
> \@addtoplength{refvpos}{3cm}
> % define ref line width
> \@addtoplength{refwidth}{6cm}
> % horizontally place ref line
> \@addtoplength{refhpos}{5cm}

  it worked like a charm!

thanks a lot!
G.


equation and tikz problem

2009-11-07 Thread Giovanni Bacci

  Hi all! I'm experiencing a strange behaviour. A bug i suppose.
Anyway, i cannot compile the attached simple document.
Removing /usepackage{tikz} from the preamble makes everything goes
fine. It's a bug? Or i doing something wrong?

btw:
lyx 1.6.4 on FedoraCore 10
pdflatex --version
pdfTeX using libpoppler 3.141592-1.40.3-2.2 (Web2C 7.5.6)
[...]
Compiled with libpng 1.2.31; using libpng 1.2.37
Compiled with zlib 1.2.3; using zlib 1.2.3
Compiled with libpoppler version 3.00

Thanks,
  Giovanni

tikz-bug-test.lyx
Description: application/lyx


Re: equation and tikz problem

2009-11-07 Thread Giovanni Bacci

  sabato 07 novembre 2009, 16:27, Jürgen Spitzmüller:

> Giovanni Bacci wrote:
> > Hi all! I'm experiencing a strange behaviour. A bug i suppose.
> > Anyway, i cannot compile the attached simple document.
> > Removing /usepackage{tikz} from the preamble makes everything goes
> > fine. It's a bug? Or i doing something wrong?
> 
> The document compiles fine for me.

  I've tried exporting in pdflatex and doing pdflatex file.tex
directly, and i get the attached error. Maybe it depends on pdflatex or
pgf/tikz version? Or there's something misconfigured in my computer?

Thanks,
  Giovanni


tikz-bug-test.log.gz
Description: GNU Zip compressed data


Re: equation and tikz problem

2009-11-07 Thread Giovanni Bacci

  sabato 07 novembre 2009, 16:42, Jürgen Spitzmüller:

> Giovanni Bacci wrote:
> > I've tried exporting in pdflatex and doing pdflatex file.tex
> > directly, and i get the attached error.
> 
> FYI this error log can also be obtained directly in LyX (Document ->
> LaTeX Log File)

  I'm not aware of this. Thank for the info.

> > Maybe it depends on pdflatex or
> > pgf/tikz version? Or there's something misconfigured in my computer?
> 
> Probably an old, buggy pgf version? Here is my file list (you get
> such a list in the log file by inserting \listfiles to the preamble):

  Yes, probably it's the case. Here's:
tikz.sty2006/10/17 v1.10 (rcs-revision 1.68)  
pgf.sty2006/10/11 v1.10 (rcs-revision 1.7)

  I'll try to upgrade. Thanks for pointing me in the right direction.

Giovanni


change subject alignment in letter koma-script v.2

2010-02-14 Thread Giovanni Bacci

  Hi list. I've a problem non strictly about lyx, but i hope to get an
answer, maybe useful for other lyxer too.
Anyway, I'd like to know if it's possible to change subject alignment
in a letter koma-script v.2 class. As an option i can only choose
{before,after}opening and titled/untitled. Both of them came with
a center aligned text. But what i'd like to obtain is a left justified
alignment. I've googled a bit, but without finding any clue.
  Any hints?

Thanks,
  Giovanni


Re: change subject alignment in letter koma-script v.2

2010-02-14 Thread Giovanni Bacci

  domenica 14 febbraio 2010, 22:26, Jean-Marie Pacquet:

> Default subject (i.e. beforeopening and untitled) is left justified. 
> Only the title (if selected) is centered. This can be seen on figure 
> 6.1: Schematic of letter paper's pseudo lengths.
> So I don't really understand your request: do you want the title to
> be left justified?

  I've attached an example. As you can see, setting
subject=afteropening cause the object to be centered in the page. What
i'd like to have is a left-aligned subject line, exactly as it's with
subject=beforeopening

Thanks,
  Giovanni

newfile1.pdf
Description: Adobe PDF document


lyx and beamer class

2010-03-03 Thread Giovanni Bacci

  Hi all! I'm trying to do a presentation with the beamer class inside
LyX. I'd like to pass an option to the itemize environment. In plain
latex:
\begin{itemize}[<+->]

It's possible to do this directly in LyX, without writing all the
itemize code in an ERT?

Thanks,
  Giovanni


Re: lyx and beamer class

2010-03-03 Thread Giovanni Bacci

  mercoledì 03 marzo 2010, 20:07, Paul Rubin:

> Giovanni Bacci <s206...@...> writes:
> 
> >   Hi all! I'm trying to do a presentation with the beamer class
> > inside LyX. I'd like to pass an option to the itemize environment.
> > In plain latex:
> > \begin{itemize}[<+->]
> > 
> > It's possible to do this directly in LyX, without writing all the
> > itemize code in an ERT?
> 
> Start an itemize list, put the cursor at the start of the first item,
> click Insert > Short Title (the fact that the menu label is not
> intuitive has been discussed before), and type in <+-> (but not the
> brackets).

  worked like a charm!

Thanks for the trick.
G.


language and master and child documents

2009-04-21 Thread Giovanni Bacci

  Hi all. I've discovered a (maybe) strange behaviour:
- master document, language=italian
- child document, language=english

  When i pdflatex the master document, the resulting document follow
the italian setting til the point where the child document it's
inserted, then starting with english. And it looks like that, if a
third child document (with lang=italian) it's included after the
second one, it still follow the english setting. All this whit lyx
1.6.2.
  So i'm just wondering:
- the master document setting should't be applied to the whole
document? I mean, master language=it, sot all the doc is IT, ignoring
the child docs settings
-  if the latter it's wrong, then when a third doc, whit lang=IT it's
loaded, the resulting doc should be IT-EN-IT again.

Thanks,
  Giovanni

-- 
"By the time they had diminished from 50 to 8, the other dwarves began
to suspect "Hungry."
-- a Larson cartoon


Re: language and master and child documents

2009-04-21 Thread Giovanni Bacci

  martedì 21 aprile 2009, 22:17, Jean-Marc Lasgouttes:

> Giovanni Bacci <s206...@studenti.ing.unipi.it> writes:
> > 
> > - the master document setting should't be applied to the whole
> > document? I mean, master language=it, sot all the doc is IT,
> > ignoring the child docs settings
> 
> The language is a property of the text, not tthe document, so this is
> normal.

  Well, if the language setting is in the document setting, i think
letting the master setting prevale will be a more reasonable meaning.

> > -  if the latter it's wrong, then when a third doc, whit lang=IT
> > it's loaded, the resulting doc should be IT-EN-IT again.
> 
> This seems wrong indeed. Could you provide an example file?

  Attached it's a simple example. It should be "Figura 1" "Figure 2"
and "Figura 3" again.

Thanks,
  Giovanni


LyX_test.tar.gz
Description: GNU Zip compressed data


merge .tex document in a .lyx one

2009-09-11 Thread Giovanni Bacci

  Hi all. I would like to know if it's possible to "merge" a latex
document in another .lyx file. I've tried with include/input but
without any success. This approach it's ok if i remove all the preamble
stuff, but then i have to merge manually the two docs preambles.
  Any hints?

Thanks,
  Giovanni

-- 
Reality -- what a concept!
-- Robin Williams