heading

Can CSS give me paragraph styling based on the previous heading class?

So I want to rig up some css rules for interview transcripts. The format I have in mind looks something like this: <h2 class="interviewer">Alice: [00:00:00]</h2> <p>Is it ok if I ask you a question now?</p> <h2 class="interviewee">Bob: [00:00:03]</h2> <p>Sure go ahead.</p> I'd like the paragraph to be a particular colour based on th...

How to underline section-headings in LaTeX?

EDIT: As I see in the first answer, underline is the wrong word. I want a line under the section heading, separating the heading from the following text. I want to separate section headings from the following text with a horizontal line. At the moment I use the following: \newcommand{\tmpsection}[1]{} \let\tmpsection=\section \renewcom...

Float "edit" link to right of Heading (must keep heading tag block)

Given the following html <div class="module"> <div class="header"> <h1>Test Heading</h1> <a href="">edit</a> </div> <div class="body"> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis eu lacus at augue tristique dignissim. Nunc...

Find the first point along a heading that is a specified distance away from a line segment.

Hi, Given a starting point, a heading, a distance, and a line segment, find the first point along this heading that is the specified distance away from this line segment. I covered two cases, but I haven't been able to cover the last one. First case: heading away from the line. Ignore it even if the starting point is within the specifie...

How to colorize section headings in LaTeX like this?

Hi, Accidently I created this nice colored effect on my LaTeX TOC: http://i43.tinypic.com/o5aptl.png Which I like and want to keep, I created this effect like this: \definecolor{Section1}{rgb}{0.09,0.21,0.36} \section{\color{Section1}Introdução} However, as you can see on the TOC sidebar, there was a nasty side effect. I tried to f...

Rotate a feature programatically Open Layers

TLDR I want to rotate a Feature in my open layers. I want it to face a certain heading that I am receiving from server. I know that you can make a feature spin on a point or so on: window.setInterval(function() {rotateFeature( pointFeature, 360 / 20, origin)}, 100); as from the open layers example. But I want to be able to...

How to replicate the styling of html heading tags

Can anyone tell me how to replicate the styling of a <h3> tag using CSS? ...

Remove Field Heading in Crystal Reports

Hi, I have a crystal report designer problem: In my report is a field I want to display. But I don't want the field heading to be displayed. How can I suppress this? It looks like this: myFieldHeading FieldValue1 FieldValue2 FieldValue3 But I want just that: FieldValue1 FieldValue2 FieldValue3 How can I do that? bye juergen ...

moving CGPoint a certain distance along a certain heading...iphone

this seems like such a simple problem but I have been unable to find an answer (and im no good at math). I am trying to move a UIView to a new CGPoint X distance away along a certain heading. What is the formula for determining the new coordinates? (i do no want this to be animated, just an instantaneous move) something like: x = 100;...

How to handle invalid CLHeading updates?

When there is magnetic interference the built in heading calibration message is displayed. Also I noticed that if location is not available, magnetic heading is valid but not true heading. So what is the standard or best way to handle invalid heading updates? Should I just keep waiting for a valid heading to be received or show some cu...

iPhone direction/compass not detectable

Hey, I'm having a hard time figuring out what I'm doing wrong. I want do read the direction my iPhone is facing to. Here's my code: self.man = [[CLLocationManager alloc] init] ; self.man.delegate = self; self.man.desiredAccuracy = kCLLocationAccuracyNearestTenMeters; self.man.headingFilter = kCLHeadingFilterNone; if([self.man headingA...

Heading does not update properly unless compass is started on iPhone 3gs/4g

I have a subtle bug that I'm trying to resolve regarding getting updated locations on the iPhone. Under "normal" conditions, the heading updates come in perfectly fine from the location manager. However, on reboot of the phone or killing all processes on the phone, the heading does not update properly. I always get a -1 for heading. ...