Risposte nei forum create
-
AutoreRisposte
-
::
Beh, probabilmente sono sfumature importanti.
Detto questo, potresti includere il codice fra i tag ` ` (senza l’ultimo spazio finale e la parentesi) e creare un esempio minimo (con documentclass, pacchetti rilevanti e \end{document})?
Ciao
ClaudioBeh, non credo, perché a parte il numero di colonne, non cambia nulla! Le esporta automaticamente un altro programma che uso per lavoro, quindi non ci sono altre cose che differiscono.
Certo, comunque, cerco di essere più esaustivo!
File delle slides
`
\documentclass[9pt]{beamer}
\mode{
\usetheme{Frankfurt}
\hypersetup{pdfpagemode=None}
\usepackage{tikz}
\usecolortheme{dove}
\usetikzlibrary{shapes.multipart}
\usetikzlibrary{decorations.pathreplacing}
\usepackage{pgf}
\setbeamertemplate{footline}{
\hspace{0.1cm}
\tiny{Johannes Buggle – Title}
\hspace*{6.2cm}
}
\setbeamertemplate{navigation symbols}{}}
\newenvironment{changemargin}[2]{%
\begin{list}{}{%
\setlength{\topsep}{0pt}%
\setlength{\leftmargin}{#1}%
\setlength{\rightmargin}{#2}%
\setlength{\listparindent}{\parindent}%
\setlength{\itemindent}{\parindent}%
\setlength{\parsep}{\parskip}%
}%
\item[]}{\end{list}}\usepackage{color}
\setbeamertemplate{itemize item}{\scriptsize\raise1.25pt\hbox{\donotcoloroutermaths$\blacktriangleright$}}
\setbeamertemplate{footline}[frame number]\usepackage[english]{babel}
% or whatever\usepackage[utf8]{inputenc}
\usepackage{arev}
\usepackage[T1]{fontenc}
\usepackage{comment}\definecolor{Red}{RGB}{185, 0, 22}
\setbeamercolor{title}{fg=Red}
\setbeamercolor{frametitle}{fg=Red}
\setbeamercolor{structure}{fg=Red}
\usepackage{parskip}
\setlength{\parskip}{\smallskipamount}\title[Short Paper Title]
{\textcolor{Red}{Cultural and Institutional Distance and Trade }}\subtitle
{}\author[Author, Another]
{\textcolor{Red}{Emanuele Mazzini }}\institute[Universities of Somewhere and Elsewhere]
{
{\textcolor{Red} {Sciences Po}}
}\date[CFP 2003] % (optional, should be abbreviation of conference name)
{\textcolor{Red} {Very Preliminary}}\subject{}
\begin{document}
……(altre slides)
\begin{frame}{Institutions in the Gravity Model}
\begin{table}
\resizebox{10cm}{!}{
% \input{“/Users/johannesbuggle/Dropbox/project_johannes/outreg/inst.tex”}
\input{“/Users/Ema/Dropbox/project_johannes/outreg/reg/inst.tex”}
}
\end{table}
\end{frame}\begin{frame}{Genetic Distance in the Gravity Model}
\begin{table}
\resizebox{10cm}{!}{
% \input{“/Users/johannesbuggle/Dropbox/project_johannes/outreg/gen_dist.tex”}
\input{“/Users/Ema/Dropbox/project_johannes/outreg/gen_dist.tex”}
}
\end{table}
\end{frame}\end{document}
`
Di seguito le 2 tabelle:
Tabella non funzionante:
`\begin{tabular}{lcccccc} \hline
& (1) & (2) & (3) & (4) & (5) & (6) \\\
VARIABLES & lx & lnbexp & lsha & lx & lnbexp & lsha \\\ \hline
& & & & & & \\\
lyo & 0.431*** & -0.019 & 0.447*** & 0.459*** & -0.041 & 0.496*** \\\
& (0.088) & (0.041) & (0.076) & (0.086) & (0.043) & (0.072) \\\
lyd & 0.471*** & 0.350*** & 0.124** & 0.445*** & 0.367*** & 0.082 \\\
& (0.070) & (0.043) & (0.052) & (0.069) & (0.042) & (0.051) \\\
ld & -1.977*** & -1.476*** & -0.505*** & -1.961*** & -1.482*** & -0.483*** \\\
& (0.033) & (0.025) & (0.018) & (0.033) & (0.024) & (0.018) \\\
wgi\_o & 0.170 & -0.261 & 0.427 & & & \\\
& (0.552) & (0.279) & (0.476) & & & \\\
wgi\_d & 0.394 & 0.178 & 0.203 & & & \\\
& (0.448) & (0.270) & (0.328) & & & \\\
inst\_distance\_abs & & & & -0.442*** & 0.142 & -0.576*** \\\
& & & & (0.149) & (0.102) & (0.093) \\\
& & & & & & \\\
Observations & 31,569 & 31,569 & 31,569 & 31,569 & 31,569 & 31,569 \\\
R-squared & 0.748 & 0.824 & 0.401 & 0.748 & 0.824 & 0.403 \\\ \hline
\multicolumn{7}{c}{ All regressions include country and time dummies.} \\\
\multicolumn{7}{c}{ Robust st. errors clustered at the country-pair level.} \\\
\end{tabular}
`Tabella funzionante:
`\begin{tabular}{lccccccccc} \hline
& (1) & (2) & (3) & (4) & (5) & (6) & (7) & (8) & (9) \\
VARIABLES & lx & lnbexp & lsha & lx & lnbexp & lsha & lx & lnbexp & lsha \\ \hline
& & & & & & & & & \\
lyo & 0.457*** & -0.032 & 0.488*** & 0.450*** & -0.014 & 0.462*** & 0.469*** & -0.042 & 0.509*** \\
& (0.088) & (0.043) & (0.073) & (0.089) & (0.042) & (0.077) & (0.087) & (0.043) & (0.073) \\
lyd & 0.470*** & 0.350*** & 0.123** & 0.458*** & 0.346*** & 0.114** & 0.443*** & 0.374*** & 0.071 \\
& (0.070) & (0.043) & (0.051) & (0.071) & (0.043) & (0.052) & (0.069) & (0.043) & (0.051) \\
ld & -1.900*** & -1.421*** & -0.483*** & -1.901*** & -1.421*** & -0.483*** & -1.895*** & -1.426*** & -0.473*** \\
& (0.035) & (0.025) & (0.020) & (0.035) & (0.025) & (0.020) & (0.035) & (0.024) & (0.020) \\
wgi\_o & & & & 0.092 & -0.268 & 0.362 & & & \\
& & & & (0.563) & (0.284) & (0.487) & & & \\
wgi\_d & & & & 0.451 & 0.146 & 0.298 & & & \\
& & & & (0.455) & (0.274) & (0.331) & & & \\
log\_distance\_weighted & -0.098*** & -0.084*** & -0.014 & -0.098*** & -0.084*** & -0.014 & -0.086*** & -0.095*** & 0.009 \\
& (0.029) & (0.019) & (0.017) & (0.029) & (0.019) & (0.017) & (0.030) & (0.019) & (0.018) \\
inst\_distance\_abs & & & & & & & -0.340** & 0.303*** & -0.634*** \\
& & & & & & & (0.157) & (0.104) & (0.099) \\
& & & & & & & & & \\
Observations & 30,588 & 30,588 & 30,588 & 30,588 & 30,588 & 30,588 & 30,588 & 30,588 & 30,588 \\
R-squared & 0.752 & 0.828 & 0.403 & 0.752 & 0.828 & 0.403 & 0.753 & 0.828 & 0.405 \\ \hline
\multicolumn{10}{c}{ All regressions include country and time dummies.} \\
\multicolumn{10}{c}{ Robust st. errors clustered at the country-pair level.} \\
\end{tabular}
`Ora dovrebbe andare!
::ema” post=85625Non è che a che fare con qualche altro pacchetto che ho caricato?
Comunque, mi da un errore anche con pgfplot, che è lo stesso riportato sopra!
Grazie in anticipo!
Sono alfin riuscito, armato di santa pazienza, così:
\begin{tikzpicture}
\begin{customlegend}[legend entries={exports ratio, imports ratio, NLD – BEL (WC final), NLD – BEL (WC prelim.), NLD – BEL (EURO prelim.)}]
\addlegendimage{red}
\addlegendimage{blue}
\addlegendimage{dashed}
\addlegendimage{dotted}
\addlegendimage{dashed}
\end{customlegend}
\end{tikzpicture}Vorrei giusto sapere se non esiste un link per le opzioni di \addlegendimage…come si fa a capire quali mettere?
Grazie di nuovo,
Emanuele.
::
Vedendo che nessuno ha suggerimenti, mi chiedo se la spiegazione non sia chiara o la domanda troppo difficile. 😮Provo a rispiegarmi: so che, creando una nuova slide, è possibile mettere svariate opzioni, tra cui quella di attribuire una label alla slide stessa, e di spezzarla nel caso sia troppo lunga. Da una rapida ricerca su internet, pare che non sia il solo cui succede questa cosa per cui le 2 opzioni (che ho menzionato sopra) non siano compatibili. Mi chiedo: possibile? A qualcuno è mai capitato qualcosa di analogo?
Grazie per l’aiuto a tutti!
::
E’ stato tutto perfetto, grazie mille! Solo una cosa: naturalmente il comando rimane impostato per il tutto il document, incluse le references.
Tuttavia, questo non rientrava esattamente nei miei piani, ovvero avrei voluto conservare per queste l’impostazione tradizionale. C’è questa possibilità?Grazie ancora,
Emanuele.
::
Dillo a me! Comunque, non posso metterlo nel backmatter perché alle conclusioni fa seguito l’appendice, che ho messo sempre nel corpo del testo, separata da un’apposita pagina.Non è possibile ridefinire il comando solo per questa parte?
So che dovrebbe avere un numero, ma purtroppo non è consuetudine metterlo.
-
AutoreRisposte