PNG Images

2010-01-19 Thread Robert_Schiemann
Hello everyone,

 

I add the image Input.PNG to my lyx-document. As you can see in the
enclosements, its background is bright pink (255 0 255 in RGB).
Unfortunately, it looks a lot darker in the output pdf, see result.png,
please. Can anyone say why? Thanks a lot in advance!

 

Greetings,

Robert

 

attachment: Input.PNGattachment: Result.png

PNG Images

2010-01-19 Thread Robert_Schiemann
Hello everyone,

 

I add the image Input.PNG to my lyx-document. As you can see in the
enclosements, its background is bright pink (255 0 255 in RGB).
Unfortunately, it looks a lot darker in the output pdf, see result.png,
please. Can anyone say why? Thanks a lot in advance!

 

Greetings,

Robert

 

attachment: Input.PNGattachment: Result.png

PNG Images

2010-01-19 Thread Robert_Schiemann
Hello everyone,

 

I add the image Input.PNG to my lyx-document. As you can see in the
enclosements, its background is bright pink (255 0 255 in RGB).
Unfortunately, it looks a lot darker in the output pdf, see result.png,
please. Can anyone say why? Thanks a lot in advance!

 

Greetings,

Robert

 

<><>

TikZ in LyX

2010-01-13 Thread Robert_Schiemann
Hello to all,

I am quite new to using LaTeX and even newer to using it with LyX. However,
I tried to use the
http://www.texample.net/tikz/examples/free-body-diagrams/ TikZ package
from LyX. 

I did it the following way:
1. download the package and extract the file content to Program
Files\MikTeX\
2. Insert one of the example codes (see link above) in TeXnic Center -
works.
3. Insert the same example code as a new TeX code block ('Insert TeX code')
into LyX. When Compiling, i get a few errors, mainly 'Can be used only in
preamble' and 'Environment tikzpicture undefined', and a few others. 
4. I fixed these errors by deleting the \documentclass and \enddocument
commands. In addition, I inserted the \usepackage and the \usetikzlibrary
commands in the document settings (Document - Settings - Latex preamble).
Of course, i deleted these lines from the code.
5. I still get errors when compiling:
A few of them are like 'Missing } or \cr' inserted.
The others go like 'Package error: No shape named base is known'. Sometimes,
it says 'M' instead of 'shape'.

What can i do to solve these problems? 

Thank you a lot in advance for your help!

 



Thanks, problem solved

2010-01-13 Thread Robert_Schiemann
Hey everybody,

 

thanks to anyone who tried to contribute to a solution fort he given
problem. I am very glad that I could be helpen *very* fast!

 

For all those who are interested: I used control + v to insert the tikz code
into lyx, which overwrote newline-characters so that the code inserted was
mutated. I learnt that it is better to use edit-paste-special-plain text.

 

Thanks again!

 

Robert



TikZ in LyX

2010-01-13 Thread Robert_Schiemann
Hello to all,

I am quite new to using LaTeX and even newer to using it with LyX. However,
I tried to use the
http://www.texample.net/tikz/examples/free-body-diagrams/ TikZ package
from LyX. 

I did it the following way:
1. download the package and extract the file content to Program
Files\MikTeX\
2. Insert one of the example codes (see link above) in TeXnic Center -
works.
3. Insert the same example code as a new TeX code block ('Insert TeX code')
into LyX. When Compiling, i get a few errors, mainly 'Can be used only in
preamble' and 'Environment tikzpicture undefined', and a few others. 
4. I fixed these errors by deleting the \documentclass and \enddocument
commands. In addition, I inserted the \usepackage and the \usetikzlibrary
commands in the document settings (Document - Settings - Latex preamble).
Of course, i deleted these lines from the code.
5. I still get errors when compiling:
A few of them are like 'Missing } or \cr' inserted.
The others go like 'Package error: No shape named base is known'. Sometimes,
it says 'M' instead of 'shape'.

What can i do to solve these problems? 

Thank you a lot in advance for your help!

 



Thanks, problem solved

2010-01-13 Thread Robert_Schiemann
Hey everybody,

 

thanks to anyone who tried to contribute to a solution fort he given
problem. I am very glad that I could be helpen *very* fast!

 

For all those who are interested: I used control + v to insert the tikz code
into lyx, which overwrote newline-characters so that the code inserted was
mutated. I learnt that it is better to use edit-paste-special-plain text.

 

Thanks again!

 

Robert



TikZ in LyX

2010-01-13 Thread Robert_Schiemann
Hello to all,

I am quite new to using LaTeX and even newer to using it with LyX. However,
I tried to use the
 TikZ package
from LyX. 

I did it the following way:
1. download the package and extract the file content to Program
Files\MikTeX\
2. Insert one of the example codes (see link above) in TeXnic Center -
works.
3. Insert the same example code as a new TeX code block ('Insert TeX code')
into LyX. When Compiling, i get a few errors, mainly 'Can be used only in
preamble' and 'Environment tikzpicture undefined', and a few others. 
4. I fixed these errors by deleting the \documentclass and \enddocument
commands. In addition, I inserted the \usepackage and the \usetikzlibrary
commands in the document settings (Document -> Settings -> Latex preamble).
Of course, i deleted these lines from the code.
5. I still get errors when compiling:
A few of them are like 'Missing } or \cr' inserted.
The others go like 'Package error: No shape named base is known'. Sometimes,
it says 'M' instead of 'shape'.

What can i do to solve these problems? 

Thank you a lot in advance for your help!

 



Thanks, problem solved

2010-01-13 Thread Robert_Schiemann
Hey everybody,

 

thanks to anyone who tried to contribute to a solution fort he given
problem. I am very glad that I could be helpen *very* fast!

 

For all those who are interested: I used control + v to insert the tikz code
into lyx, which overwrote newline-characters so that the code inserted was
mutated. I learnt that it is better to use edit->paste->special->plain text.

 

Thanks again!

 

Robert