Generalsome concrete questions

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
ruski
Posts: 10
Joined: Tue May 12, 2009 8:55 am

some concrete questions

Post by ruski »

Dear friends,

I would like to ask you about some topics which give me problems with Latex.

1) I can't skip to the next line when I want. For example, I use "\medskip" but, frequently, the editor begins the next line at the end of the current line, not where I introduce "\medskip".

2) I don't know how to do some things with tables. For example, I would like to construct one table of four columns but without vertical lines at the first row, with one vertical line in the middle of the second row, and with the four columns separated by vertical lines at the third row. Do you know how? Is there a Latex tutorial about tables?

3) Do you know how cite tables at the document?

Thanks in advance and the best for you!
ruski

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

some concrete questions

Post by localghost »

ruski wrote:[...] 1) I can't skip to the next line when I want. For example, I use "\medskip" but, frequently, the editor begins the next line at the end of the current line, not where I introduce "\medskip". [...]
Your description of the problem is unclear. Build a minimal working example (MWE) that shows what you don't want and explain what you want to achieve.
ruski wrote:[...] 2) I don't know how to do some things with tables. For example, I would like to construct one table of four columns but without vertical lines at the first row, with one vertical line in the middle of the second row, and with the four columns separated by vertical lines at the third row. Do you know how? Is there a Latex tutorial about tables? [...]
Generally you should avoid vertical lines in tables. If you insist, try the \multicolumn command.
ruski wrote:[...] 3) Do you know how cite tables at the document? [...]
Usually there is a \label command right after the \caption. You can use the \ref command to refer to that label also for tables.


Best regards and welcome to the board
Thorsten
ruski
Posts: 10
Joined: Tue May 12, 2009 8:55 am

Re: some concrete questions

Post by ruski »

1) The MWE may be (exact LATEX code):
--------------------------------

También muchas series utilizadas en medicina, como las señales producidas en los electrocardiogramas (ECG) y en los electroencefalogramas (EEG) presentan perfiles claramente no estacionarios.
\medskip
Para abordar el problema de clasificacion en estos casos se han diseñado diversos métodos. En este estudio, se aborda en profundidad el algoritmo SLEX.
----------------------------------
I would like to obtain:

También muchas series utilizadas en medicina, como las señales producidas en los electrocardiogramas (ECG) y en los electroencefalogramas (EEG) presentan perfiles claramente no estacionarios.

Para abordar el problema de clasificación en estos casos se han diseñado diversos métodos. En este estudio, se aborda en profundidad el algoritmo SLEX.

However, I obtain

También muchas series utilizadas en medicina, como las señales producidas en los electrocardiogramas (ECG) y en los electroencefalogramas (EEG) presentan perfiles claramente no estacionarios. Para abordar el problema de clasificación en

estos casos se han diseñado diversos métodos. En este estudio, se aborda en profundidad el algoritmo SLEX.

Thank you for your help.
Best Regards,
langston
Posts: 2
Joined: Mon Jan 19, 2009 1:33 pm

some concrete questions

Post by langston »

try the \newline command instead of \medskip

e.g.:

Code: Select all

También muchas series utilizadas en medicina, como las señales producidas en los electrocardiogramas (ECG) y en los electroencefalogramas (EEG) presentan perfiles claramente no estacionarios.\\
\newline
Para abordar el problema de clasificacion en estos casos se han diseñado diversos métodos. En este estudio, se aborda en profundidad el algoritmo SLEX.
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

some concrete questions

Post by localghost »

There is simply one blank line needed to separate paragraphs.

Code: Select all

También muchas series utilizadas en medicina, como las señales producidas en los electrocardiogramas (ECG) y en los electroencefalogramas (EEG) presentan perfiles claramente no estacionarios.

\medskip
Para abordar el problema de clasificacion en estos casos se han diseñado diversos métodos. En este estudio, se aborda en profundidad el algoritmo SLEX.
Basics like this can be found in lshort.
ruski
Posts: 10
Joined: Tue May 12, 2009 8:55 am

Re: some concrete questions

Post by ruski »

Thanks a lot for your help.
You have really solved all my doubts. Except a small one. It is related with \medskip. Your solution works perfectly, except when I am at the begining of a subsection. For example with:
----------------------
\subsubsection{\textbf{Selección de la mejor base SLEX}}

\medskip
El primer paso del método consiste en la selección de la base SLEX. Cada base SLEX se compone de un conjunto de vectores SLEX localizados en tiempo y frecuencia,
----------------------
I would like to obtain:

Selección de la mejor base SLEX

El primer paso del método consiste en la selección de la base SLEX. Cada base SLEX se compone de un conjunto de vectores SLEX localizados en tiempo y frecuencia,

and I obtain:

Selección de la mejor base SLEX El primer paso del método consiste en la selección de la base SLEX. Cada base SLEX se compone de un conjunto de vectores SLEX localizados en tiempo y frecuencia,

It is the only case in which the problem persist.

Thank you again for your help.
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

some concrete questions

Post by localghost »

Right after a structuring command you don't really need the \medskip command. Formatting of headings can simply be done with sectsty or more advanced with titlesec.
Post Reply