Changeset 1322 in lmdz_wrf for trunk/tools/generic_tools.py


Ignore:
Timestamp:
Nov 11, 2016, 7:25:20 PM (8 years ago)
Author:
lfita
Message:

Giving the right environment name `figure' !!!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/generic_tools.py

    r1321 r1322  
    1032010320    >>> latex_fig_array(['figs/figA.png','figs/figB.png','figs/figC.png','figs/figD.png','figs/figE.png'], \
    1032110321      objf, 'figure test', 'fig:test', dist='2x3', width='None', height='auto', dorest='center')
    10322     \begin{table}
     10322    \begin{figure}
    1032310323    \begin{center}
    1032410324    \begin{tabular}{cc}
     
    1033810338    \caption{figure test}
    1033910339    \label{fig:test}
    10340     \end{table}
     10340    \end{figure}
    1034110341    """
    1034210342    fname = 'latex_fig_array'
     
    1039010390   
    1039110391    obf.write('\n')
    10392     obf.write('\\begin{table}\n')
     10392    obf.write('\\begin{figure}\n')
    1039310393    obf.write('\\begin{center}\n')
    1039410394
     
    1044710447    obf.write('\\caption{' + figcaption + '}\n')
    1044810448    obf.write('\\label{' + figlabel + '}\n')
    10449     obf.write('\\end{table}\n')
     10449    obf.write('\\end{figure}\n')
    1045010450    obf.write('\n')
    1045110451
Note: See TracChangeset for help on using the changeset viewer.