@UnkleRhaukus
Hi
Hi @UnkleRhaukus
to insert in the figue into the document place "crt.png" in the same folder. then just add ``` \begin{figure} [h]\includegraphics[width=0.6\textwidth]{crt} \end{figure} ``` to your code
I'm kinda confused. Do you have to save the document in a specific folder? Sorry, it's my first time adding images to my document
the document will save somewhere, in this folder there will be a .aux , .log , .pdf , .synctex.gz , and a .tex file.
all with the same name as the document , usually you'd open the .tex file. is this the same when you use Texmaker?
I should probably use texmaker, but I won't be able to share my progress with you. or could I ? what about the the image below? I tried using this to upload the image, and it didn't work
I think I just lost everything
what happened
A red "lost connection" warning appeared, and then I lost everything...
you didn't have a copy saved?
I hit the back button...and that took me to the original template. Well I have a rough draft somewhere without the updates, and I have my handwritten equations in front of me, so I should be fine
Oh Yay It's back!
are you getting the picture to work yet ?
no, I think I saved the document by hitting the save button under "history", but I'm not sure where it's saving to
I see...I think I saved it now
so your document is online and not on your hard drive?
if it was me, i would have the file on my hard drive,
It's on my hard drive now, I think . It's saved on my desktop in a folder I labeled " LaTeX"
i placed the CRT.png in that same folder.
now just add ``` \begin{figure} [h]\includegraphics[width=0.6\textwidth]{crt} \end{figure} ``` it should work
It worked!
!YES!
Thanks soo much! You're awesome!!! Is it possible to have the equations in two different columns?
yesh
\usepackage{column} ?
that might work , or you could just use align* ``` $$\begin{align*} 1111&&a\\ 2&&b\\ 3&&ccccc\\ 4&&d \end{align*}$$ ``` $$\begin{align*} 1111&&a\\ 2&&b\\ 3&&ccccc\\ 4&&d \end{align*}$$
Thanks! I'll try that. Oh and one more thing, how can I make a table? or should I simply import a png image of my table in xcel?
``` $$\begin{array}{|c|c|} \hline 1111&f&a\\ \hline2&q&b\\ 3&w&ccccc\\ 4&pppppppp&d\\ \hline \end{array}$$ ``` $$\begin{array}{|c|c|} \hline 1111&f&a\\ \hline2&q&b\\ 3&w&ccccc\\ 4&pppppppp&d\\ \hline \end{array}$$
Thanks again, you are awesome!!!! I'll save my work every couple of mins or so...just in case ;)
@UnkleRhaukus I'm trying to have the equation line 37 to 41 on one side (where the 11111 2 3 4 are in your example) and the equations line 46 to 42 on the other side Is that possible?
kinda like this
``` \[\\ \begin{array}{ccccccc} &\text{Region 1}&&&&\text{Region 2}\\ \\ x_1=v_{ox}t_1& \text{or}& t_1=\tfrac{L}{v_ox}&(1)&&x_2=v_{ot}t_2\quad\text{or}\quad{t_2}=\tfrac D{v_{ox}}&(2)\\ \\ &y_1=\tfrac12a{t_1}^2&&(3)&&y_2+v_yt_2&(4)\\ \\ &v_y=at_1 \end{array}\] ``` \[\\ \begin{array}{ccccccc} &\text{Region 1}&&&&\text{Region 2}\\ \\ x_1=v_{ox}t_1& \text{or}& t_1=\tfrac{L}{v_ox}&(1)&&x_2=v_{ot}t_2\quad\text{or}\quad{t_2}=\tfrac D{v_{ox}}&(2)\\ \\ &y_1=\tfrac12a{t_1}^2&&(3)&&y_2+v_yt_2&(4)\\ \\ &v_y=at_1 \end{array}\]
* the x should be in the subscript in (1)
is that working?
yep
goood
can you tell me what V_acc is in the diagram?
yep, it's the acceleration voltage. The electrons travel to the acceleration plates and acquire a velocity due to the voltage difference of 500V between those plates.
what do you think of this , i just made?
|dw:1362122388483:dw|
It looks identical to the CRT in my lab manual
did you really make this?
well i still have to put in the table in the left,
``` \documentclass{article} \usepackage[pdftex,active,tightpage]{preview} \setlength\PreviewBorder{5mm} \usepackage{tikz} \usepackage{siunitx} \usepackage{circuitikz} %\usepackage{patti} \tikzstyle{wire}=[] \tikzset{comp/.style={draw,circle,black,fill=white,minimum size =0.75cm,inner sep=0pt}} \title{Circuit} \author{Unkle Rhaukus} \begin{document} \begin{preview} \centering \begin{circuitikz} \draw [<->](-4,3)--(0,3) node[above] {D$_{\text{tot}}$}--(7,3) ; % D tot \draw [<->](0,2.2)--(1,2.2) node[above] {D}--(7,2.2) ; % D \draw [thick] (-5,1)--(4,1)--(7,2)--(7,-2)--(4,-1)--(-5,-1)--(-5,1) ; % shape of tube \draw[dashed] (-4.5,0)--(1.25,0) ; \draw[dashed] (2.25,0)--(5,0) node[above]{electron}node[below] {beam}--(7,0) ; % electron path \draw (-5.5,0.65) --(-4.5,0.65) to [L] (-4.5,-.65)--(-5.5,-0.65) ; % inductor \draw (-5.5,0) node[above] {6.3\si \volt} node [below]{AC} ; % voltage \draw (0,1) node [above] {Deflection plates} ; % plates name \draw (-1.5,0.35)--(-0.5,0.35)--(-0.25,0.1)--(-1.25,0.1)--(-1.5,0.35) ; % top y plate \draw (-1.5,-0.15)--(-0.5,-0.15)--(-0.25,-0.4)--(-1.25,-0.4)--(-1.5,-0.15) ; % bottom y plate \draw (-0.85,0.20)--(-0.85,0.75)--(-1.65,0.75)--(-1.65,-1.75) node [right] {$\,V_y$} ; % y plate top wire \draw (-0.85,-0.40)--(-0.85,-1.75) ; % y plate bottom wire \draw [->] (0,0.4)--(0,0.1) ; \draw [->] (0,-0.7)--(0,-.4) node [above]{\tiny S} ; % S \draw [<-] (-1.35,-0.3)--(-1,-0.3) ; \draw [<-] (-0.35,-0.3) -- (-0.65,-0.3) node {\tiny L$\quad$} ; \draw (1.25,-0.25)--(1,-0.25)--(1,0.75)--(2,0.75)--(2,0.5) ; % back x plate \draw (1.25,-0.5)--(1.25,0.5)--(2.25,0.5)--(2.25,-0.5)--(1.25,-0.5) ; % front x plate \draw (1,0.35)--(0.75,0.35)--(0.75,-1.75) node [right] {$\quad V_x$} ; % back x wire \draw (1.75,0)--(1.95,-0.25)--(1.95,-1.75) ; % front x wire \draw (-5,-1) node [below right] {Electron Gun} ; % cathode \draw (-4,3)node [above left]{V$_{\text{acc}}$} ; % ? \draw (-4,0.5)--(-4,-0.5) ; % vacuum bit? \draw (-4.2,0.5)--(-4.2,-0.5) ; % vacuum bit? \draw (-8,1) node {D=7.4~\si{\centi\meter}} ; \draw (-8,0.5) node {L=2.0~\si{\centi\meter}} ; \draw (-8,0) node {S=0.30~\si{\centi\meter}} ; % table \draw (-8,-0.5) node {D$_{\text {tot}}$=9.6~\si{\centi\meter}} ; \end{circuitikz} \end{preview} \end{document} ```
wow!!! that's madness!!!
any thing to fix? do you want those extra vertical lines that i left out?
madness indeed
how did you make the coils? where the AC 6.3 Volts is?
its a circuit component , an inductor its the ``` to [L] ``` bit
Wow that's amazing! you mean this is for me? can I credit you on my paper. Copy right Felix Harvey-Rosser
Sure!
I'm totally awake now. Wow that woke me up!
( :
where did you learn to do that?
i learnt some Tikz a few months ago i learnt some circuitkz a few weeks ago, mainly from the manuels and with help from tex.stackexchange.
I see...that's soo neat!!!
oh, i think i understand the accelerated voltage bit, the verticals lines are plates connected to wires that attach to a second power source
``` \documentclass{article} \usepackage[pdftex,active,tightpage]{preview} \setlength\PreviewBorder{5mm} \usepackage{tikz} \usepackage{siunitx} \usepackage{circuitikz} \tikzset{comp/.style={draw,circle,black,fill=white,minimum size =0.75cm,inner sep=0pt}} \title{Cathode Ray Tube} \author{Felix Harvey-Rosser} \begin{document} \begin{preview} \centering \begin{circuitikz} \draw [<->](-3.2,3)--(0,3) node[above] {D$_{\text{tot}}$}--(6,3) ; % D tot \draw [<->](0,2.2)--(1,2.2) node[above] {D}--(6,2.2) ; % D \draw [thick] (-4.5,1)--(2.5,1)--(6,2)--(6,-2)--(2.5,-1)--(-4.5,-1)--(-4.5,1) ; % shape of tube \draw (-5,-1) node [below right] {Electron Gun} ; % Electron gun \draw (-5,0) node[above] {6.3\si \volt} node [below]{AC} ; % Voltage \draw (-5,0.65) --(-4.2,0.65) to [L] (-4.2,-.65)--(-5,-0.65) ; % cathode \draw (-3,2.5) node [left]{V$_{\text{acc}}$} ; % V_acc \draw (-3.4,2) node [above left]{\tiny{-250}}--(-3.4,0.1) (-3.4,-0.1)--(-3.4,-0.5) node [below left]{\qquad\tiny{-250}} (-3.2,2) node [above right]{\tiny{+250}}--(-3.2,0.1) (-3.2,-0.1) --(-3.2,-0.5) node [below right]{\tiny{+250}} ; % accelerator plates \draw[dashed,->,>=stealth] (-4,0)--(1.25,0) (2.25,0)--(5,0) node[above]{electron}node[below] {beam}--(6,0) ; % electron path \draw (0,1) node [above] {Deflection plates} ; % Deflection plates \draw [<-] (-1.35,-0.3)--(-1,-0.3) ; \draw [<-] (-0.35,-0.3) -- (-0.65,-0.3) node {\tiny L$\quad$} ; % L \draw [->] (0,-0.7)--(0,-.4) node [above]{\tiny S} ; \draw [->] (0,0.4)--(0,0.1) ; % S \draw (-1.5,0.35)--(-0.5,0.35)--(-0.25,0.1)--(-1.25,0.1)--(-1.5,0.35) ; % top y plate \draw (-1.5,-0.15)--(-0.5,-0.15)--(-0.25,-0.4)--(-1.25,-0.4)--(-1.5,-0.15) ; % bottom y plate \draw (-0.85,0.20)--(-0.85,0.75)--(-1.65,0.75)--(-1.65,-1.75) node [right] {$\,V_y$} ; % y plate top wire \draw (-0.85,-0.40)--(-0.85,-1.75) ; % y plate bottom wire \draw (1.25,-0.25)-- (1,-0.25)-- (1,0.75)-- (2,0.75)--(2,0.5) ; % back x plate \draw (1.25,-0.5)-- (1.25,0.5)-- (2.25,0.5)-- (2.25,-0.5)--(1.25,-0.5) ; % front x plate \draw (1,0.35)-- (0.75,0.35)-- (0.75,-1.75) node [right] {$\quad V_x$} ; % back x wire \draw (1.75,0)-- (1.95,-0.25)-- (1.95,-1.75) ; % front x wire \draw (-7,1) node {D=7.4~\si{\centi\meter}} (-7,0.5) node {L=2.0~\si{\centi\meter}} (-7,0) node {S=0.30~\si{\centi\meter}} (-7,-0.5) node {D$_{\text {tot}}$=9.6~\si{\centi\meter}} ; % table \end{circuitikz} \end{preview} \end{document} ```
@UnkleRhaukus I get an error when I used this $$\begin{array}{|c|c|} \hline 1111&f&a\\ \hline2&q&b\\ 3&w&ccccc\\ 4&pppppppp&d\\ \hline \end{array}$$
never mind, I figured it out =)
I have the table under the \section{Data} but when I after I compile the doc it appears before \procedure \section{Data} \begin{table} \centering \begin{tabular}{l|r|r} Vy (Volts) & Deflection (mm) & Predicted Deflection (mm)\\\hline 0 & 0 & 0\\ 2 & 1 & 1.12\\ 4 & 2 & 2.24\\ 6 & 3 & 3.36\\ 8 & 4 & 4.48\\ 10 & 5 & 5.6\\ 12 & 6.5 & 6.72\\ 14 & 8 & 7.84\\ 16 & 9 & 8.96\\ 18 & 9.5 & 10.08 \end{tabular} \caption{\label{tab:widgets}Electron deflection in terms of Voltage.} \end{table}
*I have the table under the \section{Data} but after I compile the doc it appears before \procedure
* I meant \section{procedure}
did that work
\begin{tabular}[h]... [h] for here
sorry I fell asleep again hahah..but yeah that worked!
your report is looking really good
I owe you!!!!!
what did I do wrong?
in excel right click on the chart and save as picture
I thought I did, I'm such a noob, I'm still learning though....don't give up on me just yet....
that abstract is still abstract
im still learning too
haha. Now that we're done with the graphics, I'm going to write/edit what's left. Man, I owe you. I learned a lot though. My next lab report should be a lot easier to create in LaTeX, now that have this template.
Join our real-time social learning platform and learn together with your friends!