Search found 13 matches

by ceke
Wed Jun 13, 2012 8:55 pm
Forum: Graphics, Figures & Tables
Topic: Determining Size of Image prior to its Display
Replies: 4
Views: 3207

Determining Size of Image prior to its Display

PROBLEM SOLVED!

So, this is how I did it, Beamer lingo:

-----------------------------
\newlength{\mywidth}

% Just find out the width of the image after scaling, don't actually show it
\settowidth{\mywidth}{\includegraphics[width=\textwidth,height=.75\textheight,keepaspectratio]{myimage.jpg ...
by ceke
Wed Jun 13, 2012 8:29 pm
Forum: Graphics, Figures & Tables
Topic: Determining Size of Image prior to its Display
Replies: 4
Views: 3207

Re: Determining Size of Image prior to its Display

Hej,

That could have been exactly what I was looking for. Unfortunately it does not work.

I'm using Beamer and would like to do some customized block environment, for example to show a boxed image, automatically scaled to fit the slide. Problem is that the \begin{block}...\end{block} automatically ...
by ceke
Wed Jun 13, 2012 1:02 pm
Forum: Graphics, Figures & Tables
Topic: Determining Size of Image prior to its Display
Replies: 4
Views: 3207

Determining Size of Image prior to its Display

Hej,

I'm using the graphicx package to include pictures into a slide presentation.

The following works fine:
\includegraphics[width=\textwidth,height=.75\textheight,keepaspectratio]{figure.png}
This automatically makes the figure fill the "printable" area.

What I would like to do, though, is ...
by ceke
Sun Jan 25, 2009 3:56 pm
Forum: Page Layout
Topic: Problems with page headers (fancyhead)
Replies: 4
Views: 4708

Problems with page headers (fancyhead)

Hi again!

Adding this to my code:

\renewcommand{\chaptermark}[1]{\markboth{\chaptername\ \thechapter. #1}{\chaptername\ \thechapter. #1}}


did not help. It seems like fancyhead is redefining the markers. The only workaround I found so far is to add the following at the top of the no-sections ...
by ceke
Sun Jan 25, 2009 12:58 pm
Forum: Page Layout
Topic: Problems with page headers (fancyhead)
Replies: 4
Views: 4708

Problems with page headers (fancyhead)

Hej guys!

I have a problem with the fancyheadings package.

I have a style that prints the chapter name on odd pages and section marks on even pages, pretty much like the default.

Now, if there is a chapter with no sections in it, for example a simple summary chapter at the end, the problem is ...
by ceke
Sun Dec 07, 2008 4:42 pm
Forum: General
Topic: Using $\cdot$: important?
Replies: 2
Views: 3388

Re: Using $\cdot$: important?

I would either use $\cdot$ or nothing at all, never $.$
/C
by ceke
Sat Nov 22, 2008 8:59 pm
Forum: New Members
Topic: Elvis has left the building, but I just entered...
Replies: 2
Views: 2441

Re: Elvis has left the building, but I just entered...

Thank you!

I will probably be in and out of here in periods. I tend to do that on most forums. Once I go somewhere because I'm looking for answers to some problem of my own, I end up spending most of the time answering other people's questions. After a while, life usually catches up and I thrown ...
by ceke
Sat Nov 22, 2008 8:28 pm
Forum: General
Topic: long equation across whole page in two-column document
Replies: 5
Views: 110680

long equation across whole page in two-column document

This will also do the trick. It takes some manual fiddling to get the equation numbering right, but it should work.
/JC

\newcounter{mytempeqncnt}
\section{Introduction}
Bla bla...

\begin{figure*}[!t]
% ensure that we have normalsize text
\normalsize
% Store the current equation number ...
by ceke
Sat Nov 22, 2008 7:30 pm
Forum: General
Topic: urgent! Need a plot and can't do it
Replies: 5
Views: 4076

Re: urgent! Need a plot and can't do it

If you like the looks of plots made in GNUplot (I don't) you could install the very powerful (and free) mathematics package Octave, http://www.gnu.org/software/octave/

Octave has a syntax very similar to MATLAB, so if you find a way of implementing the function you like to plot in either of the two ...
by ceke
Sat Nov 22, 2008 7:06 pm
Forum: New Members
Topic: Elvis has left the building, but I just entered...
Replies: 2
Views: 2441

Elvis has left the building, but I just entered...

Hey guys!

Got wind of this forum when some of you emailed me regarding a class I wrote (eis_msc_thesis) for Master's theses.

I don't even remembered when I started using LaTeX, but it's been a while. As with most, it was love at first sight. It started when an old colleague introduced me to ...