Graphics, Figures & Tables ⇒ Text on either side of the Logo
Text on either side of the Logo
I have been struggling with a letterhead design on which I want the logo/insignia centred (which I have successfully done) with the name of my institution split and printed on either side of the log's middle -- not below or above. Please could some one help me? Thanks in advance.
- Attachments
-
- logo.png (2.69 KiB) Viewed 3139 times
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
Text on either side of the Logo
Code: Select all
Institute of\hfill\includegraphics{logo}\hfill Applied Duck Dance
Code: Select all
\hfill Institute of\quad\includegraphics{logo}\quad Applied Duck Dance
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Re: Text on either side of the Logo
Johannes,
Thanks! Unfortunately that did not work. May be, I did not make myself clear. Imagine a logo 12X12 cms. I want the text {This is} and {my university} to appear on either side of this log at exactly 6 cm height of the logo. Possible?
Thanks! Unfortunately that did not work. May be, I did not make myself clear. Imagine a logo 12X12 cms. I want the text {This is} and {my university} to appear on either side of this log at exactly 6 cm height of the logo. Possible?
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
Text on either side of the Logo
Look at the image you posted once more, and now pretend to be a complete stranger. Would you, as a stranger, have known what is wanted/needed? Here a solution using
tabularx
.
Code: Select all
\documentclass{article}
\usepackage{graphicx}
\usepackage{tabularx}
\usepackage[textwidth=17cm,showframe]{geometry}
\setlength{\textwidth}{17cm}
\begin{document}
\noindent\begin{tabularx}{\textwidth}{@{}X@{}m{12cm}@{}X@{}}
University &%
\includegraphics[width=\linewidth]{example-image-1x1}
&\hfill other text
\end{tabularx}
\end{document}
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
- Stefan Kottwitz
- Site Admin
- Posts: 10316
- Joined: Mon Mar 10, 2008 9:44 pm
Re: Text on either side of the Logo
Hi rsdhar,
did this already help? I assume this works fine. Let us know if you would need any additional help.
For now, I will mark the topic as solved. But feel free to continue here in this question. Or in a new topic for a new question.
Stefan
did this already help? I assume this works fine. Let us know if you would need any additional help.
For now, I will mark the topic as solved. But feel free to continue here in this question. Or in a new topic for a new question.

Stefan
LaTeX.org admin