Re: Footnotes in titles

2013-10-29 Thread Guenter Milde
On 2013-10-28, Sebastien wrote:
 Wolfgang Engelmann engelmann at uni-tuebingen.de writes:

 Is there a
  way to change the formatting of the footnote mark within a title, in
  order to make the footnote mark less obtrusive at this particular
  place? I've tried a number of things but none of them work.

This is a rather uncommon (but not unreasonable) request. I am quite sure
there is a way, at least with ERT.

If I were you, I would try to get this working in LaTeX first, asking at the
comp.text.tex usenet list. Then I would try to get LyX to generate the
required LaTeX code.

Günter



Submit Latex file to elsevier

2013-10-29 Thread Rahayu Prihatin
Hi people,


I would like to submit an article to Elsevier in Latex form. Suppose I
export the Lyx file to Latex, what else should I do to get clean Latex
version. Does Lyx produce some unnecessary Latex codes or is it already the
clean one?
I never used Latex in command line, so I have no sense whether the exported
.tex file is already clean or not.

Could anybody give me detail steps please?
Your help is very appreciated.
Thank you in advance.

Cheer,

Rahayu


ubuntu 13.10 - changing language causes error

2013-10-29 Thread Miguel Negrão
Hi

I've updated from ubuntu 13.04 to ubuntu 13.10 and now any document with
non english language causes this error:

 Package: babel 2013/05/16 v3.9f The Babel package
 
 ! Package babel Error: You haven't specified a language option.
 
 See the babel package documentation for explanation.
 Type  H return  for immediate help.
  ...  
   
 l.326 ...ry to proceed from here, type x to quit.}
   
 You need to specify a language, either as a global option
 or as an optional argument to the \usepackage command;
 You shouldn't try to proceed from here, type x to quit.
 
 )
 
 LaTeX Warning: Unused global option(s):
 [esperanto].
 
 No file newfile1.aux.
 \openout1 = `newfile1.aux'.

This looks like a bug...

Can anyone else reproduce ?

thank you,
-- 
Miguel Negrão
http://www.friendlyvirus.org/miguelnegrao

simple example that causes the  error:

#LyX 2.0 created this file. For more info see http://www.lyx.org/
\lyxformat 413
\begin_document
\begin_header
\textclass article
\use_default_options true
\maintain_unincluded_children false
\language esperanto
\language_package default
\inputencoding auto
\fontencoding global
\font_roman default
\font_sans default
\font_typewriter default
\font_default_family default
\use_non_tex_fonts false
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100

\graphics default
\default_output_format default
\output_sync 0
\bibtex_command default
\index_command default
\paperfontsize default
\spacing single
\use_hyperref false
\papersize default
\use_geometry false
\use_amsmath 1
\use_esint 1
\use_mhchem 1
\use_mathdots 1
\cite_engine basic
\use_bibtopic false
\use_indices false
\paperorientation portrait
\suppress_date false
\use_refstyle 1
\index Index
\shortcut idx
\color #008000
\end_index
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\paragraph_indentation default
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\html_math_output 0
\html_css_as_file 0
\html_be_strict false
\end_header

\begin_body

\begin_layout Standard
test
\end_layout

\end_body
\end_document



signature.asc
Description: OpenPGP digital signature


Re: Logic: Tableau Proofs (again)

2013-10-29 Thread William Hanson
Well, that didn't work either.  Sorry for the big message with all the
junk.  I hope some of you will be able to open the attachment.

Bill


On Tue, Oct 29, 2013 at 9:49 AM, William Hanson whan...@umn.edu wrote:

 Dear All,

 Many thanks to Ernesto Posse for the very detailed and helpful response.
 However, what I'm trying to do is eliminate *all* the lines between nodes
 *except* those that indicate a genuine branching of the tree.  In other
 words, I want the overall structure of the tree to look like the following
 (which I tried to attach to my previous messages, but which apparently
 could not be opened).  As usual, any and all help is appreciated.

 Bill






 On Mon, Oct 28, 2013 at 3:45 PM, Ernesto Posse epo...@cs.queensu.cawrote:

 I'm unable to see your attachment, but if I understand what you want, the
 simplest approach is to create phantom nodes in the tree. This can be
 achieved with child [missing] as in the following examples:

 First, a simple tree with two nodes: A and B; A is the root, and B is
 directly below it:

 \begin{tikzpicture}

 \node {A}

child {node {B}};

 \end{tikzpicture}

 Then with node B towards the left:

 \begin{tikzpicture}

 \node {A}

child {node {B}}

child [missing];

 \end{tikzpicture}

 and now, with B towards the right:

 \begin{tikzpicture}

 \node {A}
child [missing]

child {node {B}};

 \end{tikzpicture}

 Now, with your example (I changed the numbers in the nodes, for
 reference):

 \begin{tikzpicture}

 \node {$1.~\neg ((p \lor (p \land q)) \limp p)$}

child {node {$2.~ p \lor (p \land q)$}

   child [missing]

   child {node {$3.~ \neg p $}

  child {node {$4.~ \ p $}}

  child {node {$5.~ p \land q$}

 child [missing]

 child {node {$6.~ p $}

child {node {$7.~ q $}}

child [missing]

child [missing];

 \end{tikzpicture}


 As indicated in the examples above, the position of the child [missing]
 relative to its siblings determines where you get the child nodes. Of
 course you can also add any number of missing children, which increases the
 angle:


 \begin{tikzpicture}

 \node {A}
child [missing]
child [missing]

child {node {B}};

 \end{tikzpicture}

 Furthermore, you can control the distance between sibling nodes:

 \begin{tikzpicture}[sibling distance=4cm]

 \node {A}

child {node {B}}

child {node {C}};

 \end{tikzpicture}


 and even the distance between levels:


 \begin{tikzpicture}[sibling distance=4cm,level distance=5cm]

 \node {A}

child {node {B}}

child {node {C}};

 \end{tikzpicture}


 On Mon, Oct 28, 2013 at 4:06 PM, William Hanson whan...@umn.edu wrote:

 Dear LyX Colleagues,

 I'm still trying to create tableau proofs, which are branching columns
 of text, as illustrated in the attachment.

 Ernesto Posse's sample tableau (below) is helpful, but it contains two
 features I don't want:

 1.  Two sentences at a node, separated by commas.  I want just one
 sentence at each node, as in the attached sample.  I've been figured out
 how to solve this problem by modifying Ernesto's code as follows:

 \def\land{\wedge}
 \def\lor{\vee}
 \def\limp{\to}
 \begin{tikzpicture}
 \node {$1\neg ((p \lor (p \land q)) \limp p)$}
 child {node {$ 1 p \lor (p \land q)$}
 child {node {$1 \neg p $}
 child {node {$1 \ p $}}
 child {node {$1 p \land q$}
 child {node {$1 p $}
 child {node {$1 q $}};
 \end{tikzpicture}

 2.  But the foregoing code retains another feature I don't want:
 vertical lines from node to node when there is no branching.  I want only
 the (approximately) 45 degree (and 315 degree) lines that indicate
 branching, as on the attached sample.

 I've used LyX for several years, but I don't know LaTeX.

 Any and all help appreciated.

 Bill





 [image: Sample 
 Tableau.pdf]https://mail.google.com/mail/u/0/?ui=2ik=fcb7343f58view=attth=141e0e8e8016ae7fattid=0.1disp=saferealattid=f_hn3bnlm80zw
 *Sample Tableau.pdf*
 146K   
 Viewhttps://docs.google.com/viewer?a=vpid=gmailattid=0.1thid=141e0e8e8016ae7fmt=application/pdfauthuser=0url=https://mail.google.com/mail/u/0/?ui%3D2%26ik%3Dfcb7343f58%26view%3Datt%26th%3D141e0e8e8016ae7f%26attid%3D0.1%26disp%3Dsafe%26realattid%3Df_hn3bnlm80%26zwsig=AHIEtbQpDR5qvKd2TSh_O5cOhrpoG-Owmg
 Downloadhttps://mail.google.com/mail/u/0/?ui=2ik=fcb7343f58view=attth=141e0e8e8016ae7fattid=0.1disp=saferealattid=f_hn3bnlm80zw

 Ernesto Posse epo...@cs.queensu.ca
 Oct 22 (6 days ago)

  to me, lyx-users
 Hello. The easiest (and nicest) way to do this is using the tikz
 package: in the preamble put

 \usepackage{tikz}

 and then, wherever you want the tableau, put in a TeX box the following:

 \def\land{\wedge}

 \def\lor{\vee}

 \def\limp{\to}

 \begin{tikzpicture}

 \node {$\{\neg ((p \lor (p \land q)) \limp p)\}$}


Re: ubuntu 13.10 - changing language causes error

2013-10-29 Thread Stephan Witt
Am 29.10.2013 um 15:45 schrieb Miguel Negrão 
miguel.negrao-li...@friendlyvirus.org:

 Hi
 
 I've updated from ubuntu 13.04 to ubuntu 13.10 and now any document with
 non english language causes this error:
 
 Package: babel 2013/05/16 v3.9f The Babel package
 
 ! Package babel Error: You haven't specified a language option.
 
 See the babel package documentation for explanation.
 Type  H return  for immediate help.
 ...  
 
 l.326 ...ry to proceed from here, type x to quit.}
 
 You need to specify a language, either as a global option
 or as an optional argument to the \usepackage command;
 You shouldn't try to proceed from here, type x to quit.
 
 )
 
 LaTeX Warning: Unused global option(s):
[esperanto].
 
 No file newfile1.aux.
 \openout1 = `newfile1.aux'.
 
 This looks like a bug…

The question is: where is it?

 
 Can anyone else reproduce ?

No, I cannot reproduce it with LyX 2.0.5 on Mac OS X.

Did you install any language package/option for your LaTeX engine?

Regards,
Stephan

 thank you,
 -- 
 Miguel Negrão
 http://www.friendlyvirus.org/miguelnegrao
 
 simple example that causes the  error:
 
 #LyX 2.0 created this file. For more info see http://www.lyx.org/
 \lyxformat 413
 \begin_document
 \begin_header
 \textclass article
 \use_default_options true
 \maintain_unincluded_children false
 \language esperanto
 \language_package default
 \inputencoding auto
 \fontencoding global
 \font_roman default
 \font_sans default
 \font_typewriter default
 \font_default_family default
 \use_non_tex_fonts false
 \font_sc false
 \font_osf false
 \font_sf_scale 100
 \font_tt_scale 100
 
 \graphics default
 \default_output_format default
 \output_sync 0
 \bibtex_command default
 \index_command default
 \paperfontsize default
 \spacing single
 \use_hyperref false
 \papersize default
 \use_geometry false
 \use_amsmath 1
 \use_esint 1
 \use_mhchem 1
 \use_mathdots 1
 \cite_engine basic
 \use_bibtopic false
 \use_indices false
 \paperorientation portrait
 \suppress_date false
 \use_refstyle 1
 \index Index
 \shortcut idx
 \color #008000
 \end_index
 \secnumdepth 3
 \tocdepth 3
 \paragraph_separation indent
 \paragraph_indentation default
 \quotes_language english
 \papercolumns 1
 \papersides 1
 \paperpagestyle default
 \tracking_changes false
 \output_changes false
 \html_math_output 0
 \html_css_as_file 0
 \html_be_strict false
 \end_header
 
 \begin_body
 
 \begin_layout Standard
 test
 \end_layout
 
 \end_body
 \end_document
 



Re: ubuntu 13.10 - changing language causes error

2013-10-29 Thread Miguel Negrão
Hi Stepha,

Em 29-10-2013 14:56, Stephan Witt escreveu:
 
 No, I cannot reproduce it with LyX 2.0.5 on Mac OS X.

Ubuntu 13.10 runs Lyx 2.0.6-1.

 Did you install any language package/option for your LaTeX engine?

Ok, that was it, the texlive-lang-portuguese package was missing. After
installing it, everything is working again.


Still, something happened, because before lyx was working fine, and
after the upgrade it stopped working, so perhaps the tex that was
shipping before was different, or the language pack was not re-installed
automatically, or something else...

thank you for your help,
-- 
Miguel Negrão
http://www.friendlyvirus.org/miguelnegrao



signature.asc
Description: OpenPGP digital signature


Re: Submit Latex file to elsevier

2013-10-29 Thread Waluyo Adi Siswanto
When you prepare article using lyx, make sure all figures in the same
folder with your lyx article. You can export to plain latex. Submit your
.tex also all figures. You should be able to get pdf from their system.

regards,
WAS


On 29 October 2013 22:34, Rahayu Prihatin rahayu.p...@gmail.com wrote:

 Hi people,


 I would like to submit an article to Elsevier in Latex form. Suppose I
 export the Lyx file to Latex, what else should I do to get clean Latex
 version. Does Lyx produce some unnecessary Latex codes or is it already the
 clean one?
 I never used Latex in command line, so I have no sense whether the
 exported .tex file is already clean or not.

 Could anybody give me detail steps please?
 Your help is very appreciated.
 Thank you in advance.

 Cheer,

 Rahayu




Re: Logic: Tableau Proofs (again)

2013-10-29 Thread Ernesto Posse
I'm not sure how you are trying to attach files, but it doesn't seem to be
working, so I'm going to try to see if I understand what you want. But I
think the best thing is to work out with a generic example and then you can
apply it to your particular tableau.

First, let us start with a complete binary tree with two levels of depth:

\begin{tikzpicture}
\node {A}
child {node {A1}
 child {node {A11}}
 child {node {A12}}}
child {node {A2}
 child {node {A21}}
 child {node {A22}}};
\end{tikzpicture}

As you see, the root is introduced with the first \node, and each subtree
is introduced with child { ... }. The root of a subtree is the first
node in it: child { node {B} ... }. Additional sub-subtrees follow the
same syntax, with child immediately after the node: child { node {B}
child { node {C} ... }  The structure of the text has the same
structure of the tree you are trying to write.

If you try the example above you'll see that nodes A12 and A21 overlap.
This can be fixed by setting a separation between siblings in each level,
by providing some options at the top, as follows:

\begin{tikzpicture}
[level 1/.style={sibling distance=2cm},
 level 2/.style={sibling distance=1cm}]
\node {A}
child {node {A1}
 child {node {A11}}
 child {node {A12}}}
child {node {A2}
 child {node {A21}}
 child {node {A22}}};
\end{tikzpicture}

Now, you can also make the tree grow in other directions, by adding
[grow=direction] after the root, where direction can be for example
up, down, left or right. For example:

\begin{tikzpicture}
[level 1/.style={sibling distance=2cm},
 level 2/.style={sibling distance=1cm}]
\node {A} [grow=right]
child {node {A1}
 child {node {A11}}
 child {node {A12}}}
child {node {A2}
 child {node {A21}}
 child {node {A22}}};
\end{tikzpicture}

Now, you can modify some edges by adding options to specific branches with
the following syntax child [options] { ... }. Options available include
dashed, dotted, thick, thin, very thick, very thin, red,
blue, green, ..., and even arrow heads such as -, -, and more
fancy styles like: |- or - For example:

\begin{tikzpicture}
[level 1/.style={sibling distance=2cm},
 level 2/.style={sibling distance=1cm}]
\node {A} [grow=right]
child {node {A1}
 child {node {A11}}
 child [dotted] {node {A12}}}
child {node {A2}
 child [dashed, thick, blue, |-] {node {A21}}
 child {node {A22}}};
\end{tikzpicture}

So one possibility is to draw edges with the same colour as the background,
typically white. But, this is not necessarity good, and if instead of
having an edge with a different style, you want no edge at all, then the
syntax is a bit different: child {node {X} edge from parent[draw=none] ...
}. For example:

\begin{tikzpicture}
[level 1/.style={sibling distance=2cm},
 level 2/.style={sibling distance=1cm}]
\node {A} [grow=right]
child {node {A1} edge from parent[draw=none]
 child {node {A11}}
 child {node {A12}}}
child {node {A2}
 child {node {A21} edge from parent[draw=none]}
 child {node {A22}}};
\end{tikzpicture}

And of course, remember the [missing] option to get rid of children:

\begin{tikzpicture}
[level 1/.style={sibling distance=2cm},
 level 2/.style={sibling distance=1cm}]
\node {A} [grow=right]
child {node {A1} edge from parent[draw=none]
 child {node {A11}}
 child {node {A12}}}
child {node {A2}
 child {node {A21} edge from parent[draw=none]}
 child [missing] {node {A22}}};
\end{tikzpicture}


Finally, you can replace the node's text A, A11, etc. with whatever you
want. In particular, in LaTeX, formulae are written in math mode, which
goes inside $...$.

If this doesn't help you might want to try again attaching the file to the
message.



On Tue, Oct 29, 2013 at 10:53 AM, William Hanson whan...@umn.edu wrote:

 Well, that didn't work either.  Sorry for the big message with all the
 junk.  I hope some of you will be able to open the attachment.

 Bill


 On Tue, Oct 29, 2013 at 9:49 AM, William Hanson whan...@umn.edu wrote:

 Dear All,

 Many thanks to Ernesto Posse for the very detailed and helpful response.
 However, what I'm trying to do is eliminate *all* the lines between
 nodes *except* those that indicate a genuine branching of the tree.  In
 other words, I want the overall structure of the tree to look like the
 following (which I tried to attach to my previous messages, but which
 apparently could not be opened).  As usual, any and all help is appreciated.

 Bill






 On Mon, Oct 28, 2013 at 3:45 PM, Ernesto Posse epo...@cs.queensu.cawrote:

 I'm unable to see your attachment, but if I understand what you want,
 the simplest approach is to create phantom nodes in the tree. This can be
 achieved with child [missing] as in the following examples:

 First, a simple tree with two nodes: A and B; A is the root, and B is
 directly below it:

 \begin{tikzpicture}

 \node {A}

child {node {B}};

 \end{tikzpicture}

 Then with node B towards the left:

 \begin{tikzpicture}

 \node {A}

child {node {B}}

child [missing];

 

Beginners need to tweak layout

2013-10-29 Thread Mark Horton
Hi I am a beginner in Lyx and understand a bit about the principles of Latex. 
I understand the advantages of a fixed layout and have seen some code to 
create a simple one. However it looks like a very steep learning curve. 

All I would like to do is 2 little adjustments to the standard book layout. 
It looks fine on A4 paper but when dropping down to A5 paper the space around 
the Chapter heading text is too big and the Chapter heading text is too big.

I believe there are two possible routes, something about a local module to 
override current settings which would be best. Or if possible get the original 
source for the book layout and create my own local layout from it. (But I 
wouldn't know where to find that.. or if it is available)

So much for the principle. Any advice on where to find out about the practice 
(at beginner level) would be appreciated.

(needed but not urgently required)

Best Regards

Mark H  :-)




Re: Submit Latex file to elsevier

2013-10-29 Thread Murat Yildizoglu
I think you also need to upload the .bbl file if you use bibtex (or the
equivalent if you use biblatex).

Le mardi 29 octobre 2013, Waluyo Adi Siswanto a écrit :

 When you prepare article using lyx, make sure all figures in the same
 folder with your lyx article. You can export to plain latex. Submit your
 .tex also all figures. You should be able to get pdf from their system.

 regards,
 WAS


 On 29 October 2013 22:34, Rahayu Prihatin 
 rahayu.p...@gmail.comjavascript:_e({}, 'cvml', 'rahayu.p...@gmail.com');
  wrote:

 Hi people,


 I would like to submit an article to Elsevier in Latex form. Suppose I
 export the Lyx file to Latex, what else should I do to get clean Latex
 version. Does Lyx produce some unnecessary Latex codes or is it already the
 clean one?
 I never used Latex in command line, so I have no sense whether the
 exported .tex file is already clean or not.

 Could anybody give me detail steps please?
 Your help is very appreciated.
 Thank you in advance.

 Cheer,

 Rahayu




-- 
Prof. Murat Yildizoglu

Université Montesquieu Bordeaux IV
GREThA (UMR CNRS 5113)
Avenue Léon Duguit
33608 Pessac cedex
France

Bureau : E-331

mail: yildi-at-u-bordeaux4.fr

web: yildizoglu.info


Re: Beginners need to tweak layout

2013-10-29 Thread Rich Shepard

On Tue, 29 Oct 2013, Mark Horton wrote:


All I would like to do is 2 little adjustments to the standard book
layout. It looks fine on A4 paper but when dropping down to A5 paper the
space around the Chapter heading text is too big and the Chapter heading
text is too big.


Mark,

  Look in Documents - Settings. You can adjust margins, text layout, and
other aspects of the page right there. You can also alter font attributes
by specifying a different size using ERT (i.e., insert the LaTeX code for
that word or phrase). There's probably a menu item for this, too, but when I
need to change a text size I do it with the LaTeX command.

Rich

--
Richard B. Shepard, Ph.D.  |  Have knowledge, will travel.
Applied Ecosystem Services, Inc.   |
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863



Re: Beginners need to tweak layout

2013-10-29 Thread Guenter Milde
On 2013-10-29, Mark Horton wrote:
 Hi I am a beginner in Lyx and understand a bit about the principles of Latex. 
 I understand the advantages of a fixed layout and have seen some code to 
 create a simple one. However it looks like a very steep learning curve. 

 All I would like to do is 2 little adjustments to the standard book layout. 
 It looks fine on A4 paper but when dropping down to A5 paper the space around 
 the Chapter heading text is too big and the Chapter heading text is too big.

 I believe there are two possible routes, something about a local
 module to override current settings which would be best. Or if possible
 get the original source for the book layout and create my own local
 layout from it. (But I wouldn't know where to find that.. or if it is
 available)

 So much for the principle. Any advice on where to find out about the
 practice (at beginner level) would be appreciated.

I recommend using the KOMA class scrbook, which is highly configurable (via
the LaTeX preamble) and well documented (via the scrguide.pdf (German) and
scrguien.pdf (English) user guide).

KOMA may even already automatically adapt the layout if you select the
papersize with the correct option (not via another package or settings by
hand).

Günter



Re: Beginners need to tweak layout

2013-10-29 Thread Steve Litt
On Tue, 29 Oct 2013 16:43:02 + (UTC)
Mark Horton mark.horton...@yahoo.co.uk wrote:

 Hi I am a beginner in Lyx and understand a bit about the principles
 of Latex. I understand the advantages of a fixed layout and have
 seen some code to create a simple one. However it looks like a very
 steep learning curve. 

Hi Mark,

You're exactly right. LaTeX, and therefore layouts, have a steep
learning curve. I'd recommend you make your first one in the same
directory as your document, but test it with a tiny test document.

 
 All I would like to do is 2 little adjustments to the standard book
 layout. It looks fine on A4 paper but when dropping down to A5 paper
 the space around the Chapter heading text is too big and the Chapter
 heading text is too big.
 
 I believe there are two possible routes, something about a local
 module to override current settings which would be best. Or if
 possible get the original source for the book layout and create my
 own local layout from it. (But I wouldn't know where to find that..
 or if it is available)

That's a last resort, Mark. It's best just to specify only the changes,
if possible, rather than rewriting the whole environment and modifying
it.

Here's the idiomatic way people specify the changes:

\let\oldmiscstyle=\miscstyle
\let\endoldmiscstyle=\endmiscstyle
\renewenvironment{miscstyle}{
%%% Stuff to do before invoking original environment
\begin{oldmiscstyle}
 Stuff to do after invoking original, but before the text
}{
 Stuff to do before ending original, but after text
\end{oldmiscstyle}
 Stuff to do after original environment ends
}


Mark, if you've been a software developer in the past, the line with
\endoldmiscstyle probably looks like Voodoo, especially given that
neither \endoldmiscstyle nor \endmiscstyle is ever mentioned again. Do
it anyway: Somehow, when an environment \whatever is made, LaTeX seems
to make a corresponding \endwhatever that gets executed upon
\whatever's completion. I've personally had situations where this idiom
didn't work unless I put in the line:

\let\endoldmiscstyle=\endmiscstyle

It's best not to give too much thought to such thing as it could screw
up your brain --- just do it.

 
 So much for the principle. Any advice on where to find out about the
 practice (at beginner level) would be appreciated.

I gave a beginners-eye view of making your own layout here:

http://www.troubleshooters.com/lpm/200210/200210.htm#_MakingYourOwnLayout

If I were you, I'd read the entire document, in order. 

http://www.troubleshooters.com/lpm/200210/200210.htm

I'd estimate it would be about a day to assimilate all the information,
and you'll get back your day after writing 200 pages of LyX-authored
content, and from then on you'll benefit from the knowledge.

WARNING WARNING WARNING WARNING

My document was written before LyX had a great facility for placing the
layout file in the local directory. Unless you have a reason to believe
that you'll use the same layout for lots of books (I never have), then
use current directory layouts, like this:

Document-Settings-Document_class-Local_layout_button


WARNING: DEFINITION ALERT

LyX now has two different definitions for Local Layout. Definition 1:
Document-Settings-Document_class-Local_layout_button

Definition 2: 
Document-Settings-Local_layout

Definition 1 refers to a layout file in the same directory as the
document. Definition 2 refers to putting the text you would normally
put in a layout file, into the document itself.

I personally always do it with Definition 1 because I can use my editor
of choice (which of course is Vim), and because I don't have to deal
with the hassles of the Validate button.

When you use a Definition 1 layout file, be sure to Tools-Reconfigure
and then restart LyX after every change to the layout file. This hassle
is one reason I recommend a small test document while building and
fine-tuning your layout. I often put everything in a shellscript that
loops. There are people on this list who know how to do a reconfigure
from the command line: Ask them how to do that --- makes it easier, but
be careful, you need to be in the right directory when you issue that
command.

Lastly, I'd like to congratulate you. There are people in this world
who say Oh, LyX is trivially easy, anyone can use it!. Those people
have no credibility with me, because they've obviously always used
LyX defaults and have never made layout files. In making your layout
file, you become a LyX journeyman, with its attendant credibility.

Thanks,

SteveT

Steve Litt*  http://www.troubleshooters.com/
Troubleshooting Training  *  Human Performance


Re: lyx2.0.6

2013-10-29 Thread gordon_cooper

 It makes no difference Wolfgang, I passed that hurdle several
years ago. It just takes longer to achieve things!

Gordon
Tauranga N.Z.




On 28/10/13 22:31, Wolfgang Engelmann wrote:

This might sound queer to most of you, but wait until you are 80!




Re: Latex error in viewing all my documents

2013-10-29 Thread Paul A . Rubin
In case you missed it, have a look at
http://comments.gmane.org/gmane.editors.lyx.general/80614. You may need to
install some language packages from TeXLive.

Paul






Re: Beginners need to tweak layout

2013-10-29 Thread Steve Litt
On Tue, 29 Oct 2013 09:55:08 -0700 (PDT)
Rich Shepard rshep...@appl-ecosys.com wrote:

 On Tue, 29 Oct 2013, Mark Horton wrote:
 
  All I would like to do is 2 little adjustments to the standard
  book layout. It looks fine on A4 paper but when dropping down to
  A5 paper the space around the Chapter heading text is too big and
  the Chapter heading text is too big.
 
 Mark,
 
Look in Documents - Settings. You can adjust margins, text
 layout, and other aspects of the page right there. You can also alter
 font attributes by specifying a different size using ERT (i.e.,
 insert the LaTeX code for that word or phrase). 

Whoops, don't do this in the mainmatter. For consistency and easy
modification, you want all appearances in your mainmatter to be styles
based (environments and character styles in LyX lingo). If you suspect
your doc will ever be converted to anything other than LaTeX-derived
output (HTML, ePub, etc), use styles in the frontmatter and backmatter
also.


Thanks,

SteveT

Steve Litt*  http://www.troubleshooters.com/
Troubleshooting Training  *  Human Performance


Re: Grafik in Beamer slides

2013-10-29 Thread Jürgen Spitzmüller
2013/10/26 Liviu Andronic landronim...@gmail.com

 Try Insert  Float  Figure. (But I can't help with the exact German term.


Einfügen  Gleitobjekt  Abbildung. Then insert the graphic there (Einfügen
 Grafik ...) You can also insert the graphic without the float if you do
not need the caption (Bildunterschrift).

HTH
Jürgen


Re: ubuntu 13.10 - changing language causes error

2013-10-29 Thread Scott Kostyshak
On Tue, Oct 29, 2013 at 11:23 AM, Miguel Negrão
miguel.negrao-li...@friendlyvirus.org wrote:
 Hi Stepha,

 Em 29-10-2013 14:56, Stephan Witt escreveu:

 No, I cannot reproduce it with LyX 2.0.5 on Mac OS X.

 Ubuntu 13.10 runs Lyx 2.0.6-1.

 Did you install any language package/option for your LaTeX engine?

 Ok, that was it, the texlive-lang-portuguese package was missing. After
 installing it, everything is working again.


 Still, something happened, because before lyx was working fine, and
 after the upgrade it stopped working, so perhaps the tex that was
 shipping before was different, or the language pack was not re-installed
 automatically, or something else...

You mean something is still not working in LyX? What? If you mean that
LyX stopped working after the upgrade because texlive-lang-portuguese
is missing, this is an incorrect statement. LyX is a frontend to LaTeX
and not a TeX Live package manager. I don't mean to be pedantic, but
it really does help to understand the difference. apt is what manages
package dependencies. The package 'lyx' depends on the package
'texlive'. So when you install 'lyx', 'texlive' is installed as well.
'texlive' does not necessarily install texlive-lang-portuguese. I
don't know how Ubuntu upgrades work because I always do a fresh
install and I recommend that others do as well.

I hope everything's working well now,

Scott


Re: Footnotes in titles

2013-10-29 Thread Sebastien
 This is a rather uncommon (but not unreasonable) request. I am quite sure
 there is a way, at least with ERT.
 
 If I were you, I would try to get this working in LaTeX first, asking at the
 comp.text.tex usenet list. Then I would try to get LyX to generate the
 required LaTeX code.
 
 Günter
 
 


Thanks for that. I did try fiddling with commands in ERT, but none
of them worked. I'll try at the site you mention.

Also, it might be interesting to note that, in his 'footmisc' package
documentation, Robin Fairbanks repeats that it's best to avoid
footnotes in titles — but in the very same document he has
not one, but *two* footnotes before he even gets to the first
paragraph!

Sebastien



Re: Footnotes in titles

2013-10-29 Thread stefano franchi
On Tue, Oct 29, 2013 at 4:23 PM, Sebastien s.no...@free.fr wrote:

  This is a rather uncommon (but not unreasonable) request. I am quite sure
  there is a way, at least with ERT.
 
  If I were you, I would try to get this working in LaTeX first, asking at
 the
  comp.text.tex usenet list. Then I would try to get LyX to generate the
  required LaTeX code.
 
  Günter
 
 


 Thanks for that. I did try fiddling with commands in ERT, but none
 of them worked. I'll try at the site you mention.

 Also, it might be interesting to note that, in his 'footmisc' package
 documentation, Robin Fairbanks repeats that it's best to avoid
 footnotes in titles — but in the very same document he has
 not one, but *two* footnotes before he even gets to the first
 paragraph!


Sebastien, you may have tried this already, it kinds of does what you want
but not quite. It may be a starting point though:

try inserting this ERT command just before your footnote: \footnotesize{
(ending with an open brace, no closing brace)
then, just after your footnote, insert, in ERT: } (just the closing brace)
(see enclosed lyx file for details)

This kludge should bring  the size of the footnote mark down to
footnotesize (the usual size for footnote marks, actual size depends on
the base point size of your doc). The problem is that it will put the
footnote mark where a normal superscript would go. If you have a big font
(such as, for instance, in book titles), the footnote mark will be in the
middle of the line. It is not too bad for section and chapter titles
(depending on your class and chapterstyle, of course).
Still, it may be a starting point. You may have to add other ad hoc latex
commands to elevate the footnote mark)

Hope it helps,

Stefano

-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic StudiesPh:   +1 (979) 845-2125
Texas AM University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


titles-with-footnotes.lyx
Description: application/lyx


Tableau Proofs: trees again

2013-10-29 Thread William Hanson
Ernesto, and the group,

Again, Ernesto's many examples of trees are helpful in my quest to create
tableau proofs in LyX.   But these examples still don't have the exact
structure I need.

I've attached (to earlier messages) a pdf file containing an example of
what I'm seeking, but apparently there is trouble viewing it.  I don't
understand this, since in trial e-mails I've sent to myself the file can be
opened and read using Adobe Reader.  I'm using gmail and attaching the file
in the usual way.  I'll attach it again to this message and hope for better
results.

Here's a crude attempt to represent what I'm after. (I hope it comes
through ungarbled.)

not((P or (P  Q)) --P)
P or (P  Q)
not P
  /  \
 /\
/  \
 PP  Q
 x   P
  Q
   x

Each of the seven nodes is a  formula of a specified formal language.  (In
this case it's simple propositional logic.)  Notice that there are no lines
(vertical or sloping) between any of the nodes except when branching
occurs. The only lines in the tree are the sloping ones that indicate
branching.  It is this feature that I'm unable to create.  (I know LyX
pretty well, but I know practically nothing about LaTeX.)

If I could create trees in which nodes are connected with straight lines
only when branching occurs, I'd be well on my way.

Bill


Re: Footnotes in titles

2013-10-29 Thread Guenter Milde
On 2013-10-28, Sebastien wrote:
 Wolfgang Engelmann engelmann at uni-tuebingen.de writes:

 Is there a
  way to change the formatting of the footnote mark within a title, in
  order to make the footnote mark less obtrusive at this particular
  place? I've tried a number of things but none of them work.

This is a rather uncommon (but not unreasonable) request. I am quite sure
there is a way, at least with ERT.

If I were you, I would try to get this working in LaTeX first, asking at the
comp.text.tex usenet list. Then I would try to get LyX to generate the
required LaTeX code.

Günter



Submit Latex file to elsevier

2013-10-29 Thread Rahayu Prihatin
Hi people,


I would like to submit an article to Elsevier in Latex form. Suppose I
export the Lyx file to Latex, what else should I do to get clean Latex
version. Does Lyx produce some unnecessary Latex codes or is it already the
clean one?
I never used Latex in command line, so I have no sense whether the exported
.tex file is already clean or not.

Could anybody give me detail steps please?
Your help is very appreciated.
Thank you in advance.

Cheer,

Rahayu


ubuntu 13.10 - changing language causes error

2013-10-29 Thread Miguel Negrão
Hi

I've updated from ubuntu 13.04 to ubuntu 13.10 and now any document with
non english language causes this error:

 Package: babel 2013/05/16 v3.9f The Babel package
 
 ! Package babel Error: You haven't specified a language option.
 
 See the babel package documentation for explanation.
 Type  H return  for immediate help.
  ...  
   
 l.326 ...ry to proceed from here, type x to quit.}
   
 You need to specify a language, either as a global option
 or as an optional argument to the \usepackage command;
 You shouldn't try to proceed from here, type x to quit.
 
 )
 
 LaTeX Warning: Unused global option(s):
 [esperanto].
 
 No file newfile1.aux.
 \openout1 = `newfile1.aux'.

This looks like a bug...

Can anyone else reproduce ?

thank you,
-- 
Miguel Negrão
http://www.friendlyvirus.org/miguelnegrao

simple example that causes the  error:

#LyX 2.0 created this file. For more info see http://www.lyx.org/
\lyxformat 413
\begin_document
\begin_header
\textclass article
\use_default_options true
\maintain_unincluded_children false
\language esperanto
\language_package default
\inputencoding auto
\fontencoding global
\font_roman default
\font_sans default
\font_typewriter default
\font_default_family default
\use_non_tex_fonts false
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100

\graphics default
\default_output_format default
\output_sync 0
\bibtex_command default
\index_command default
\paperfontsize default
\spacing single
\use_hyperref false
\papersize default
\use_geometry false
\use_amsmath 1
\use_esint 1
\use_mhchem 1
\use_mathdots 1
\cite_engine basic
\use_bibtopic false
\use_indices false
\paperorientation portrait
\suppress_date false
\use_refstyle 1
\index Index
\shortcut idx
\color #008000
\end_index
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\paragraph_indentation default
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\html_math_output 0
\html_css_as_file 0
\html_be_strict false
\end_header

\begin_body

\begin_layout Standard
test
\end_layout

\end_body
\end_document



signature.asc
Description: OpenPGP digital signature


Re: Logic: Tableau Proofs (again)

2013-10-29 Thread William Hanson
Well, that didn't work either.  Sorry for the big message with all the
junk.  I hope some of you will be able to open the attachment.

Bill


On Tue, Oct 29, 2013 at 9:49 AM, William Hanson whan...@umn.edu wrote:

 Dear All,

 Many thanks to Ernesto Posse for the very detailed and helpful response.
 However, what I'm trying to do is eliminate *all* the lines between nodes
 *except* those that indicate a genuine branching of the tree.  In other
 words, I want the overall structure of the tree to look like the following
 (which I tried to attach to my previous messages, but which apparently
 could not be opened).  As usual, any and all help is appreciated.

 Bill






 On Mon, Oct 28, 2013 at 3:45 PM, Ernesto Posse epo...@cs.queensu.cawrote:

 I'm unable to see your attachment, but if I understand what you want, the
 simplest approach is to create phantom nodes in the tree. This can be
 achieved with child [missing] as in the following examples:

 First, a simple tree with two nodes: A and B; A is the root, and B is
 directly below it:

 \begin{tikzpicture}

 \node {A}

child {node {B}};

 \end{tikzpicture}

 Then with node B towards the left:

 \begin{tikzpicture}

 \node {A}

child {node {B}}

child [missing];

 \end{tikzpicture}

 and now, with B towards the right:

 \begin{tikzpicture}

 \node {A}
child [missing]

child {node {B}};

 \end{tikzpicture}

 Now, with your example (I changed the numbers in the nodes, for
 reference):

 \begin{tikzpicture}

 \node {$1.~\neg ((p \lor (p \land q)) \limp p)$}

child {node {$2.~ p \lor (p \land q)$}

   child [missing]

   child {node {$3.~ \neg p $}

  child {node {$4.~ \ p $}}

  child {node {$5.~ p \land q$}

 child [missing]

 child {node {$6.~ p $}

child {node {$7.~ q $}}

child [missing]

child [missing];

 \end{tikzpicture}


 As indicated in the examples above, the position of the child [missing]
 relative to its siblings determines where you get the child nodes. Of
 course you can also add any number of missing children, which increases the
 angle:


 \begin{tikzpicture}

 \node {A}
child [missing]
child [missing]

child {node {B}};

 \end{tikzpicture}

 Furthermore, you can control the distance between sibling nodes:

 \begin{tikzpicture}[sibling distance=4cm]

 \node {A}

child {node {B}}

child {node {C}};

 \end{tikzpicture}


 and even the distance between levels:


 \begin{tikzpicture}[sibling distance=4cm,level distance=5cm]

 \node {A}

child {node {B}}

child {node {C}};

 \end{tikzpicture}


 On Mon, Oct 28, 2013 at 4:06 PM, William Hanson whan...@umn.edu wrote:

 Dear LyX Colleagues,

 I'm still trying to create tableau proofs, which are branching columns
 of text, as illustrated in the attachment.

 Ernesto Posse's sample tableau (below) is helpful, but it contains two
 features I don't want:

 1.  Two sentences at a node, separated by commas.  I want just one
 sentence at each node, as in the attached sample.  I've been figured out
 how to solve this problem by modifying Ernesto's code as follows:

 \def\land{\wedge}
 \def\lor{\vee}
 \def\limp{\to}
 \begin{tikzpicture}
 \node {$1\neg ((p \lor (p \land q)) \limp p)$}
 child {node {$ 1 p \lor (p \land q)$}
 child {node {$1 \neg p $}
 child {node {$1 \ p $}}
 child {node {$1 p \land q$}
 child {node {$1 p $}
 child {node {$1 q $}};
 \end{tikzpicture}

 2.  But the foregoing code retains another feature I don't want:
 vertical lines from node to node when there is no branching.  I want only
 the (approximately) 45 degree (and 315 degree) lines that indicate
 branching, as on the attached sample.

 I've used LyX for several years, but I don't know LaTeX.

 Any and all help appreciated.

 Bill





 [image: Sample 
 Tableau.pdf]https://mail.google.com/mail/u/0/?ui=2ik=fcb7343f58view=attth=141e0e8e8016ae7fattid=0.1disp=saferealattid=f_hn3bnlm80zw
 *Sample Tableau.pdf*
 146K   
 Viewhttps://docs.google.com/viewer?a=vpid=gmailattid=0.1thid=141e0e8e8016ae7fmt=application/pdfauthuser=0url=https://mail.google.com/mail/u/0/?ui%3D2%26ik%3Dfcb7343f58%26view%3Datt%26th%3D141e0e8e8016ae7f%26attid%3D0.1%26disp%3Dsafe%26realattid%3Df_hn3bnlm80%26zwsig=AHIEtbQpDR5qvKd2TSh_O5cOhrpoG-Owmg
 Downloadhttps://mail.google.com/mail/u/0/?ui=2ik=fcb7343f58view=attth=141e0e8e8016ae7fattid=0.1disp=saferealattid=f_hn3bnlm80zw

 Ernesto Posse epo...@cs.queensu.ca
 Oct 22 (6 days ago)

  to me, lyx-users
 Hello. The easiest (and nicest) way to do this is using the tikz
 package: in the preamble put

 \usepackage{tikz}

 and then, wherever you want the tableau, put in a TeX box the following:

 \def\land{\wedge}

 \def\lor{\vee}

 \def\limp{\to}

 \begin{tikzpicture}

 \node {$\{\neg ((p \lor (p \land q)) \limp p)\}$}


Re: ubuntu 13.10 - changing language causes error

2013-10-29 Thread Stephan Witt
Am 29.10.2013 um 15:45 schrieb Miguel Negrão 
miguel.negrao-li...@friendlyvirus.org:

 Hi
 
 I've updated from ubuntu 13.04 to ubuntu 13.10 and now any document with
 non english language causes this error:
 
 Package: babel 2013/05/16 v3.9f The Babel package
 
 ! Package babel Error: You haven't specified a language option.
 
 See the babel package documentation for explanation.
 Type  H return  for immediate help.
 ...  
 
 l.326 ...ry to proceed from here, type x to quit.}
 
 You need to specify a language, either as a global option
 or as an optional argument to the \usepackage command;
 You shouldn't try to proceed from here, type x to quit.
 
 )
 
 LaTeX Warning: Unused global option(s):
[esperanto].
 
 No file newfile1.aux.
 \openout1 = `newfile1.aux'.
 
 This looks like a bug…

The question is: where is it?

 
 Can anyone else reproduce ?

No, I cannot reproduce it with LyX 2.0.5 on Mac OS X.

Did you install any language package/option for your LaTeX engine?

Regards,
Stephan

 thank you,
 -- 
 Miguel Negrão
 http://www.friendlyvirus.org/miguelnegrao
 
 simple example that causes the  error:
 
 #LyX 2.0 created this file. For more info see http://www.lyx.org/
 \lyxformat 413
 \begin_document
 \begin_header
 \textclass article
 \use_default_options true
 \maintain_unincluded_children false
 \language esperanto
 \language_package default
 \inputencoding auto
 \fontencoding global
 \font_roman default
 \font_sans default
 \font_typewriter default
 \font_default_family default
 \use_non_tex_fonts false
 \font_sc false
 \font_osf false
 \font_sf_scale 100
 \font_tt_scale 100
 
 \graphics default
 \default_output_format default
 \output_sync 0
 \bibtex_command default
 \index_command default
 \paperfontsize default
 \spacing single
 \use_hyperref false
 \papersize default
 \use_geometry false
 \use_amsmath 1
 \use_esint 1
 \use_mhchem 1
 \use_mathdots 1
 \cite_engine basic
 \use_bibtopic false
 \use_indices false
 \paperorientation portrait
 \suppress_date false
 \use_refstyle 1
 \index Index
 \shortcut idx
 \color #008000
 \end_index
 \secnumdepth 3
 \tocdepth 3
 \paragraph_separation indent
 \paragraph_indentation default
 \quotes_language english
 \papercolumns 1
 \papersides 1
 \paperpagestyle default
 \tracking_changes false
 \output_changes false
 \html_math_output 0
 \html_css_as_file 0
 \html_be_strict false
 \end_header
 
 \begin_body
 
 \begin_layout Standard
 test
 \end_layout
 
 \end_body
 \end_document
 



Re: ubuntu 13.10 - changing language causes error

2013-10-29 Thread Miguel Negrão
Hi Stepha,

Em 29-10-2013 14:56, Stephan Witt escreveu:
 
 No, I cannot reproduce it with LyX 2.0.5 on Mac OS X.

Ubuntu 13.10 runs Lyx 2.0.6-1.

 Did you install any language package/option for your LaTeX engine?

Ok, that was it, the texlive-lang-portuguese package was missing. After
installing it, everything is working again.


Still, something happened, because before lyx was working fine, and
after the upgrade it stopped working, so perhaps the tex that was
shipping before was different, or the language pack was not re-installed
automatically, or something else...

thank you for your help,
-- 
Miguel Negrão
http://www.friendlyvirus.org/miguelnegrao



signature.asc
Description: OpenPGP digital signature


Re: Submit Latex file to elsevier

2013-10-29 Thread Waluyo Adi Siswanto
When you prepare article using lyx, make sure all figures in the same
folder with your lyx article. You can export to plain latex. Submit your
.tex also all figures. You should be able to get pdf from their system.

regards,
WAS


On 29 October 2013 22:34, Rahayu Prihatin rahayu.p...@gmail.com wrote:

 Hi people,


 I would like to submit an article to Elsevier in Latex form. Suppose I
 export the Lyx file to Latex, what else should I do to get clean Latex
 version. Does Lyx produce some unnecessary Latex codes or is it already the
 clean one?
 I never used Latex in command line, so I have no sense whether the
 exported .tex file is already clean or not.

 Could anybody give me detail steps please?
 Your help is very appreciated.
 Thank you in advance.

 Cheer,

 Rahayu




Re: Logic: Tableau Proofs (again)

2013-10-29 Thread Ernesto Posse
I'm not sure how you are trying to attach files, but it doesn't seem to be
working, so I'm going to try to see if I understand what you want. But I
think the best thing is to work out with a generic example and then you can
apply it to your particular tableau.

First, let us start with a complete binary tree with two levels of depth:

\begin{tikzpicture}
\node {A}
child {node {A1}
 child {node {A11}}
 child {node {A12}}}
child {node {A2}
 child {node {A21}}
 child {node {A22}}};
\end{tikzpicture}

As you see, the root is introduced with the first \node, and each subtree
is introduced with child { ... }. The root of a subtree is the first
node in it: child { node {B} ... }. Additional sub-subtrees follow the
same syntax, with child immediately after the node: child { node {B}
child { node {C} ... }  The structure of the text has the same
structure of the tree you are trying to write.

If you try the example above you'll see that nodes A12 and A21 overlap.
This can be fixed by setting a separation between siblings in each level,
by providing some options at the top, as follows:

\begin{tikzpicture}
[level 1/.style={sibling distance=2cm},
 level 2/.style={sibling distance=1cm}]
\node {A}
child {node {A1}
 child {node {A11}}
 child {node {A12}}}
child {node {A2}
 child {node {A21}}
 child {node {A22}}};
\end{tikzpicture}

Now, you can also make the tree grow in other directions, by adding
[grow=direction] after the root, where direction can be for example
up, down, left or right. For example:

\begin{tikzpicture}
[level 1/.style={sibling distance=2cm},
 level 2/.style={sibling distance=1cm}]
\node {A} [grow=right]
child {node {A1}
 child {node {A11}}
 child {node {A12}}}
child {node {A2}
 child {node {A21}}
 child {node {A22}}};
\end{tikzpicture}

Now, you can modify some edges by adding options to specific branches with
the following syntax child [options] { ... }. Options available include
dashed, dotted, thick, thin, very thick, very thin, red,
blue, green, ..., and even arrow heads such as -, -, and more
fancy styles like: |- or - For example:

\begin{tikzpicture}
[level 1/.style={sibling distance=2cm},
 level 2/.style={sibling distance=1cm}]
\node {A} [grow=right]
child {node {A1}
 child {node {A11}}
 child [dotted] {node {A12}}}
child {node {A2}
 child [dashed, thick, blue, |-] {node {A21}}
 child {node {A22}}};
\end{tikzpicture}

So one possibility is to draw edges with the same colour as the background,
typically white. But, this is not necessarity good, and if instead of
having an edge with a different style, you want no edge at all, then the
syntax is a bit different: child {node {X} edge from parent[draw=none] ...
}. For example:

\begin{tikzpicture}
[level 1/.style={sibling distance=2cm},
 level 2/.style={sibling distance=1cm}]
\node {A} [grow=right]
child {node {A1} edge from parent[draw=none]
 child {node {A11}}
 child {node {A12}}}
child {node {A2}
 child {node {A21} edge from parent[draw=none]}
 child {node {A22}}};
\end{tikzpicture}

And of course, remember the [missing] option to get rid of children:

\begin{tikzpicture}
[level 1/.style={sibling distance=2cm},
 level 2/.style={sibling distance=1cm}]
\node {A} [grow=right]
child {node {A1} edge from parent[draw=none]
 child {node {A11}}
 child {node {A12}}}
child {node {A2}
 child {node {A21} edge from parent[draw=none]}
 child [missing] {node {A22}}};
\end{tikzpicture}


Finally, you can replace the node's text A, A11, etc. with whatever you
want. In particular, in LaTeX, formulae are written in math mode, which
goes inside $...$.

If this doesn't help you might want to try again attaching the file to the
message.



On Tue, Oct 29, 2013 at 10:53 AM, William Hanson whan...@umn.edu wrote:

 Well, that didn't work either.  Sorry for the big message with all the
 junk.  I hope some of you will be able to open the attachment.

 Bill


 On Tue, Oct 29, 2013 at 9:49 AM, William Hanson whan...@umn.edu wrote:

 Dear All,

 Many thanks to Ernesto Posse for the very detailed and helpful response.
 However, what I'm trying to do is eliminate *all* the lines between
 nodes *except* those that indicate a genuine branching of the tree.  In
 other words, I want the overall structure of the tree to look like the
 following (which I tried to attach to my previous messages, but which
 apparently could not be opened).  As usual, any and all help is appreciated.

 Bill






 On Mon, Oct 28, 2013 at 3:45 PM, Ernesto Posse epo...@cs.queensu.cawrote:

 I'm unable to see your attachment, but if I understand what you want,
 the simplest approach is to create phantom nodes in the tree. This can be
 achieved with child [missing] as in the following examples:

 First, a simple tree with two nodes: A and B; A is the root, and B is
 directly below it:

 \begin{tikzpicture}

 \node {A}

child {node {B}};

 \end{tikzpicture}

 Then with node B towards the left:

 \begin{tikzpicture}

 \node {A}

child {node {B}}

child [missing];

 

Beginners need to tweak layout

2013-10-29 Thread Mark Horton
Hi I am a beginner in Lyx and understand a bit about the principles of Latex. 
I understand the advantages of a fixed layout and have seen some code to 
create a simple one. However it looks like a very steep learning curve. 

All I would like to do is 2 little adjustments to the standard book layout. 
It looks fine on A4 paper but when dropping down to A5 paper the space around 
the Chapter heading text is too big and the Chapter heading text is too big.

I believe there are two possible routes, something about a local module to 
override current settings which would be best. Or if possible get the original 
source for the book layout and create my own local layout from it. (But I 
wouldn't know where to find that.. or if it is available)

So much for the principle. Any advice on where to find out about the practice 
(at beginner level) would be appreciated.

(needed but not urgently required)

Best Regards

Mark H  :-)




Re: Submit Latex file to elsevier

2013-10-29 Thread Murat Yildizoglu
I think you also need to upload the .bbl file if you use bibtex (or the
equivalent if you use biblatex).

Le mardi 29 octobre 2013, Waluyo Adi Siswanto a écrit :

 When you prepare article using lyx, make sure all figures in the same
 folder with your lyx article. You can export to plain latex. Submit your
 .tex also all figures. You should be able to get pdf from their system.

 regards,
 WAS


 On 29 October 2013 22:34, Rahayu Prihatin 
 rahayu.p...@gmail.comjavascript:_e({}, 'cvml', 'rahayu.p...@gmail.com');
  wrote:

 Hi people,


 I would like to submit an article to Elsevier in Latex form. Suppose I
 export the Lyx file to Latex, what else should I do to get clean Latex
 version. Does Lyx produce some unnecessary Latex codes or is it already the
 clean one?
 I never used Latex in command line, so I have no sense whether the
 exported .tex file is already clean or not.

 Could anybody give me detail steps please?
 Your help is very appreciated.
 Thank you in advance.

 Cheer,

 Rahayu




-- 
Prof. Murat Yildizoglu

Université Montesquieu Bordeaux IV
GREThA (UMR CNRS 5113)
Avenue Léon Duguit
33608 Pessac cedex
France

Bureau : E-331

mail: yildi-at-u-bordeaux4.fr

web: yildizoglu.info


Re: Beginners need to tweak layout

2013-10-29 Thread Rich Shepard

On Tue, 29 Oct 2013, Mark Horton wrote:


All I would like to do is 2 little adjustments to the standard book
layout. It looks fine on A4 paper but when dropping down to A5 paper the
space around the Chapter heading text is too big and the Chapter heading
text is too big.


Mark,

  Look in Documents - Settings. You can adjust margins, text layout, and
other aspects of the page right there. You can also alter font attributes
by specifying a different size using ERT (i.e., insert the LaTeX code for
that word or phrase). There's probably a menu item for this, too, but when I
need to change a text size I do it with the LaTeX command.

Rich

--
Richard B. Shepard, Ph.D.  |  Have knowledge, will travel.
Applied Ecosystem Services, Inc.   |
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863



Re: Beginners need to tweak layout

2013-10-29 Thread Guenter Milde
On 2013-10-29, Mark Horton wrote:
 Hi I am a beginner in Lyx and understand a bit about the principles of Latex. 
 I understand the advantages of a fixed layout and have seen some code to 
 create a simple one. However it looks like a very steep learning curve. 

 All I would like to do is 2 little adjustments to the standard book layout. 
 It looks fine on A4 paper but when dropping down to A5 paper the space around 
 the Chapter heading text is too big and the Chapter heading text is too big.

 I believe there are two possible routes, something about a local
 module to override current settings which would be best. Or if possible
 get the original source for the book layout and create my own local
 layout from it. (But I wouldn't know where to find that.. or if it is
 available)

 So much for the principle. Any advice on where to find out about the
 practice (at beginner level) would be appreciated.

I recommend using the KOMA class scrbook, which is highly configurable (via
the LaTeX preamble) and well documented (via the scrguide.pdf (German) and
scrguien.pdf (English) user guide).

KOMA may even already automatically adapt the layout if you select the
papersize with the correct option (not via another package or settings by
hand).

Günter



Re: Beginners need to tweak layout

2013-10-29 Thread Steve Litt
On Tue, 29 Oct 2013 16:43:02 + (UTC)
Mark Horton mark.horton...@yahoo.co.uk wrote:

 Hi I am a beginner in Lyx and understand a bit about the principles
 of Latex. I understand the advantages of a fixed layout and have
 seen some code to create a simple one. However it looks like a very
 steep learning curve. 

Hi Mark,

You're exactly right. LaTeX, and therefore layouts, have a steep
learning curve. I'd recommend you make your first one in the same
directory as your document, but test it with a tiny test document.

 
 All I would like to do is 2 little adjustments to the standard book
 layout. It looks fine on A4 paper but when dropping down to A5 paper
 the space around the Chapter heading text is too big and the Chapter
 heading text is too big.
 
 I believe there are two possible routes, something about a local
 module to override current settings which would be best. Or if
 possible get the original source for the book layout and create my
 own local layout from it. (But I wouldn't know where to find that..
 or if it is available)

That's a last resort, Mark. It's best just to specify only the changes,
if possible, rather than rewriting the whole environment and modifying
it.

Here's the idiomatic way people specify the changes:

\let\oldmiscstyle=\miscstyle
\let\endoldmiscstyle=\endmiscstyle
\renewenvironment{miscstyle}{
%%% Stuff to do before invoking original environment
\begin{oldmiscstyle}
 Stuff to do after invoking original, but before the text
}{
 Stuff to do before ending original, but after text
\end{oldmiscstyle}
 Stuff to do after original environment ends
}


Mark, if you've been a software developer in the past, the line with
\endoldmiscstyle probably looks like Voodoo, especially given that
neither \endoldmiscstyle nor \endmiscstyle is ever mentioned again. Do
it anyway: Somehow, when an environment \whatever is made, LaTeX seems
to make a corresponding \endwhatever that gets executed upon
\whatever's completion. I've personally had situations where this idiom
didn't work unless I put in the line:

\let\endoldmiscstyle=\endmiscstyle

It's best not to give too much thought to such thing as it could screw
up your brain --- just do it.

 
 So much for the principle. Any advice on where to find out about the
 practice (at beginner level) would be appreciated.

I gave a beginners-eye view of making your own layout here:

http://www.troubleshooters.com/lpm/200210/200210.htm#_MakingYourOwnLayout

If I were you, I'd read the entire document, in order. 

http://www.troubleshooters.com/lpm/200210/200210.htm

I'd estimate it would be about a day to assimilate all the information,
and you'll get back your day after writing 200 pages of LyX-authored
content, and from then on you'll benefit from the knowledge.

WARNING WARNING WARNING WARNING

My document was written before LyX had a great facility for placing the
layout file in the local directory. Unless you have a reason to believe
that you'll use the same layout for lots of books (I never have), then
use current directory layouts, like this:

Document-Settings-Document_class-Local_layout_button


WARNING: DEFINITION ALERT

LyX now has two different definitions for Local Layout. Definition 1:
Document-Settings-Document_class-Local_layout_button

Definition 2: 
Document-Settings-Local_layout

Definition 1 refers to a layout file in the same directory as the
document. Definition 2 refers to putting the text you would normally
put in a layout file, into the document itself.

I personally always do it with Definition 1 because I can use my editor
of choice (which of course is Vim), and because I don't have to deal
with the hassles of the Validate button.

When you use a Definition 1 layout file, be sure to Tools-Reconfigure
and then restart LyX after every change to the layout file. This hassle
is one reason I recommend a small test document while building and
fine-tuning your layout. I often put everything in a shellscript that
loops. There are people on this list who know how to do a reconfigure
from the command line: Ask them how to do that --- makes it easier, but
be careful, you need to be in the right directory when you issue that
command.

Lastly, I'd like to congratulate you. There are people in this world
who say Oh, LyX is trivially easy, anyone can use it!. Those people
have no credibility with me, because they've obviously always used
LyX defaults and have never made layout files. In making your layout
file, you become a LyX journeyman, with its attendant credibility.

Thanks,

SteveT

Steve Litt*  http://www.troubleshooters.com/
Troubleshooting Training  *  Human Performance


Re: lyx2.0.6

2013-10-29 Thread gordon_cooper

 It makes no difference Wolfgang, I passed that hurdle several
years ago. It just takes longer to achieve things!

Gordon
Tauranga N.Z.




On 28/10/13 22:31, Wolfgang Engelmann wrote:

This might sound queer to most of you, but wait until you are 80!




Re: Latex error in viewing all my documents

2013-10-29 Thread Paul A . Rubin
In case you missed it, have a look at
http://comments.gmane.org/gmane.editors.lyx.general/80614. You may need to
install some language packages from TeXLive.

Paul






Re: Beginners need to tweak layout

2013-10-29 Thread Steve Litt
On Tue, 29 Oct 2013 09:55:08 -0700 (PDT)
Rich Shepard rshep...@appl-ecosys.com wrote:

 On Tue, 29 Oct 2013, Mark Horton wrote:
 
  All I would like to do is 2 little adjustments to the standard
  book layout. It looks fine on A4 paper but when dropping down to
  A5 paper the space around the Chapter heading text is too big and
  the Chapter heading text is too big.
 
 Mark,
 
Look in Documents - Settings. You can adjust margins, text
 layout, and other aspects of the page right there. You can also alter
 font attributes by specifying a different size using ERT (i.e.,
 insert the LaTeX code for that word or phrase). 

Whoops, don't do this in the mainmatter. For consistency and easy
modification, you want all appearances in your mainmatter to be styles
based (environments and character styles in LyX lingo). If you suspect
your doc will ever be converted to anything other than LaTeX-derived
output (HTML, ePub, etc), use styles in the frontmatter and backmatter
also.


Thanks,

SteveT

Steve Litt*  http://www.troubleshooters.com/
Troubleshooting Training  *  Human Performance


Re: Grafik in Beamer slides

2013-10-29 Thread Jürgen Spitzmüller
2013/10/26 Liviu Andronic landronim...@gmail.com

 Try Insert  Float  Figure. (But I can't help with the exact German term.


Einfügen  Gleitobjekt  Abbildung. Then insert the graphic there (Einfügen
 Grafik ...) You can also insert the graphic without the float if you do
not need the caption (Bildunterschrift).

HTH
Jürgen


Re: ubuntu 13.10 - changing language causes error

2013-10-29 Thread Scott Kostyshak
On Tue, Oct 29, 2013 at 11:23 AM, Miguel Negrão
miguel.negrao-li...@friendlyvirus.org wrote:
 Hi Stepha,

 Em 29-10-2013 14:56, Stephan Witt escreveu:

 No, I cannot reproduce it with LyX 2.0.5 on Mac OS X.

 Ubuntu 13.10 runs Lyx 2.0.6-1.

 Did you install any language package/option for your LaTeX engine?

 Ok, that was it, the texlive-lang-portuguese package was missing. After
 installing it, everything is working again.


 Still, something happened, because before lyx was working fine, and
 after the upgrade it stopped working, so perhaps the tex that was
 shipping before was different, or the language pack was not re-installed
 automatically, or something else...

You mean something is still not working in LyX? What? If you mean that
LyX stopped working after the upgrade because texlive-lang-portuguese
is missing, this is an incorrect statement. LyX is a frontend to LaTeX
and not a TeX Live package manager. I don't mean to be pedantic, but
it really does help to understand the difference. apt is what manages
package dependencies. The package 'lyx' depends on the package
'texlive'. So when you install 'lyx', 'texlive' is installed as well.
'texlive' does not necessarily install texlive-lang-portuguese. I
don't know how Ubuntu upgrades work because I always do a fresh
install and I recommend that others do as well.

I hope everything's working well now,

Scott


Re: Footnotes in titles

2013-10-29 Thread Sebastien
 This is a rather uncommon (but not unreasonable) request. I am quite sure
 there is a way, at least with ERT.
 
 If I were you, I would try to get this working in LaTeX first, asking at the
 comp.text.tex usenet list. Then I would try to get LyX to generate the
 required LaTeX code.
 
 Günter
 
 


Thanks for that. I did try fiddling with commands in ERT, but none
of them worked. I'll try at the site you mention.

Also, it might be interesting to note that, in his 'footmisc' package
documentation, Robin Fairbanks repeats that it's best to avoid
footnotes in titles — but in the very same document he has
not one, but *two* footnotes before he even gets to the first
paragraph!

Sebastien



Re: Footnotes in titles

2013-10-29 Thread stefano franchi
On Tue, Oct 29, 2013 at 4:23 PM, Sebastien s.no...@free.fr wrote:

  This is a rather uncommon (but not unreasonable) request. I am quite sure
  there is a way, at least with ERT.
 
  If I were you, I would try to get this working in LaTeX first, asking at
 the
  comp.text.tex usenet list. Then I would try to get LyX to generate the
  required LaTeX code.
 
  Günter
 
 


 Thanks for that. I did try fiddling with commands in ERT, but none
 of them worked. I'll try at the site you mention.

 Also, it might be interesting to note that, in his 'footmisc' package
 documentation, Robin Fairbanks repeats that it's best to avoid
 footnotes in titles — but in the very same document he has
 not one, but *two* footnotes before he even gets to the first
 paragraph!


Sebastien, you may have tried this already, it kinds of does what you want
but not quite. It may be a starting point though:

try inserting this ERT command just before your footnote: \footnotesize{
(ending with an open brace, no closing brace)
then, just after your footnote, insert, in ERT: } (just the closing brace)
(see enclosed lyx file for details)

This kludge should bring  the size of the footnote mark down to
footnotesize (the usual size for footnote marks, actual size depends on
the base point size of your doc). The problem is that it will put the
footnote mark where a normal superscript would go. If you have a big font
(such as, for instance, in book titles), the footnote mark will be in the
middle of the line. It is not too bad for section and chapter titles
(depending on your class and chapterstyle, of course).
Still, it may be a starting point. You may have to add other ad hoc latex
commands to elevate the footnote mark)

Hope it helps,

Stefano

-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic StudiesPh:   +1 (979) 845-2125
Texas AM University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


titles-with-footnotes.lyx
Description: application/lyx


Tableau Proofs: trees again

2013-10-29 Thread William Hanson
Ernesto, and the group,

Again, Ernesto's many examples of trees are helpful in my quest to create
tableau proofs in LyX.   But these examples still don't have the exact
structure I need.

I've attached (to earlier messages) a pdf file containing an example of
what I'm seeking, but apparently there is trouble viewing it.  I don't
understand this, since in trial e-mails I've sent to myself the file can be
opened and read using Adobe Reader.  I'm using gmail and attaching the file
in the usual way.  I'll attach it again to this message and hope for better
results.

Here's a crude attempt to represent what I'm after. (I hope it comes
through ungarbled.)

not((P or (P  Q)) --P)
P or (P  Q)
not P
  /  \
 /\
/  \
 PP  Q
 x   P
  Q
   x

Each of the seven nodes is a  formula of a specified formal language.  (In
this case it's simple propositional logic.)  Notice that there are no lines
(vertical or sloping) between any of the nodes except when branching
occurs. The only lines in the tree are the sloping ones that indicate
branching.  It is this feature that I'm unable to create.  (I know LyX
pretty well, but I know practically nothing about LaTeX.)

If I could create trees in which nodes are connected with straight lines
only when branching occurs, I'd be well on my way.

Bill


Re: Footnotes in titles

2013-10-29 Thread Guenter Milde
On 2013-10-28, Sebastien wrote:
> Wolfgang Engelmann  uni-tuebingen.de> writes:

>> >Is there a
>> > way to change the formatting of the footnote mark within a title, in
>> > order to make the footnote mark less obtrusive at this particular
>> > place? I've tried a number of things but none of them work.

This is a rather uncommon (but not unreasonable) request. I am quite sure
there is a way, at least with ERT.

If I were you, I would try to get this working in LaTeX first, asking at the
comp.text.tex usenet list. Then I would try to get LyX to generate the
required LaTeX code.

Günter



Submit Latex file to elsevier

2013-10-29 Thread Rahayu Prihatin
Hi people,


I would like to submit an article to Elsevier in Latex form. Suppose I
export the Lyx file to Latex, what else should I do to get "clean" Latex
version. Does Lyx produce some unnecessary Latex codes or is it already the
clean one?
I never used Latex in command line, so I have no sense whether the exported
.tex file is already clean or not.

Could anybody give me detail steps please?
Your help is very appreciated.
Thank you in advance.

Cheer,

Rahayu


ubuntu 13.10 - changing language causes error

2013-10-29 Thread Miguel Negrão
Hi

I've updated from ubuntu 13.04 to ubuntu 13.10 and now any document with
non english language causes this error:

> Package: babel 2013/05/16 v3.9f The Babel package
> 
> ! Package babel Error: You haven't specified a language option.
> 
> See the babel package documentation for explanation.
> Type  H   for immediate help.
>  ...  
>   
> l.326 ...ry to proceed from here, type x to quit.}
>   
> You need to specify a language, either as a global option
> or as an optional argument to the \usepackage command;
> You shouldn't try to proceed from here, type x to quit.
> 
> )
> 
> LaTeX Warning: Unused global option(s):
> [esperanto].
> 
> No file newfile1.aux.
> \openout1 = `newfile1.aux'.

This looks like a bug...

Can anyone else reproduce ?

thank you,
-- 
Miguel Negrão
http://www.friendlyvirus.org/miguelnegrao

simple example that causes the  error:

#LyX 2.0 created this file. For more info see http://www.lyx.org/
\lyxformat 413
\begin_document
\begin_header
\textclass article
\use_default_options true
\maintain_unincluded_children false
\language esperanto
\language_package default
\inputencoding auto
\fontencoding global
\font_roman default
\font_sans default
\font_typewriter default
\font_default_family default
\use_non_tex_fonts false
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100

\graphics default
\default_output_format default
\output_sync 0
\bibtex_command default
\index_command default
\paperfontsize default
\spacing single
\use_hyperref false
\papersize default
\use_geometry false
\use_amsmath 1
\use_esint 1
\use_mhchem 1
\use_mathdots 1
\cite_engine basic
\use_bibtopic false
\use_indices false
\paperorientation portrait
\suppress_date false
\use_refstyle 1
\index Index
\shortcut idx
\color #008000
\end_index
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\paragraph_indentation default
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\html_math_output 0
\html_css_as_file 0
\html_be_strict false
\end_header

\begin_body

\begin_layout Standard
test
\end_layout

\end_body
\end_document



signature.asc
Description: OpenPGP digital signature


Re: Logic: Tableau Proofs (again)

2013-10-29 Thread William Hanson
Well, that didn't work either.  Sorry for the big message with all the
junk.  I hope some of you will be able to open the attachment.

Bill


On Tue, Oct 29, 2013 at 9:49 AM, William Hanson  wrote:

> Dear All,
>
> Many thanks to Ernesto Posse for the very detailed and helpful response.
> However, what I'm trying to do is eliminate *all* the lines between nodes
> *except* those that indicate a genuine branching of the tree.  In other
> words, I want the overall structure of the tree to look like the following
> (which I tried to attach to my previous messages, but which apparently
> could not be opened).  As usual, any and all help is appreciated.
>
> Bill
>
>
>
>
>
>
> On Mon, Oct 28, 2013 at 3:45 PM, Ernesto Posse wrote:
>
>> I'm unable to see your attachment, but if I understand what you want, the
>> simplest approach is to create "phantom" nodes in the tree. This can be
>> achieved with "child [missing]" as in the following examples:
>>
>> First, a simple tree with two nodes: A and B; A is the root, and B is
>> directly below it:
>>
>> \begin{tikzpicture}
>>
>> \node {A}
>>
>>child {node {B}};
>>
>> \end{tikzpicture}
>>
>> Then with node B towards the left:
>>
>> \begin{tikzpicture}
>>
>> \node {A}
>>
>>child {node {B}}
>>
>>child [missing];
>>
>> \end{tikzpicture}
>>
>> and now, with B towards the right:
>>
>> \begin{tikzpicture}
>>
>> \node {A}
>>child [missing]
>>
>>child {node {B}};
>>
>> \end{tikzpicture}
>>
>> Now, with your example (I changed the numbers in the nodes, for
>> reference):
>>
>> \begin{tikzpicture}
>>
>> \node {$1.~\neg ((p \lor (p \land q)) \limp p)$}
>>
>>child {node {$2.~ p \lor (p \land q)$}
>>
>>   child [missing]
>>
>>   child {node {$3.~ \neg p $}
>>
>>  child {node {$4.~ \ p $}}
>>
>>  child {node {$5.~ p \land q$}
>>
>> child [missing]
>>
>> child {node {$6.~ p $}
>>
>>child {node {$7.~ q $}}
>>
>>child [missing]
>>
>>child [missing];
>>
>> \end{tikzpicture}
>>
>>
>> As indicated in the examples above, the position of the "child [missing]"
>> relative to its siblings determines where you get the child nodes. Of
>> course you can also add any number of missing children, which increases the
>> angle:
>>
>>
>> \begin{tikzpicture}
>>
>> \node {A}
>>child [missing]
>>child [missing]
>>
>>child {node {B}};
>>
>> \end{tikzpicture}
>>
>> Furthermore, you can control the distance between sibling nodes:
>>
>> \begin{tikzpicture}[sibling distance=4cm]
>>
>> \node {A}
>>
>>child {node {B}}
>>
>>child {node {C}};
>>
>> \end{tikzpicture}
>>
>>
>> and even the distance between levels:
>>
>>
>> \begin{tikzpicture}[sibling distance=4cm,level distance=5cm]
>>
>> \node {A}
>>
>>child {node {B}}
>>
>>child {node {C}};
>>
>> \end{tikzpicture}
>>
>>
>> On Mon, Oct 28, 2013 at 4:06 PM, William Hanson  wrote:
>>
>>> Dear LyX Colleagues,
>>>
>>> I'm still trying to create tableau proofs, which are branching columns
>>> of text, as illustrated in the attachment.
>>>
>>> Ernesto Posse's sample tableau (below) is helpful, but it contains two
>>> features I don't want:
>>>
>>> 1.  Two sentences at a node, separated by commas.  I want just one
>>> sentence at each node, as in the attached sample.  I've been figured out
>>> how to solve this problem by modifying Ernesto's code as follows:
>>>
>>> \def\land{\wedge}
>>> \def\lor{\vee}
>>> \def\limp{\to}
>>> \begin{tikzpicture}
>>> \node {$1\neg ((p \lor (p \land q)) \limp p)$}
>>> child {node {$ 1 p \lor (p \land q)$}
>>> child {node {$1 \neg p $}
>>> child {node {$1 \ p $}}
>>> child {node {$1 p \land q$}
>>> child {node {$1 p $}
>>> child {node {$1 q $}};
>>> \end{tikzpicture}
>>>
>>> 2.  But the foregoing code retains another feature I don't want:
>>> vertical lines from node to node when there is no branching.  I want only
>>> the (approximately) 45 degree (and 315 degree) lines that indicate
>>> branching, as on the attached sample.
>>>
>>> I've used LyX for several years, but I don't know LaTeX.
>>>
>>> Any and all help appreciated.
>>>
>>> Bill
>>>
>>>
>>>
>>>
>>>
>>> [image: Sample 
>>> Tableau.pdf]
>>> *Sample Tableau.pdf*
>>> 146K   
>>> View
>>> Download
>>>
>>> Ernesto Posse 
>>> Oct 22 (6 days ago)
>>>
>>>  to 

Re: ubuntu 13.10 - changing language causes error

2013-10-29 Thread Stephan Witt
Am 29.10.2013 um 15:45 schrieb Miguel Negrão 
:

> Hi
> 
> I've updated from ubuntu 13.04 to ubuntu 13.10 and now any document with
> non english language causes this error:
> 
>> Package: babel 2013/05/16 v3.9f The Babel package
>> 
>> ! Package babel Error: You haven't specified a language option.
>> 
>> See the babel package documentation for explanation.
>> Type  H   for immediate help.
>> ...  
>> 
>> l.326 ...ry to proceed from here, type x to quit.}
>> 
>> You need to specify a language, either as a global option
>> or as an optional argument to the \usepackage command;
>> You shouldn't try to proceed from here, type x to quit.
>> 
>> )
>> 
>> LaTeX Warning: Unused global option(s):
>>[esperanto].
>> 
>> No file newfile1.aux.
>> \openout1 = `newfile1.aux'.
> 
> This looks like a bug…

The question is: where is it?

> 
> Can anyone else reproduce ?

No, I cannot reproduce it with LyX 2.0.5 on Mac OS X.

Did you install any language package/option for your LaTeX engine?

Regards,
Stephan

> thank you,
> -- 
> Miguel Negrão
> http://www.friendlyvirus.org/miguelnegrao
> 
> simple example that causes the  error:
> 
> #LyX 2.0 created this file. For more info see http://www.lyx.org/
> \lyxformat 413
> \begin_document
> \begin_header
> \textclass article
> \use_default_options true
> \maintain_unincluded_children false
> \language esperanto
> \language_package default
> \inputencoding auto
> \fontencoding global
> \font_roman default
> \font_sans default
> \font_typewriter default
> \font_default_family default
> \use_non_tex_fonts false
> \font_sc false
> \font_osf false
> \font_sf_scale 100
> \font_tt_scale 100
> 
> \graphics default
> \default_output_format default
> \output_sync 0
> \bibtex_command default
> \index_command default
> \paperfontsize default
> \spacing single
> \use_hyperref false
> \papersize default
> \use_geometry false
> \use_amsmath 1
> \use_esint 1
> \use_mhchem 1
> \use_mathdots 1
> \cite_engine basic
> \use_bibtopic false
> \use_indices false
> \paperorientation portrait
> \suppress_date false
> \use_refstyle 1
> \index Index
> \shortcut idx
> \color #008000
> \end_index
> \secnumdepth 3
> \tocdepth 3
> \paragraph_separation indent
> \paragraph_indentation default
> \quotes_language english
> \papercolumns 1
> \papersides 1
> \paperpagestyle default
> \tracking_changes false
> \output_changes false
> \html_math_output 0
> \html_css_as_file 0
> \html_be_strict false
> \end_header
> 
> \begin_body
> 
> \begin_layout Standard
> test
> \end_layout
> 
> \end_body
> \end_document
> 



Re: ubuntu 13.10 - changing language causes error

2013-10-29 Thread Miguel Negrão
Hi Stepha,

Em 29-10-2013 14:56, Stephan Witt escreveu:
> 
> No, I cannot reproduce it with LyX 2.0.5 on Mac OS X.

Ubuntu 13.10 runs Lyx 2.0.6-1.

> Did you install any language package/option for your LaTeX engine?

Ok, that was it, the texlive-lang-portuguese package was missing. After
installing it, everything is working again.


Still, something happened, because before lyx was working fine, and
after the upgrade it stopped working, so perhaps the tex that was
shipping before was different, or the language pack was not re-installed
automatically, or something else...

thank you for your help,
-- 
Miguel Negrão
http://www.friendlyvirus.org/miguelnegrao



signature.asc
Description: OpenPGP digital signature


Re: Submit Latex file to elsevier

2013-10-29 Thread Waluyo Adi Siswanto
When you prepare article using lyx, make sure all figures in the same
folder with your lyx article. You can export to plain latex. Submit your
.tex also all figures. You should be able to get pdf from their system.

regards,
WAS


On 29 October 2013 22:34, Rahayu Prihatin  wrote:

> Hi people,
>
>
> I would like to submit an article to Elsevier in Latex form. Suppose I
> export the Lyx file to Latex, what else should I do to get "clean" Latex
> version. Does Lyx produce some unnecessary Latex codes or is it already the
> clean one?
> I never used Latex in command line, so I have no sense whether the
> exported .tex file is already clean or not.
>
> Could anybody give me detail steps please?
> Your help is very appreciated.
> Thank you in advance.
>
> Cheer,
>
> Rahayu
>
>


Re: Logic: Tableau Proofs (again)

2013-10-29 Thread Ernesto Posse
I'm not sure how you are trying to attach files, but it doesn't seem to be
working, so I'm going to try to see if I understand what you want. But I
think the best thing is to work out with a generic example and then you can
apply it to your particular tableau.

First, let us start with a complete binary tree with two levels of depth:

\begin{tikzpicture}
\node {A}
child {node {A1}
 child {node {A11}}
 child {node {A12}}}
child {node {A2}
 child {node {A21}}
 child {node {A22}}};
\end{tikzpicture}

As you see, the root is introduced with the first "\node", and each subtree
is introduced with "child { ... }". The root of a subtree is the first
"node" in it: "child { node {B} ... }". Additional sub-subtrees follow the
same syntax, with "child" immediately after the node: "child { node {B}
child { node {C} ... } ...". The structure of the text has the same
structure of the tree you are trying to write.

If you try the example above you'll see that nodes A12 and A21 overlap.
This can be fixed by setting a separation between siblings in each level,
by providing some options at the top, as follows:

\begin{tikzpicture}
[level 1/.style={sibling distance=2cm},
 level 2/.style={sibling distance=1cm}]
\node {A}
child {node {A1}
 child {node {A11}}
 child {node {A12}}}
child {node {A2}
 child {node {A21}}
 child {node {A22}}};
\end{tikzpicture}

Now, you can also make the tree "grow" in other directions, by adding
"[grow=]" after the root, where direction can be for example
"up", "down", "left" or "right". For example:

\begin{tikzpicture}
[level 1/.style={sibling distance=2cm},
 level 2/.style={sibling distance=1cm}]
\node {A} [grow=right]
child {node {A1}
 child {node {A11}}
 child {node {A12}}}
child {node {A2}
 child {node {A21}}
 child {node {A22}}};
\end{tikzpicture}

Now, you can modify some edges by adding options to specific branches with
the following syntax "child [] { ... }". Options available include
"dashed", "dotted", "thick", "thin", "very thick", "very thin", "red",
"blue", "green", ..., and even arrow heads such as "->", "->>", and more
fancy styles like: "|->" or ">>->>" For example:

\begin{tikzpicture}
[level 1/.style={sibling distance=2cm},
 level 2/.style={sibling distance=1cm}]
\node {A} [grow=right]
child {node {A1}
 child {node {A11}}
 child [dotted] {node {A12}}}
child {node {A2}
 child [dashed, thick, blue, |->] {node {A21}}
 child {node {A22}}};
\end{tikzpicture}

So one possibility is to draw edges with the same colour as the background,
typically "white". But, this is not necessarity good, and if instead of
having an edge with a different style, you want no edge at all, then the
syntax is a bit different: "child {node {X} edge from parent[draw=none] ...
}". For example:

\begin{tikzpicture}
[level 1/.style={sibling distance=2cm},
 level 2/.style={sibling distance=1cm}]
\node {A} [grow=right]
child {node {A1} edge from parent[draw=none]
 child {node {A11}}
 child {node {A12}}}
child {node {A2}
 child {node {A21} edge from parent[draw=none]}
 child {node {A22}}};
\end{tikzpicture}

And of course, remember the [missing] option to get rid of children:

\begin{tikzpicture}
[level 1/.style={sibling distance=2cm},
 level 2/.style={sibling distance=1cm}]
\node {A} [grow=right]
child {node {A1} edge from parent[draw=none]
 child {node {A11}}
 child {node {A12}}}
child {node {A2}
 child {node {A21} edge from parent[draw=none]}
 child [missing] {node {A22}}};
\end{tikzpicture}


Finally, you can replace the node's text A, A11, etc. with whatever you
want. In particular, in LaTeX, formulae are written in "math mode", which
goes inside $...$.

If this doesn't help you might want to try again attaching the file to the
message.



On Tue, Oct 29, 2013 at 10:53 AM, William Hanson  wrote:

> Well, that didn't work either.  Sorry for the big message with all the
> junk.  I hope some of you will be able to open the attachment.
>
> Bill
>
>
> On Tue, Oct 29, 2013 at 9:49 AM, William Hanson  wrote:
>
>> Dear All,
>>
>> Many thanks to Ernesto Posse for the very detailed and helpful response.
>> However, what I'm trying to do is eliminate *all* the lines between
>> nodes *except* those that indicate a genuine branching of the tree.  In
>> other words, I want the overall structure of the tree to look like the
>> following (which I tried to attach to my previous messages, but which
>> apparently could not be opened).  As usual, any and all help is appreciated.
>>
>> Bill
>>
>>
>>
>>
>>
>>
>> On Mon, Oct 28, 2013 at 3:45 PM, Ernesto Posse wrote:
>>
>>> I'm unable to see your attachment, but if I understand what you want,
>>> the simplest approach is to create "phantom" nodes in the tree. This can be
>>> achieved with "child [missing]" as in the following examples:
>>>
>>> First, a simple tree with two nodes: A and B; A is the root, and B is
>>> directly below it:
>>>
>>> \begin{tikzpicture}
>>>
>>> \node {A}
>>>
>>>child {node {B}};
>>>
>>> 

Beginners need to tweak layout

2013-10-29 Thread Mark Horton
Hi I am a beginner in Lyx and understand a bit about the principles of Latex. 
I understand the advantages of a "fixed" layout and have seen some code to 
create a simple one. However it looks like a very steep learning curve. 

All I would like to do is 2 little adjustments to the standard "book" layout. 
It looks fine on A4 paper but when dropping down to A5 paper the space around 
the Chapter heading text is too big and the Chapter heading text is too big.

I believe there are two possible routes, something about a "local" module to 
override current settings which would be best. Or if possible get the original 
source for the book layout and create my own local layout from it. (But I 
wouldn't know where to find that.. or if it is available)

So much for the principle. Any advice on where to find out about the practice 
(at beginner level) would be appreciated.

(needed but not urgently required)

Best Regards

Mark H  :-)




Re: Submit Latex file to elsevier

2013-10-29 Thread Murat Yildizoglu
I think you also need to upload the .bbl file if you use bibtex (or the
equivalent if you use biblatex).

Le mardi 29 octobre 2013, Waluyo Adi Siswanto a écrit :

> When you prepare article using lyx, make sure all figures in the same
> folder with your lyx article. You can export to plain latex. Submit your
> .tex also all figures. You should be able to get pdf from their system.
>
> regards,
> WAS
>
>
> On 29 October 2013 22:34, Rahayu Prihatin 
> 
> > wrote:
>
>> Hi people,
>>
>>
>> I would like to submit an article to Elsevier in Latex form. Suppose I
>> export the Lyx file to Latex, what else should I do to get "clean" Latex
>> version. Does Lyx produce some unnecessary Latex codes or is it already the
>> clean one?
>> I never used Latex in command line, so I have no sense whether the
>> exported .tex file is already clean or not.
>>
>> Could anybody give me detail steps please?
>> Your help is very appreciated.
>> Thank you in advance.
>>
>> Cheer,
>>
>> Rahayu
>>
>>
>

-- 
Prof. Murat Yildizoglu

Université Montesquieu Bordeaux IV
GREThA (UMR CNRS 5113)
Avenue Léon Duguit
33608 Pessac cedex
France

Bureau : E-331

mail: yildi-at-u-bordeaux4.fr

web: yildizoglu.info


Re: Beginners need to tweak layout

2013-10-29 Thread Rich Shepard

On Tue, 29 Oct 2013, Mark Horton wrote:


All I would like to do is 2 little adjustments to the standard "book"
layout. It looks fine on A4 paper but when dropping down to A5 paper the
space around the Chapter heading text is too big and the Chapter heading
text is too big.


Mark,

  Look in Documents -> Settings. You can adjust margins, text layout, and
other aspects of the page right there. You can also alter font attributes
by specifying a different size using ERT (i.e., insert the LaTeX code for
that word or phrase). There's probably a menu item for this, too, but when I
need to change a text size I do it with the LaTeX command.

Rich

--
Richard B. Shepard, Ph.D.  |  Have knowledge, will travel.
Applied Ecosystem Services, Inc.   |
 Voice: 503-667-4517  Fax: 503-667-8863



Re: Beginners need to tweak layout

2013-10-29 Thread Guenter Milde
On 2013-10-29, Mark Horton wrote:
> Hi I am a beginner in Lyx and understand a bit about the principles of Latex. 
> I understand the advantages of a "fixed" layout and have seen some code to 
> create a simple one. However it looks like a very steep learning curve. 

> All I would like to do is 2 little adjustments to the standard "book" layout. 
> It looks fine on A4 paper but when dropping down to A5 paper the space around 
> the Chapter heading text is too big and the Chapter heading text is too big.

> I believe there are two possible routes, something about a "local"
> module to override current settings which would be best. Or if possible
> get the original source for the book layout and create my own local
> layout from it. (But I wouldn't know where to find that.. or if it is
> available)

> So much for the principle. Any advice on where to find out about the
> practice (at beginner level) would be appreciated.

I recommend using the KOMA class scrbook, which is highly configurable (via
the "LaTeX preamble") and well documented (via the scrguide.pdf (German) and
scrguien.pdf (English) user guide).

KOMA may even already automatically adapt the layout if you select the
papersize with the correct option (not via another package or settings "by
hand").

Günter



Re: Beginners need to tweak layout

2013-10-29 Thread Steve Litt
On Tue, 29 Oct 2013 16:43:02 + (UTC)
Mark Horton  wrote:

> Hi I am a beginner in Lyx and understand a bit about the principles
> of Latex. I understand the advantages of a "fixed" layout and have
> seen some code to create a simple one. However it looks like a very
> steep learning curve. 

Hi Mark,

You're exactly right. LaTeX, and therefore layouts, have a steep
learning curve. I'd recommend you make your first one in the same
directory as your document, but test it with a tiny test document.

> 
> All I would like to do is 2 little adjustments to the standard "book"
> layout. It looks fine on A4 paper but when dropping down to A5 paper
> the space around the Chapter heading text is too big and the Chapter
> heading text is too big.
> 
> I believe there are two possible routes, something about a "local"
> module to override current settings which would be best. Or if
> possible get the original source for the book layout and create my
> own local layout from it. (But I wouldn't know where to find that..
> or if it is available)

That's a last resort, Mark. It's best just to specify only the changes,
if possible, rather than rewriting the whole environment and modifying
it.

Here's the idiomatic way people specify the changes:

\let\oldmiscstyle=\miscstyle
\let\endoldmiscstyle=\endmiscstyle
\renewenvironment{miscstyle}{
%%% Stuff to do before invoking original environment
\begin{oldmiscstyle}
 Stuff to do after invoking original, but before the text
}{
 Stuff to do before ending original, but after text
\end{oldmiscstyle}
 Stuff to do after original environment ends
}


Mark, if you've been a software developer in the past, the line with
\endoldmiscstyle probably looks like Voodoo, especially given that
neither \endoldmiscstyle nor \endmiscstyle is ever mentioned again. Do
it anyway: Somehow, when an environment \whatever is made, LaTeX seems
to make a corresponding \endwhatever that gets executed upon
\whatever's completion. I've personally had situations where this idiom
didn't work unless I put in the line:

\let\endoldmiscstyle=\endmiscstyle

It's best not to give too much thought to such thing as it could screw
up your brain --- just do it.

> 
> So much for the principle. Any advice on where to find out about the
> practice (at beginner level) would be appreciated.

I gave a beginners-eye view of making your own layout here:

http://www.troubleshooters.com/lpm/200210/200210.htm#_MakingYourOwnLayout

If I were you, I'd read the entire document, in order. 

http://www.troubleshooters.com/lpm/200210/200210.htm

I'd estimate it would be about a day to assimilate all the information,
and you'll get back your day after writing 200 pages of LyX-authored
content, and from then on you'll benefit from the knowledge.

WARNING WARNING WARNING WARNING

My document was written before LyX had a great facility for placing the
layout file in the local directory. Unless you have a reason to believe
that you'll use the same layout for lots of books (I never have), then
use current directory layouts, like this:

Document->Settings->Document_class->Local_layout_button


WARNING: DEFINITION ALERT

LyX now has two different definitions for "Local Layout". Definition 1:
Document->Settings->Document_class->Local_layout_button

Definition 2: 
Document->Settings->Local_layout

Definition 1 refers to a layout file in the same directory as the
document. Definition 2 refers to putting the text you would normally
put in a layout file, into the document itself.

I personally always do it with Definition 1 because I can use my editor
of choice (which of course is Vim), and because I don't have to deal
with the hassles of the Validate button.

When you use a Definition 1 layout file, be sure to Tools->Reconfigure
and then restart LyX after every change to the layout file. This hassle
is one reason I recommend a small test document while building and
fine-tuning your layout. I often put everything in a shellscript that
loops. There are people on this list who know how to do a reconfigure
from the command line: Ask them how to do that --- makes it easier, but
be careful, you need to be in the right directory when you issue that
command.

Lastly, I'd like to congratulate you. There are people in this world
who say "Oh, LyX is trivially easy, anyone can use it!". Those people
have no credibility with me, because they've obviously always used
LyX defaults and have never made layout files. In making your layout
file, you become a LyX journeyman, with its attendant credibility.

Thanks,

SteveT

Steve Litt*  http://www.troubleshooters.com/
Troubleshooting Training  *  Human Performance


Re: lyx2.0.6

2013-10-29 Thread gordon_cooper

 It makes no difference Wolfgang, I passed that hurdle several
years ago. It just takes longer to achieve things!

Gordon
Tauranga N.Z.




On 28/10/13 22:31, Wolfgang Engelmann wrote:

This might sound queer to most of you, but wait until you are 80!




Re: Latex error in viewing all my documents

2013-10-29 Thread Paul A . Rubin
In case you missed it, have a look at
http://comments.gmane.org/gmane.editors.lyx.general/80614. You may need to
install some language packages from TeXLive.

Paul






Re: Beginners need to tweak layout

2013-10-29 Thread Steve Litt
On Tue, 29 Oct 2013 09:55:08 -0700 (PDT)
Rich Shepard  wrote:

> On Tue, 29 Oct 2013, Mark Horton wrote:
> 
> > All I would like to do is 2 little adjustments to the standard
> > "book" layout. It looks fine on A4 paper but when dropping down to
> > A5 paper the space around the Chapter heading text is too big and
> > the Chapter heading text is too big.
> 
> Mark,
> 
>Look in Documents -> Settings. You can adjust margins, text
> layout, and other aspects of the page right there. You can also alter
> font attributes by specifying a different size using ERT (i.e.,
> insert the LaTeX code for that word or phrase). 

Whoops, don't do this in the mainmatter. For consistency and easy
modification, you want all appearances in your mainmatter to be styles
based (environments and character styles in LyX lingo). If you suspect
your doc will ever be converted to anything other than LaTeX-derived
output (HTML, ePub, etc), use styles in the frontmatter and backmatter
also.


Thanks,

SteveT

Steve Litt*  http://www.troubleshooters.com/
Troubleshooting Training  *  Human Performance


Re: Grafik in Beamer slides

2013-10-29 Thread Jürgen Spitzmüller
2013/10/26 Liviu Andronic 

> Try Insert > Float > Figure. (But I can't help with the exact German term.
>

Einfügen > Gleitobjekt > Abbildung. Then insert the graphic there (Einfügen
> Grafik ...) You can also insert the graphic without the float if you do
not need the caption (Bildunterschrift).

HTH
Jürgen


Re: ubuntu 13.10 - changing language causes error

2013-10-29 Thread Scott Kostyshak
On Tue, Oct 29, 2013 at 11:23 AM, Miguel Negrão
 wrote:
> Hi Stepha,
>
> Em 29-10-2013 14:56, Stephan Witt escreveu:
>>
>> No, I cannot reproduce it with LyX 2.0.5 on Mac OS X.
>
> Ubuntu 13.10 runs Lyx 2.0.6-1.
>
>> Did you install any language package/option for your LaTeX engine?
>
> Ok, that was it, the texlive-lang-portuguese package was missing. After
> installing it, everything is working again.
>
>
> Still, something happened, because before lyx was working fine, and
> after the upgrade it stopped working, so perhaps the tex that was
> shipping before was different, or the language pack was not re-installed
> automatically, or something else...

You mean something is still not working in LyX? What? If you mean that
LyX stopped working after the upgrade because texlive-lang-portuguese
is missing, this is an incorrect statement. LyX is a frontend to LaTeX
and not a TeX Live package manager. I don't mean to be pedantic, but
it really does help to understand the difference. apt is what manages
package dependencies. The package 'lyx' depends on the package
'texlive'. So when you install 'lyx', 'texlive' is installed as well.
'texlive' does not necessarily install texlive-lang-portuguese. I
don't know how Ubuntu upgrades work because I always do a fresh
install and I recommend that others do as well.

I hope everything's working well now,

Scott


Re: Footnotes in titles

2013-10-29 Thread Sebastien
> This is a rather uncommon (but not unreasonable) request. I am quite sure
> there is a way, at least with ERT.
> 
> If I were you, I would try to get this working in LaTeX first, asking at the
> comp.text.tex usenet list. Then I would try to get LyX to generate the
> required LaTeX code.
> 
> Günter
> 
> 


Thanks for that. I did try fiddling with commands in ERT, but none
of them worked. I'll try at the site you mention.

Also, it might be interesting to note that, in his 'footmisc' package
documentation, Robin Fairbanks repeats that it's best to avoid
footnotes in titles — but in the very same document he has
not one, but *two* footnotes before he even gets to the first
paragraph!

Sebastien



Re: Footnotes in titles

2013-10-29 Thread stefano franchi
On Tue, Oct 29, 2013 at 4:23 PM, Sebastien  wrote:

> > This is a rather uncommon (but not unreasonable) request. I am quite sure
> > there is a way, at least with ERT.
> >
> > If I were you, I would try to get this working in LaTeX first, asking at
> the
> > comp.text.tex usenet list. Then I would try to get LyX to generate the
> > required LaTeX code.
> >
> > Günter
> >
> >
>
>
> Thanks for that. I did try fiddling with commands in ERT, but none
> of them worked. I'll try at the site you mention.
>
> Also, it might be interesting to note that, in his 'footmisc' package
> documentation, Robin Fairbanks repeats that it's best to avoid
> footnotes in titles — but in the very same document he has
> not one, but *two* footnotes before he even gets to the first
> paragraph!
>

Sebastien, you may have tried this already, it kinds of does what you want
but not quite. It may be a starting point though:

try inserting this ERT command just before your footnote: \footnotesize{
(ending with an open brace, no closing brace)
then, just after your footnote, insert, in ERT: } (just the closing brace)
(see enclosed lyx file for details)

This kludge should bring  the size of the footnote mark down to
"footnotesize" (the usual size for footnote marks, actual size depends on
the base point size of your doc). The problem is that it will put the
footnote mark where a normal superscript would go. If you have a big font
(such as, for instance, in book titles), the footnote mark will be in the
middle of the line. It is not too bad for section and chapter titles
(depending on your class and chapterstyle, of course).
Still, it may be a starting point. You may have to add other ad hoc latex
commands to elevate the footnote mark)

Hope it helps,

Stefano

-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic StudiesPh:   +1 (979) 845-2125
Texas A University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


titles-with-footnotes.lyx
Description: application/lyx


Tableau Proofs: trees again

2013-10-29 Thread William Hanson
Ernesto, and the group,

Again, Ernesto's many examples of trees are helpful in my quest to create
tableau proofs in LyX.   But these examples still don't have the exact
structure I need.

I've attached (to earlier messages) a pdf file containing an example of
what I'm seeking, but apparently there is trouble viewing it.  I don't
understand this, since in trial e-mails I've sent to myself the file can be
opened and read using Adobe Reader.  I'm using gmail and attaching the file
in the usual way.  I'll attach it again to this message and hope for better
results.

Here's a crude attempt to represent what I'm after. (I hope it comes
through ungarbled.)

not((P or (P & Q)) -->P)
P or (P & Q)
not P
  /  \
 /\
/  \
 PP & Q
 x   P
  Q
   x

Each of the seven nodes is a  formula of a specified formal language.  (In
this case it's simple propositional logic.)  Notice that there are no lines
(vertical or sloping) between any of the nodes except when branching
occurs. The only lines in the tree are the sloping ones that indicate
branching.  It is this feature that I'm unable to create.  (I know LyX
pretty well, but I know practically nothing about LaTeX.)

If I could create trees in which nodes are connected with straight lines
only when branching occurs, I'd be well on my way.

Bill