LaTeX for Magazine articles

3,150 views
Skip to first unread message

Ashish Revar

unread,
Feb 1, 2011, 6:04:08 AM2/1/11
to latexus...@googlegroups.com
Hello there,

I was studying different packages of latex, at that time, I got a magazine with beautiful interface and wonderful page setup.
Is there any package for magazine and any good tutorial from which we can learn, how to make articles using LaTeX?

--
Thanks and Regards,
Ashish Revar,
Nirma University,
ashis...@gmail.com
9909298846


Peter Flynn

unread,
Feb 1, 2011, 6:25:15 AM2/1/11
to latexus...@googlegroups.com
On Tue, Feb 1, 2011 at 11:04 AM, Ashish Revar <ashis...@gmail.com> wrote:
Hello there,

I was studying different packages of latex, at that time, I got a magazine with beautiful interface and wonderful page setup.
Is there any package for magazine and any good tutorial from which we can learn, how to make articles using LaTeX?

I don't know any one. The problem with magazine work is that usually every page is designed differently, and there is a different selection of templates for every issue.  Plus most magazines are image-heavy, with relatively little text.

Making this as a .cls file would be a major project. On the other hand, if they only have 3-4 different templates, and they use the same ones every month, then it would certainly be possible.

What is the magazine?

If you want to learn how to make your own class files, read the documentation for the clsguide package at http://tug.ctan.org/cgi-bin/ctanPackageInformation.py?id=clsguide

///Peter

Ashish Revar

unread,
Feb 1, 2011, 6:30:34 AM2/1/11
to latexus...@googlegroups.com
Thanks Peter,

I am not working for any magazine. Just curious about to know the support provided by latex for the magazine publication.


--
You received this message because you are subscribed to the Google Groups "LaTeX Users Group" group.
To post to this group, send email to latexus...@googlegroups.com.
To unsubscribe from this group, send email to latexusersgro...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/latexusersgroup?hl=en.

Peter Flynn

unread,
Feb 1, 2011, 8:49:49 AM2/1/11
to latexus...@googlegroups.com
On Tue, Feb 1, 2011 at 11:30 AM, Ashish Revar <ashis...@gmail.com> wrote:
Thanks Peter,

I am not working for any magazine. Just curious about to know the support provided by latex for the magazine publication.

I didn't actually think you were working for a magazine. I was just curious to know what magazine you were looking at, so I could see how much work it would take.

///Peter

Ashish Revar

unread,
Feb 1, 2011, 12:00:23 PM2/1/11
to latexus...@googlegroups.com
Hey Peter,
Thanks for your interest.

Actually I am a post graduate student pursuing thesis in Cloud Computing, same there are several friends of mine are working on diverse fields. So I am merging their thesis and other stuff to make an complete knowledge bunch for us. So we can share our knowledge. That's why I am searching for a good magazine kind a template in LaTeX.

http://download.hakin9.org/en/Securing_the_Cloud_hakin9_07_2010.pdf

This one I am following and searching for the same kind of .tex file.
Is there any possibility to get a package of such kind, which I can modify as per my need and academic articles.
It would be an great help for me.

--
You received this message because you are subscribed to the Google Groups "LaTeX Users Group" group.
To post to this group, send email to latexus...@googlegroups.com.
To unsubscribe from this group, send email to latexusersgro...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/latexusersgroup?hl=en.

Peter Flynn

unread,
Feb 1, 2011, 5:22:54 PM2/1/11
to latexus...@googlegroups.com
On Tue, Feb 1, 2011 at 5:00 PM, Ashish Revar <ashis...@gmail.com> wrote:
Hey Peter,
Thanks for your interest.

Actually I am a post graduate student pursuing thesis in Cloud Computing, same there are several friends of mine are working on diverse fields. So I am merging their thesis and other stuff to make an complete knowledge bunch for us. So we can share our knowledge. That's why I am searching for a good magazine kind a template in LaTeX.

http://download.hakin9.org/en/Securing_the_Cloud_hakin9_07_2010.pdf

This one I am following and searching for the same kind of .tex file.
Is there any possibility to get a package of such kind, which I can modify as per my need and academic articles.
It would be an great help for me.

OK, thanks. There is no class or style file publicly available (that I know of) for something that complex. I counted 40 different page designs in that issue alone.

It is technically possible to do this in LaTeX but it is extremely complex, and would require the information to be in XML to start with, so that the LaTeX can be generated reliably. My company writes class files, but there is at least 3 months' work to develop one to produce this kind of layout to production standards, and I suspect the cost would not be within the range of a postgraduate budget.

Don't store your master information in LaTeX. I would suggest you pool your information using a wiki. Be rigorous about consistency in the markup (eg all articles follow the same pattern). That way you will have a publishable web site to start with. It is then possible to transform the wiki markup into XML or LaTeX, and develop a style file to make a nice PDF. Unless you plan on stealing their design(which would be illegal), you'll need to get a designer to specify the layout. There's a lot of work here: let us know how you get on.

///Peter

Paul A Norman

unread,
Feb 2, 2011, 4:58:02 PM2/2/11
to latexus...@googlegroups.com
Dear Ashish,

Nicola Talbot ...

http://theoval.cmp.uea.ac.uk/~nlct/ (various very helpful resources)

... has been writing and maintaining a very interesting package for
newspaper/magazine type flows. Connecting frames across different
pages etc ...

http://tug.ctan.org/tex-archive/macros/latex/contrib/flowfram/

Nicola has also prepared a Java utility for helping create the layouts
and frame flows where needed,  Jpgfdraw - "A Vector Graphics
Application for LaTeX Users"

http://theoval.cmp.uea.ac.uk/~nlct/jpgfdraw/

I have occasionally used flowfram, and once you get your head around
it, you can produce excellent results very easily. You need to do the
tutorials - then it will all flow :)

All of Nicola's work is documented to a very high standard, the User's
Guide for flowfram "Creating Flow Frames for Posters, Brochures or
Magazines using flowfram.sty v 1.13 January 2010" was written using
flowfram, so it is an example itself

http://ctan.unsw.edu.au/macros/latex/contrib/flowfram/ffuserguide.pdf.
( http://ctan.unsw.edu.au/macros/latex/contrib/flowfram/ffuserguide.html#top
- an online text only rendering.)

Hope that this information helps,

Paul

Ashish Revar

unread,
Feb 11, 2011, 12:18:18 AM2/11/11
to latexus...@googlegroups.com
Hello there,

I found out the probable solution for my question.
Thank you all.

There is one more useful link on  wiki,

I searched for this, but how to get download its source files and use them. 
They provides their source files but I am not able to run them.
What is this 'myway'? Can I use this one?

Peter Flynn

unread,
Feb 11, 2011, 6:00:37 PM2/11/11
to latexus...@googlegroups.com
On Fri, Feb 11, 2011 at 5:18 AM, Ashish Revar <ashis...@gmail.com> wrote:
Hello there,

I found out the probable solution for my question.
Thank you all.

There is one more useful link on  wiki,

I searched for this, but how to get download its source files and use them. 

ConTeXt is a different system to LaTeX. It uses TeX underneath, but the syntax is different.
 
They provides their source files but I am not able to run them.

This is a LaTeX list. For ConTeXt help you need a ConTeXt mailing list. See the wiki.
 
What is this 'myway'? Can I use this one?

Read the page you mentioned and follow the link to the wiki.

///Peter

Ashish Revar

unread,
Feb 16, 2011, 6:54:04 AM2/16/11
to latexus...@googlegroups.com
Hello there,

I am trying to make only two different page styles with 3 columns.

In first page there is one header image (A4 Paper), no header text only footer text which is the title of its own (article title). As we are having in report class (Chapter names.)
Like the example given below, which completely covers the page.
first.jpg

In second page all the text in 3 columns settings, with header and footer. 
page no should be at the end of color footer.
second.jpg

I know it's a bit complex but I am trying on the net to search for such code but not able to find or do at my own. So is there any help to get start with it?

--
You received this message because you are subscribed to the Google Groups "LaTeX Users Group" group.
To post to this group, send email to latexus...@googlegroups.com.
To unsubscribe from this group, send email to latexusersgro...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/latexusersgroup?hl=en.
first.jpg
second.jpg

Peter Flynn

unread,
Feb 17, 2011, 4:36:22 PM2/17/11
to latexus...@googlegroups.com
On Wed, Feb 16, 2011 at 11:54 AM, Ashish Revar <ashis...@gmail.com> wrote:
Hello there,

I am trying to make only two different page styles with 3 columns.

In first page there is one header image (A4 Paper), no header text only footer text which is the title of its own (article title). As we are having in report class (Chapter names.)
Like the example given below, which completely covers the page.

If you want to use their layout, you'll need their copyright permission. 
 
I know it's a bit complex but I am trying on the net to search for such code but not able to find or do at my own. So is there any help to get start with it?

Searching Google won't find you anything on this. The place to find the packages which let you make layouts is CTAN.

Here is the first page, as a sample. You'll have to do the rest of the work yourself: my company charges for this kind of thing, but treat this as a present :-)

I copied the header screenshot you posted, and snipped out the top right-hand image to 160px wide by 172px high. Going pro-rata to a page width of 210mm (A4) I calculated the rest of the dimensions, so you may want to vary them a little.

Read the documentation for all of the packages I use, so that you see why they're there...

///Peter

magazine.tex
cybermap.png
magazine.pdf

stefano franchi

unread,
Feb 17, 2011, 10:46:05 PM2/17/11
to latexus...@googlegroups.com
> Read the documentation for all of the packages I use, so that you see why
> they're there...
>
> ///Peter

Wow. I''m impressed. I never thought you could use Latex to produce
these kinds of layouts. And it is even relatively simple code...that
is, simple for someone like Peter who already knows all the packages
and how to use them. I just admire it knowing full well I'll never be
able to replicate it.


Cheers,

Stefano

Ashish Revar

unread,
Feb 17, 2011, 11:08:24 PM2/17/11
to latexus...@googlegroups.com
Thanks Peter,

Your present is really a great help to me. I can use it for learning purpose as well as for my academic purpose. I always love to be attached to this group, just because of the persons like you, Guru of LaTeX.

Your given code is really helpful to me.
Thanks again.

--
You received this message because you are subscribed to the Google Groups "LaTeX Users Group" group.
To post to this group, send email to latexus...@googlegroups.com.
To unsubscribe from this group, send email to latexusersgro...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/latexusersgroup?hl=en.

Peter Flynn

unread,
Feb 18, 2011, 7:49:28 AM2/18/11
to latexus...@googlegroups.com

I have the unfair advantage of age :-) having been using TeX since around 1980.

But the whole business of making things bleed off the edge of the paper is a kludge which TeX and LaTeX were never envisaged to do: their document model defaults to a constraint at the edge of the text area, which is why you have to resort to nasties like \kern and \smash to break through the barriers. Most of the rest is just packages and a little manipulation.

ConTeXt does a much better job of this, as it was designed for modern layout styles. It might be worth looking at it for applications like this; although the syntax is slightly different, it shouldn't be a problem for anyone knowing LaTeX. See http://www.berenddeboer.net/tex/ for a summary.

///Peter

Ashish Revar

unread,
Feb 25, 2011, 3:57:19 AM2/25/11
to latexus...@googlegroups.com
Thanks Peter,

I was playing with this code for further modifications, at that time I found a question related to page style limitations.
I mean the next page includes the image and other black colored box at the top,
but If I want those style only for first page and then all the content in 3 column. This will hide the side bar that is created for first page layout.

How to overcome this obstacle this?

--
You received this message because you are subscribed to the Google Groups "LaTeX Users Group" group.
To post to this group, send email to latexus...@googlegroups.com.
To unsubscribe from this group, send email to latexusersgro...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/latexusersgroup?hl=en.

Peter Flynn

unread,
Feb 25, 2011, 6:26:50 AM2/25/11
to latexus...@googlegroups.com
On Fri, Feb 25, 2011 at 8:57 AM, Ashish Revar <ashis...@gmail.com> wrote:
Thanks Peter,

I was playing with this code for further modifications, at that time I found a question related to page style limitations.
I mean the next page includes the image and other black colored box at the top,
but If I want those style only for first page and then all the content in 3 column. This will hide the side bar that is created for first page layout.

How to overcome this obstacle?

The fancyhdr package lets you define new page styles for headers and footers which you can then implement on each page with \thispagestyle{...}

///Peter

Ashish Revar

unread,
Feb 28, 2011, 12:32:48 AM2/28/11
to latexus...@googlegroups.com
Thanks Peter,

I have created new page style as per your suggestion,

\fancypagestyle{extra}
{
\fancyhead[R]{\leavevmode\null\kern180mm\smash{\raisebox{9mm}
        \story{#2}\par
      \fboxsep17mm\colorbox{gray}{\vbox to6mm{%
      \hsize250mm\color{white}\sffamily\large\so\rightmark}}}
      }
\fancyhead[L]{\leavevmode\null\kern-16mm\smash{\raisebox{-9mm}{%
      \fboxsep8mm\colorbox{red}{\vbox to6mm{%
      \hsize200mm\color{white}\sffamily\large\so\leftmark}}}}}
}

It works fine for static text but I want to print the title of the story dynamically in the right side of the following pages, but I am not able to call the function in header.

As per peter's code,  there is one new environment defined by him 
\newenvironment{story}[3][\relax]{%

I want to call the second parameter in right header, any guess?


--
You received this message because you are subscribed to the Google Groups "LaTeX Users Group" group.
To post to this group, send email to latexus...@googlegroups.com.
To unsubscribe from this group, send email to latexusersgro...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/latexusersgroup?hl=en.

Peter Flynn

unread,
Feb 28, 2011, 3:56:09 AM2/28/11
to latexus...@googlegroups.com
On Mon, Feb 28, 2011 at 5:32 AM, Ashish Revar <ashis...@gmail.com> wrote:
Thanks Peter,

I have created new page style as per your suggestion,

The clue is here:
 
      \hsize200mm\color{white}\sffamily\large\so\leftmark}}}}}
 
It works fine for static text but I want to print the title of the story dynamically in the right side of the following pages, but I am not able to call the function in header.

As per peter's code,  there is one new environment defined by him 
\newenvironment{story}[3][\relax]{%

You can't use \story in the header: it's for printing the story in the page body.
Read the documentation for the fancyhdr package, section 9, page 9.
You need to put the story title into a mark, and then use that in the header.
eg


 \newenvironment{story}[3][\relax]{%
...
   \markright{#2}

and then in your new headers, use \rightmark. The headers don't get processed until after the page body has been formed, so by that time the mark should already exist.

///Peter

Reply all
Reply to author
Forward
0 new messages