by mark leeds
Last Updated June 30, 2020 02:23 AM - source

Hi All: I am using tikz (I'm a total newbie ) and was drawing this and it worked.

% labels

```
\foreach \y/\m/\mm in {2.5/00/05}
\draw (-2, \y) node{11:\m\,-\,11:\mm};
```

But now I just want to change it slightly so that it's a subscript in math mode.

%labels

```
\foreach \y/\m/\mm in {2.5/00/05}
\draw (-2, \y) node{DERZZZ$_{(11:\m\,-\,11:\mm)$};
```

That gives the following:

#=======================================================================================

Runaway argument? \draw (-2, \y ) node{DERZZZ$_{(11:\m ,-,11:\mm )$}; ! Paragraph ended before \[email protected] was complete. \par l.35

Maybe I'm not supposed to use node when doing this ? In fact, it's never clear to me when to use node and when to just use latex ? Thanks a lot.

- Serverfault Help
- Superuser Help
- Ubuntu Help
- Webapps Help
- Webmasters Help
- Programmers Help
- Dba Help
- Drupal Help
- Wordpress Help
- Magento Help
- Joomla Help
- Android Help
- Apple Help
- Game Help
- Gaming Help
- Blender Help
- Ux Help
- Cooking Help
- Photo Help
- Stats Help
- Math Help
- Diy Help
- Gis Help
- Tex Help
- Meta Help
- Electronics Help
- Stackoverflow Help
- Bitcoin Help
- Ethereum Help