Discussion:
[scribus] We should be able to change fontsize in latex editor
SCRIBUS RIMITU
2011-06-15 09:43:21 UTC
Permalink
Hi there,

And firstable please excuse my english. I'm using Scribus because I want to
create a scientific poster (A0 size). I must include Latex formulas, but
after doing Insert Rendering Frame, and right-clicking " Edit source ", I
see that there is no possibility to set a Fontsize greater than 20 pts,
which is really a problem in my opinion.

If I made a mistake using Scribus, please accept my sincere apologizes for
make scribus users wasting their time reading my email. But I have to say
that I must create this poster very soon, so I'm running out of time.

Thank you very much,
Erem Montani
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scribus.net/pipermail/scribus/attachments/20110615/0e15a5dd/attachment.html>
Gregory Pittman
2011-06-15 12:48:09 UTC
Permalink
Post by SCRIBUS RIMITU
Hi there,
And firstable please excuse my english. I'm using Scribus because I want to
create a scientific poster (A0 size). I must include Latex formulas, but
after doing Insert Rendering Frame, and right-clicking " Edit source ", I
see that there is no possibility to set a Fontsize greater than 20 pts,
which is really a problem in my opinion.
If I made a mistake using Scribus, please accept my sincere apologizes for
make scribus users wasting their time reading my email. But I have to say
that I must create this poster very soon, so I'm running out of time.
I would have to experiment with this a bit, but I think has to do with
putting in the needed Latex commands for this to happen.

Greg
Stefan Meir
2011-06-15 15:48:20 UTC
Permalink
Post by Gregory Pittman
Post by SCRIBUS RIMITU
Hi there,
And firstable please excuse my english. I'm using Scribus because I want to
create a scientific poster (A0 size). I must include Latex formulas, but
after doing Insert Rendering Frame, and right-clicking " Edit source ", I
see that there is no possibility to set a Fontsize greater than 20 pts,
which is really a problem in my opinion.
If I made a mistake using Scribus, please accept my sincere apologizes for
make scribus users wasting their time reading my email. But I have to say
that I must create this poster very soon, so I'm running out of time.
I would have to experiment with this a bit, but I think has to do with
putting in the needed Latex commands for this to happen.
Greg
I had to play with the commands a few months ago and found following
solution to the font size issue:

additional header:
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{txfonts} #load a scalable font (Computer Modern is not!)

Latex body:
\fontsize{40pt}{10pt}\selectfont Big text
\[
i \hbar \frac{\partial}{\partial t} \mathit{\Psi} = - \frac{\hbar^2}{2
m} \Delta \mathit{\Psi}
\]

For a scientific poster you might as well want to chose font color,
which can be achieved by loading the package color (\usepackage{color})
in the header and the command \color{<color>}.

Best regards,

Stefan
Post by Gregory Pittman
_______________________________________________
scribus mailing list
scribus at lists.scribus.net
Use http://lists.scribus.net/mailman/listinfo/scribus to unsubscribe or
edit your options.
Scribus Forums are available at http://forums.scribus.net
Notice: Scribus mailing lists were migrated to a new host and now reside
at lists.scribus.net, so a new list address scribus at lists.scribus.net
has to be used.
Gregory Pittman
2011-06-15 16:16:32 UTC
Permalink
Post by Stefan Meir
Post by Gregory Pittman
Post by SCRIBUS RIMITU
Hi there,
And firstable please excuse my english. I'm using Scribus because I want to
create a scientific poster (A0 size). I must include Latex formulas, but
after doing Insert Rendering Frame, and right-clicking " Edit source ", I
see that there is no possibility to set a Fontsize greater than 20 pts,
which is really a problem in my opinion.
If I made a mistake using Scribus, please accept my sincere apologizes for
make scribus users wasting their time reading my email. But I have to say
that I must create this poster very soon, so I'm running out of time.
I would have to experiment with this a bit, but I think has to do with
putting in the needed Latex commands for this to happen.
Greg
I had to play with the commands a few months ago and found following
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{txfonts} #load a scalable font (Computer Modern is not!)
\fontsize{40pt}{10pt}\selectfont Big text
\[
i \hbar \frac{\partial}{\partial t} \mathit{\Psi} = - \frac{\hbar^2}{2
m} \Delta \mathit{\Psi}
\]
For a scientific poster you might as well want to chose font color,
which can be achieved by loading the package color (\usepackage{color})
in the header and the command \color{<color>}.
Thanks, Stefan.

I knew there had to be a way. Still, someone should check this out to
see how robust the Scribus render frame function is. If it works I think
this is preferable to importing a PDF.

Greg
John Culleton
2011-06-15 13:09:03 UTC
Permalink
Post by SCRIBUS RIMITU
Hi there,
And firstable please excuse my english. I'm using Scribus because I want to
create a scientific poster (A0 size). I must include Latex formulas, but
after doing Insert Rendering Frame, and right-clicking " Edit source ", I
see that there is no possibility to set a Fontsize greater than 20 pts,
which is really a problem in my opinion.
If I made a mistake using Scribus, please accept my sincere apologizes for
make scribus users wasting their time reading my email. But I have to say
that I must create this poster very soon, so I'm running out of time.
Thank you very much,
Erem Montani
-------------- next part --------------
An HTML attachment was scrubbed...
<http://lists.scribus.net/pipermail/scribus/attachments/20110615/0e15a5dd/
attachment.html> _______________________________________________
scribus mailing list
scribus at lists.scribus.net
Use http://lists.scribus.net/mailman/listinfo/scribus to unsubscribe or
edit your options.
Scribus Forums are available at http://forums.scribus.net
Notice: Scribus mailing lists were migrated to a new host and now reside at
lists.scribus.net, so a new list address scribus at lists.scribus.net has to
be used.
I would set up the formulas in pdftex or pdflatex separate from Scribus. Then
import the formulas as pdf files, place them on the Scribus page, and enlarge
them as needed. Snce they are vector files they will accept enlargement
without ill effects. Describing the formulas will be the same in either.

I would use pdftex rather than pdflatex simply because setting up an oddball
page size is easier. You could set up a page size of 1 in by 1 in or its
metric equavalent and put one formula per page. Then use pdftk burst to
separate the pages into individual files.

It is never a mistake to use Scribus for a poster. But you have to use
auxiliary programs when needed, such as Gimp, Inkscape, TeX etc. The Scribus
Render facility is a great convenience but in cases such as yours I would go
to the TeX program directly.

Obviously you need to learn a bit about TeX. But you will need to learn the
TeX way of expressing formulas in any case.
--
John Culleton

"Death Wore Black" Police procedural: http://www.deathworeblack.com/

"Create Book Covers with Scribus"
www.lybrary.com/create-book-covers-with-scribus-p-74177.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scribus.net/pipermail/scribus/attachments/20110615/80c685dc/attachment.html>
SCRIBUS RIMITU
2011-06-15 13:10:03 UTC
Permalink
Hi again, and thank you Greg for you quick answer. If someone has a
solution, it would be great, because I think that a lot of users will need
this answer. (I hope that my answer will appear in my topic, I'm not sure
that I'm using this properly).

Erem

2011/6/15 SCRIBUS RIMITU <scribusrimitu at gmail.com>
Post by SCRIBUS RIMITU
Hi there,
And firstable please excuse my english. I'm using Scribus because I want to
create a scientific poster (A0 size). I must include Latex formulas, but
after doing Insert Rendering Frame, and right-clicking " Edit source ", I
see that there is no possibility to set a Fontsize greater than 20 pts,
which is really a problem in my opinion.
If I made a mistake using Scribus, please accept my sincere apologizes for
make scribus users wasting their time reading my email. But I have to say
that I must create this poster very soon, so I'm running out of time.
Thank you very much,
Erem Montani
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scribus.net/pipermail/scribus/attachments/20110615/3d812707/attachment.html>
SCRIBUS RIMITU
2011-06-15 13:31:50 UTC
Permalink
Thank you very much, John, for you very precise answer. I will try your
method ; I use LaTex, even if I'm not an expert. My purpose was to use
Scribus, only for the poster, because of the WYSIWYG aspect. I will try
Inkscape too, with the extension Textext.

Anyway, I think that it would be really nice if developers could include a
way to include LaTex formula, at any size.

Thanks a lot, and sorry for my english again.

Erem

2011/6/15 SCRIBUS RIMITU <scribusrimitu at gmail.com>
Post by SCRIBUS RIMITU
Hi again, and thank you Greg for you quick answer. If someone has a
solution, it would be great, because I think that a lot of users will need
this answer. (I hope that my answer will appear in my topic, I'm not sure
that I'm using this properly).
Erem
2011/6/15 SCRIBUS RIMITU <scribusrimitu at gmail.com>
Post by SCRIBUS RIMITU
Hi there,
And firstable please excuse my english. I'm using Scribus because I want
to create a scientific poster (A0 size). I must include Latex formulas, but
after doing Insert Rendering Frame, and right-clicking " Edit source ", I
see that there is no possibility to set a Fontsize greater than 20 pts,
which is really a problem in my opinion.
If I made a mistake using Scribus, please accept my sincere apologizes for
make scribus users wasting their time reading my email. But I have to say
that I must create this poster very soon, so I'm running out of time.
Thank you very much,
Erem Montani
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scribus.net/pipermail/scribus/attachments/20110615/f9035dd5/attachment.html>
SCRIBUS RIMITU
2011-06-15 17:09:51 UTC
Permalink
Thank you Stefan with your very impressive and detailed answer. It is for
sure a great achievement, and I have to recognize that I'm not sure that I
can handle such a complex procedure. I think that, for my poster, I will
choose Inkskape, with the " Textext " extension ; I hope that it will work
properly. However, I think that developing a good symbiosis between Scribus
and Latex would be extremely useful, especially for scientists, of course.

Thank you for all your answers.

2011/6/15 SCRIBUS RIMITU <scribusrimitu at gmail.com>
Post by SCRIBUS RIMITU
Thank you very much, John, for you very precise answer. I will try your
method ; I use LaTex, even if I'm not an expert. My purpose was to use
Scribus, only for the poster, because of the WYSIWYG aspect. I will try
Inkscape too, with the extension Textext.
Anyway, I think that it would be really nice if developers could include a
way to include LaTex formula, at any size.
Thanks a lot, and sorry for my english again.
Erem
2011/6/15 SCRIBUS RIMITU <scribusrimitu at gmail.com>
Post by SCRIBUS RIMITU
Hi again, and thank you Greg for you quick answer. If someone has a
solution, it would be great, because I think that a lot of users will need
this answer. (I hope that my answer will appear in my topic, I'm not sure
that I'm using this properly).
Erem
2011/6/15 SCRIBUS RIMITU <scribusrimitu at gmail.com>
Post by SCRIBUS RIMITU
Hi there,
And firstable please excuse my english. I'm using Scribus because I want
to create a scientific poster (A0 size). I must include Latex formulas, but
after doing Insert Rendering Frame, and right-clicking " Edit source ", I
see that there is no possibility to set a Fontsize greater than 20 pts,
which is really a problem in my opinion.
If I made a mistake using Scribus, please accept my sincere apologizes
for make scribus users wasting their time reading my email. But I have to
say that I must create this poster very soon, so I'm running out of time.
Thank you very much,
Erem Montani
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scribus.net/pipermail/scribus/attachments/20110615/f759289f/attachment.html>
Stefan Meir
2011-06-16 08:15:21 UTC
Permalink
Post by SCRIBUS RIMITU
Thank you Stefan with your very impressive and detailed answer. It is for
sure a great achievement, and I have to recognize that I'm not sure that I
can handle such a complex procedure. I think that, for my poster, I will
choose Inkskape, with the " Textext " extension ; I hope that it will work
properly. However, I think that developing a good symbiosis between Scribus
and Latex would be extremely useful, especially for scientists, of course.
Maybe in my original message the procedure appeared to be more
complicated than it actually is (unfortunately I've copy and pasted the
complete Schr?dinger equation to the Latex code).

Let me make it appear less complicated:
All you have to do is add the command \usepackage{txfonts} in the header
and the commands \fontsize{<fontsize>}{<line spacing>} and
\selectfont in the latex code.

I'm pretty sure you can handle that procedure :-)

Best regards,

Stefan
SCRIBUS RIMITU
2011-06-17 07:44:43 UTC
Permalink
To all contributors, thank you VERY MUCH for all your answers. I'm very
impressed by your skills, and by the fact that you are really willing to
help, which is really heartwarming. I will follow your instructions, you
solved my problem. Special thanks to a.l.e for understanding what are my
feelings ; even if it is complicated for a newbie like me, seeing how the
community is helping people who are searching for help makes me choose
Sribus with no hesitation. Many thanks again.

2011/6/15 SCRIBUS RIMITU <scribusrimitu at gmail.com>
Post by SCRIBUS RIMITU
Thank you Stefan with your very impressive and detailed answer. It is for
sure a great achievement, and I have to recognize that I'm not sure that I
can handle such a complex procedure. I think that, for my poster, I will
choose Inkskape, with the " Textext " extension ; I hope that it will work
properly. However, I think that developing a good symbiosis between Scribus
and Latex would be extremely useful, especially for scientists, of course.
Thank you for all your answers.
2011/6/15 SCRIBUS RIMITU <scribusrimitu at gmail.com>
Post by SCRIBUS RIMITU
Thank you very much, John, for you very precise answer. I will try your
method ; I use LaTex, even if I'm not an expert. My purpose was to use
Scribus, only for the poster, because of the WYSIWYG aspect. I will try
Inkscape too, with the extension Textext.
Anyway, I think that it would be really nice if developers could include a
way to include LaTex formula, at any size.
Thanks a lot, and sorry for my english again.
Erem
2011/6/15 SCRIBUS RIMITU <scribusrimitu at gmail.com>
Post by SCRIBUS RIMITU
Hi again, and thank you Greg for you quick answer. If someone has a
solution, it would be great, because I think that a lot of users will need
this answer. (I hope that my answer will appear in my topic, I'm not sure
that I'm using this properly).
Erem
2011/6/15 SCRIBUS RIMITU <scribusrimitu at gmail.com>
Post by SCRIBUS RIMITU
Hi there,
And firstable please excuse my english. I'm using Scribus because I want
to create a scientific poster (A0 size). I must include Latex formulas, but
after doing Insert Rendering Frame, and right-clicking " Edit source ", I
see that there is no possibility to set a Fontsize greater than 20 pts,
which is really a problem in my opinion.
If I made a mistake using Scribus, please accept my sincere apologizes
for make scribus users wasting their time reading my email. But I have to
say that I must create this poster very soon, so I'm running out of time.
Thank you very much,
Erem Montani
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scribus.net/pipermail/scribus/attachments/20110617/e171a0d9/attachment.html>
Owen
2011-06-15 22:32:16 UTC
Permalink
On Wed, 15 Jun 2011 11:43:21 +0200
Post by SCRIBUS RIMITU
Hi there,
And firstable please excuse my english. I'm using Scribus because I
want to create a scientific poster (A0 size). I must include Latex
formulas, but after doing Insert Rendering Frame, and right-clicking
" Edit source ", I see that there is no possibility to set a Fontsize
greater than 20 pts, which is really a problem in my opinion.
If I made a mistake using Scribus, please accept my sincere
apologizes for make scribus users wasting their time reading my
email. But I have to say that I must create this poster very soon, so
I'm running out of time.
I am not sure if this will help, but I have the font,
AR PL Uming CN Light (it was part of the Fedora15 distribution)

This font has many mathematical symbols and able to be made any font
size




Owen
Meho R.
2011-06-16 08:34:31 UTC
Permalink
Post by Owen
On Wed, 15 Jun 2011 11:43:21 +0200
Post by SCRIBUS RIMITU
Hi there,
And firstable please excuse my english. I'm using Scribus because I
want to create a scientific poster (A0 size). I must include Latex
formulas, but after doing Insert Rendering Frame, and right-clicking
" Edit source ", I see that there is no possibility to set a Fontsize
greater than 20 pts, which is really a problem in my opinion.
If I made a mistake using Scribus, please accept my sincere
apologizes for make scribus users wasting their time reading my
email. But I have to say that I must create this poster very soon, so
I'm running out of time.
I am not sure if this will help, but I have the font,
AR PL Uming CN Light (it was part of the Fedora15 distribution)
This font has many mathematical symbols and able to be made any font
size
Owen
There are many options. E.g., you can use any of these (usually
installed by default):
\usepackage{fourier}% uses Utopia font
\usepackage{mathpazo}% uses Palatino font
\usepackage{mathptmx}% uses Times font
\usepackage{kpfonts}% uses KP Serif font

\usepackage[charter]{mathdesign}% uses Charter font etc.


There are other fonts with math support. More infos here:

http://www.tug.dk/FontCatalogue/

As Stefan explained, \fontsize{x}{y}\selectfont commands (where "x" is
font size, e.g., 40pt, and "y" is baselineskip, e.g., 50pt) take care of
the size of the text. You'd probably want to use these commands locally,
i.e., in a group, inside curly brackets, as I did in the example below.


An example:


1. Open Scribus and create a Render Frame > Right Click > Edit Source
2. Tick off "Use Preamble" (since we'll use our own)
3. Type in this example code:


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


\documentclass{article}


\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}


\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{xcolor}


\usepackage{fourier}% uses Utopia font for text and math


\begin{document}


{
\color{red}
\fontsize{40}{40}
\selectfont
Big text
}

\bigskip

{
\color{blue}
\fontsize{30}{30}
\selectfont
Math:
}

{
\fontsize{20pt}{20pt}
\selectfont
\begin{align}
I & =a\sqrt{2}\int_{0}^{2\pi}\sqrt{1+\cos(\phi)}\;\mathrm{d}\phi\\
\intertext{\text{integrand is symmetric to \ensuremath{\phi=\pi},
therefore}} & =2a\sqrt{2}\int_{0}^{\pi}\sqrt{1+\cos(\phi)}\;\mathrm{d}\phi
\end{align}
}

\end{document} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


P.S. Also, there is another option: if you're using xelatex (in which
case LaTeX command in File > Preferences > External Tools > LaTeX should
be changed to: xelatex --interaction nonstopmode), you can load mathspec
package and use any font installed on your system. However, this might
not work perfectly in all cases (depending on quality of font used), so
you should take care. More infos in mathspec documentation:

http://ctan.ijs.si/tex-archive/help/Catalogue/entries/mathspec.html

Regards,

M.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scribus.net/pipermail/scribus/attachments/20110616/35e613a1/attachment.html>
Meho R.
2011-06-16 08:43:54 UTC
Permalink
Ah, sorry for mess in my previous email, my email client got wonky.
Here's another try:

There are many options. E.g., you can use any of these (usually
installed by default):

\usepackage{fourier}% uses Utopia font
\usepackage{mathpazo}% uses Palatino font
\usepackage{mathptmx}% uses Times font
\usepackage{kpfonts}% uses KP Serif font

\usepackage[charter]{mathdesign}% uses Charter font etc.

There are other fonts with math support. More infos here:
http://www.tug.dk/FontCatalogue/

As Stefan explained, \fontsize{x}{y}\selectfont commands (where "x" is
font size, e.g., 40pt, and "y" is baselineskip, e.g., 50pt) take care of
the size of the text. You'd probably want to use these commands locally,
i.e., in a group, inside curly brackets, as I did in the example below.

An example:

1. Open Scribus and create a Render Frame > Right Click > Edit Source
2. Tick off "Use Preamble" (since we'll use our own)
3. Type in this example code:

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\documentclass{article}

\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}

\usepackage{amsmath}
\usepackage{amssymb}

\usepackage{xcolor}

\usepackage{fourier}% uses Utopia font for text and math

\begin{document}

{
\color{red}
\fontsize{40}{40}\selectfont
Big text
}

\bigskip

{
\color{blue}
\fontsize{30}{30}
\selectfont
Math:
}

{
\fontsize{20pt}{20pt}
\selectfont
\begin{align}
I &
=a\sqrt{2}\int_{0}^{2\pi}\sqrt{1+\cos(\phi)}\;\mathrm{d}\phi\\
\intertext{\text{integrand is symmetric to
\ensuremath{\phi=\pi}, therefore}} &
=2a\sqrt{2}\int_{0}^{\pi}\sqrt{1+\cos(\phi)}\;\mathrm{d}\phi
\end{align}
}

\end{document}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

P.S. Also, there is another option: if you're using xelatex (in which
case LaTeX command in File > Preferences > External Tools > LaTeX should
be changed to: xelatex --interaction nonstopmode), you can load mathspec
package and use any font installed on your system. However, this might
not work perfectly in all cases (depending on quality of font used), so
you should take care. More infos in mathspec documentation:
http://ctan.ijs.si/tex-archive/help/Catalogue/entries/mathspec.html

Regards,

M.
Meho R.
2011-06-16 08:55:20 UTC
Permalink
...and one more thing: don't forget to tick "Embed PDF & EPS images
(EXPERIMENTAL)" when exporting the document to PDF, so that LaTeX code
doesn't get rasterized, but exported as vector.
a.l.e
2011-06-16 08:58:09 UTC
Permalink
Post by Meho R.
...and one more thing: don't forget to tick "Embed PDF & EPS images
(EXPERIMENTAL)" when exporting the document to PDF, so that LaTeX code
doesn't get rasterized, but exported as vector.
and don't forget that you have to setup your latex formula so that the
pdf produced is in the same color space as the final pdf you will be
producing!

in your case, going for all RGB is probably the best choice!

ciao
a.l.e
John Culleton
2011-06-16 13:28:39 UTC
Permalink
Post by a.l.e
and don't forget that you have to setup your latex formula so that the
pdf produced is in the same color space as the final pdf you will be
producing!
in your case, going for all RGB is probably the best choice!
ciao
a.l.e
If the end result is to be a poster then CMYK would be my choice. It is
printing after all.
--
John Culleton

"Death Wore Black" Police procedural: http://www.deathworeblack.com/

"Create Book Covers with Scribus"
www.lybrary.com/create-book-covers-with-scribus-p-74177.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scribus.net/pipermail/scribus/attachments/20110616/3a7146da/attachment.html>
a.l.e
2011-06-16 13:56:34 UTC
Permalink
hi
Post by John Culleton
If the end result is to be a poster then CMYK would be my choice. It is
printing after all.
he is probably printing the poster on a internal print shop with a laser
printer which expects RGB files...

afaik, nowadays, printing not always expects CMYK, anymore! and you
should only do CMYK if somebody requested to do so (or you have the
knowhow to handle CMYK!)

ciao
a.l.e
John Culleton
2011-06-16 14:24:48 UTC
Permalink
Post by a.l.e
hi
Post by John Culleton
If the end result is to be a poster then CMYK would be my choice. It is
printing after all.
he is probably printing the poster on a internal print shop with a laser
printer which expects RGB files...
afaik, nowadays, printing not always expects CMYK, anymore! and you
should only do CMYK if somebody requested to do so (or you have the
knowhow to handle CMYK!)
ciao
a.l.e
To each his own. My desktop color printer (HP Color Laser CP1518ni) has
four cartridges, Cyan, Magenta, Yellow and blacK. Clearly it will handle
CMYK just fine.

I do not see any difficulty in handling CMYK in Scribus. I use the Scribus
Open Office Palette with custom additions as is helpful. To see what the
end result is likely to look like I use the Galaxy Gauge Color Map Pro
which shows over 1,000 CMYK swatches with their CMYK numbers, and lots of
other useful information.

LSI insists on CMYK. If you give them RGB they will reprocess it to CMYK,
rasterizing the file in the process. Then it will be rasterized again in
prepress. Not good.

360 Digital Books has a very modern iGen press, but their guidelines still
specify CMYK. When I create items in RGB, as I did for my e-book listed
below, and then later convert them to CMYK the deep blues come out as
purple. So if print is the target CMYK is the safe choice.
--
John Culleton

"Death Wore Black" Police procedural: http://www.deathworeblack.com/

"Create Book Covers with Scribus"
www.lybrary.com/create-book-covers-with-scribus-p-74177.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scribus.net/pipermail/scribus/attachments/20110616/69fec785/attachment.html>
a.l.e
2011-06-16 16:14:13 UTC
Permalink
hi john,
Post by John Culleton
Post by a.l.e
Post by John Culleton
If the end result is to be a poster then CMYK would be my choice. It is
printing after all.
he is probably printing the poster on a internal print shop with a laser
printer which expects RGB files...
afaik, nowadays, printing not always expects CMYK, anymore! and you
should only do CMYK if somebody requested to do so (or you have the
knowhow to handle CMYK!)
ciao
a.l.e
To each his own. My desktop color printer (HP Color Laser CP1518ni) has
four cartridges, Cyan, Magenta, Yellow and blacK. Clearly it will handle
CMYK just fine.
if if it has four cartridges, your desktop printer probably expects RGC
(this means that your driver converts your job in RGB and then the
printer converts it back to CMYK.
Post by John Culleton
I do not see any difficulty in handling CMYK in Scribus.
yes, but it's harder to produce CMYK from latex.

since the persons having asked the question doesn't seem to have a deep
color knowledges, it's probably better for him to stick to RGB.

but why do simple, when one can do it complicated!

ciao
a.l.e
Meho R.
2011-06-16 17:26:21 UTC
Permalink
Post by a.l.e
hi john,
Post by John Culleton
Post by a.l.e
Post by John Culleton
If the end result is to be a poster then CMYK would be my choice. It is
printing after all.
he is probably printing the poster on a internal print shop with a laser
printer which expects RGB files...
afaik, nowadays, printing not always expects CMYK, anymore! and you
should only do CMYK if somebody requested to do so (or you have the
knowhow to handle CMYK!)
ciao
a.l.e
To each his own. My desktop color printer (HP Color Laser CP1518ni) has
four cartridges, Cyan, Magenta, Yellow and blacK. Clearly it will handle
CMYK just fine.
if if it has four cartridges, your desktop printer probably expects
RGC (this means that your driver converts your job in RGB and then the
printer converts it back to CMYK.
Post by John Culleton
I do not see any difficulty in handling CMYK in Scribus.
yes, but it's harder to produce CMYK from latex.
since the persons having asked the question doesn't seem to have a
deep color knowledges, it's probably better for him to stick to RGB.
but why do simple, when one can do it complicated!
ciao
a.l.e
___
Scribus Mailing List: scribus at lists.scribus.net
http://lists.scribus.net/mailman/listinfo/scribus
http://wiki.scribus.net
http://forums.scribus.net
Not really. It is enough to use cmyk option to xcolor package, define
your colors, and all is set. E.g.

\usepackage[cmyk]{xcolor}
\definecolor[named]{examplecolor}{cmyk}{0.10,1.00,0.55,0.39}

Then in the text use \color{examplecolor}. Simple as that.
John Culleton
2011-06-16 17:46:44 UTC
Permalink
Post by a.l.e
hi john,
Post by John Culleton
Post by a.l.e
Post by John Culleton
If the end result is to be a poster then CMYK would be my choice. It is
printing after all.
he is probably printing the poster on a internal print shop with a laser
printer which expects RGB files...
afaik, nowadays, printing not always expects CMYK, anymore! and you
should only do CMYK if somebody requested to do so (or you have the
knowhow to handle CMYK!)
ciao
a.l.e
To each his own. My desktop color printer (HP Color Laser CP1518ni) has
four cartridges, Cyan, Magenta, Yellow and blacK. Clearly it will handle
CMYK just fine.
if if it has four cartridges, your desktop printer probably expects RGC
(this means that your driver converts your job in RGB and then the
printer converts it back to CMYK.
Post by John Culleton
I do not see any difficulty in handling CMYK in Scribus.
yes, but it's harder to produce CMYK from latex.
since the persons having asked the question doesn't seem to have a deep
color knowledges, it's probably better for him to stick to RGB.
but why do simple, when one can do it complicated!
ciao
a.l.e
I agree simple is better than complicated, which is why I use either pdftex
or luatex instead of any form of LaTeX. The math formulas are identical.
There was no need to add the complexities of LaTeX to Scribus, but most
people are more famiiliar with LaTeX which is probably why it was chosen.
I have been working with TeX (various formats) for nearly 2 decades now.
I only use pdflatex when I need the various special facilities of the
Memoir class. That class is not relevant to Scribus.

The TeX file pdfcolor.tex defines 68 colors in CMYK form. (More could be
added by the user of course).
In that file each color is defined in two lines:

\def\cmykGreenYellow{0.15 0 0.69 0}
\def\GreenYellow{\pdfsetcolor{\cmykGreenYellow}}

Note that the range in TeX for a base color is 0 to 1, not 0 to 100
as in Scribus.

But the user need only know the name "GreenYellow"


You can use the file in e.g., pdftex thus:
\input pdfcolor.tex

Then in pdftex any passage of text can be enclosed in brackets and it will
appear in a designated color thus:
{\GreenYellow here is some text}

Now that is simple. And that is CMYK, TeX style.
--
John Culleton

"Death Wore Black" Police procedural: http://www.deathworeblack.com/

"Create Book Covers with Scribus"
http://booklocker.com/books/4055.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scribus.net/pipermail/scribus/attachments/20110616/107125e1/attachment.html>
a.l.e
2011-06-16 20:05:34 UTC
Permalink
On Thu, 16 Jun 2011 13:46:44 -0400
Post by SCRIBUS RIMITU
Post by a.l.e
hi john,
Post by John Culleton
Post by a.l.e
Post by John Culleton
If the end result is to be a poster then CMYK would be my
choice. It
is
Post by a.l.e
Post by John Culleton
Post by a.l.e
Post by John Culleton
printing after all.
he is probably printing the poster on a internal print shop with
a
laser
Post by a.l.e
Post by John Culleton
Post by a.l.e
printer which expects RGB files...
afaik, nowadays, printing not always expects CMYK, anymore! and
you should only do CMYK if somebody requested to do so (or you
have the knowhow to handle CMYK!)
ciao
a.l.e
To each his own. My desktop color printer (HP Color Laser
CP1518ni) has four cartridges, Cyan, Magenta, Yellow and blacK.
Clearly it will
handle
Post by a.l.e
Post by John Culleton
CMYK just fine.
if if it has four cartridges, your desktop printer probably expects
RGC (this means that your driver converts your job in RGB and then
the printer converts it back to CMYK.
Post by John Culleton
I do not see any difficulty in handling CMYK in Scribus.
yes, but it's harder to produce CMYK from latex.
since the persons having asked the question doesn't seem to have a
deep color knowledges, it's probably better for him to stick to RGB.
but why do simple, when one can do it complicated!
ciao
a.l.e
I agree simple is better than complicated, which is why I use either
pdftex or luatex instead of any form of LaTeX. The math formulas are
identical. There was no need to add the complexities of LaTeX to
Scribus, but most people are more famiiliar with LaTeX which is
probably why it was chosen. I have been working with TeX (various
formats) for nearly 2 decades now. I only use pdflatex when I need
the various special facilities of the Memoir class. That class is not
relevant to Scribus.
The TeX file pdfcolor.tex defines 68 colors in CMYK form. (More could
be added by the user of course).
\def\cmykGreenYellow{0.15 0 0.69 0}
\def\GreenYellow{\pdfsetcolor{\cmykGreenYellow}}
Note that the range in TeX for a base color is 0 to 1, not 0 to 100
as in Scribus.
But the user need only know the name "GreenYellow"
\input pdfcolor.tex
Then in pdftex any passage of text can be enclosed in brackets and it
{\GreenYellow here is some text}
Now that is simple. And that is CMYK, TeX style.
and at the end is the black used for the text cmyk?

haven't you read that the guy was already going to ditch scribus + latex because it's too complicated?

let's give him straight explanations no what he should and refrain from digressing in things which are not essential for him to reach his goal.

ciao
a.l.e
Jean-Louis Cordonnier
2011-06-16 09:50:04 UTC
Permalink
With Xelatex, you can use any font (if they are installed) ; if the font
is able to render cyrillic, it work's :

\documentclass[12pt]{article}

\usepackage{fontspec}

\begin{document}

\SelectFont{Baskerville Old Face} azerty

\SelectFont{Fontin} azert \smallskip

\SelectFont{Gentium} {\Huge MJGWERK gebayt ? \& ?????? ?????}
\emph{{\Huge MJGWERK gebayt ? \& ?????? ?????} } \smallskip


\SelectFont{Georgia} {\tiny MJGWERK gebayt ? \& ?????? ?????}
\emph{{\tiny MJGWERK gebayt ? \& ?????? ?????} } \smallskip


\SelectFont{XSerif Unicode} {\Huge MJGWERK gebayt ? \& ?????? ?????}
\emph{{\Huge MJGWERK gebayt ? \& ?????? ?????} } \smallskip


\end{document}
Post by Meho R.
Ah, sorry for mess in my previous email, my email client got wonky.
There are many options. E.g., you can use any of these (usually
\usepackage{fourier}% uses Utopia font
\usepackage{mathpazo}% uses Palatino font
\usepackage{mathptmx}% uses Times font
\usepackage{kpfonts}% uses KP Serif font
\usepackage[charter]{mathdesign}% uses Charter font etc.
http://www.tug.dk/FontCatalogue/
As Stefan explained, \fontsize{x}{y}\selectfont commands (where "x" is
font size, e.g., 40pt, and "y" is baselineskip, e.g., 50pt) take care
of the size of the text. You'd probably want to use these commands
locally, i.e., in a group, inside curly brackets, as I did in the
example below.
1. Open Scribus and create a Render Frame > Right Click > Edit Source
2. Tick off "Use Preamble" (since we'll use our own)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{xcolor}
\usepackage{fourier}% uses Utopia font for text and math
\begin{document}
{
\color{red}
\fontsize{40}{40}\selectfont
Big text
}
\bigskip
{
\color{blue}
\fontsize{30}{30}
\selectfont
}
{
\fontsize{20pt}{20pt}
\selectfont
\begin{align}
I &
=a\sqrt{2}\int_{0}^{2\pi}\sqrt{1+\cos(\phi)}\;\mathrm{d}\phi\\
\intertext{\text{integrand is symmetric to
\ensuremath{\phi=\pi}, therefore}} &
=2a\sqrt{2}\int_{0}^{\pi}\sqrt{1+\cos(\phi)}\;\mathrm{d}\phi
\end{align}
}
\end{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
P.S. Also, there is another option: if you're using xelatex (in which
case LaTeX command in File > Preferences > External Tools > LaTeX
should be changed to: xelatex --interaction nonstopmode), you can load
mathspec package and use any font installed on your system. However,
this might not work perfectly in all cases (depending on quality of
font used), so you should take care. More infos in mathspec
http://ctan.ijs.si/tex-archive/help/Catalogue/entries/mathspec.html
Regards,
M.
___
Scribus Mailing List: scribus at lists.scribus.net
http://lists.scribus.net/mailman/listinfo/scribus
http://wiki.scribus.net
http://forums.scribus.net
Meho R.
2011-06-16 10:20:40 UTC
Permalink
Post by Jean-Louis Cordonnier
With Xelatex, you can use any font (if they are installed) ; if the font
\documentclass[12pt]{article}
\usepackage{fontspec}
\begin{document}
\SelectFont{Baskerville Old Face} azerty
\SelectFont{Fontin} azert \smallskip
\SelectFont{Gentium} {\Huge MJGWERK gebayt ? \& ?????? ?????}
\emph{{\Huge MJGWERK gebayt ? \& ?????? ?????} } \smallskip
\SelectFont{Georgia} {\tiny MJGWERK gebayt ? \& ?????? ?????}
\emph{{\tiny MJGWERK gebayt ? \& ?????? ?????} } \smallskip
\SelectFont{XSerif Unicode} {\Huge MJGWERK gebayt ? \& ?????? ?????}
\emph{{\Huge MJGWERK gebayt ? \& ?????? ?????} } \smallskip
\end{document}
True, but not for math, for which you'll need mathspec (which load
fontspec automatically) or, alternatively (to some degree):
unicode-math. However, for missing symbols I think Computer Modern will
be used by default, so it is probably a good idea to load some of
packages with math support prior to loading mathspec, if CM is to be
avoided.
Meho R.
2011-06-16 21:53:49 UTC
Permalink
----- Original Message -----
From: a.l.e
Sent: 06/16/11 10:05 PM
To: scribus at lists.scribus.net
Subject: Re: [scribus] We should be able to change fontsize in latex editor
and at the end is the black used for the text cmyk?
haven't you read that the guy was already going to ditch scribus + latex because it's too complicated?
let's give him straight explanations no what he should and refrain from digressing in things which are not essential for him to reach his goal.
ciao
a.l.e
The guy gave up after first post mentioning how to do what he wants to do which left the impression he didn't even try (and doing it in Inkscape will probably be much more complicated than using Render Frame in Scribus directly). That's why I've written complete example which can be used by simple copy-paste if he doesn't want to try himself. So, he did get his explanation in quite simple terms and Scribus + LaTeX definitely isn't complicated at all (provided you know at least basics of LaTeX).

I personally appreciate John's comment even if I don't use "plain" TeX, but knowing different ways to do something is always useful. You never know ;)

P.S. What do you aim at with "is the black used for the text cmyk?"

Regards,

M.
a.l.e
2011-06-17 13:13:38 UTC
Permalink
hi
Post by Meho R.
The guy gave up after first post mentioning how to do what he wants to do which left the impression he didn't even try (and doing it in Inkscape will probably be much more complicated than using Render Frame in Scribus directly). That's why I've written complete example which can be used by simple copy-paste if he doesn't want to try himself. So, he did get his explanation in quite simple terms and Scribus + LaTeX definitely isn't complicated at all (provided you know at least basics of LaTeX).
yes, it was a good idea to show him (and the community) how (simply) the
job can be done...

but -- if we look at the original request -- i have the feeling that the
discussion has gone a bit too far.
we probably have to learn to start new threads when the subject changes
(have a look at this mail: it does not belong to the thread it's in!
look at the title above...).
Post by Meho R.
P.S. What do you aim at with "is the black used for the text cmyk?"
the explanation in this thread explained how to create (and apply) a
color... but it didn't mention that black is a color and -- if you want
a cmyk pdf -- you will have to redefine the color used for all the text!
(and this is really crucial, since the original poster will probably
only use black!)

have a nice afternoon!
a.l.e
John Culleton
2011-06-17 16:20:49 UTC
Permalink
On Fri, 17 Jun 2011 15:13:38 +0200
Post by a.l.e
hi
Post by Meho R.
The guy gave up after first post mentioning how to do what he wants
to do which left the impression he didn't even try (and doing it in
Inkscape will probably be much more complicated than using Render
Frame in Scribus directly). That's why I've written complete
example which can be used by simple copy-paste if he doesn't want
to try himself. So, he did get his explanation in quite simple
terms and Scribus + LaTeX definitely isn't complicated at all
(provided you know at least basics of LaTeX).
yes, it was a good idea to show him (and the community) how (simply)
the job can be done...
but -- if we look at the original request -- i have the feeling that
the discussion has gone a bit too far.
we probably have to learn to start new threads when the subject
changes (have a look at this mail: it does not belong to the thread
it's in! look at the title above...).
Post by Meho R.
P.S. What do you aim at with "is the black used for the text cmyk?"
the explanation in this thread explained how to create (and apply) a
color... but it didn't mention that black is a color and -- if you
want a cmyk pdf -- you will have to redefine the color used for all
the text! (and this is really crucial, since the original poster will
probably only use black!)
have a nice afternoon!
a.l.e
Black is the default in TeX. For CMYK use \Black is also defined in the
pdfcolor.tex file. There is no complexity here. If you switch colors
then you have to switch back to \Black if you want to go back to black.
This will hold in the Scribus render TeX function also, except the
LaTeX tags will have to be used.
Post by a.l.e
___
Scribus Mailing List: scribus at lists.scribus.net
http://lists.scribus.net/mailman/listinfo/scribus
http://wiki.scribus.net
http://forums.scribus.net
--
oohn Culleton
Able Indexers and Typesetters
Meho R.
2011-06-18 09:39:33 UTC
Permalink
Post by a.l.e
Post by Meho R.
P.S. What do you aim at with "is the black used for the text cmyk?"
the explanation in this thread explained how to create (and apply) a
color... but it didn't mention that black is a color and -- if you
want a cmyk pdf -- you will have to redefine the color used for all
the text! (and this is really crucial, since the original poster will
probably only use black!)
have a nice afternoon!
a.l.e
No, there's no need to redefine "standard" black color, the default one
used for text, xcolor package does that automatically (but if you want
to use \color{black} explicitly, then you should probably redefine/check
it first). Actually, if you use any color model for color definitions
(e.g. \definecolor[named]{mycolor}{rgb}{1,0,0}) and later want to
convert all colors to CMYK, it's enough to set "cmyk" as package option,
i.e. \usepackage[cmyk]{xcolor}, conversion is automatic.

John Culleton
2011-06-17 14:37:17 UTC
Permalink
On Thu, 16 Jun 2011 21:53:49 +0000
Post by Meho R.
----- Original Message -----
From: a.l.e
Sent: 06/16/11 10:05 PM
To: scribus at lists.scribus.net
Subject: Re: [scribus] We should be able to change fontsize in latex editor
and at the end is the black used for the text cmyk?
haven't you read that the guy was already going to ditch scribus +
latex because it's too complicated?
let's give him straight explanations no what he should and refrain
from digressing in things which are not essential for him to reach
his goal.
ciao
a.l.e
The guy gave up after first post mentioning how to do what he wants
to do which left the impression he didn't even try (and doing it in
Inkscape will probably be much more complicated than using Render
Frame in Scribus directly). That's why I've written complete example
which can be used by simple copy-paste if he doesn't want to try
himself. So, he did get his explanation in quite simple terms and
Scribus + LaTeX definitely isn't complicated at all (provided you
know at least basics of LaTeX).
I personally appreciate John's comment even if I don't use "plain"
TeX, but knowing different ways to do something is always useful. You
never know ;)
P.S. What do you aim at with "is the black used for the text cmyk?"
Regards,
M.
I think he is wondering if the black text is printed using CMYK. In fact
on a CMYK-capable press the k ink component will be used for black text.
My color laser for example has just the four cartridges. On my ink jet
the CMY components were in one cartridge and the black in another
simply because black gets used the most. If the press is not capable of
cmyk then the colored components will be printed grayscale as on my
B/W Ricoh Laser. And I need to make one small correction. In TeX the
braces do not limit the color, so the change back to black needs to be
explicit e.g.:
\Black
Of course if a rich black has been defined and used then more than just
the k ink or toner will be in play. This is not specific to TeX. It is
part of how a particular press handles colors.

John Culleton
Loading...