this is the code.i want to the simulation result analysis section first then the subsection parameter but the code does not show this.how can i solve this???????  \begin{figure*}[ht]  \includegraphics[width=\linewidth]{Capture.PNG}   \caption{A system model for MIMO-OFDM Beamforming.}   \label{fig:1} \end{figure*}      \section{Simulation Result Analysis}  \subsection{Parameter} \begin{table}[ht] \centering \caption{MIMO-OFDM parameters for Beamforming in 5G} \begin{tabular}{|c|c|} \hline     Parameter Name &amp; Value\\ \hline Sampling Time (T) &amp; 1\\ \hline No of FFT (Nfft) &amp; 128\\ \hline Rolling Factor (beta) &amp; .5 , .2\\ \hline No of transmit antenna &amp; 64,16 \\ \hline No of receive antenna &amp; 16,8\\ \hline Antenna separation (deg) &amp; 8,5\\ \hline No of cluster (cl) &amp; 1,3,6\\ \hline \end{tabular}     \end{table}
121561
Possible Duplicates:           How can I force an image in a LaTeX documents to appear in the section in which I declared it?  I don't want that an image about "Section A" to appear in "Section F". :(  I actually include an image with  \begin{figure}[ht] \begin{center} \includegraphics[scale=0.7]{./img/RobotManipulator3D_WorkSpace.png} \end{center} \caption{3D View of the robotic workspace (in red).} \label{Img:3DRobotWorkspace} \end{figure}
42022
I have a document divided into \part \chapter \section and \subsection. I have 3 parts and in each part I reset all the counters.  I want that, when I do a crossref to something that is in the 1st part, chapter 3 and section 5, that LaTeX prints something like I-3.5, but  I don't want that in the tableofcontents part that LaTeX prints the part number. For example, what I want is:     Part I      chapter 1 section 1.1 section 1.2      chapter 2   AND NOT     chapter I-1 section I-1.1 section I-1.2      chapter I-2   The command that I've tried   \renewcommand{\thechapter}{\thepart-\arabic{chapter}} \renewcommand{\thesection}{\thechapter.\arabic{section}}   does exactly what I've said  Can anyone help me?
28042
I really tried hard to do this on my own, but I keep failing ... Using multi-column and multi-row commands confused me. I know some of you might frown upon such a request but I really need help getting this table implemented .. So I'm sorry if I upset anyone.  My preamble has :   \documentclass[12pt,a4paper]{report} \usepackage[lmargin=3.81cm,tmargin=2.54cm,rmargin=2.54cm,bmargin=2.52cm]{geometry} \linespread{1.5}     Is there a way I can convert this from excel to LaTeX form ? I tried an add-in before but it didn't work for me. Also online generators cannot combine cells the way I want them (unless I didn't find a better table generator ? )
122588
Im trying to find the material paramters of a dielectric sample using a waveguide(X band) employing the Transmission/Reflection technique. While performing simulation in CST, how to properly orient the sample inside? Is it necessary that the waveguide is flared?
116258
In addition to tables and figures, I have a bunch of code pieces. Just like follows:      \begin{figure}     \lstinputlisting[     language=C++, breaklines=true,     keywordstyle=\color{blue},     commentstyle=\color{mygreen},     stringstyle=\color{red},     frame=single,     backgroundcolor=\color{gray},     basicstyle=\footnotesize\ttfamily,     caption={Data acquisition code},     label={code:data}]     {codes/data.cpp} \end{figure}   Those codes do not appear in table of figures or table of contents which is exactly what I want.  Now I want to create a new table of codes \listofcodes similar to \listoffigures. It should create a third table. How do I do that?
111729
is there a way to reference the subsection part only? Example:  \documentclass{article} \begin{document}  \section{This is my section} For further information see subsection \ref{subsecthree} within this section. \subsection{One} \subsection{Two} \subsection{Three}\label{subsecthree}  \end{document}   Usually gives (without the stars):  1 This is my section For further information see subsection **1.3** within this section.   But I want:  1 This is my section For further information see subsection **3** within this section.   Is that possible?  [Edit] To make it more clear: I am looking for a command that works like \ref, but prints (the arabic number of) the value of the subsection counter at the position of the \label.  ======================= == Solution in LaTeX ==  There is another solution below. This is a different solution I came up with  (I cannot post an answer to my own question, so I put it here):  \documentclass{article}  \newcommand{\labelsubseccounter}[1]{     \renewcommand\thesubsection{\arabic{subsection}}     \addtocounter{subsection}{-1}     \refstepcounter{subsection}     \label{#1}     \renewcommand\thesubsection{\thesection.\arabic{subsection}} }  \begin{document}  \section{This is my section} For further information see subsection \ref{subsecthree} within this section,  which is called \ref{onepointthree}, not \ref{onepointfour}. \subsection{One} \subsection{Two} \subsection{Three}\label{onepointthree}\labelsubseccounter{subsecthree} \subsection{Four}\label{onepointfour}  \end{document}   (I would like to insert the compiled code, but don't know how, sorry)
17276
\documentclass[]{phstyle} \usepackage{latexsym,amsfonts,amssymb, undertilde} \usepackage[fleqn]{amsmath} \usepackage{makeidx}  %Preamble  \numberwithin{equation}{chapter} %\renewcommand{\theequation}{\thesection.\arabic{equation}}  \begin{document}  %\include{chapI}   these 2 lines are because the chapters are different tex files  %\include{chap1}  \renewcommand{\thechapter}{\Roman{chapter}}  %\setcounter{chapter}{0} %\renewcommand{\theequation}{\thechapter.\arabic{equation}}  \chapter{Introduction}  \section{Chap I Section1}  \begin{equation} this is equation I.1 \end{equation}  \begin{equation} this is equation I.2 \end{equation}  \section{Chap I Section2}  \begin{equation} this is equation I.3 \end{equation}  \chapter{Chapter 1}  \section{Chap 1 Section 1}  \begin{equation} this is equation 1.1.1 \end{equation}  \begin{equation} this is equation 1.1.2 \end{equation}  \end{document}     I have been typing Chapters 1-5 that contain sections and subsections and equations. The equations were numbered globally, i.e. if I had 3 equations in section 1 of Chap 1, they were numbered 1.1.1, 1.1.2, 1.1.3 and for Section 2, the equations were 1.2.4, 1.2.5, etc.  Recently I had to change Chap 1 and everything in it to Chapter I (roman number) and Chap 2 were renumbered to Chap 1, etc.  My problem is that LaTeX started numbering the equations in Chap I (the other chapters did not have this problem) according to the sections and not globally anymore. That is, the 3 equations in Chap I were I.1, I.2, I.3, and the equations in the second section of Chap I became I.1, I.2, etc instead of I.4, I.5, etc  I needed the prefix to be the chapter and not the sections. I don't understand why there is a change. I have never used \numberwithin in my book  Here are some of my codes  \documentclass[]{phstyle} \usepackage{latexsym,amsfonts,amssymb, undertilde} \usepackage[fleqn]{amsmath}   for the equation numbering in Chap I  \renewcommand{\thechapter}{\Roman{chapter}} \renewcommand{\theequation}{\thechapter.\arabic{equation}} **   Previously when Chap I was Chap 1, ** was  \renewcommand{\theequation}{\thesection.\arabic{equation}}   I have also tried the line below but it didn't work  \renewcommand{\theequation}{I.\arabic{equation}}   Thank you in advance
49754
In the LaTeX document pasted below, I still see page numbers upon compiling, even though I've included a \pagestyle{empty} command below the \maketitle command. Any ideas what I'm doing wrong? Thanks in advance.  \title{Thesis Abstracts} \author{         Kurt Han Peek } \date{\today}  \documentclass[a4paper,11pt]{article} \usepackage{graphicx} \usepackage[margin=2cm]{geometry}  \begin{document} \maketitle \pagestyle{empty}  \section*{An Analysis of the Effects of Digital Phase Errors on the Performance of a FMCW-Doppler Radar} In modern frequency-modulated continuous-wave (FMCW) radars, the transmitter is increasingly being implemented using direct digital chirp synthesis (DDCS), which provides improvements in sweep linearity, stability, precision, agility, and versatility over analog techniques. Its main limitations are errors due to sampling of the modulating signal, phase truncation, and digital-to-analog converter (DAC) quantization, which produce spurious signals due to their deterministic nature. This thesis presents an analysis and simulation of the effect of two sources of digital phase errors -- namely, sampling of the modulating signal and phase truncation -- on the performance of a FMCW-Doppler transceiver employing a DDCS in its transmitter. An upper bound for the amplitude of spurious targets resulting from these digital phase errors is established. Further, it is shown that provided the phase errors are periodic with the sweep period, the spurious targets are not offset from the target in Doppler. An algorithm for selecting the digital chirp parameters of a DDCS so as to ensure periodic and phase-continuous sweep transitions, which guarantee periodic phase errors and reduce `spectral splatter', is devised. Finally, we investigate parallels of FMCW radar in the optical domain, and consider the fundamental question whether range resolution is fundamentally limited by the bandwidth of a transmitted signal, or its carrier frequency.  \section*{Estimation and Compensation of Frequency Sweep Nonlinearity in FMCW radar} One of the main issues limiting the range resolution of linear frequency-modulated continuous-wave (FMCW) radars is nonlinearity of frequency sweep, which results in degradation of contrast and range resolution, especially at long ranges. Two novel, slightly different, methods to correct for frequency sweep nonlinearity by digital post-processing of the deramped signal were introduced independently by Burgos-Garcia et al. (Burgos-Garcia, Castillo et al. 2003) and Meta et al. (Meta, Hoogeboom et al. 2006). In these publications, however, no formal proof of the techniques was given, and no limitations were described. In this thesis, we prove that the algorithm of Meta is exact for temporally infinite chirps, and remains valid for finite chirps with time-bandwidth products which are large compared to unity, provided the maximum frequency component of the phase error function is small compared to the square root of the nominal chirp rate. It is also shown that the algorithm of Meta reduces to that of Burgos-Garcia in this limit. A digital implementation of both methods described. Finally, we propose a novel method to measure the systematic phase errors which are required as input to the compensation algorithm.  \end{document}
44937
I have produced this table in LaTeX:     \begin{table}[hbt]                     \begin{center}                         \begin{tabular}{|l|l|l|l|}                             \hline &amp; \multicolumn{3}{c|}{Examples}\\                             \cline{2-4}                             &amp; description &amp; $M$ &amp; \textbf{u}\\                             \hline translation &amp; through vector $\begin{pmatrix}6\\7\end{pmatrix}$ &amp; $\begin{pmatrix}                                 1 &amp; 0 \\ 0 &amp; 1                             \end{pmatrix}$ &amp; $\begin{pmatrix}6\\7\end{pmatrix}$\\                             \hline reflection &amp; in line $x=2$ &amp; $\begin{pmatrix}                             -1 &amp; 0 \\ 0 &amp; 1                             \end{pmatrix}$ &amp; $\begin{pmatrix}4\\0\end{pmatrix}$\\                             \hline rotation &amp; about \textbf{0} through $\pi$ radians &amp; $\begin{pmatrix}                             -1 &amp; 0 \\ 0 &amp; -1                             \end{pmatrix}$ &amp; $\begin{pmatrix}0\\0\end{pmatrix}$\\                             \hline glide reflection &amp; in line $y=x$, then through $\begin{pmatrix}1\\1\end{pmatrix}$ &amp; $\begin{pmatrix}                             0 &amp; 1 \\ 1 &amp; 0                             \end{pmatrix}$ &amp; $\begin{pmatrix}1\\1\end{pmatrix}$\\                             \hline                             \end{tabular}                             \caption{Examples of Euclidean Transformations} \label{tab1}                     \end{center}                     \end{table}   How do I remove the two external lines from the top left empty corner cell? I want lines only around the other parts.  Also it looks a bit cramped, is there a way I can present it more nicely?
89606
I would like to ask how can I add the paragraph symbol § so that it will be displayed as below:          §4 First section          §5 Second section      By default it is generated as below when a \section command is used :          4 First section          5 Second section      Edit: Code below  \renewcommand{\thesection}{\S\arabic{section}}   is one solution but adds § also with \subsection command. Is there another solution?
92990
I want to write MATLAB code in a sentence.   I installed package mcode, no problem if I want to display the code by inserting the code in environment \begin{verbatim} and \end{verbatim}.  How could I possibly insert the MATLAB code in a sentence?
45593
The code  \documentclass[a4paper]{article} \usepackage{multirow} \begin{document}  \begin{tabular}{|l|l|l|l|l|l|l|}   \hline   \multirow{2}{*}{Color Type} &amp; \multirow{2}{*}{Channels} &amp; \multicolumn{5}{c}{Bits per     channel} \\       \cline{3-7}   &amp; &amp; 1 &amp; 2 &amp; 4 &amp; 8 &amp; 16 \\       \hline \end{tabular}  \end{document}   Results in the table    How may I fix this code so that a vertical line is also added after "Bits per channel"?
90089
Hi I have used a recent suggestion by @leandriis to fix the headers table, but when I tried to use his suggestion to draw another table, I'm getting several issues, here my suggestion, my output and the desired table to produce. My suggestion :     \documentclass{article}     \usepackage{geometry}     \usepackage{rotating}     \usepackage{booktabs, makecell}     \usepackage[referable]{threeparttablex}     \usepackage{siunitx}    \usepackage[skip=1ex]{caption}    \usepackage{xcolor}    \newcommand\tc[1]{\textcolor{blue}{#1}}    \NewExpandableDocumentCommand\mcc{O{1}m}    {\multicolumn{#1}{&gt;{\bfseries}c}{#2}}    \usepackage{multirow}    \renewcommand{\theadfont}{\normalsize}    \begin{document}  \begin{table}[h!]  \centering  \begin{threeparttable}   \caption{Forecasting and encompassing test results for the bagging model and combining methods,     1995:04–2005:03 out-of-sample period}    \label{tab1}    \begin{tabular}{@{} &gt;{\itshape}l                *{8}{S[table-format=1.2]}                 }   \toprule   \multirow{2.1}{*}{Combining method}    &amp; \mcc[4]{$\thead{H_{0}$: BA encompasses CB}}    &amp; \mcc[4]{$\thead{H_{0}$: CB encompasses BA}}   \\    \cmidrule(r){2-5} \cmidrule(l){6-9}   &amp; \mcc{\hat{\lambda}_{CB}} &amp; \mcc{MHLN_{h}} &amp; \mcc{P-value}    &amp; \mcc{\hat{\lambda}_{CB}} &amp; \mcc{MHLN_{h}} &amp; \mcc{P-value}\\   \midrule   BA model&amp;9.13&amp; &amp; &amp; &amp; &amp; \\   Mean            &amp; 0.35&amp; 2.42\tc{**} &amp; 0.01&amp; 0.65&amp; 3.54\tc{**} &amp; 0.00\\          Median          &amp; 0.32&amp; 2.38\tc{**} &amp; 0.01&amp; 0.68&amp; 3.77\tc{**} &amp; 0.00\\          Trimmed mean    &amp; 0.34&amp; 2.39\tc{**} &amp; 0.01&amp; 0.66&amp; 3.67\tc{**} &amp; 0.00\\         DMSE,$\Psi=1.00$&amp; 0.35&amp; 2.42\tc{**} &amp; 1.00&amp; 1.10&amp; 3.54\tc{**} &amp; 0.00\\         DMSE,$\Psi=0.90$&amp; 0.35&amp; 2.41\tc{**} &amp; 1.00&amp; 1.10&amp; 3.55\tc{**} &amp; 0.00\\         C(2, PB)        &amp; 0.34&amp; 2.34\tc{**} &amp; 0.01&amp; 0.66&amp; 3.59\tc{**} &amp; 0.00\\         C(2, PB)        &amp; 0.36&amp; 2.33\tc{**} &amp; 0.01&amp; 0.64&amp; 3.43\tc{**} &amp; 0.00\\         PC              &amp; 0.59&amp; 2.79\tc{**} &amp; 0.00&amp; 0.41&amp; 2.14\tc{**} &amp; 1.00\\                \bottomrule \end{tabular}  \end{threeparttable}  \end{table}  \end{document}  my output:  Desired Table :
50246
Equation's symbols or parameters description are shown below, however, the = and the details of parameter are not aligned.     I want to make a parameters list for a equation like this, in which symbols, = and detail information are aligned in terms of vertical position.  where    ...    P   =   notional permeability factor    N   =   number of waves    Sd  =   damage level    ...   A tabular environment will produce more spacing before and after text. So how to make the = vertical aligned?   The codes is provided:  \begin{equation} \frac{H_s}{\Delta D_{n50} } = 1.0~ P^{0.13}~ \left(\frac{S_d}{N} \right)^{0.2} \xi_m^P~ \sqrt{\cot \alpha} \end{equation} where:   $H_s$ = significant wave height, equal to the average of the highest 1/3 of the waves  $\Delta$  = relative buoyant density, equal to $\rho_r / \rho_w - 1$, where     $\rho_w$ is the water density  $D_{n50}$ = nominal  diameter defined in Equation (2)  $P$ = notional permeability factor  $S_d$ = damage level   $N$ = number of waves  $\xi_m$ = breaker parameter based on mean wave period $T_m$  $\alpha$ = slope angle
40040
I'm trying to create the following table. This is the code which I wrote.   \begin{table}[!htb] \centering \caption{"table1"} \begin{tabular}{|c|c|c|c|c|c|c|c|} System &amp; \multicolumn{2}{c}{Interaction} &amp; \multicolumn{2}{c}{Commit} &amp; Ver &amp; LOC &amp; terms \\\hline \multirow{3}{c}{System1} &amp; \multicolumn{2}{c}{3272 traces} &amp; \multicolumn{2}{c}{5093 revisions} &amp; \multirow{3}{c}{3.4} &amp; \multirow{3}{c}{1700} &amp; \multirow{3}{c}{2400} \\\hline &amp; File &amp; Method &amp; File &amp; Method &amp; &amp; &amp; \\\hline &amp; 12 &amp; 13 &amp; 14 &amp; 15 &amp; &amp; &amp; \\\hline  \end{tabular} \end{table}   and this the error that Latex shows:! Missing number, treated as zero.!
68599
The following code is in the preamble of my LaTeX document:  \documentclass{llncs} \usepackage{amsmath,amssymb} \usepackage{url} \usepackage[algoruled,vlined]{algorithm2e} \usepackage{graphicx,subfigure}   \usepackage{hyperref}  \hypersetup{colorlinks=true,citecolor=blue}   \numberwithin{equation}{section} % numbering according to the section \bibliographystyle{plain}  %Choose a bibliograhpic style \begin{document}  \title{The Title} \maketitle \section{A} \label{sect:A} \subsection{a} \subsection{b} % ... \section{B} \label{sect:B} \subsection{a} \subsection{b} % ... \section{C} \label{sect:C} \subsection{a} \subsection{b} % ... \end{document}   Note that the text is organized into sections and subsection. However, after compiling the code, the Adobe PDF preview does not show the "tree" branching on the left. Instead, it just shows "The Title", and that option has no branching with the "+/-" sings. How could I achieve this?
9726
This question led to a new package:      Does anybody have a quick and easy way to typeset some relatively long MATLAB code in the appendix? I looked up a few methods, and the mcode package emerged as a possibility, but it seems to be unmaintained...  I have a ton of equations in my code, so I'd prefer a solution that avoids having to use $ to denote equations.  Also, if possible, if there's a way to keep all of MATLAB's "natural" coding colors (e.g. green for comments), that would be great...  Any idea?