On Thu, 8 Sep 2022, Paul A. Rubin wrote:
What is the error? All three work for me with pdflatex. For \degree, I need to load the gensymb package in the preamble and put it in ERT. For \circ and \textdegree, I just put them in math insets and LyX takes care of loading the packages. A MWE is attached (where "W" here actually does mean "working").
Paul, See attached mwe.lyx (using only amsmath and \circ. After getting a build error I recompiled and the .pdf was produced. The degree symbols in the table are present because I cut-and-pasted from the source document. The error is in the following paragraph, line 2, where we read "...15maximum..." and no degreeC. HTH, Rich
#LyX 2.3 created this file. For more info see http://www.lyx.org/ \lyxformat 544 \begin_document \begin_header \save_transient_properties true \origin unavailable \textclass scrreprt \begin_preamble \date{} %\usepackage{newpxtext} %\usepackage{newpxmath} \usepackage{mathpazo} \usepackage{graphicx,relsize} \usepackage{amsmath} \usepackage{scrlayer-scrpage} \pagestyle{scrheadings} \end_preamble \options headsepline=on, footsepline=on \use_default_options true \maintain_unincluded_children false \language english \language_package default \inputencoding utf8 \fontencoding global \font_roman "default" "default" \font_sans "default" "default" \font_typewriter "default" "default" \font_math "auto" "auto" \font_default_family default \use_non_tex_fonts false \font_sc false \font_osf false \font_sf_scale 100 100 \font_tt_scale 100 100 \use_microtype false \use_dash_ligatures true \graphics default \default_output_format pdf2 \output_sync 0 \bibtex_command biber mergedate=compact \index_command default \paperfontsize default \spacing single \use_hyperref false \papersize letterpaper \use_geometry true \use_package amsmath 1 \use_package amssymb 1 \use_package cancel 1 \use_package esint 0 \use_package mathdots 0 \use_package mathtools 1 \use_package mhchem 1 \use_package stackrel 1 \use_package stmaryrd 1 \use_package undertilde 1 \cite_engine biblatex-natbib \cite_engine_type authoryear \biblatex_bibstyle authoryear \biblatex_citestyle authoryear \use_bibtopic false \use_indices false \paperorientation portrait \suppress_date false \justification true \use_refstyle 0 \use_minted 0 \index Index \shortcut idx \color #008000 \end_index \leftmargin 2cm \topmargin 4cm \bottommargin 2cm \headsep 1.5cm \secnumdepth 2 \tocdepth 2 \paragraph_separation skip \defskip medskip \is_math_indent 0 \math_numbering_side default \quotes_style english \dynamic_quotes 0 \papercolumns 1 \papersides 2 \paperpagestyle plain \tracking_changes false \output_changes false \html_math_output 0 \html_css_as_file 0 \html_be_strict false \end_header \begin_body \begin_layout Standard The closest water temperature gauge to this project is the USGS gauge at The Dalles. ... shows water temperatures for a single week in July 2022, all of which exceed the 15 \begin_inset ERT status open \begin_layout Plain Layout \backslash circ \end_layout \end_inset C maximum ambient temperature for salmonids and bull trout. Table \begin_inset CommandInset ref LatexCommand ref reference "tab: water temps" plural "false" caps "false" noprefix "false" \end_inset is copied from Table 1 in ... and documents that lower Columbia River water temperatures can have adverse affects on ESA-listed salmonids, trout, and charr that exceed potential affects on fish from small structues adjacent to the north bank of the river. \begin_inset Float table wide false sideways false status collapsed \begin_layout Plain Layout \begin_inset Caption Standard \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "tab: water temps" \end_inset Estimates of thermal conditions known to support various life stages and biological functions of bull trout (a species extremely intolerant of warm water) and anadromous (ocean-reared) salmon. These numbers do not represent rigid thresholds, but rather represent temperatu res above which adverse effects are more likely to occur. In the interest of simplicity, important differences between various species of anadromous salmon are not reflected in this table and requirements for other salmonids are not listed. Likewise, important differences in how temperatures are expressed are not included (e.g., instantaneous maximums, daily averages, etc.). These numbers are taken from the Physiology technical summary; that summary should be consulted for more detailed discussions and for references to scientific literature that support these numbers. \end_layout \end_inset \end_layout \begin_layout Plain Layout \align center \begin_inset Tabular <lyxtabular version="3" rows="16" columns="3"> <features tabularvalignment="middle"> <column alignment="left" valignment="top"> <column alignment="center" valignment="top"> <column alignment="center" valignment="top"> <row> <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none"> \begin_inset Text \begin_layout Plain Layout Consideration \end_layout \end_inset </cell> <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none"> \begin_inset Text \begin_layout Plain Layout Anadromous salmon \end_layout \end_inset </cell> <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none"> \begin_inset Text \begin_layout Plain Layout Bull trout \end_layout \end_inset </cell> </row> <row> <cell alignment="left" valignment="top" usebox="none"> \begin_inset Text \begin_layout Plain Layout Temperature of common summer habitat use \end_layout \end_inset </cell> <cell alignment="center" valignment="top" usebox="none"> \begin_inset Text \begin_layout Plain Layout 10-17°C \end_layout \end_inset </cell> <cell alignment="center" valignment="top" usebox="none"> \begin_inset Text \begin_layout Plain Layout 6-12°C \end_layout \end_inset </cell> </row> <row> <cell alignment="left" valignment="top" usebox="none"> \begin_inset Text \begin_layout Plain Layout Lethal temperatures (one week exposure) \end_layout \end_inset </cell> <cell alignment="center" valignment="top" usebox="none"> \begin_inset Text \begin_layout Plain Layout Adults: >21-22°C \end_layout \end_inset </cell> <cell alignment="center" valignment="top" usebox="none"> \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset </cell> </row> <row> <cell alignment="left" valignment="top" usebox="none"> \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset </cell> <cell alignment="center" valignment="top" usebox="none"> \begin_inset Text \begin_layout Plain Layout Juveniles: >23-24°C \end_layout \end_inset </cell> <cell alignment="center" valignment="top" usebox="none"> \begin_inset Text \begin_layout Plain Layout Juveniles: >22-23°C \end_layout \end_inset </cell> </row> <row> <cell alignment="left" valignment="top" usebox="none"> \begin_inset Text \begin_layout Plain Layout Adult migration \end_layout \end_inset </cell> <cell alignment="center" valignment="top" usebox="none"> \begin_inset Text \begin_layout Plain Layout Blocked: >21-22°C \end_layout \end_inset </cell> <cell alignment="center" valignment="top" usebox="none"> \begin_inset Text \begin_layout Plain Layout Cued: 10-13°C \end_layout \end_inset </cell> </row> <row> <cell alignment="left" valignment="top" usebox="none"> \begin_inset Text \begin_layout Plain Layout Swimming speed \end_layout \end_inset </cell> <cell alignment="center" valignment="top" usebox="none"> \begin_inset Text \begin_layout Plain Layout Reduced: >20°C \end_layout \end_inset </cell> <cell alignment="center" valignment="top" usebox="none"> \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset </cell> </row> <row> <cell alignment="left" valignment="top" usebox="none"> \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset </cell> <cell alignment="center" valignment="top" usebox="none"> \begin_inset Text \begin_layout Plain Layout Optimal: 15-19°C \end_layout \end_inset </cell> <cell alignment="center" valignment="top" usebox="none"> \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset </cell> </row> <row> <cell alignment="left" valignment="top" usebox="none"> \begin_inset Text \begin_layout Plain Layout Gamete viability during holding \end_layout \end_inset </cell> <cell alignment="center" valignment="top" usebox="none"> \begin_inset Text \begin_layout Plain Layout Reduced: >13-16°C \end_layout \end_inset </cell> <cell alignment="center" valignment="top" usebox="none"> \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset </cell> </row> <row> <cell alignment="left" valignment="top" usebox="none"> \begin_inset Text \begin_layout Plain Layout Disease rates \end_layout \end_inset </cell> <cell alignment="center" valignment="top" usebox="none"> \begin_inset Text \begin_layout Plain Layout Severe: >18-20°C \end_layout \end_inset </cell> <cell alignment="center" valignment="top" usebox="none"> \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset </cell> </row> <row> <cell alignment="left" valignment="top" usebox="none"> \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset </cell> <cell alignment="center" valignment="top" usebox="none"> \begin_inset Text \begin_layout Plain Layout Elevated: 14-17°C \end_layout \end_inset </cell> <cell alignment="center" valignment="top" usebox="none"> \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset </cell> </row> <row> <cell alignment="left" valignment="top" usebox="none"> \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset </cell> <cell alignment="center" valignment="top" usebox="none"> \begin_inset Text \begin_layout Plain Layout Minimized: <12-13°C \end_layout \end_inset </cell> <cell alignment="center" valignment="top" usebox="none"> \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset </cell> </row> <row> <cell alignment="left" valignment="top" usebox="none"> \begin_inset Text \begin_layout Plain Layout Spawning \end_layout \end_inset </cell> <cell alignment="center" valignment="top" usebox="none"> \begin_inset Text \begin_layout Plain Layout Initiated: 7-14°C \end_layout \end_inset </cell> <cell alignment="center" valignment="top" usebox="none"> \begin_inset Text \begin_layout Plain Layout Initiated: <9°C \end_layout \end_inset </cell> </row> <row> <cell alignment="left" valignment="top" usebox="none"> \begin_inset Text \begin_layout Plain Layout Egg incubation \end_layout \end_inset </cell> <cell alignment="center" valignment="top" usebox="none"> \begin_inset Text \begin_layout Plain Layout Optimal: 6-10°C \end_layout \end_inset </cell> <cell alignment="center" valignment="top" usebox="none"> \begin_inset Text \begin_layout Plain Layout Optimal: 2-6°C \end_layout \end_inset </cell> </row> <row> <cell alignment="left" valignment="top" usebox="none"> \begin_inset Text \begin_layout Plain Layout Optimal growth \end_layout \end_inset </cell> <cell alignment="center" valignment="top" usebox="none"> \begin_inset Text \begin_layout Plain Layout Unlimited food: 13-19°C \end_layout \end_inset </cell> <cell alignment="center" valignment="top" usebox="none"> \begin_inset Text \begin_layout Plain Layout Unlimited food: 12-16°C \end_layout \end_inset </cell> </row> <row> <cell alignment="left" valignment="top" usebox="none"> \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset </cell> <cell alignment="center" valignment="top" usebox="none"> \begin_inset Text \begin_layout Plain Layout Limited food: 10-16°C \end_layout \end_inset </cell> <cell alignment="center" valignment="top" usebox="none"> \begin_inset Text \begin_layout Plain Layout Limited food: 8-12°C \end_layout \end_inset </cell> </row> <row> <cell alignment="center" valignment="top" bottomline="true" usebox="none"> \begin_inset Text \begin_layout Plain Layout Smoltification \end_layout \end_inset </cell> <cell alignment="center" valignment="top" bottomline="true" usebox="none"> \begin_inset Text \begin_layout Plain Layout Suppressed: >11-15°C \end_layout \end_inset </cell> <cell alignment="center" valignment="top" bottomline="true" usebox="none"> \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset </cell> </row> </lyxtabular> \end_inset \end_layout \end_inset \end_layout \end_body \end_document
mwe.pdf
Description: Adobe PDF document
-- lyx-users mailing list [email protected] http://lists.lyx.org/mailman/listinfo/lyx-users
