Re: Immagini allineate o intabellate

#86270
Up
0
Down
::


Esempio di tabella che restituisce errore:
`
\documentclass[a4paper,10pt]{article}
\usepackage[big]{layaureo}
\usepackage{multicol}
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[italian]{babel}
\usepackage{tikz}
\usetikzlibrary{calc,intersections,patterns}
\usepackage{pgfplots}
\usepackage{siunitx} % Per le tabelle numeriche
\sisetup{output-decimal-marker={,}}
\usepackage{amsmath,mathcomp}
\colorlet{verde}{green!80!black}
\newcommand{\abs}[1]{\left|#1\right|}

%opening
\title{Formulario C.A.\&C.A.P.}

\begin{document}

\begin{center}
\begin{tabular}{ll}

\begin{tikzpicture}[>=latex]
%%% struttura
%campiture:
\tikzset{ground/.style={fill,pattern=north east lines,draw=none,%
minimum width=1.2cm,minimum height=0.2cm}}
% disegno della struttura e del telaio
\draw[thick] (0,0) — (0,5) node[pos=0.5,above right]{$l$};
\draw[thick] (0,5) — (1,5) node[pos=0.9,below left]{$e_0$};
\draw [line width=1pt,dashed] (0,0) arc[start angle=0,end angle=30,x radius=-12cm,y radius=9.5cm];
%Vincolo incastro
\node (g1) at (0,0) [ground,anchor=north]{};
\draw (g1.north west) — (g1.north east);
%Forze
\draw[->] (1,6.2) — (1,5.1) node[pos=0.3 ,below right] {$P$};
\draw[->] (-1.2,5) — (-0.1,5) node[pos=0.3 ,above right] {$F$};
\end{tikzpicture}
&
\[
a = %\frac{Fh^3}{3EI} \frac{3}{\alpha^3 h^3}(\tan \alpha h-\alpha h)
\]
\\
\begin{center}
\begin{tabular}{ll}

\begin{tikzpicture}[>=latex]
%%% struttura
%campiture:
\tikzset{ground/.style={fill,pattern=north east lines,draw=none,%
minimum width=1.2cm,minimum height=0.2cm}}
% disegno della struttura e del telaio
\draw[thick] (0,0) — (0,5) node[pos=0.5,above right]{$l$};
\draw[thick] (0,5) — (1,5) node[pos=0.9,below left]{$e_0$};
\draw [line width=1pt,dashed] (0,0) arc[start angle=0,end angle=30,x radius=-12cm,y radius=9.5cm];
%Vincolo incastro
\node (g1) at (0,0) [ground,anchor=north]{};
\draw (g1.north west) — (g1.north east);
%Momento
\draw[<-] (0.5,5.5) arc[start angle=45,end angle=180,radius=0.5cm]; \path (-0.2,6) node(M) {$M$}; %Carico distribuito \draw[<-] (0,0.1) -- (-.7,.1); \draw (-.7,.1) -- (-.7,4.9) node[pos=0.5,above left]{$q$}; \draw[<-] (0,4.9) -- (-.7,4.9); \draw[<-] (0,0.5) -- (-.7,0.5); \draw[<-] (0,1) -- (-.7,1); \draw[<-] (0,1.5) -- (-.7,1.5); \draw[<-] (0,2) -- (-.7,2); \draw[<-] (0,2.5) -- (-.7,2.5); \draw[<-] (0,3) -- (-.7,3); \draw[<-] (0,3.5) -- (-.7,3.5); \draw[<-] (0,4) -- (-.7,4); \draw[<-] (0,4.5) -- (-.7,4.5); \end{tikzpicture} & \[ a = %\frac{Fh^3}{3EI} \frac{3}{\alpha^3 h^3}(\tan \alpha h-\alpha h) \] \end{tabular} \end{center} \end{document}` esempio di immagine unica: ` \documentclass[a4paper,10pt]{article} \usepackage[big]{layaureo} \usepackage{multicol} \usepackage[latin1]{inputenc} \usepackage[T1]{fontenc} \usepackage[italian]{babel} \usepackage{tikz} \usetikzlibrary{calc,intersections,patterns} \usepackage{pgfplots} \usepackage{siunitx} % Per le tabelle numeriche \sisetup{output-decimal-marker={,}} \usepackage{amsmath,mathcomp} \colorlet{verde}{green!80!black} \newcommand{\abs}[1]{\left|#1\right|} %opening \title{Formulario C.A.\&C.A.P.} \begin{document} \begin{tikzpicture}[>=latex]
%%% struttura
%campiture:
\tikzset{ground/.style={fill,pattern=north east lines,draw=none,%
minimum width=1.2cm,minimum height=0.2cm}}
% disegno della struttura e del telaio
\draw[thick] (0,0) — (0,5) node[pos=0.5,above right]{$l$};
\draw[thick] (0,5) — (1,5) node[pos=0.9,below left]{$e_0$};
\draw [line width=1pt,dashed] (0,0) arc[start angle=0,end angle=30,x radius=-12cm,y radius=9.5cm];
%Vincolo incastro
\node (g1) at (0,0) [ground,anchor=north]{};
\draw (g1.north west) — (g1.north east);
%Forze
\draw[->] (1,6.2) — (1,5.1) node[pos=0.3 ,below right] {$P$};
\draw[->] (-1.2,5) — (-0.1,5) node[pos=0.3 ,above right] {$F$};
% %Momento
% \draw[<-] (0.5,5.5) arc[start angle=45,end angle=180,radius=0.5cm]; % \path (-0.2,6) node(M) {$M$}; % %Carico distribuito % \draw[<-] (0,0.1) -- (-.7,.1); % \draw (-.7,.1) -- (-.7,4.9) node[pos=0.5,above left]{$q$}; % \draw[<-] (0,4.9) -- (-.7,4.9); % \draw[<-] (0,0.5) -- (-.7,0.5); % \draw[<-] (0,1) -- (-.7,1); % \draw[<-] (0,1.5) -- (-.7,1.5); % \draw[<-] (0,2) -- (-.7,2); % \draw[<-] (0,2.5) -- (-.7,2.5); % \draw[<-] (0,3) -- (-.7,3); % \draw[<-] (0,3.5) -- (-.7,3.5); % \draw[<-] (0,4) -- (-.7,4); % \draw[<-] (0,4.5) -- (-.7,4.5); \path (10,4) node(M) {$a = \frac{Fh^3}{3EI} \frac{3}{\alpha^3 h^3}(\tan \alpha h-\alpha h)$}; \path (10,2) node(M) {$a_F = F \delta_{FF}\lambda(\alpha h)$}; %%% struttura %campiture: \tikzset{ground/.style={fill,pattern=north east lines,draw=none,% minimum width=1.2cm,minimum height=0.2cm}} % disegno della struttura e del telaio \draw[thick] (0,8) -- (0,13) node[pos=0.5,above right]{$l$}; \draw[thick] (0,13) -- (1,13) node[pos=0.9,below left]{$e_0$}; \draw [line width=1pt,dashed] (0,8) arc[start angle=0,end angle=30,x radius=-12cm,y radius=9.5cm]; %Vincolo incastro \node (g1) at (0,8) [ground,anchor=north]{}; \draw (g1.north west) -- (g1.north east); % %Forze % \draw[->] (1,6.2) — (1,5.1) node[pos=0.3 ,below right] {$P$};
% \draw[->] (-1.2,5) — (-0.1,5) node[pos=0.3 ,above right] {$F$};
%Momento
\draw[<-] (0.5,13.5) arc[start angle=45,end angle=180,radius=0.5cm]; \path (-0.2,14) node(M) {$M$}; %Carico distribuito \draw[<-] (0,8.1) -- (-.7,8.1); \draw (-.7,8.1) -- (-.7,12.9) node[pos=0.5,above left]{$q$}; \draw[<-] (0,12.9) -- (-.7,12.9); \draw[<-] (0,8.5) -- (-.7,8.5); \draw[<-] (0,9) -- (-.7,9); \draw[<-] (0,9.5) -- (-.7,9.5); \draw[<-] (0,10) -- (-.7,10); \draw[<-] (0,10.5) -- (-.7,10.5); \draw[<-] (0,11) -- (-.7,11); \draw[<-] (0,11.5) -- (-.7,11.5); \draw[<-] (0,12) -- (-.7,12); \draw[<-] (0,12.5) -- (-.7,12.5); \path (10,13) node(M) {$a = \frac{Fh^3}{3EI} \frac{3}{\alpha^3 h^3}(\tan \alpha h-\alpha h)\frac{Fh^3}{3EI} \frac{3}{\alpha^3 h^3}(\tan \alpha h-\alpha h)$}; \path (10,11) node(M) {$a_F = F \delta_{FF}\lambda(\alpha h)$}; \path (10,9) node(M) {$a_F = F \delta_{FF}\lambda(\alpha h) + F \delta_{FF}\lambda(\alpha h)$}; \end{tikzpicture} \end{document} `

Go to top