Uwe Brauer <o...@mat.ucm.es> writes:

> Now I put a doble %% in the line with the first item, leaving a space
>
> \documentclass[addpoints,12pt]{exam}
> \begin{document}
> \begin{questions}
>
> \titledquestion{Regresión}
> Se ha medido el contenido de oxígeno, $Y$, en mg/litro de un
>  lago, a una profundidad de $X$ metros, obteniéndose los
>  siguientes datos:
>  \begin{equation*}
>  \begin{tabular}{c|cccccc}
>  $X$ & 15 & 20 & 30 & 40 & 50 & 60\\
>  \hline
>  $Y$ & 6.5 & 5.6 & 5.4 & 6 & 4.6 & 1.4
>  \end{tabular}
>  \end{equation*}
>  \begin{enumerate}
>    \item Dibujar la nube de puntos.   %%
>
>    \item Calcular el coeficiente de correlación.
>  \end{enumerate}
> \end{questions}
> \end{document}
>
> Now for me running LaTeX-fill-environment kills %%
>
> Can somebody please confirm it? When I delete the empty line
> everything is fine, but the behavior seems annoying.

Hi Uwe,

I put the cursor in several places in your example above and hit `C-c
C-q C-e'.  I can't reproduce what you describe.

BTW, LaTeX has also an array environment; you could write your code like
this:

\begin{equation*}
  \begin{array}{c|cccccc}
    X & 15 & 20 & 30 & 40 & 50 & 60\\
    \hline
    Y & 6.5 & 5.6 & 5.4 & 6 & 4.6 & 1.4
  \end{array}
\end{equation*}

Best, Arash

_______________________________________________
auctex-devel mailing list
auctex-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel

Reply via email to