Graphics, Figures & TablesText on either side of the Logo

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
rsdhar
Posts: 2
Joined: Mon Oct 24, 2016 6:17 am

Text on either side of the Logo

Post by rsdhar »

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
logo.png (2.69 KiB) Viewed 3138 times

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
TikZ book
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Text on either side of the Logo

Post by Johannes_B »

Code: Select all

Institute of\hfill\includegraphics{logo}\hfill Applied Duck Dance
or maybe

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.
rsdhar
Posts: 2
Joined: Mon Oct 24, 2016 6:17 am

Re: Text on either side of the Logo

Post by rsdhar »

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?
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Text on either side of the Logo

Post by Johannes_B »

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.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10316
Joined: Mon Mar 10, 2008 9:44 pm

Re: Text on either side of the Logo

Post by Stefan Kottwitz »

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
LaTeX.org admin
Post Reply