Document ClassesHow to combine multiple IEEEtran articles without losing style

Information and discussion about specific document classes and how to create your own document classes.
Post Reply
anthony1
Posts: 1
Joined: Thu May 18, 2017 9:36 pm

How to combine multiple IEEEtran articles without losing style

Post by anthony1 »

I'm trying to merge multiple IEEEtran articles into one file, without losing style. Here's the original file (title block looks nice and clean):

Code: Select all

\documentclass[journal,transmag]{IEEEtran}

\begin{document}

    \title{Bare Demo of IEEEtran.cls for \textsc{Transactions on Magnetics}}
    \author{\IEEEauthorblockN{Michael Shell\IEEEauthorrefmark{1},
            Homer Simpson\IEEEauthorrefmark{2},
            James Kirk\IEEEauthorrefmark{3}, 
            Montgomery Scott\IEEEauthorrefmark{3}, and
            Eldon Tyrell\IEEEauthorrefmark{4},~\IEEEmembership{Fellow,~IEEE}}
        \IEEEauthorblockA{\IEEEauthorrefmark{1}School of Electrical and Computer Engineering,
            Georgia Institute of Technology, Atlanta, GA 30332 USA}
        \IEEEauthorblockA{\IEEEauthorrefmark{2}Twentieth Century Fox, Springfield, USA}
        \IEEEauthorblockA{\IEEEauthorrefmark{3}Starfleet Academy, San Francisco, CA 96678 USA}
        \IEEEauthorblockA{\IEEEauthorrefmark{4}Tyrell Inc., 123 Replicant Street, Los Angeles, CA 90210 USA}% <-this % stops an unwanted space
        }
    \markboth{Journal of \LaTeX\ Class Files,~Vol.~13, No.~9, September~2014}%
    {Shell \MakeLowercase{\textit{et al.}}: Bare Demo of IEEEtran.cls for Journals} 
    \maketitle  

\end{document}
Image

When i'm trying to merge couple of articles into one file using Combine, title block style seems broken:

Code: Select all

\documentclass[colclass=IEEEtran,journal,transmag]{combine}

\begin{document}

    \title{Bare Demo of IEEEtran.cls for \textsc{Transactions on Magnetics}}
    \author{\IEEEauthorblockN{Michael Shell\IEEEauthorrefmark{1},
            Homer Simpson\IEEEauthorrefmark{2},
            James Kirk\IEEEauthorrefmark{3}, 
            Montgomery Scott\IEEEauthorrefmark{3}, and
            Eldon Tyrell\IEEEauthorrefmark{4},~\IEEEmembership{Fellow,~IEEE}}
        \IEEEauthorblockA{\IEEEauthorrefmark{1}School of Electrical and Computer Engineering,
            Georgia Institute of Technology, Atlanta, GA 30332 USA}
        \IEEEauthorblockA{\IEEEauthorrefmark{2}Twentieth Century Fox, Springfield, USA}
        \IEEEauthorblockA{\IEEEauthorrefmark{3}Starfleet Academy, San Francisco, CA 96678 USA}
        \IEEEauthorblockA{\IEEEauthorrefmark{4}Tyrell Inc., 123 Replicant Street, Los Angeles, CA 90210 USA}% <-this % stops an unwanted space
    }
    \markboth{Journal of \LaTeX\ Class Files,~Vol.~13, No.~9, September~2014}%
    {Shell \MakeLowercase{\textit{et al.}}: Bare Demo of IEEEtran.cls for Journals} 
    \maketitle  

\end{document}
Image

TexStudio marks \IEEEauthorblockN and \IEEEauthorblockA as unrecognized commands. As far as i understand, Combine package suppress IEEEtran commands.

How can i use Combine without losing IEEEtran style? I want merged articles to keep its original style. Is there a more elegant way of merging articles?

logs:

Code: Select all

Expect warnings like:(combine) LaTeX Warning: Unused global option(s):(combine) [colclass=IEEEtran].
Unused global option(s): [colclass=IEEEtran].
Overfull \hbox (1322.6119pt too wide) in paragraph
Unused global option(s): [colclass=IEEEtran].

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

How to combine multiple IEEEtran articles without losing style

Post by Johannes_B »

Why don't you use pdfpages or a tool like pdfmerge to merge the already finished pdf files?
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Post Reply