Example 1:
Header row, column 1 | Header 2 | Header 3 |
---|---|---|
body row 1, column 1 | column 2 | column 3 |
body row 2 | Cells may span |
http://www.youtube.com/watch?v=7YcPEKNDWng | |
http://www.youtube.com/watch?v=BKCz89o8cbs | |
http://www.youtube.com/watch?v=mmoZRzUVf_Y | |
http://www.youtube.com/watch?v=t1g9CiP2cc4 | |
http://www.youtube.com/watch?v=fqWXVd5Vx-w | |
http://www.youtube.com/watch?v=17FZEJaApxE |
\documentclass{article} | |
\usepackage{mathpazo} | |
\usepackage{xunicode} | |
\usepackage{fontspec} | |
\usepackage{listings} | |
\usepackage{xcolor} | |
\usepackage{fancyvrb} | |
\usepackage{polyglossia} | |
\setromanfont{TeXGyrePagella} |
Example 1:
Header row, column 1 | Header 2 | Header 3 |
---|---|---|
body row 1, column 1 | column 2 | column 3 |
body row 2 | Cells may span |
def es_par(x): | |
return x % 2 == 0 | |
def conjunto_potencia(s): | |
n = len(s) | |
# crear lista con 2^n conjuntos vacios | |
subconjuntos = [] | |
for i in range(2 ** n): | |
subconjuntos.append(set()) |
__global__ void sum(float *a, float *b, float *c) { | |
int i = threadIdx.x + blockDim.x * blockIdx.x; | |
c[i] = a[i] + b[i]; | |
} | |
# P1 | |
s = {78, 15, 91, 15} | |
print len(s) | |
# FIN P1 | |
# P2 | |
d = {78: 15, 91: 15} | |
print len(d) | |
# FIN P2 |
# | |
# /etc/fstab | |
# Created by anaconda on Fri Apr 22 00:06:17 2011 | |
# | |
# Accessible filesystems, by reference, are maintained under '/dev/disk' | |
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info | |
# | |
/dev/mapper/vg_loquito-lv_root / ext4 defaults 1 1 | |
UUID=8a7cf1e0-b7b1-4e7e-bc94-87b80b32e2af /boot ext4 defaults 1 2 | |
/dev/mapper/vg_loquito-lv_home /home ext4 defaults 1 2 |
TEXFILES = $(wildcard *.tex) | |
PDFFILES = $(TEXFILES:.tex=.pdf) | |
all: pdf | |
pdf: $(PDFFILES) | |
%.pdf: %.tex | |
@rubber --pdf $< | |
clean: |
\documentclass[10pt]{article} | |
\usepackage{beamerarticle} | |
\usepackage[spanish]{babel} | |
\usepackage[utf8]{inputenc} | |
\usepackage{fullpage} | |
\usepackage{xcolor} | |
\usepackage{listings} | |
\usepackage{textcomp} | |
\usepackage{mathpazo} | |
\usepackage{courier} |
program ordenar_archivo | |
implicit none | |
integer :: a, b, st | |
open (unit=10, file='a.txt', action='read') | |
do | |
read (10, *, iostat=st), a | |
if (st /= 0) exit | |
! lo que viene a continuacion es la manera que vimos para agregar un |