Re: Help Formatting and fonts... Beggining Thesis! Critical...

2011-11-03 Thread ehud.kap...@gmail.com

Kenedy,
You are clearly in the hands of experts here, so I shall not try to 
muddle the water.
However, after several years of using Miktex on Windows, I have switched 
to TexLive,
which seems to be the general trend.  I use Texlive on Linux, and wanted 
to have the same Latex system on both

Windows and Linux (Ubuntu).
In my experience, TexLive is easier to maintain (upgrade).  In addition, 
after you install it (on Windows),

you can click Start/Run:
tlmgr gui
and see a list of all the Latex packages with a short description of 
what each one does, plus some other information about the package.  You 
can double click on the package name and get a longer description.
You might consider trying that.  Unlike the Republicans and Democrats in 
Congress,
TexLive and MikTex can coexist and function in the same system, and Lyx 
can use either.

I hope this is helpful--
Ehud Kaplan

On 10/29/2011 10:18 AM, Kenedy Torcatt wrote:

Hello...

 Where can I find a description for every MiKTEX package Tht's is been 
using inside hte LyX file preamble?. I need to do an inventory of them 
to simplifyand ilustrate  it's use.


/kenedy/





--
Ehud Kaplan, Ph.D.
Jules and Doris Stein /Research to Prevent Blindness/ Professor
*Director*, The laboratory of Visual & Computational Neuroscience
*Director*, Center for Excellence in Computational & Systems Neuroscience
/Friedman Brain Institute/
Departments of Neuroscience, Ophthalmology, Structural & Chemical Biology,
The Mount Sinai School of Medicine
One Gustave Levy Place,
NY, NY, 10029


Re: Help Formatting and fonts... Beggining Thesis! Critical...

2011-10-31 Thread Helge Hafting

On 29. okt. 2011 16:15, Kenedy Torcatt wrote:


4 -Can I stablish that when I press enter on keyboard the space between
paragraph be equivalent to "2 enters on word", I mean without inserting
forced spaces on lyx, you know : ctrl+enter. That would save me a lot of
time.


When you press enter on the keyboard, you get a paragraph break. The 
size of paragraph breaks are indeed configurable in LyX.


Menu: Document->Settings->Text Layout

Separate paragraphs with: select "vertical space".
Notice that you can select several sizes of that vertical space.
smallskip, medskip, and bigskip are usually enough, try
them out and see what works best. If you need a very
specific distance, select "custom" and set the exact distance you need.

You should not need to use ctrl+enter between paragraphs - that is 
horrible. Normally, you should not need to perform such "explicit 
formatting" at all.


You set the font, the font size, the margins, the paragraph
skip and a few more things - and then you just write. The formatting 
*should* then be fully automatic, with noticeably less tweaking than 
word would need. That is the whole point of LyX.


Helge Hafting




Re: Help Formatting and fonts... Beggining Thesis! Critical...

2011-10-29 Thread Liviu Andronic
On Sat, Oct 29, 2011 at 1:03 AM, Kenedy Torcatt  wrote:
> This really is a great Start! Thankyou, and thankyou. But I need a bit more
> details and fixes about this, I mean:
>
> 1- Could I actually use my windows fonts to compile the PDF? because there
> is a drop down menu that show them when I tick "Don't use Xetex typography".
> Because I know that helvetica is really close to Arial (Awesome btw) but you
> know how some teachers are...
>
> For example: \setmainfont{Arial}% use any font you like
> I don't know if that works but  you get the idea!
>
As Günter suggested, select Doc Settings > Fonts > Use non-TeX fonts,
select Arial as Roman font and compile your document with XeTeX or
LuaTeX.


> 2- Where can I find a description for every MiKTEX package. I need to do an
> inventory of them to simplifyand ilustrate  it's use.
>
See my previous e-mail.


> 3- You changed default "Section" to be unnumbered, wich is cool but I'll
> need a page wich contains just "Part" (in this case, because "Part" is
> greater than section, I was using Subsection to leave Section for those
> pages) as a Chapter divider.
> Note: I tried to insert part as a chapter and I received this error:
>
> \part{Chapter 1\pagebreak{}}
>
> If you say, e.g., `\def\a1{...}', then you must always
>
> put `1' after `\a', since control sequence names are
>
> made up of letters only. The macro here has not been
>
> followed by the required stuff, so I'm ignoring it.
>
It is unclear to me what you want to do here.


> 4- You did very advanced changes in the preamble that I don't understand.
> Could you let me know about all of them?
>
What exactly is not clear?


> 5- I could notice that now the index is not writing those dots btween txt
> and numbers, why? just asking if I can decide when to leave it o erase them.
>
I'm also curious how this happens, but my guess is that this is
controlled by \usepackage[titles]{tocloft}. Look into the options of
that package.


> 6-Can I stablish that when I press enter on keyboard the space between
> paragraph be equivalent to "2 enters on word", I mean without inserting
> forced spaces on lyx, you know : ctrl+enter. That would save me a lot of
> time.
>
It depends what you want to do. If you need to have paragraphs always
separated by a new line, then follow Günter's suggestion: you will see
teh result in the PDF output. Otherwise, LaTeX ignores extraneous
spaces between paragraphs: see section 5.2 of LyX Essentials. [1]

[1] http://wiki.lyx.org/LyX.Tutorials


> 7- If I need just one page showed horizontally?, how can I do that?
>
See [2].

[2] http://wiki.lyx.org/FAQ/Output#landscape


> 8- About margins, you can see the details in the attached PDF called:
> Anteproyecto things to fix
>
> Note: I did some changes to reduce space between header and text changing
> 1.1 cm to 0.2 cm. But there are other things that are not working, like too
> little space between final of the text and footer there are less than 2.5cm
> even when it's defined inside document configuration, in fact there are more
> space on the header. Change left headrer size to 10 maybe, looks too big on
> 12.
>
When in need to change formatting using LaTeX code, open a new
document, write some dummy text 'asdf', format it as you wish, do View
> Source and then see what's the corresponding LaTeX commands for the
chosen formatting. Then re-use it in the header, or elsewhere.


> Plase take a look at page II and page III (on roman numbers), page II,
> bigger footer space than page III, that's weird!, how to fix that?. All of
> this  ilustrated in the PDF.
>
I'm not sure. I'm wondering myself.

Regards
Liviu

PS Please turn off the HTML formatting. Some people around here do not
appreciate it.


> Again, here my lyx file with my little changes, I added some dummy text to
> ilustrate text insertion and margins better. Lyx file attacched called:
> Anteproyecto edited
>
> That's it, Thankyou guys, you're  awesome helping everyone! I hope soon help
> lyx users too!
>
> kenedy
>
>
>



-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: Help Formatting and fonts... Beggining Thesis! Critical...

2011-10-29 Thread Liviu Andronic
On Sat, Oct 29, 2011 at 4:18 PM, Kenedy Torcatt  wrote:
> Hello...
>
>  Where can I find a description for every MiKTEX package Tht's is been using
> inside hte LyX file preamble?. I need to do an inventory of them to
> simplifyand ilustrate  it's use.
>
As Günter suggested, search them on CTAN. To see which are included in
your document, export to TeX and inspect that file, or enable View >
Message > Complete source and inspect all that comes before
\begin{document}.

Liviu


> kenedy
>
>
>
>



-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Help Formatting and fonts... Beggining Thesis! Critical...

2011-10-29 Thread Kenedy Torcatt
Hello...

 Where can I find a description for every MiKTEX package Tht's is been using
inside hte LyX file preamble?. I need to do an inventory of them to
simplifyand ilustrate  it's use.

*kenedy*


Anteproyecto edited.lyx
Description: Binary data


Re: Help Formatting and fonts... Beggining Thesis! Critical...

2011-10-29 Thread Liviu Andronic
Hello

These are a whole lot of questions, and unfortunately this diminishes
the chances that someone will take the time to answer all of them. See
if you can find some answers by looking at the docs of various
packages used (e.g., 'fancyhdr'), in Help > User's Guide and on the
LyX wiki.

Regards
Liviu


On Sat, Oct 29, 2011 at 1:03 AM, Kenedy Torcatt  wrote:
> This really is a great Start! Thankyou, and thankyou. But I need a bit more
> details and fixes about this, I mean:
>
> 1- Could I actually use my windows fonts to compile the PDF? because there
> is a drop down menu that show them when I tick "Don't use Xetex typography".
> Because I know that helvetica is really close to Arial (Awesome btw) but you
> know how some teachers are...
>
> For example: \setmainfont{Arial}% use any font you like
> I don't know if that works but  you get the idea!
>
> 2- Where can I find a description for every MiKTEX package. I need to do an
> inventory of them to simplifyand ilustrate  it's use.
>
> 3- You changed default "Section" to be unnumbered, wich is cool but I'll
> need a page wich contains just "Part" (in this case, because "Part" is
> greater than section, I was using Subsection to leave Section for those
> pages) as a Chapter divider.
> Note: I tried to insert part as a chapter and I received this error:
>
> \part{Chapter 1\pagebreak{}}
>
> If you say, e.g., `\def\a1{...}', then you must always
>
> put `1' after `\a', since control sequence names are
>
> made up of letters only. The macro here has not been
>
> followed by the required stuff, so I'm ignoring it.
>
> 4- You did very advanced changes in the preamble that I don't understand.
> Could you let me know about all of them?
>
> 5- I could notice that now the index is not writing those dots btween txt
> and numbers, why? just asking if I can decide when to leave it o erase them.
>
> 6-Can I stablish that when I press enter on keyboard the space between
> paragraph be equivalent to "2 enters on word", I mean without inserting
> forced spaces on lyx, you know : ctrl+enter. That would save me a lot of
> time.
>
> 7- If I need just one page showed horizontally?, how can I do that?
>
> 8- About margins, you can see the details in the attached PDF called:
> Anteproyecto things to fix
>
> Note: I did some changes to reduce space between header and text changing
> 1.1 cm to 0.2 cm. But there are other things that are not working, like too
> little space between final of the text and footer there are less than 2.5cm
> even when it's defined inside document configuration, in fact there are more
> space on the header. Change left headrer size to 10 maybe, looks too big on
> 12.
>
> Plase take a look at page II and page III (on roman numbers), page II,
> bigger footer space than page III, that's weird!, how to fix that?. All of
> this  ilustrated in the PDF.
>
> Again, here my lyx file with my little changes, I added some dummy text to
> ilustrate text insertion and margins better. Lyx file attacched called:
> Anteproyecto edited
>
> That's it, Thankyou guys, you're  awesome helping everyone! I hope soon help
> lyx users too!
>
> kenedy
>
>
>



-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: Help Formatting and fonts... Beggining Thesis! Critical...

2011-10-29 Thread Guenter Milde
On 2011-10-28, Kenedy Torcatt wrote:

> 1- Could I actually use my windows fonts to compile the PDF? because there
> is a drop down menu that show them when I tick "Don't use Xetex typography".

This seems to be a name error. To use system fonts, you need to check:
Document>Settings>Fonts>"Use non-TeX fonts" (or something similar). This
actually uses the XeTeX (or LuaTeX) engine for PDF generation.

> 2- Where can I find a description for every MiKTEX package. I need to
> do an inventory of them to simplifyand ilustrate it's use.

As MikTeX packages are basically a subset of CTAN, you can use the TeX
catalogue as starting point. Also, the command `texdoc `
(from a DOS window) might work. At least, it does with TeXLive.

...

> 6-Can I stablish that when I press enter on keyboard the space between
> paragraph be equivalent to "2 enters on word", I mean without inserting
> forced spaces on lyx, you know : ctrl+enter. That would save me a lot of
> time.

This is possible with Document>Settings>Text Layout

Choose "Separate paragraphs by vertical space" and set the amount to your
liking.


Günter




Re: Help Formatting and fonts... Beggining Thesis! Critical...

2011-10-28 Thread Liviu Andronic
On Fri, Oct 28, 2011 at 1:20 PM, Ingar Pareliussen
 wrote:
> Hi
>
> I'm not certain I got everything, but it is a start.
>
I only made a small improvement on top of your changes, by using a
nicer way of right-aligning text.

Regards
Liviu


> I used Helvetica as most ordinary people does not notice the difference 
> between Helvetica and Arial.
> But Helvetica is a lot nicer imho.
>
> Most of the other tricks you can see in the lyx file.
>
> hth
> Ingar
>
>



-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Anteproyecto2.lyx
Description: Binary data


SV: Help Formatting and fonts... Beggining Thesis! Critical...

2011-10-28 Thread Ingar Pareliussen
Hi

I'm not certain I got everything, but it is a start.

I used Helvetica as most ordinary people does not notice the difference between 
Helvetica and Arial. 
But Helvetica is a lot nicer imho.

Most of the other tricks you can see in the lyx file.

hth
Ingar



Anteproyecto.lyx
Description: Anteproyecto.lyx


Re: Help formatting

2009-03-04 Thread Uwe Stöhr

Mehrdad schrieb:


Ok I am using lyx to write my thesis, following are my document settings and
preambles: 

>

Floar Placement: here definitely


Use the default float placement. The EmbeddedObjects manual that you find in LyX's Help menu 
explains in detail how the float placement is working and how you can manipulate it if necessary.



Latex preamble: \usepackage{ %a4wide,

ellipsis, fixltx2e, mparhack, %Fehlerkorrektur für Marginalien

booktabs, longtable %schönere Tabellen

} 


This is weird code. a4wide is obsolete, and neither booktabs or longtable is needed, because LyX 
does this for you. To avoid errors, only use preamble code you understand and that is really necessary.


In general I can recommend to use instad of the report document class the class report 
(Koma-script). This package is excellently documented and provides everything you need for a proper 
thesis layout.



\usepackage{ifpdf} % part of the hyperref bundle

\ifpdf % if pdflatex is used

\usepackage{graphics}


This code makes no sense. There is an endif missing and LyX takes care of the 
package graphics for you.

regards Uwe


Re: Help formatting

2009-03-04 Thread Helge Hafting

Mehrdad wrote:
Hallo All 

 I am really frustrated, and in lack of time! 




Ok I am using lyx to write my thesis, following are my document settings and
preambles: 

[...]

Floar Placement: here definitely

[...]
 
Now I have following problems, my images end up sometime creating huge gaps
between image and paragraph etc. 

My paraghraps spaces are not formatted nicely 


Hard to say why without seeing the document, but this often happens when 
there are many figures and little text. And especially if the "here - 
definitely" option is used.


Think about how page breaking works:
When there is lots of room on a page (but not enough for a float), the 
float goes to the next page. Without "here - definitely", text you typed 
after that float is allowed to go before it to fill the big gap on that 
page. But with "here - definitely", the rest of the page have to remain 
empty because the float _must_ print bnefore the text that follows it.


So that setting is usually a recipe for disaster, it creates half-filled 
pages.  Now combine this with how each page is laid out. The empty space 
between paragraphs (and between list items) is stretched so that the 
first paragraph is at the top of the page, and the last paragraph ends 
at the bottom. This makes books look better, as all pages end at exactly 
the same height. But this only works well if the gaps don't get too big 
- which they will when there is very little text to go on the page.


The fix is to let the floats float. Use cross references for referring 
to them, in case they move a page or two away.



Also, some people write a draft first and then fill in with more text 
later. A draft with little text but all the figures will tend to look 
really bad. Once you get more text in between the floats, things will 
look much better.


Documents with more illustrations than text is hard to make in LyX.
Using "page of floats" might help - it avoids mixing floats and text on 
the same page.





And things like small skip medium skip etc is most of the time totally
ignored. 


What exactly are you trying to achieve with skips? If you insert a skip 
where a bigger gap is present already, then nothing happens. As it should.

[...]

Further I have attached one of these missformated images, plus its tex code.
One more thing I use both eps and jpg images in my text. 


Please attach a file, or use a link if the files are too big for the 
list. Badly rendered pages can be shown with a .dvi or .pdf file.


Mixing jpeg and eps is not a problem for page breaking. Jpeg files 
sometimes has problems with low resolution when printed though.


Helge Hafting


Re: Help formatting

2009-03-04 Thread Hubert Christiaen
The best way to avoid a  needless white gap under wrap floats is to use 
the 'line span' setting in the wrap float settings. This counts only real 
lines, no blank lines and a header is also 1 line.

Sincerely,
Hubert

-- 
Hubert Christiaen
Bloesemlaan 17
3360 Korbeek-Lo
Belgium   


Re: Help formatting

2009-03-04 Thread Konrad Hofbauer

Mehrdad wrote:

Floar Placement: here definitely


THIS is very likely the cause of your problems. Select 'Use default 
placement' and let Latex figure out where it is best to put your images!!!


Also make sure the bounding boxes of your images are correct (or use the 
clip option in LyX).


Plus: Looking at your latex output, it seems like you would _manually_ 
cross-reference to you figures (i.e., you type 'Fig. 2.14'). Learn to 
use labels and LyX's cross-referencing (see the LyX UserGuide).



And things like small skip medium skip etc is most of the time totally
ignored. 


You normally should not need these. Do not try to do micro-formatting as 
one would do in Word and friends.


HTH,
Konrad



Re: Help formatting

2009-03-04 Thread Nikos Alexandris
Mehrdad:

> [...] I have following problems, my images end up sometime creating
> huge gaps between image and paragraph etc.

> My paraghraps spaces are not formatted nicely. And things like small
> skip medium skip etc is most of the time totally ignored. 

> I had one reply saying I should use: \nccparskip how do I write this
> into the preamble, cuy if I just type this into the preamble I get an
> error code during compiling pdf.

Merhad,
when I use book(KOMA-script) there is one class option called
"raggedbottom" (plus _footnoterule_ so the footnotes are shown properly
after applying _raggedbottom_).

This avoids the _stretching_ of contents in a page to reach the bottom
as it is the default behaviour.

I know that this might NOT help you directly but perhaps there is a
similar option for the standard article class.

Cheers, Nikos




Help formatting

2009-03-04 Thread Mehrdad
Hallo All 

 

 

 I am really frustrated, and in lack of time! 

Ok I am using lyx to write my thesis, following are my document settings and
preambles: 

 

Document Class: report

Line spacing: Single

Page layout: A4

Headings style :plain

Two sided document

 

Margins: Top: 45 mm

  Bottom: 45mm

 Inner: 30mm

 Outer: 40mm

   Head step: 35mm 

   Head height: 15mm

 Foot skip: 35mm

 

Floar Placement: here definitely

 

Latex preamble: \usepackage{ %a4wide,

ellipsis, fixltx2e, mparhack, %Fehlerkorrektur für Marginalien

booktabs, longtable %schönere Tabellen

} 

\usepackage{microtype}

\usepackage{ifpdf} % part of the hyperref bundle

\ifpdf % if pdflatex is used

\usepackage{graphics}

 

Now I have following problems, my images end up sometime creating huge gaps
between image and paragraph etc. 

My paraghraps spaces are not formatted nicely 

And things like small skip medium skip etc is most of the time totally
ignored. 

 

I had one reply saying I should use: \nccparskip how do I write this into
the preamble, cuy if I just type this into the preamble I get an error code
during compiling pdf. 

 

Further I have attached one of these missformated images, plus its tex code.
One more thing I use both eps and jpg images in my text. 

 

 

Thanks. 

 

Tex code generated by lyx: 

 

A smilar pattern

is presented in Fig. 4.3, as a comparison, one can see a larger scan

range, which is left out in our case, since a larger scan range yielded

in no extra information. From the phase diagram in Fig. 2.14 it is

evident that hematite + magnetite can form over a large range of different

enviornmental conditions. %

\begin{figure}[H]

\includegraphics[clip,scale=0.6]{Graphics/OutofBooks/MgO_kbeta}

\caption[2$\theta-\theta$ scan of MgO substrate with iron oxide thin films
]{2$\theta-\theta$ scan of MgO substrate with iron oxide thin films

\cite{Soeya2002} }

\end{figure}

 Studying the oxygen flow influence on film formation, it can be concluded

that lower oxygen content during deposition at a deposition pressure

of 3$\times$10$^{-2}$ mbar yields better formation of Fe$_{3}$O$_{4}$.

This is evident in a more pronounced shoulder on the MgO peak, which

is shown in Fig. 4.4. The figure shows in acending order the
2$\theta-\theta$

scans of deposition runs in which O$_{2}$:Ar ratio have been varried.

This ratio is defined as $\frac{flow\, of\, oxygen\,[sccm]}{flow\, of\,
argon\,[sccm]}$.

It can be seen that the shoulder becomes more prominent as the oxygen

level decreases, at the same time a broader peak is seen, further

indicating the formation of magnetite. The first lowes scan shows

the 2$\theta-\theta$ of a cleaned and annealed MgO substrate, the