Re: Lyx formating

2012-03-08 Thread Indrek Tuula
Hello

Finally I found some solution:

\usepackage{titletoc}

\titlecontents{subsection} % or\titlecontents{subsubsection}

[5.5em]

{\bfseries}

{\contentslabel{2em}}

{\hspace*{-2em}}

{\bfseries\titlerule*[0.6pc]{.}\bfseries\contentspage}


Today university officials release new requirements for paper work. Now
table of content should not contain any bold facing at all. Epic fail :)


But at least here is example for other users available! It is not prefect
and need some tweaking but hopefully it simplify others life.


Br,

Indrek

On 8 March 2012 10:18, Olivier Ripoll  wrote:

> On 07.03.2012 16:35, Stephan Witt wrote:
>
>> Am 07.03.2012 um 15:50 schrieb Indrek Tuula:
>>
>>  Hi Again,
>>>
>>> I totally agreed aspell is better than hunspell. Especially if you
>>> working with some small language.
>>>
>>
>> Why is aspell better than hunspell?
>>
>
> At least I can answer from my point of view. It just boils down to 1
> difference: aspell had no issue for me. hunspell does not allow me to use
> English and allow coumpound words as aspell did(*). When I opened my
> documents, I had to either add plenty of words to the dictionary or change
> them to 2 words. That was a lot of work.
>
> But I can understand that some people have seen improvements with hunspell
> versus aspell.
>
> Best regards,
>
> Olivier
>
>
> [...]
>
>>
>> Stephan
>>
>
> (*) I did spend a lot of time googling for a solution, just to find I was
> not the only one hit.
>
>


Re: Lyx formating

2012-03-08 Thread Olivier Ripoll

On 07.03.2012 16:35, Stephan Witt wrote:

Am 07.03.2012 um 15:50 schrieb Indrek Tuula:


Hi Again,

I totally agreed aspell is better than hunspell. Especially if you working with 
some small language.


Why is aspell better than hunspell?


At least I can answer from my point of view. It just boils down to 1 
difference: aspell had no issue for me. hunspell does not allow me to 
use English and allow coumpound words as aspell did(*). When I opened my 
documents, I had to either add plenty of words to the dictionary or 
change them to 2 words. That was a lot of work.


But I can understand that some people have seen improvements with 
hunspell versus aspell.


Best regards,

Olivier


[...]


Stephan


(*) I did spend a lot of time googling for a solution, just to find I 
was not the only one hit.




Re: Lyx formating

2012-03-07 Thread Richard Heck

On 03/07/2012 04:01 PM, Indrek Tuula wrote:

Hi Again,

Please see attached picture. It represent standard  outlook of table 
of content with highlighted subsection and sub-subsections areas.


I would like to format highlighted (subsections and 
sub-subsections) areas also in bold font.


As end result I would achieve table of content format as bold font.


Have a look at the documentation for the titletoc package
http://mirrors.ctan.org/macros/latex/contrib/titlesec/titlesec.pdf
which is part of the titlesec bundle. (So install the titlesec package 
to get access to titletoc, as well.) There are lots of examples in the 
documentation for how to get different effects. Try googling something 
like "titlesec bold titles", too.


Richard




On 7 March 2012 22:19, Richard Heck > wrote:


On 03/07/2012 09:50 AM, Indrek Tuula wrote:

Hi Again,

So far i resolve almost my open issues excepted how to make
TOC look like totally bold because by default subsections and
subsubsections are not a bold.

You want to explain this one again?

Richard






Re: Lyx formating

2012-03-07 Thread Indrek Tuula
Hi Again,

Please see attached picture. It represent standard  outlook of table of
content with highlighted subsection and sub-subsections areas.

I would like to format highlighted (subsections and sub-subsections) areas
also in bold font.

As end result I would achieve table of content format as bold font.

Br,
Indrek


On 7 March 2012 22:19, Richard Heck  wrote:

> On 03/07/2012 09:50 AM, Indrek Tuula wrote:
>
>> Hi Again,
>>
>> So far i resolve almost my open issues excepted how to make TOC look like
>> totally bold because by default subsections and subsubsections are not a
>> bold.
>>
>>  You want to explain this one again?
>
> Richard
>
>
<>

Re: Lyx formating

2012-03-07 Thread Richard Heck

On 03/07/2012 09:50 AM, Indrek Tuula wrote:

Hi Again,

So far i resolve almost my open issues excepted how to make TOC look 
like totally bold because by default subsections and subsubsections 
are not a bold.



You want to explain this one again?

Richard



Re: Lyx formating

2012-03-07 Thread Stephan Witt
Am 07.03.2012 um 15:50 schrieb Indrek Tuula:

> Hi Again,
> 
> I totally agreed aspell is better than hunspell. Especially if you working 
> with some small language.

Why is aspell better than hunspell?
And what is a small language? :)

> 
> I found following note from wiki:
> 
> Note: Beginning with 2.0 support for the aspell command line program has been 
> dropped. Although the aspell library (aspell 0.60.x) is still supported, 
> Windows binaries are compiled without this feature. 
> 
> So if the library is still  supported. Is it mean user are able to switch  on 
> aspel usage experience for windows environment somehow.?  Hopefully some wise 
> developer could provide some hints and steps. (Y)

The change from 1.6 to 2.0 was to use shared libraries for spell checking 
instead of external programs.
That means LyX uses .dll library code for that on windows.
The packager for windows has to make such thing for aspell or has to use some 
.dll code from other sources.
For Unix-platforms there are precompiled shared libraries available.
For windows I don't know of any comparable.
Therefor aspell support is currently available on Unix only.

To get Aspell support on windows you have to build LyX on a system with an 
Aspell developer environment.

Stephan

Re: Lyx formating

2012-03-07 Thread Indrek Tuula
Hi Again,

I totally agreed aspell is better than hunspell. Especially if you working
with some small language.

I found following note from wiki:

*Note:* Beginning with 2.0 support for the aspell command line program has
been dropped. Although the aspell library (aspell 0.60.x) is still
supported, Windows binaries are compiled without this feature.

So if the library is still  supported. Is it mean user are able to switch
 on aspel usage experience for windows environment somehow.?  Hopefully
some wise developer could provide some hints and steps. (Y)

So far i resolve almost my open issues excepted how to make TOC look like
totally bold because by default subsections and subsubsections are not a
bold.

Any help please?

Br,
Indrek

On 6 March 2012 13:07, Olivier Ripoll  wrote:

> On 04.03.2012 23:48, Indrek Tuula wrote:
>
>> Hi Again,
>>
>> I just press Send button instead of Save Now. I updating my post.
>>
>> List of open issues what i have:
>>
>> 2. How to define margin for page number from bottom (dimension from
>> bottom between paper size and page number). I have to define it as 1,5 cm
>>
>
> You can change the margins in
> In Documents->Settings>Page Margins
>
>  3. Vertical spacing of Section defined in preamble not working on some
>> reason. I is defined as 6cm but on the paper it is 3cm.
>>
>>
>> \usepackage[compact]{titlesec}
>>
>> %\titleformat{\section}{\**normalfont\bfseries}{\**thesection}{1em}{}
>>
>> \titlespacing*{\section}{0pt}{**6cm}{30pt}
>>
>> \titlespacing*{\subsection}{**0pt}{30pt}{30pt}
>>
>> \titlespacing*{\subsubsection}**{0pt}{30pt}{30pt}
>>
>> *
>> *
>>
>>
>>
>> 4. How to got aspell working under Windows 7.
>>
>
> Unfortunately, aspell is no more supported on recent LyX on Windows, IIRC.
> You'll have to use Hunspell instead (not as good in my experience).
>
> Best regards,
>
> Olivier.
>
>


Re: Lyx formating

2012-03-06 Thread Olivier Ripoll

On 04.03.2012 23:48, Indrek Tuula wrote:

Hi Again,

I just press Send button instead of Save Now. I updating my post.

List of open issues what i have:

2. How to define margin for page number from bottom (dimension from
bottom between paper size and page number). I have to define it as 1,5 cm


You can change the margins in
In Documents->Settings>Page Margins


3. Vertical spacing of Section defined in preamble not working on some
reason. I is defined as 6cm but on the paper it is 3cm.


\usepackage[compact]{titlesec}

%\titleformat{\section}{\normalfont\bfseries}{\thesection}{1em}{}

\titlespacing*{\section}{0pt}{6cm}{30pt}

\titlespacing*{\subsection}{0pt}{30pt}{30pt}

\titlespacing*{\subsubsection}{0pt}{30pt}{30pt}

*
*


4. How to got aspell working under Windows 7.


Unfortunately, aspell is no more supported on recent LyX on Windows, 
IIRC. You'll have to use Hunspell instead (not as good in my experience).


Best regards,

Olivier.



Re: Lyx formating

2012-03-05 Thread Indrek Tuula
Thank you for support, i got hunspell work.

Now i looking solutions for other open issues.

Br,
Indrek

On 5 March 2012 09:36, Stephan Witt  wrote:

> Am 04.03.2012 um 23:48 schrieb Indrek Tuula:
>
> > Hi Again,
>

>
> > 4. How to got aspell working under Windows 7.
> How did you install LyX on your system?
> I don't know for sure if aspell support is available for LyX on Windows.
> You can verify that in the preferences pane "Language" -> spellchecking.
> At least hunspell should be available and work out of the box.
>
> Stephan
>


Re: Lyx formating

2012-03-04 Thread Stephan Witt
Am 04.03.2012 um 23:48 schrieb Indrek Tuula:

> Hi Again,
> 
> 4. How to got aspell working under Windows 7.

How did you install LyX on your system?
I don't know for sure if aspell support is available for LyX on Windows.
You can verify that in the preferences pane "Language" -> spellchecking.
At least hunspell should be available and work out of the box.

Stephan


Re: Lyx formating

2012-03-04 Thread Indrek Tuula
Hi Again,

I just press Send button instead of Save Now. I updating my post.

List of open issues what i have:


1. How to make TOC totally bold (including, subsections,  subsections  ,
dots and page numbers) e.g:

*1.Section 1*

*1.1 Subsection ...2*

*1.1.1 Subsection 3*

*
*

2. How to define margin for page number from bottom (dimension from bottom
between paper size and page number). I have to define it as 1,5 cm


3. Vertical spacing of Section defined in preamble not working on some
reason. I is defined as 6cm but on the paper it is 3cm.


\usepackage[compact]{titlesec}

%\titleformat{\section}{\normalfont\bfseries}{\thesection}{1em}{}

\titlespacing*{\section}{0pt}{6cm}{30pt}

\titlespacing*{\subsection}{0pt}{30pt}{30pt}

\titlespacing*{\subsubsection}{0pt}{30pt}{30pt}

*
*


4. How to got aspell working under Windows 7.

Br,
Indrek

On 5 March 2012 00:28, Indrek Tuula  wrote:

> Hi All,
>
> I am new in Lyx. I spend some days to change look like of my project but i
> have still some changes missing. Your help is valuable. Currently i am
> using Lyx 2.0.3 under Win 7.
>
> Details about document configuration are following:
>
> % Preview source code
>
> %% LyX 2.0.3 created this file. For more info, see http://www.lyx.org/.
>
> %% Do not edit unless you really know what you are doing.
>
> \documentclass[12pt,estonian]{extarticle}
>
> \usepackage{fontspec}
>
> \setmainfont[Ligatures=TeX]{Times New Roman}
>
> \usepackage[a4paper]{geometry}
>
> \geometry{verbose,tmargin=3cm,bmargin=2cm,lmargin=3cm,rmargin=1.5cm}
>
> \setlength{\parindent}{0pt}
>
> \usepackage{babel}
>
> \usepackage{setspace}
>
> \onehalfspacing
>
> \usepackage[unicode=true,pdfusetitle,
>
>
> bookmarks=true,bookmarksnumbered=true,bookmarksopen=true,bookmarksopenlevel=3,
>
> breaklinks=false,pdfborder={0 0 0},backref=false,colorlinks=false]
>
> {hyperref}
>
> \makeatletter
>
> %% Textclass specific LaTeX commands.
>
> \usepackage{enumitem} % customizable list environments
>
> \newlength{\lyxlabelwidth} % auxiliary length
>
> %% User specified LaTeX commands.
>
> \usepackage{tocloft}
>
> \renewcommand{\cftsecleader}{\cftdotfill{\cftdotsep}}
>
> %\renewcommand{\cfttoctitlefont}{\hfill\Large\itshape}
>
> \renewcommand\thesection{\arabic{section}.}
>
> \renewcommand\thesubsection{\thesection\arabic{subsection}.}
>
> \renewcommand\thesubsubsection{\thesubsection\arabic{subsubsection}.}
>
> \usepackage[compact]{titlesec}
>
> %\titleformat{\section}{\normalfont\bfseries}{\thesection}{1em}{}
>
> \titlespacing*{\section}{0pt}{6cm}{30pt}
>
> \titlespacing*{\subsection}{0pt}{30pt}{30pt}
>
> \titlespacing*{\subsubsection}{0pt}{30pt}{30pt}
>
> \makeatother
>
>
>


Lyx formating

2012-03-04 Thread Indrek Tuula
Hi All,

I am new in Lyx. I spend some days to change look like of my project but i
have still some changes missing. Your help is valuable. Currently i am
using Lyx 2.0.3 under Win 7.

Details about document configuration are following:

% Preview source code

%% LyX 2.0.3 created this file. For more info, see http://www.lyx.org/.

%% Do not edit unless you really know what you are doing.

\documentclass[12pt,estonian]{extarticle}

\usepackage{fontspec}

\setmainfont[Ligatures=TeX]{Times New Roman}

\usepackage[a4paper]{geometry}

\geometry{verbose,tmargin=3cm,bmargin=2cm,lmargin=3cm,rmargin=1.5cm}

\setlength{\parindent}{0pt}

\usepackage{babel}

\usepackage{setspace}

\onehalfspacing

\usepackage[unicode=true,pdfusetitle,

bookmarks=true,bookmarksnumbered=true,bookmarksopen=true,bookmarksopenlevel=3,

breaklinks=false,pdfborder={0 0 0},backref=false,colorlinks=false]

{hyperref}

\makeatletter

%% Textclass specific LaTeX commands.

\usepackage{enumitem} % customizable list environments

\newlength{\lyxlabelwidth} % auxiliary length

%% User specified LaTeX commands.

\usepackage{tocloft}

\renewcommand{\cftsecleader}{\cftdotfill{\cftdotsep}}

%\renewcommand{\cfttoctitlefont}{\hfill\Large\itshape}

\renewcommand\thesection{\arabic{section}.}

\renewcommand\thesubsection{\thesection\arabic{subsection}.}

\renewcommand\thesubsubsection{\thesubsection\arabic{subsubsection}.}

\usepackage[compact]{titlesec}

%\titleformat{\section}{\normalfont\bfseries}{\thesection}{1em}{}

\titlespacing*{\section}{0pt}{6cm}{30pt}

\titlespacing*{\subsection}{0pt}{30pt}{30pt}

\titlespacing*{\subsubsection}{0pt}{30pt}{30pt}

\makeatother


List of open issues what i have:


1. How to make TOC totally bold (including, subsections,  subsections  ,
dots and page numbers) e.g:

1.Section 1

1.1 Subsection ...2

1.1.1 Subsection 3