0

What is the use?

\begin{figure} 
 \item { \includegraphics[height=0.3\lineheight]{./images/filename} 
} 
\end{figure} 
2
  • 1
    This is somewhat a repeat of your other question: tex.stackexchange.com/questions/311409/…. Apparently your using an external itemize or enumerate environment around the figure environment. I don't think this is really useful
    – user31729
    May 26, 2016 at 9:21
  • 2
    Don't think \item is relevant here. You could simply try \textheight instead of \lineheight. May 26, 2016 at 9:27

1 Answer 1

2

The normal distance between base lines is \baselineskip:

\includegraphics[height=.3\baselineskip]{...}

Or the height can be calculated, e.g.:

\newdimen\MyLineHeight % goes into the preamble
...
\settoheight{\MyLineHeight}{H}%
\includegraphics[height=.3\MyLineHeight]{...}

Or with package calc:

\usepackage{calc}% goes into the preamble
...
\includegraphics[height=\heightof{H}*3/10]{...}

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .