Oh sorry. I forgot to include my MWE. Here are the tex, pdf and pdf_tex files (I can't post the pdf_tex therefore I will write the code below). This should generate the file in the attachment given on my previous post. Please help me
Code: Select all
%% Creator: Inkscape inkscape 0.48.4, www.inkscape.org
%% PDF/EPS/PS + LaTeX output extension by Johan Engelen, 2010
%% Accompanies image file 'viaduct_general.pdf' (pdf, eps, ps)
%%
%% To include the image in your LaTeX document, write
%% \input{<filename>.pdf_tex}
%% instead of
%% \includegraphics{<filename>.pdf}
%% To scale the image, write
%% \def\svgwidth{<desired width>}
%% \input{<filename>.pdf_tex}
%% instead of
%% \includegraphics[width=<desired width>]{<filename>.pdf}
%%
%% Images with a different path to the parent latex file can
%% be accessed with the `import' package (which may need to be
%% installed) using
%% \usepackage{import}
%% in the preamble, and then including the image with
%% \import{<path to file>}{<filename>.pdf_tex}
%% Alternatively, one can specify
%% \graphicspath{{<path to file>/}}
%%
%% For more information, please see info/svg-inkscape on CTAN:
%% http://tug.ctan.org/tex-archive/info/svg-inkscape
%%
\begingroup%
\makeatletter%
\providecommand\color[2][]{%
\errmessage{(Inkscape) Color is used for the text in Inkscape, but the package 'color.sty' is not loaded}%
\renewcommand\color[2][]{}%
}%
\providecommand\transparent[1]{%
\errmessage{(Inkscape) Transparency is used (non-zero) for the text in Inkscape, but the package 'transparent.sty' is not loaded}%
\renewcommand\transparent[1]{}%
}%
\providecommand\rotatebox[2]{#2}%
\ifx\svgwidth\undefined%
\setlength{\unitlength}{126.72344bp}%
\ifx\svgscale\undefined%
\relax%
\else%
\setlength{\unitlength}{\unitlength * \real{\svgscale}}%
\fi%
\else%
\setlength{\unitlength}{\svgwidth}%
\fi%
\global\let\svgwidth\undefined%
\global\let\svgscale\undefined%
\makeatother%
\begin{picture}(1,0.75781922)%
\put(0,0){\includegraphics[width=\unitlength]{viaduct_general.pdf}}%
\put(0.14436301,0.4419072){\color[rgb]{0,0,0}\makebox(0,0)[lb]{\smash{$P_1$}}}%
\put(0.1893888,0.4419072){\color[rgb]{0,0,0}\makebox(0,0)[lb]{\smash{$P_2$}}}%
\put(0.22726656,0.4419072){\color[rgb]{0,0,0}\makebox(0,0)[lb]{\smash{$P_3$}}}%
\put(0.77649407,0.4419072){\color[rgb]{0,0,0}\makebox(0,0)[lb]{\smash{$P_{46}$}}}%
\put(0.02592821,0.21437554){\color[rgb]{0,0,0}\rotatebox{90}{\makebox(0,0)[lb]{\smash{33~m}}}}%
\put(0.4423663,0.03364163){\color[rgb]{0,0,0}\makebox(0,0)[lb]{\smash{1312~m}}}%
\put(0.75852541,0.30823959){\color[rgb]{0,0,0}\makebox(0,0)[lb]{\smash{Alluvium}}}%
\put(0.53660159,0.13906891){\color[rgb]{0,0,0}\makebox(0,0)[lb]{\smash{Miocene}}}%
\put(0.86458682,0.24252012){\color[rgb]{0,0,0}\makebox(0,0)[lb]{\smash{Pleistocene}}}%
\put(0.82068479,0.35352576){\color[rgb]{0,0,0}\makebox(0,0)[lb]{\smash{Emb.}}}%
\put(0.08206848,0.35983872){\color[rgb]{0,0,0}\makebox(0,0)[lb]{\smash{Emb.}}}%
\put(0.82068479,0.20832768){\color[rgb]{0,0,0}\makebox(0,0)[lb]{\smash{ and Miocene}}}%
\put(0.14519808,0.57447935){\color[rgb]{0,0,0}\makebox(0,0)[lb]{\smash{AD}}}%
\put(0.72599039,0.57447935){\color[rgb]{0,0,0}\makebox(0,0)[lb]{\smash{DD}}}%
\end{picture}%
\endgroup%