0

What is the use?

\begin{figure} 
 \item { \includegraphics[height=0.3\lineheight]{./images/filename} 
} 
\end{figure} 
  • 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 '16 at 9:21
  • 2
    Don't think \item is relevant here. You could simply try \textheight instead of \lineheight. – Sunilkumar KS May 26 '16 at 9:27
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]{...}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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