Error de compilación:
Publicado por OscarCapote (1 intervención) el 26/01/2013 16:58:30
Hola, tengo un problema y es que en los documentos que ahora creo me sale un error de Text line contains an invalid character, no obstante otros documentos que creo que tienen el mismo preámbulo no me sale ese problema, aquí cuelgo un poco del código:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
% Definimos el estilo del documento
\documentclass[10.5pt,a4paper,spanish]{article}
% Utilizamos el paquete para utilizar español
\usepackage[spanish]{babel}
% Utilizamos un paquete para gestionar los acentos y las eñes
\usepackage[utf8]{inputenc}
\usepackage[pdftex]{graphicx}
% Definimos la zona de la pagina ocupada por el texto
\oddsidemargin -1.0cm
\headsep -2.4cm
\textwidth=18.5cm
\textheight=26cm
\usepackage{fullpage}
\usepackage{listings}
\usepackage{color}
\usepackage{amssymb}
\usepackage{dsfont}
\begin{document}
\title{\scshape {Tema 4:\\Elementos de mecánica analítica}}
\author{Oscar Fajardo Fontiveros\\original de Jesús González}
%\date{}
\maketitle
\definecolor{dkgreen}{rgb}{0,0.6,0}
\definecolor{gray}{rgb}{0.5,0.5,0.5}
\definecolor{mauve}{rgb}{0.58,0,0.82}
\lstset{ %
language=Octave, % the language of the code
basicstyle=\footnotesize, % the size of the fonts that are used for the code
numbers=left, % where to put the line-numbers
numberstyle=\footnotesize, % the size of the fonts that are used for the line-numbers
stepnumber=1, % the step between two line-numbers. If it's 1, each line
% will be numbered
numbersep=5pt, % how far the line-numbers are from the code
backgroundcolor=\color{white}, % choose the background color. You must add \usepackage{color}
showspaces=false, % show spaces adding particular underscores
showstringspaces=false, % underline spaces within strings
showtabs=false, % show tabs within strings adding particular underscores
frame=single, % adds a frame around the code
tabsize=2, % sets default tabsize to 2 spaces
captionpos=b, % sets the caption-position to bottom
breaklines=true, % sets automatic line breaking
breakatwhitespace=false, % sets if automatic breaks should only happen at whitespace
title=\lstname, % show the filename of files included with \lstinputlisting;
% also try caption instead of title
numberstyle=\tiny\color{gray}, % line number style
keywordstyle=\color{blue}, % keyword style
commentstyle=\color{dkgreen}, % comment style
stringstyle=\color{mauve}, % string literal style
escapeinside={\%*}{*)}, % if you want to add a comment within your code
morekeywords={*,...} % if you want to add more keywords to the set
}
\tableofcontents
\newpage
\section{\textbf{Creo que cinemática.}}
\subsection{\textbf{Transformaciones de Galileo:}}
\subsubsection{Crítica de la física clásica:}
\flushleft
\renewcommand{\labelitemi}{\textbullet}
\renewcommand{\labelitemii}{\textendash}
\begin{itemize}
\item Mecánica Clásica: Estudio del movimiento:
\begin {itemize}
\item Isaac Newton ($1687$): \textit{\underline{Philosophiae naturalis principia mathematica}.}
\item Joseph-Louis Lagrange ($1811$):\textit{\underline{Mecánique analítique}.}
\item William Rowan Hamilton ($1834, 1835$):\textit{\underline{On a general method in Dynamics}} en \textit{\underline{The Philosophical Transactions of the Royal Society}.}
\end {itemize}
\item Electromagnetismo: Estudios de fenómenos eléctricos y electromagnéticos.
\begin {itemize}
\item James Clerk Maxwell ($1837$):\textit{\underline{A Treatise on Electricity and Magnetism}.}
\end{itemize}
\item Aplicación conjunto de ambas construcciones teóricas, se contradicen entre ellas.
\item Teoría de la Relatividad Especial (Albert Einstein, $1905$: \textit{\underline{Zur Elektrodynamic bewegter körper}} en \textit{\underline{Annalen der Physic}}.
\end{itemize}
\subsubsection {\textbf{Fundamentos de mecánica clásica:}}
\begin {itemize}
\item Espacio absoluto y universal:
\begin {itemize}
\item Todo suceso ocurre en un espacio que es el mismo para todos los experimentos.
\end {itemize}
\item Tiempo absoluto y universal:
\begin {itemize}
\item Todo proceso discurre en un tiempo idéntico para todos los experimentos.
\end {itemize}
\item Sistema de referencia absoluto:
\begin {itemize}
\item Existe un sistema de referencia en el que son válidas las leyes de la Mecánica.
\item Problema: ¿Cómo son las leyes de la Mecánica en un sistema de referencia distinto del absoluto?
\end {itemize}
\item Esquema teórico:
\begin {itemize}
\item Sistema de referencia, $S$, con coordenadas $x,y,z,t$.
\item Sistema de referencia, $S'$, con coordenadas $x',y',z',t'$.
\item $S'$ se mueve con velocidad \[\vec v = cte\].
\end {itemize}
\item Elección de sistema de coordenadas:
\begin{itemize}
\item Eje homónimos paralelos.
\item Eje
\end{itemize}
\end {itemize}
\end {document}
Valora esta pregunta


0