Below is just about everything you’ll need to style in the theme. Check the source code to see the many embedded elements within paragraphs.
Lorem ipsum dolor sit amet, test link adipiscing elit. This is strong. Nullam dignissim convallis est. Quisque aliquam. This is emphasized. Donec faucibus. Nunc iaculis suscipit dui. 53 = 125. Water is H2O. Nam sit amet sem. Aliquam libero nisi, imperdiet at, tincidunt nec, gravida vehicula, nisl. The New York Times (That’s a citation). Underline. Maecenas ornare tortor. Donec sed tellus eget sapien fringilla nonummy. Mauris a ante. Suspendisse quam sem, consequat at, commodo vitae, feugiat in, nunc. Morbi imperdiet augue quis tellus.
HTML and CSS are our tools. Mauris a ante. Suspendisse quam sem, consequat at, commodo vitae, feugiat in, nunc. Morbi imperdiet augue quis tellus. Praesent mattis, massa quis luctus fermentum, turpis mi volutpat justo, eu volutpat enim diam eget metus. To copy a file type COPY undefined
. Dinner’s at 5:00. Let’s make that 7. This text has been struck.
Images commented out to improve page loading speed.
List Item 2
Table Header 1 | Table Header 2 | Table Header 3 |
---|---|---|
Division 1 | Division 2 | Division 3 |
Division 1 | Division 2 | Division 3 |
Division 1 | Division 2 | Division 3 |
Typographically, preformatted text is not the same thing as code. Sometimes, a faithful execution of the text requires preformatted text that may not have anything to do with code. Most browsers use Courier and that’s a good default — with one slight adjustment, Courier 10 Pitch over regular Courier for Linux users.
Code can be presented inline, like <?php bloginfo('stylesheet_url'); ?>
, or within a <pre>
block.
CSS code
#container {
float: left;
margin: 0 -240px 0 0;
width: 100%;
}
Ruby code
class Song
def initialize(title, artist, album)
@title = name
@artist = artist
@album = album
end
end
class InstrumentalSong < Song
def initialize(name, artist, album, lyrics)
super(name, artist, album)
@lyrics = lyrics
end
end
Python Code
import matplotlib.pyplot as plt
def myPrint(text, title="My Title"):
"""This is a plotting function"""
print(title)
print(text)
myPrint("Holy Cow! This is a great printing funtion!")
R Code
require("mosaic")
##----------- IMPORTING DATA -------------
# set working directory
setwd("E:/Documents/odrive/kratzer.canby/College_future/Classes/Stats/Labs/Lab Week 9/")
# read data from file into variable dataframe
MILE <- read.delim("MILEAGE.csv", sep=",")
# take a look
hist(MILE$mpg, breaks=seq(20,46,2),
main="Gas Mileage of ")
favstats(MILE$mpg)
Stata Code
*Clear all variables
clear
*Change install directory, and set personal directory
net set ado "\\Client\D$\"
sysdir set PERSONAL "\\Client\D$\"
*change to directory
cd "\\Client\B$\Final"
*-----------------------------------
* QUESTION 1
*-----------------------------------
*Clear eststo memory
eststo clear
*Open data
use hprice.dta, clear
*_____________ part a _______________
* create ln(price) and ln(dist)
gen lprice = log(price)
gen ldist = log(dist)
* estimate OLS log-log model
eststo OLS: reg lprice ldist area age rooms baths year, robust
*____________ part b ______________
* create indicator for less than 5 miles
gen D5 = (dist<5*5280) // 1 if within 5 miles
gen post = (year==1981) // 1 if 1981 (after incin. built)
gen D5_post = D5*post // 1 if within 5 miles and after incin. built
* DID method
eststo DID: reg lprice D5 post D5_post, robust
eststo DID2: reg lprice D5 post D5_post area age rooms baths, robust
*CREATE TABLE
esttab OLS DID DID2 using stata_1b.tex, replace b(4) se(3) style(tex) nonumbers ///
title(Regressions of \lprice\label{tab1b}) wide nogaps compress ///
star(* 0.10 ** 0.05 *** 0.01) ///
mtitles("Simple \eqref{eqpricelin}" ///
"DID \eqref{eqpricedid}" ///
"DID w/ controls")
Let’s keep it simple. Italics are good to help set it off from the body text. Be sure to style the citation.
Good afternoon, gentlemen. I am a HAL 9000 computer. I became operational at the H.A.L. plant in Urbana, Illinois on the 12th of January 1992. My instructor was Mr. Langley, and he taught me to sing a song. If you’d like to hear it I can sing it for you. — HAL 9000
And here’s a bit of trailing text.
The a element example
The abbr element and abbr element with title examples
The b element example
The cite element example
The code element
example
The del element example
The dfn element and dfn element with title examples
The em element example
The i element example
The ins element example
The kbd element example
The mark element example
The q element
example
The inside
a q elements element example
The samp element example
The small element example
The span element example
The strong element example
The sub element example
The sup element example
The var element example
The u element example
Sometimes all you want to do is embed a little love from another location and set your post alive.
Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Culpa qui officia deserunt mollit anim id est laborum.
Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Culpa qui officia deserunt mollit anim id est laborum.
Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Culpa qui officia deserunt mollit anim id est laborum.
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt.
It is awesome.
Source: Markdown code of this page is based on Ghost’s comprehensive style test