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 put figures (controller button icons) beside text, for a game manual, like this image:

screenshot

source: http://www.zeldacapital.com/manual/ootmanual.pdf page 17

share|improve this question
    
You can use tikz with the baseline option. –  azetina Sep 23 '12 at 20:53
add comment

3 Answers

up vote 6 down vote accepted

If you have the figure, you can use \includegraphics[scale=0.1]{*filename*} of graphicxpackage directly in the text (not in an environment like center or figure). You can use the scale factor to fit the figure in the text.

share|improve this answer
    
how to control vertical position?, image is putting itself like a exponential value (i dont know how to explain) –  Joe Cabezas Sep 23 '12 at 21:39
    
i solved it using trim: [scale=0.4, trim= 0 30 0 0] –  Joe Cabezas Sep 23 '12 at 21:51
add comment

Similar to @Gonazalo Medina:

\documentclass[letterpaper]{article}
\usepackage{tikz}
\newcommand*\circled[1]{\tikz[baseline=(char.base)]{
  \node[shape=circle,fill=blue!80,inner sep=2pt,text=white] (char) {\bfseries\sffamily #1};}}
\begin{document}
text on the left \circled{A}  text on the right
\end{document}

This yields:

enter image description here

share|improve this answer
add comment

Using TikZ:

\documentclass{article}
\usepackage{tikz}

\begin{document}

Press the \tikz[baseline=-1.3ex]\node[circle,fill=blue!80,inner sep=1pt] (O) {\LARGE\bfseries\sffamily\textcolor{white}{A}}; Button

\end{document}

enter image description here

share|improve this answer
    
wow, pretty amazing!, but actually i want to use xbox controller buttons, this blue circled "A" buttons is just an example about i want to do images i want to put are here: github.com/sgraham/gamepad.js/tree/master/images/Xbox360 –  Joe Cabezas Sep 23 '12 at 21:36
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.