LyX ⇒ 3 strange problem in Lyx document.
3 strange problem in Lyx document.
Hello,
first i want to say that my English is not very good but i hope that you can understand me.
I began work with Lyx about month ago. First of all i have read tutorial in Lyx Help and that informations were enough till now.
I have strange 3 problem.
Basic information:
Lyx 1.6.7
Document class: report.
Problem no.1
The text below the figure is in paragraph. Yearlier everything was ok. Example:
-----figure----
[paragraph] "My text......
................."
and i want to make:
-----figure----
"My text.........
................."
Problem no.2
How can i move singel letter in the end of line to a new line?
Problem no.3
I use heading style: headings.
When the name of chapter is too long lyx cut the name.
Fanks for any advice.
ZaC
first i want to say that my English is not very good but i hope that you can understand me.
I began work with Lyx about month ago. First of all i have read tutorial in Lyx Help and that informations were enough till now.
I have strange 3 problem.
Basic information:
Lyx 1.6.7
Document class: report.
Problem no.1
The text below the figure is in paragraph. Yearlier everything was ok. Example:
-----figure----
[paragraph] "My text......
................."
and i want to make:
-----figure----
"My text.........
................."
Problem no.2
How can i move singel letter in the end of line to a new line?
Problem no.3
I use heading style: headings.
When the name of chapter is too long lyx cut the name.
Fanks for any advice.
ZaC
NEW: TikZ book now 40% off at Amazon.com for a short time.

3 strange problem in Lyx document.
It depends if you're using a figure as a float or a non-float.zacadi wrote: Problem no.1
The text below the figure is in paragraph. Yearlier everything was ok. Example:
-----figure----
[paragraph] "My text......
................."
and i want to make:
-----figure----
"My text.........
................."
If the figure is a float (Insert > Float > Figure), then you get a field into which you insert the caption.
If the figure isn't a float (Insert > Graphics), then you may use caption package and command \captionof... (e.g. \captionof{figure}{A caption}).
I'm not sure what purpose will that serve, but you may use manual line break (Ctrl+Return or Ctrl+Enter). If you only need to correct the place where a word should be hyphenated, then use Ctrl+- to specify alternative break points.Problem no.2
How can i move singel letter in the end of line to a new line?
In case of long chapter and section titles, you may use short versions which will appear in headings and table of contents. For this, at the end of a title insert a short one: Insert > Short Title.Problem no.3
I use heading style: headings.
When the name of chapter is too long lyx cut the name.
You may find all of these suggestions in the example file attached.
- Attachments
-
- Example.lyx.zip
- (1.52 KiB) Downloaded 206 times
Re: 3 strange problem in Lyx document.
Problem no1.
That is not solve my problem because i only use one way to put figure in my document: (Instert ->Float->Figure; and then Instert->FIgure). I attach an example. (As you can see the first "This" is in the paragraph. How can i change it?)
Problem no3.
How can i split long title to two line?;> ctr + enter doesnt work.
Regards,
ZaC
That is not solve my problem because i only use one way to put figure in my document: (Instert ->Float->Figure; and then Instert->FIgure). I attach an example. (As you can see the first "This" is in the paragraph. How can i change it?)
Problem no3.
How can i split long title to two line?;> ctr + enter doesnt work.
Regards,
ZaC
- Attachments
-
- temp100.lyx.rar
- (775 Bytes) Downloaded 165 times
3 strange problem in Lyx document.
Problem No. 1: I really don't understand what are you trying to achieve. Do you mean the indentation of the first paragraph after the figure? If that is the case, right click on the text of that paragraph > Paragraph settings, then remove the check mark beside "Indent Paragraph".
Problem No. 3: I suggest you use fancyhdr package for headers/footers. Paste this code in Document > Settings > LaTeX Preamble:
Now use Ctrl+Enter in Short Title.
Problem No. 3: I suggest you use fancyhdr package for headers/footers. Paste this code in Document > Settings > LaTeX Preamble:
Code: Select all
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhf{}
\fancyhead[LO,LE]{{\slshape\leftmark}\hfill\thepage}
\renewcommand{\headrulewidth}{0pt}
3 strange problem in Lyx document.
Problem no. 1 & 2meho_r wrote:Problem No. 1: I really don't understand what are you trying to achieve. Do you mean the indentation of the first paragraph after the figure? If that is the case, right click on the text of that paragraph > Paragraph settings, then remove the check mark beside "Indent Paragraph".
Problem No. 3: I suggest you use fancyhdr package for headers/footers. Paste this code in Document > Settings > LaTeX Preamble:Now use Ctrl+Enter in Short Title.Code: Select all
\usepackage{fancyhdr} \pagestyle{fancy} \fancyhf{} \fancyhead[LO,LE]{{\slshape\leftmark}\hfill\thepage} \renewcommand{\headrulewidth}{0pt}
Many thanks. That was what i want to do ; )
Another question:
I use bibliography (standard) but in the contents there is no position bibliography und additional chapter. I attached an example what i want to do.
Regards,
ZaC
- Attachments
-
- temp1000.lyx.rar
- (830 Bytes) Downloaded 148 times
3 strange problem in Lyx document.
1. At the end of the title "Additional Informations" press Ctrl+L and type the following code:
2. On a line before the title "Bibliography" press Ctrl+L and type the following code:
Code added to your example file.
If you want those chapters to appear as sections in TOC, just replace "chapter" with "section" in the above commands.
Code: Select all
\addcontentsline{toc}{chapter}{Additional Informations}
Code: Select all
\clearpage
\addcontentsline{toc}{chapter}{Bibliography}
If you want those chapters to appear as sections in TOC, just replace "chapter" with "section" in the above commands.
- Attachments
-
- temp1000.lyx.zip
- (893 Bytes) Downloaded 152 times
Re: 3 strange problem in Lyx document.
Thanks for help.
When i add:
\addcontentsline{toc}{chapter}{Additional Informations}
the heading (on the top of page) to this chapter -Additional Informations is the heading from the last chapter.
For example (chapter):
1. The Beginnig
2. Action
3. The End
4. Additional Informations
And the heading to "Additional Informations" is "The End".
How to change it?
When i add:
\addcontentsline{toc}{chapter}{Additional Informations}
the heading (on the top of page) to this chapter -Additional Informations is the heading from the last chapter.
For example (chapter):
1. The Beginnig
2. Action
3. The End
4. Additional Informations
And the heading to "Additional Informations" is "The End".
How to change it?
3 strange problem in Lyx document.
Since "Additional Informations" chapter is a starred one (no numbers, no entry in TOC and no entry in headers/footers) you may use fancyhdr code from above for this too, but this time using a manual approach. E.g., put immediately after the title "Additional Informations" this code:
To switch to "automatic" headers again, just put back the original code:
I added the code to your example file.
Code: Select all
\fancyhead[LO,LE]{{\slshape\MakeUppercase{Additional Informations}}\hfill\thepage}
Code: Select all
\fancyhead[LO,LE]{{\slshape\leftmark}\hfill\thepage}
- Attachments
-
- temp1000.lyx.zip
- (1.02 KiB) Downloaded 167 times
3 strange problem in Lyx document.
meho_r thanks a lot! thank was exactly what i want to do.
Re: 3 strange problem in Lyx document.
edit.
i want to change the size and style of add chapter (which is not number). "Addition number one" suppose to look like "Chapter" and "Additional Information" looks like the "name of the chaper". The space between ""Addition number one" and ""Additional Information" suppose to look like "Chapter" and "name of it".
I attach modification.
edit 2.
when i put a figure into the "Additional Information" the
number of figure is from the last chapter.
edit 3.
i am not sure but maybe i find a solution:
\appendix
\chapter{Additional Information}
ZaC
i want to change the size and style of add chapter (which is not number). "Addition number one" suppose to look like "Chapter" and "Additional Information" looks like the "name of the chaper". The space between ""Addition number one" and ""Additional Information" suppose to look like "Chapter" and "name of it".
I attach modification.
edit 2.
when i put a figure into the "Additional Information" the
number of figure is from the last chapter.
edit 3.
i am not sure but maybe i find a solution:
\appendix
\chapter{Additional Information}
ZaC
- Attachments
-
- temp1000.lyx.rar
- (1.05 KiB) Downloaded 160 times