I would like to change the color (bg and fg) of the remark environment in a Beamer document. I have setup my document using:  \usetheme{AnnArbor} \usecolortheme{crane}   I read in some other question that I should use something like:  \setbeamercolor{theorem text}{fg=black}   or something like  \setbeamercolor{block title example}{bg=orange,fg=white}   I have tried both, using remark or rem instead of theorem or example to no avail. I have to make it clear that I don't want to create a new environment, as I use Lyx and I need to stick to the default "remark" environment, only modified through the preamble.  UPDATE  I have checked that Lyx adds the following definitions to the preamble:  \theoremstyle{definition}      \newtheorem*{defn*}{\protect\definitionname}   \theoremstyle{remark}   \newtheorem*{rem*}{\protect\remarkname}   \theoremstyle{definition}   \newtheorem*{example*}{\protect\examplename}   \theoremstyle{plain}   \newtheorem*{fact*}{\protect\factname}   \theoremstyle{definition}   \newtheorem*{problem*}{\protect\problemname}   \theoremstyle{definition}   \newtheorem*{xca*}{\protect\exercisename}   Is this a Lyx related question instead of a Beamer one?
Hello I'm writing a beamer presentation and I would like to change the colour of the text in the theorem block from one place and it will affect my whole presentation.  Is this possible?  My example:  \documentclass{beamer}   \usetheme{Madrid}   \usecolortheme[RGB={201,20,35}]{structure}   \setbeamercolor{background canvas}{bg=black}  \setbeamercolor{normal text}{fg=white}   \setbeamercolor{theorem text}{fg=black}    %\useoutertheme{shadow}  \useinnertheme{rounded}   \usepackage[utf8]{inputenc}  \usepackage{default}   \begin{document}   \begin{frame}{Primul Slide}   Bla bla bla    Bla bla bla   \begin{theorem}  This is a theorem it is very important!!  \end{theorem}   \end{frame}   \end{document}
Combining the entries of two lists We just bought a Lenovo  (which is supposed to have the Intel 8265 for wireless). This laptop was bought in part because it is certified to run Ubuntu and as such to me at least it would make sense for things to work out of the box... but no such luck.  First, I installed Ubuntu 17.10 and after installation realised Wi-Fi was not working. I also tried Ubuntu 16.04 from a USB drive since that is the version of Ubuntu it is certified for, but no luck there either.  The wireless chip is not detected by lshw (or even lspci by the looks of it), ip link does not show a wireless interface, and the iwlwifi kernel module is not loaded at boot (I can load this myself using modprobe iwlwifi but this does not make Wi-Fi work). I think it is a combined Wi-Fi/Bluetooth chip, and Bluetooth does appear to work (or at least Bluetooth shows up in Gnome and rfkill list).  modinfo iwlwifi | grep 8265 shows me a file ending in -34 is supposedly loaded but only a file ending in -33 (and some other lower numbers) is present in /lib/firmware, if that helps).  I have also installed the Linux 4.14.9 kernel in an attempt to get things to work, but this did not resolve the issue either.  Further information  root@ThinkPad-E570:~# modinfo iwlwifi | grep 8265 firmware:       iwlwifi-8265-34.ucode root@ThinkPad-E570:~# rfkill list all 0: tpacpi_bluetooth_sw: Bluetooth     Soft blocked: no     Hard blocked: no 1: hci0: Bluetooth     Soft blocked: no     Hard blocked: no root@ThinkPad-E570:~# dmesg | grep iwl root@ThinkPad-E570:~# lspci -nnk | grep 0280 -A3 05:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. Device [10ec:c821]     Subsystem: Lenovo Device [17aa:c024]   Update  I just noticed that the laptop does not have an Intel wireless chip at all, but in fact has a Realtek one... which means that the  of the shop I bought this laptop at were not accurate... Sigh. Same problem stands, however, just with a crappier wireless chip. Getting a FILE* from a std::fstream Is there a (cross-platform) way to get a C FILE* handle from a C++ std::fstream ?  The reason I ask is because my C++ library accepts fstreams and in one particular function I'd like to use a C library that accepts a FILE*. Noun order: "He and we..." or "We and he..."? Similarly, "...him and us" or "...us and him"? It's convention and polite to always list yourself last in a list. I say "John and I went to the store" and not "I and John went to the store."  So does that mean that I should always list myself last, even in the case when the pronoun that represents me is first person, plural (i.e. "us" or "we")? In my case, I'm writing a recommendation letter about my experience on a team with "John," who is the highlight of the letter. I hit a point where I was about to write something similar to:     John and we got a lot of experience working on the project.   or     That project's experience really benefited John and us.   Clearly, he is mentally separated from the others of us who were on the team, at least in this context, so I was just wondering if there were some grammatical conventions to govern this situation. I am working on a print for my wall and I am trying to create something like this:      I have already created the letters in Illustrator and now I am adding the colors in Illustrator and then exporting everything to Photoshop and then using the liquify tool to blend the colors to create a similar effect. I also used the healing patch tool to blend in the hard edges.  Is that the right way of doing it? Or is there another way? How i recover my icloud username and password I am not talking about mirrors, just a plain window made of glass like material. Would it be possible to allow light pass only in one direction but not the other? If someone is my proxy, I am their _____? Bonus question: If I am a proxy for multiple people, what's the collective noun for that group? Unexpected Results From Clicking The Unanswered Button Prove 24 divides $u^3-u$ for all odd natural numbers $u$ At our college, a professor told us to prove by a semi-formal demonstration (without complete induction):   For every odd natural: $24\mid(u^3-u)$   He said that that example was taken from a high school book - maybe I din't get something, but I really have no idea to prove that without using complete induction.  Any idea of smart demonstration?  Thanks for your help. (Excuse my bad English.) "Its" as a Possessive Pronoun I'm trying to prove by induction that for all $a,b \in \mathbb{Z}$ and $n \in \mathbb{N}$, that $(a-b) \mid (a^n-b^n)$. The base case was trivial, so I started by assuming that $(a-b) \mid (a^n-b^n)$. But I found that: \begin{align*} (a-b)(a^{n-1}+a^{n-2}b + a^{n-3}b^2+...+b^{n-1}) &amp;= a^n-b^n. \end{align*}  Doesn't this imply that $(a-b) \mid (a^n-b^n)$ as $a^{n-1}+a^{n-2}b+\dots+b^{n-1}$ is clearly an integer? This obviously isn't a proof by induction, but is there anything wrong with taking this approach to prove this result, other than the fact that it isn't what is being asked?   Aside, I'm having trouble getting started with the proof by induction. I've tried making the above equivalence useful during the induction step, but it doesn't seem to be helpful, so any hints would be greatly appreciated! I have previously saved a copy of /var/lib/mysql/ddms directory ("ddms" is the schema name). Now I installed a new MySQL on a freshly installed Ubuntu 10.04.3 LTS by running apt-get install mysql-server, I believe version 5.1 was installed. After I copy the ddms directory under /var/lib/mysql, some of its tables work fine, these are the tables with an associated set of three files: a .frm file, a .MYD file and a .MYI file.  However, there are two tables with a different set of files: a .frm file and a .ibd file. These two tables didn't show up in the table list in phpMyAdmin. When I look at the error log, it says:  [ERROR] Cannot find or open table ddms/dictionary_item from the internal data dictionary of InnoDB though the .frm file for the table exists. Maybe you have deleted and recreated InnoDB data files but have forgotten to delete the corresponding .frm files of InnoDB tables, or you have moved .frm files to another database? or, the table contains indexes that this version of the engine doesn't support.   Please help with restoring these two tables. Thanks. Dr Math told his family to write 4 different integers from 1 to 9 on to the 4 ] Update 02/02/2019 I appreciate all the responses and help but unfortunately i must have not seen the emails stating there were responses! I am now looking into a NEST thermostat and was curious if they too, use the same connections. Lastly, looking for a quick recommendation on which WiFi Compatible therms are preferred by the memebers that respond! Thanks again your knowledge is highly appreciated! Bob  I Purchased the Honeywell WiFi Prog Thermostat to replace my Round Digital Honeywell Thermostat. I have separate Heating and Cooling (Heating is a Weil McLain Boiler for Hot water baseboard and Hot water(no tank) and Cooling is a separate unit that was added later.)  Wires:  RC Cool R Heat W Heat Y Cool G Cool   3 wires from AC unit and 2 from Heater.  If I were to go the separate transformer route to power the thermostat, where would I land the 2 wires?  C and ??? Why do we use the object instead of the subject pronoun in constructions like "stupid me"? I'm trying to find out how come we say lucky me and stupid us rather than lucky I and stupid we. My understanding is that this is not a recent invention, but a relic from the distant past where it was a dative construction. However, I don't see the reason for using any case other than the nominative in this construction to begin with.        He went surfing. → Lucky him went surfing.   I got pulled over. → Stupid me got pulled over.   They bought a house. → Thoughtless them bought a house.      This is rather intriguing. After thinking about it for a while, I couldn't come up with any other language, Germanic or otherwise, where simply introducing an adjective would dictate a change of grammatical case. This appears to be an English peculiarity. How far can it be traced back? Can anyone comment on its background? Turn off paragraph indention for a single line I was playing terraria today, and my friend came and deleted the my world.  Is there a way for me to recover my world? Can Blindsight "See" Through Walls, Floors, And Ceilings? I am currently play-testing an Awakened Mystic character in D&amp;D 5e, using the beta rules . As such, I have an ability that lets me choose between having Blindsight or Tremorsense.  BLINDSIGHT: ...[B]lindsight can perceive its surroundings without relying on sight, within a specific radius.... (Monster Manual p.8) TREMORSENSE: ...[T]remorsense can detect and pinpoint the origin of vibrations within a specific radius, provided that the [observer] and the source of the vibrations are in contact with the same ground or substance. Tremorsense can't be used to detect flying or incorporeal creatures.... (Monster Manual p.9)  I have been wondering what the difference is between these two, aside from the fact that Tremorsense requires contact with the ground and cannot detect flying or incorporeal creatures. Specifically, I want to know whether Blindsight cannot detect creatures through solid matter such as walls, floors, and ceilings, whereas Tremorsense can? Can Blindsight detect creatures on the other side of a dungeon wall, or on another floor of said dungeon? Are there monsters in 5th Edition that possess both Blindsight and Tremorsense, and if so, when and why would they use one as opposed to the other? I am aware of and appreciate  regarding Blingsight's capability to detect invisible creatures, but it doesn't exactly address my issue of whether solid matter effectively &quot;blocks&quot; Blindsight. I will gladly consider either rules-as-written or rules-as-interpreted answers. If there is a published game mechanic or a posted developer ruling I have overlooked, please include and cite them in your answer. vectorized array creation from a list of start/end indices