More specifically, how can I set in the preamble the default options for the figure environment to [htb]? I am trying to separate content from format as much as possible and want to avoid writing \begin{figure}[htb] every time I declare a figure.
In a document I'm writing, I'm using the familiar  option for my floating tables, and I  them. I'd like to avoid repeating that every time I'm creating a table. I assume it's easy to add something in my preamble that makes sure that these two options are used every time I begin a new table environment?  \documentclass{article} \begin{document} \begin{table}[hbt] \centering \begin{tabular}{*3{l}} 1 &amp; 2 &amp; 3\\ a &amp; b &amp; c\\ \end{tabular} \end{table} \end{document}
Make window always on top? Some applications do not have the functionality like Task Manager's &quot;Always on top&quot; feature.  Is there a way around this? How to find all graph isomorphisms in FindGraphIsomorphism Is there proof that the DSA construction, also used by ECDSA, is secure assuming that discrete logarithms in the relevant group representation are difficult? GPG can't check signature What is the fastest, easiest tool or method to convert text files between character sets?  Specifically, I need to convert from UTF-8 to ISO-8859-15 and vice versa.  Everything goes: one-liners in your favorite scripting language, command-line tools or other utilities for OS, web sites, etc.  Best solutions so far:  On Linux/UNIX/OS X/cygwin:   Gnu  suggested by  is best used as a filter. It seems to be universally available. Example:  $ iconv -f UTF-8 -t ISO-8859-15 in.txt &gt; out.txt   As pointed out by , there is an . Gnu  () suggested by  will convert one or several files in-place. Example:  $ recode UTF8..ISO-8859-15 in.txt   This one uses shorter aliases:  $ recode utf8..l9 in.txt   Recode also supports surfaces which can be used to convert between different line ending types and encodings:  Convert newlines from LF (Unix) to CR-LF (DOS):  $ recode ../CR-LF in.txt   Base64 encode file:  $ recode ../Base64 in.txt   You can also combine them.  Convert a Base64 encoded UTF8 file with Unix line endings to Base64 encoded Latin 1 file with Dos line endings:  $ recode utf8/Base64..l1/CR-LF/Base64 file.txt    On Windows with  ():    PS C:\&gt; gc -en utf8 in.txt | Out-File -en ascii out.txt  (No ISO-8859-15 support though; it says that supported charsets are unicode, utf7, utf8, utf32, ascii, bigendianunicode, default, and oem.)   Edit  Do you mean iso-8859-1 support? Using "String" does this e.g. for vice versa  gc -en string in.txt | Out-File -en utf8 out.txt   Note: The possible enumeration values are "Unknown, String, Unicode, Byte, BigEndianUnicode, UTF8, UTF7, Ascii".   CsCvt -  is another great command line based conversion tool for Windows. How do I use F3 to get my coordinates when my laptop makes F3 a special key? I can't get the coordinates on my computer because it keeps changing the brightness.  I have a windows 8 Samsung, and I'm playing Minecraft version 1.6.4. Possible Duplicate:          We have some "theme colors" that are reused in our CSS sheet.  Is there a way to set a variable and then reuse it?  E.g.  .css OurColor: Blue  H1 {   color:OurColor; } Why are some of my screen-recording/capturing/sharing applications (or app features) not working in Ubuntu 17.10 (and later releases)? After upgrading to Ubuntu 17.10 I noticed some of my screencasting applications are not working, for example screencasting tools like SimpleScreenRecorder and vokoscreen. ()  Also I noticed features like screenshot from GIMP is not working properly, producing blank screenshots (). Shutter too is producing glitchy screenshots ().  Screen-sharing option on Skype is also not working ().  The issue occurs sometimes on later Ubuntu releases too.  Why is this happening and how do I fix this? Prove that formula is not tautology. Show Kripke's model proving that the following formula isn't tautology in intuitionistic logic. $ \neg ( p \wedge q ) \implies (\neg p \vee \neg q) $  Please help/hint me ;) Suppose $k$ is a field that is finitely generated as a ${\mathbb Z}$-algebra.  (That is, $k$ is a quotient of ${\mathbb Z}[X_1,\dots,X_n]$ for some $n$). Does it follow that $k$ is finite? How to make excel automatically fill a value in a cell of a sheet when another corresponding cell of another sheet is filled the same value? how to suppress "chapter" in \chapter (while keeping numbering) sys.dm_db_index_physical_stats is extremly slow I have a database that is around 4.5TB, since we have parallel inserts (to reduce daily load time) on one table (partitioned by month) the clustered index on this table tends to be heavily fragmented. When I do a select from sys.dm_db_index_physical_stats (Limited) on this table it takes ages (> 4-5 hours). Is there a faster and better way to check the fragmentation levels on the partitions of this table, the current time this takes is completely inacceptable. Jet stream of water I would like to simulate a stream of water like the one in the picture, but I don't know how to simulate the fast-moving, white water. Should I use particles to simulate foam or is it much better to concentrate in the material properties? Thanks Unbounded continuous function on non-compact metric space Suppose $(S,d)$ is a non-compact metric space. Is it possible to construct an unbounded continuous function from $S$ to $\mathbb{R}$? If it is possible, please show the construction method :)  Here's my attempt to solve this problem: Because $S$ is not compact, we can find a neighborhood assignment function $N(x)$ so that a finite cover is not possible. Then each time we can find an uncovered point from the union of neighborhoods before, and change the function by $f(x):=max\{f(x),\text{a function which equals to the indice of this point at that point and gradually vanishes at further points from the selected point}\}$. However I'm concerned that while this function is unbounded, there may be some invalid points for this function (goes to infinity)...  EDIT: As I found out there is a duplicate question, however the elementary solution is not presented in that question, so I still wish to know about this problem. :) This might be subjective, I don't know. However, it's a serious problem for me. My electrical bill is outrageous. It's three times as large as my next-door neighbor, and four or five times the size of my neighbor's across the street. It's worse in the summer (I live in central TX), but I've had the air conditioner inspected, and while the house is right at the maximum capacity for our unit, the unit should still be able to take care of the load. That also doesn't explain why our winter bills are larger than the comparables.  What I would like to do is check the amount of current drawn by each running appliance and calculate where all my money is going. I just don't know how to go about doing this. Laptop Overheating. Is there a way to cool it? I have a laptop that's running on the following:   MSI MS-1634X motherboard AMD Turion X2 TL-66 CPU ATI Mobility Radeon HD2600   It keeps overheating, especially when I do something more CPU and GPU-intensive such as games. I've tried SpeedFan and Notebook Hardware Control and neither are able to help control my fans. I also have a Targus Chillmat for my laptop which helps cool down my laptop, but it still overheats. Are there any fan controlling programs that I could use to maybe turn up the RPMs on my fans or any other ways to cool down my laptop? My laptop runs pretty hot, maybe 80c core when being used, not even intensively. The Hard drive stays cool though, close to 35c.  Any help is appreciated. Thanks! How can I add a new user as sudoer using the command line? After I add a user using adduser, I can't see it via System > Administration > Users and Groups unless I log out and then log in again. Is that normal?  Also, can I set a newly added user as a sudoer or do I have to change that only after adding it? How can I do that via the shell?  Finally, can I delete the original user that was created upon initial installation of Ubuntu, or is this user somehow 'special'? Rename all the files within a folder with prefix “Unix_” i.e. suppose a folder has two files a.txt and b.pdf than they both should be renamed from a single command to Unix_a.txt and Unix_b.pdf "Switching" axes in 3d tikzpicture Overview  So say I want an arc between the x and z axis in the same way the following creates an arc between the x and y axis (MVCE):  \documentclass[border=5mm]{standalone} \usepackage{tikz} \begin{document}   \begin{tikzpicture}     \tikzset{       x={(0:1cm)},y={(50:0.7cm)},z={(90:1cm)}     }     \draw[-&gt;] (0,0,0) --++ (1,0,0) node[right]{$x$};     \draw[-&gt;] (0,0,0) --++ (0,1,0) node[right]{$y$};     \draw[-&gt;] (0,0,0) --++ (0,0,1) node[right]{$z$};     \draw (0,0,0) ++(0:.3) arc (0:90:.3);   \end{tikzpicture} \end{document}     One solution to this exact problem is to do scope and tell arc that the y-axis is the z-axis.      \begin{scope}       \tikzset{y=(90:1cm)}       \draw (0,0,0) ++(0:.3) arc (0:90:.3);     \end{scope}   The problem  However, I need this more generic since I don't necessarily know how the y-axis is defined, so I'm looking for a way to do, essentially this:      \begin{scope}       \switchYZAxes       \draw (0,0,0) ++(0:.3) arc (0:90:.3);     \end{scope}   or      \begin{scope}       \tikzset{y=\theZAxis}       \draw (0,0,0) ++(0:.3) arc (0:90:.3);     \end{scope}   The latter is problematic because it seems like I can't send polar coordinates to the \tikszet via a macro (which is the background for  question).  Any ideas? Thanks :)