Table formatting
Dear all, I have some trouble to format the following table. I've attached just an exemplary Version as .lyx-file, since it's a quite complicated table and I don't know where to search for the reason. The table as shown in Lyx itself is as I want it to have: I have some multicolumns, multirows. After each Multicolumn, marked with Section 1, Section 2, and so on, I want to have at least a normal separation in order to distinguish better between these sections. It is shown well in Lyx, but during compilation, between the different Sections, there is no separation anymore visible, which makes the table much harder to read. Could you please help me with some hints to find out what went wrong with my table or how the format could be improved? I'm running Lyx 2.0 under OsX. thank you very much for your kind help, all the best and a nice evening! Christoph Table.lyx Description: Binary data
Table formatting
Dear all, I have some trouble to format the following table. I've attached just an exemplary Version as .lyx-file, since it's a quite complicated table and I don't know where to search for the reason. The table as shown in Lyx itself is as I want it to have: I have some multicolumns, multirows. After each Multicolumn, marked with Section 1, Section 2, and so on, I want to have at least a normal separation in order to distinguish better between these sections. It is shown well in Lyx, but during compilation, between the different Sections, there is no separation anymore visible, which makes the table much harder to read. Could you please help me with some hints to find out what went wrong with my table or how the format could be improved? I'm running Lyx 2.0 under OsX. thank you very much for your kind help, all the best and a nice evening! Christoph Table.lyx Description: Binary data
Table formatting
Dear all, I have some trouble to format the following table. I've attached just an exemplary Version as .lyx-file, since it's a quite complicated table and I don't know where to search for the reason. The table as shown in Lyx itself is as I want it to have: I have some multicolumns, multirows. After each Multicolumn, marked with Section 1, Section 2, and so on, I want to have at least a normal separation in order to distinguish better between these sections. It is shown well in Lyx, but during compilation, between the different Sections, there is no separation anymore visible, which makes the table much harder to read. Could you please help me with some hints to find out what went wrong with my table or how the format could be improved? I'm running Lyx 2.0 under OsX. thank you very much for your kind help, all the best and a nice evening! Christoph Table.lyx Description: Binary data
newcommand or command in caption of figure?
Dear all, I have a graph which i need to explain in the caption. Unfortunately I need numbers and letters with a circle around in order to explain it (which is a scanned image). Therefore, I defined a new command in the preamble of the main document \usepackage{tikz} \newcommand*\mycirc[1]{% \begin{tikzpicture}[baseline=(C.base)] \node[draw,circle,inner sep=1pt](C) {#1}; \end{tikzpicture}} and here the preview of the latex-code, I inserted the command via ERT: \begin{figure} \noindent \begin{centering} \includegraphics[scale=0.5]{\string../Pics/Chapter/1_\string.png} \par\end{centering} \caption{ diagram displaying the corrosion \mycirc{1}\label{fig:1} } \end{figure} I cannot compile it, even when I insert the command directly into the caption, like \begin{tikzpicture}[baseline=(C.base)] \node[draw,circle,inner sep=1pt](C) {1}; \end{tikzpicture} it only produces errors, while both possible ways work outside the caption in standard environment. Could anybody help me to get around that problem inside the caption environment? thanks a lot and all the best! Christoph
Re: newcommand or command in caption of figure?
Thanks a lot, rh, unfortunately I need as well circled letters, which are not included in the package afair. I will have another glimpse on it. Cheers, Christoph On Feb 3, 2011, at 3:09 PM, Richard Heck wrote: On 02/03/2011 08:37 AM, Christoph Mayer wrote: Dear all, I have a graph which i need to explain in the caption. Unfortunately I need numbers and letters with a circle around in order to explain it (which is a scanned image). Therefore, I defined a new command in the preamble of the main document \usepackage{tikz} \newcommand*\mycirc[1]{% \begin{tikzpicture}[baseline=(C.base)] \node[draw,circle,inner sep=1pt](C) {#1}; \end{tikzpicture}} and here the preview of the latex-code, I inserted the command via ERT: \begin{figure} \noindent \begin{centering} \includegraphics[scale=0.5]{\string../Pics/Chapter/1_\string.png} \par\end{centering} \caption{ diagram displaying the corrosion \mycirc{1}\label{fig:1} } \end{figure} I cannot compile it, even when I insert the command directly into the caption, like \begin{tikzpicture}[baseline=(C.base)] \node[draw,circle,inner sep=1pt](C) {1}; \end{tikzpicture} it only produces errors, while both possible ways work outside the caption in standard environment. Could anybody help me to get around that problem inside the caption environment? thanks a lot and all the best! pifont provides circled numbers. So \usepackage{pifont} and then: \ding{172} for a circled `1'. See http://willbenton.com/wb-images/pifont.pdf for the codepoints. rh
Re: newcommand or command in caption of figure?
On Feb 3, 2011, at 3:25 PM, Richard Heck wrote: On 02/03/2011 09:15 AM, Christoph Mayer wrote: Thanks a lot, rh, unfortunately I need as well circled letters, which are not included in the package afair. I will have another glimpse on it. I'm guessing that the problem here has to do with the use of tikzpix in moving arguments. Perhaps a different version of \mycirc would solve the problem, say, one that just printed the argument over a circle. I'm forgetting at the moment how to do that in a size-agnostic way. I guess by making boxes, figuring out how big they are, and then using \kern to move back just the right amount. Richard Thank you for your help, I managed it with the initial command, just a \protect\mycirc{1} was enough to make the job! P.S. Sorry for messing up the order in the answer tree here, I'm not yet used to mailing lists. Christoph On 02/03/2011 08:37 AM, Christoph Mayer wrote: Dear all, I have a graph which i need to explain in the caption. Unfortunately I need numbers and letters with a circle around in order to explain it (which is a scanned image). Therefore, I defined a new command in the preamble of the main document \usepackage{tikz} \newcommand*\mycirc[1]{% \begin{tikzpicture}[baseline=(C.base)] \node[draw,circle,inner sep=1pt](C) {#1}; \end{tikzpicture}} and here the preview of the latex-code, I inserted the command via ERT: \begin{figure} \noindent \begin{centering} \includegraphics[scale=0.5]{\string../Pics/Chapter/1_\string.png} \par\end{centering} \caption{ diagram displaying the corrosion \mycirc{1}\label{fig:1} } \end{figure} I cannot compile it, even when I insert the command directly into the caption, like \begin{tikzpicture}[baseline=(C.base)] \node[draw,circle,inner sep=1pt](C) {1}; \end{tikzpicture} it only produces errors, while both possible ways work outside the caption in standard environment. Could anybody help me to get around that problem inside the caption environment? thanks a lot and all the best! pifont provides circled numbers. So \usepackage{pifont} and then: \ding{172} for a circled `1'. See http://willbenton.com/wb-images/pifont.pdf for the codepoints. rh
newcommand or command in caption of figure?
Dear all, I have a graph which i need to explain in the caption. Unfortunately I need numbers and letters with a circle around in order to explain it (which is a scanned image). Therefore, I defined a new command in the preamble of the main document \usepackage{tikz} \newcommand*\mycirc[1]{% \begin{tikzpicture}[baseline=(C.base)] \node[draw,circle,inner sep=1pt](C) {#1}; \end{tikzpicture}} and here the preview of the latex-code, I inserted the command via ERT: \begin{figure} \noindent \begin{centering} \includegraphics[scale=0.5]{\string../Pics/Chapter/1_\string.png} \par\end{centering} \caption{ diagram displaying the corrosion \mycirc{1}\label{fig:1} } \end{figure} I cannot compile it, even when I insert the command directly into the caption, like \begin{tikzpicture}[baseline=(C.base)] \node[draw,circle,inner sep=1pt](C) {1}; \end{tikzpicture} it only produces errors, while both possible ways work outside the caption in standard environment. Could anybody help me to get around that problem inside the caption environment? thanks a lot and all the best! Christoph
Re: newcommand or command in caption of figure?
Thanks a lot, rh, unfortunately I need as well circled letters, which are not included in the package afair. I will have another glimpse on it. Cheers, Christoph On Feb 3, 2011, at 3:09 PM, Richard Heck wrote: On 02/03/2011 08:37 AM, Christoph Mayer wrote: Dear all, I have a graph which i need to explain in the caption. Unfortunately I need numbers and letters with a circle around in order to explain it (which is a scanned image). Therefore, I defined a new command in the preamble of the main document \usepackage{tikz} \newcommand*\mycirc[1]{% \begin{tikzpicture}[baseline=(C.base)] \node[draw,circle,inner sep=1pt](C) {#1}; \end{tikzpicture}} and here the preview of the latex-code, I inserted the command via ERT: \begin{figure} \noindent \begin{centering} \includegraphics[scale=0.5]{\string../Pics/Chapter/1_\string.png} \par\end{centering} \caption{ diagram displaying the corrosion \mycirc{1}\label{fig:1} } \end{figure} I cannot compile it, even when I insert the command directly into the caption, like \begin{tikzpicture}[baseline=(C.base)] \node[draw,circle,inner sep=1pt](C) {1}; \end{tikzpicture} it only produces errors, while both possible ways work outside the caption in standard environment. Could anybody help me to get around that problem inside the caption environment? thanks a lot and all the best! pifont provides circled numbers. So \usepackage{pifont} and then: \ding{172} for a circled `1'. See http://willbenton.com/wb-images/pifont.pdf for the codepoints. rh
Re: newcommand or command in caption of figure?
On Feb 3, 2011, at 3:25 PM, Richard Heck wrote: On 02/03/2011 09:15 AM, Christoph Mayer wrote: Thanks a lot, rh, unfortunately I need as well circled letters, which are not included in the package afair. I will have another glimpse on it. I'm guessing that the problem here has to do with the use of tikzpix in moving arguments. Perhaps a different version of \mycirc would solve the problem, say, one that just printed the argument over a circle. I'm forgetting at the moment how to do that in a size-agnostic way. I guess by making boxes, figuring out how big they are, and then using \kern to move back just the right amount. Richard Thank you for your help, I managed it with the initial command, just a \protect\mycirc{1} was enough to make the job! P.S. Sorry for messing up the order in the answer tree here, I'm not yet used to mailing lists. Christoph On 02/03/2011 08:37 AM, Christoph Mayer wrote: Dear all, I have a graph which i need to explain in the caption. Unfortunately I need numbers and letters with a circle around in order to explain it (which is a scanned image). Therefore, I defined a new command in the preamble of the main document \usepackage{tikz} \newcommand*\mycirc[1]{% \begin{tikzpicture}[baseline=(C.base)] \node[draw,circle,inner sep=1pt](C) {#1}; \end{tikzpicture}} and here the preview of the latex-code, I inserted the command via ERT: \begin{figure} \noindent \begin{centering} \includegraphics[scale=0.5]{\string../Pics/Chapter/1_\string.png} \par\end{centering} \caption{ diagram displaying the corrosion \mycirc{1}\label{fig:1} } \end{figure} I cannot compile it, even when I insert the command directly into the caption, like \begin{tikzpicture}[baseline=(C.base)] \node[draw,circle,inner sep=1pt](C) {1}; \end{tikzpicture} it only produces errors, while both possible ways work outside the caption in standard environment. Could anybody help me to get around that problem inside the caption environment? thanks a lot and all the best! pifont provides circled numbers. So \usepackage{pifont} and then: \ding{172} for a circled `1'. See http://willbenton.com/wb-images/pifont.pdf for the codepoints. rh
newcommand or command in caption of figure?
Dear all, I have a graph which i need to explain in the caption. Unfortunately I need numbers and letters with a circle around in order to explain it (which is a scanned image). Therefore, I defined a new command in the preamble of the main document \usepackage{tikz} \newcommand*\mycirc[1]{% \begin{tikzpicture}[baseline=(C.base)] \node[draw,circle,inner sep=1pt](C) {#1}; \end{tikzpicture}} and here the preview of the latex-code, I inserted the command via ERT: \begin{figure} \noindent \begin{centering} \includegraphics[scale=0.5]{\string"../Pics/Chapter/1_\string".png} \par\end{centering} \caption{ diagram displaying the corrosion \mycirc{1}\label{fig:1} } \end{figure} I cannot compile it, even when I insert the command directly into the caption, like \begin{tikzpicture}[baseline=(C.base)] \node[draw,circle,inner sep=1pt](C) {1}; \end{tikzpicture} it only produces errors, while both possible ways work outside the caption in standard environment. Could anybody help me to get around that problem inside the caption environment? thanks a lot and all the best! Christoph
Re: newcommand or command in caption of figure?
Thanks a lot, rh, unfortunately I need as well circled letters, which are not included in the package afair. I will have another glimpse on it. Cheers, Christoph On Feb 3, 2011, at 3:09 PM, Richard Heck wrote: > On 02/03/2011 08:37 AM, Christoph Mayer wrote: >> >> Dear all, >> >> I have a graph which i need to explain in the caption. Unfortunately I need >> numbers and letters with a circle around in order to explain it (which is a >> scanned image). Therefore, I defined a new command in the preamble of the >> main document >> >> \usepackage{tikz} >> \newcommand*\mycirc[1]{% >> \begin{tikzpicture}[baseline=(C.base)] >> \node[draw,circle,inner sep=1pt](C) {#1}; >> \end{tikzpicture}} >> >> and here the preview of the latex-code, I inserted the command via ERT: >> >> \begin{figure} >> \noindent \begin{centering} >> \includegraphics[scale=0.5]{\string"../Pics/Chapter/1_\string".png} >> \par\end{centering} >> \caption{ diagram displaying the corrosion >> \mycirc{1}\label{fig:1} } >> \end{figure} >> >> >> I cannot compile it, even when I insert the command directly into the >> caption, like >> >> \begin{tikzpicture}[baseline=(C.base)] \node[draw,circle,inner sep=1pt](C) >> {1}; \end{tikzpicture} >> >> it only produces errors, while both possible ways work outside the caption >> in standard environment. >> >> Could anybody help me to get around that problem inside the caption >> environment? >> thanks a lot and all the best! >> > pifont provides circled numbers. So \usepackage{pifont} and then: \ding{172} > for a circled `1'. See > http://willbenton.com/wb-images/pifont.pdf > for the codepoints. > > rh > >
Re: newcommand or command in caption of figure?
On Feb 3, 2011, at 3:25 PM, Richard Heck wrote: > On 02/03/2011 09:15 AM, Christoph Mayer wrote: >> >> Thanks a lot, rh, >> >> unfortunately I need as well circled letters, which are not included in the >> package afair. I will have another glimpse on it. >> > I'm guessing that the problem here has to do with the use of tikzpix in > moving arguments. Perhaps a different version of \mycirc would solve the > problem, say, one that just printed the argument over a circle. I'm > forgetting at the moment how to do that in a size-agnostic way. I guess by > making boxes, figuring out how big they are, and then using \kern to move > back just the right amount. > > Richard > Thank you for your help, I managed it with the initial command, just a \protect\mycirc{1} was enough to make the job! P.S. Sorry for messing up the order in the answer tree here, I'm not yet used to mailing lists. Christoph >> >>> On 02/03/2011 08:37 AM, Christoph Mayer wrote: >>>> >>>> Dear all, >>>> >>>> I have a graph which i need to explain in the caption. Unfortunately I >>>> need numbers and letters with a circle around in order to explain it >>>> (which is a scanned image). Therefore, I defined a new command in the >>>> preamble of the main document >>>> >>>> \usepackage{tikz} >>>> \newcommand*\mycirc[1]{% >>>> \begin{tikzpicture}[baseline=(C.base)] >>>> \node[draw,circle,inner sep=1pt](C) {#1}; >>>> \end{tikzpicture}} >>>> >>>> and here the preview of the latex-code, I inserted the command via ERT: >>>> >>>> \begin{figure} >>>> \noindent \begin{centering} >>>> \includegraphics[scale=0.5]{\string"../Pics/Chapter/1_\string".png} >>>> \par\end{centering} >>>> \caption{ diagram displaying the corrosion >>>> \mycirc{1}\label{fig:1} } >>>> \end{figure} >>>> >>>> >>>> I cannot compile it, even when I insert the command directly into the >>>> caption, like >>>> >>>> \begin{tikzpicture}[baseline=(C.base)] \node[draw,circle,inner sep=1pt](C) >>>> {1}; \end{tikzpicture} >>>> >>>> it only produces errors, while both possible ways work outside the caption >>>> in standard environment. >>>> >>>> Could anybody help me to get around that problem inside the caption >>>> environment? >>>> thanks a lot and all the best! >>>> >>> pifont provides circled numbers. So \usepackage{pifont} and then: >>> \ding{172} for a circled `1'. See >>> http://willbenton.com/wb-images/pifont.pdf >>> for the codepoints. >>> >>> rh >>> >>> >> >