Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I want to modify the title section of the article class to look like something in the attached figure. Basically what I want is a kind of logo with flushed text (title, author, affiliation).

I tried playing little bit with minipage, wrapfigure but with no luck. Can you recommend a way of doing this?

enter image description here

share|improve this question
add comment

1 Answer

up vote 7 down vote accepted

Instead of redefining the \maketitle command, you can use \parboxes to produce the desired layout; something along these lines:

\documentclass{article}
\usepackage[demo]{graphicx}

\begin{document}  

\noindent\parbox[c]{.3\textwidth}{\includegraphics[width=.3\textwidth]{logo}}\hfill
\parbox[c]{.6\textwidth}{\raggedright%
  \sffamily {\LARGE Latest Developments in Evolutionary Biology--A New Perspective\par\bigskip}
  {John Doe\par\smallskip} 
{\footnotesize Theoretical Science Department, Nice University\par}
}

\end{document}

enter image description here

The demo option for graphicx simply replaces actual figures with black rectangles; do not use that option in your actual document.

And, just for fun, an option using TikZ to replicate the logo:

\documentclass{article}
\usepackage[demo]{graphicx}
\usepackage{tikz}

\definecolor{bgcolor}{RGB}{247,242,222}
\definecolor{myred}{RGB}{152,31,32}

\newcommand\logo{%
\begin{tikzpicture}
\node[draw=gray,line width=4pt,fill=bgcolor,rounded corners=3pt,minimum width=0.34\textwidth,align=center,inner sep=0pt,minimum height=3.3cm] (rect) 
{ \sffamily
  \parbox{.34\linewidth}{\color{myred}\footnotesize LECTURE \\ NOTES IN}%
  \parbox{.4\linewidth}{\color{myred}\Large\bfseries Science}
};
\draw[gray,line width=1pt] ([xshift=-8pt,yshift=-1.2cm]rect.north) -- +(0,-30pt);
\end{tikzpicture}%
}

\begin{document}  

\noindent\parbox[c]{.38\textwidth}{\logo}\hfill
\parbox[c]{.6\textwidth}{\raggedright%
  \sffamily {\LARGE Latest Developments in Evolutionary Biology--A New Perspective\par\bigskip}
  {John Doe\par\smallskip} 
{\footnotesize Theoretical Science Department, Nice University\par}
}

\end{document}

enter image description here

share|improve this answer
    
oh, please make the contents of the \parbox ragged right, and discourage hyphenation. –  barbara beeton Dec 13 '12 at 18:19
    
@barbarabeeton your wish is my command :-) –  Gonzalo Medina Dec 13 '12 at 18:22
    
Thanks a lot. That should solve my problem. –  Michael Foxchess Dec 13 '12 at 18:37
    
@MichaelFoxchess You're welcome! Thanks for accepting the answer :-) –  Gonzalo Medina Dec 13 '12 at 18:59
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.