please smallcaps bold tex coding provided?
19288
I can't seem to have both the small caps and boldface styles on a line:  \huge\sc\bf Hello   This will generate bold text, and if the \sc is placed after, it will generate small caps text but not bolded. They seem to override each other, so is there any way to apply them both?
102175
I think I've seen a script for converting mediawiki syntax to Latex. Also, in case there are more than one solution for this, it might be nice to summarize them here.
40515
In C# is there a way to detect if a string is all caps?  Most of the strings will be short(ie under 100 characters)
100769
I want to typeset some LaTeX source code by listings. I've tried this:  \documentclass{article} \usepackage{listings} \usepackage{xcolor} \lstset{     delim = [s][\ttfamily\color{orange}]{$}{$} } \begin{document} \begin{lstlisting} \documentclass{article} \usepackage{amsmath} \begin{document} $E = mc^2$ \end{document} \end{lstlisting} \end{document}     The equation turns orange. However, the two dollar signs are also highlighted as orange. If I just want contents in the two dollar signs turns orange, what should I do?
6342
I want to write something basic like "10 $US" but sometimes it makes the text look weird. It changes the font and writes italic text. And sometimes it will insert a newline. For example in my .  How can I safely insert a dollar sign?
115650
I need to typeset some very large numbers that span a number of lines, is there a way in LaTeX to do this?
123485
I would like to use a small image in an equation, where a symbol like \alpha might otherwise be. Is there a nice way to do this?
579
I have defined my own language whose syntax is very close to the one of Pascal. I would like to type the following program for instance. Many people use the packages algorithmicx or algorithm2e to print programs, but it seems that we have to use their specific keywords of its syntax like procedure, end while.  I just want to indent spaces when needed, and bold some words when I want (sorry that I could not bold letters in the following figure). Do I have to use  texttt for each line? Also, with verbatim, I could not bold words...  Also, as the program is not large, I would need to put it on the left side of the page, and leave space for some explanasion text on its right hand side. So I  guss I need to get them all together, and use multicols.  Could anyone help?  program test                                      some text here var   i : integer;                                    ...    b : boolean; begin    i := 1;                                        ...    b := true;    while i &lt; 15 do       i := i  + 1;       b := not b                                  some text here    od end   Edit1: Following @Werner's tabbing solution, I have made the code a minipage:  \begin{minipage}[t]{0.48\linewidth}% \begin{tabbing} Werner's solution \end{tabbing} \end{minipage}\hfill \begin{minipage}[t]{0.48\linewidth} a paragraph \end{minipage}   Actually as the code shows, I want the texts to be another separated minipage on the right hand side of the code. I have then 2 questions:   is it reasonable to make 0.48\linewidth instead of 0.5\linewidth? 0.48\linewidth is a conventional choice? is it possible to make a frame around the code, and use \caption and \label to make it a reference (I prefer figures)?
27399
How can I format the code in comments?
70874
Do you know any good tools for nicely formatting messy php code? Preferably a script for Aptana/Eclipse, but a standalone tool will do too.
56458
When typesetting an article documentclass, the sections appear as bold in the table of contents, with no leading dots. I would like to change these to non-bold, and insert some leading dots. I tried the following, but it seems to be ignored. Any ideas?  % change section headers and page numbers to normal instead of bold font \renewcommand{\cftsecfont}{ \normalfont } \renewcommand{\cftsecpagefont}{% \normalfont } % use leader dots with section headers \renewcommand{\cftsecleader}{\cftdotfill{\cftdotsep}}
44815
I've been typesetting some equations, and I've found that the default behavior accents like \hat, \bar, \tilde, etc. makes a rather small and easily-missed mark. Is there some way to make the accents stand out more? In particular, is there any way to make them appear in bold (without affecting the letter they are over)?
110825
I am trying to customize  document, it's a CV template for XeTeX. What I'd like to be able to do is change the main font. I belive the section of the code I need to change is this:  %FONTS \defaultfontfeatures{Mapping=tex-text} \setmainfont[SmallCapsFont = Fontin SmallCaps]{Fontin}   I downloaded and installed Fontin just to be able to see the document in its original form before trying to customize it. It works fine.  Now I need some other fonts to try, and I can't figure out how to find out the font names I could use. I tried a few well-known names like Times and Verdana, these fonts were not found. Also tried some font names I have found in different documents and webpages, eg. Cambria, TeX Gyre Bonum, Lucida Grande, which were rejected because either they were not found or their names contained an illegal character: a space. (Which pretty much stunned me since the fontspec documentation is full of multi-word font names...)  The documentation on the fontspec package (v2.1e 2010/11/17) doesn't help me much. All it says about this is "TODO: add explanation for how to find out what the font name is."  So how do I find the names of the fonts I can use?    Edit: I'm using Ubuntu 10.10 with the latest TeXlive 2010 from tug.org.
66979
Like this:     Tried P_{30:20^{\ulcorner}}, but I want the \ulcorner to be more near to the text.
79061
In tex file:     Toks\"{o}z   It produces
96185
I am generating a bunch of TeX-tables (with Stata), in which one particular row has to be highlighted (bold). I can however only modify the first column in there, hence I want to place a command in the first cell of column to make it bold(or not)  So far I've been using this "", which does exactly what I want.  \documentclass[12pt]{standalone} \usepackage{dcolumn}     \newcolumntype{X}{&gt;{\rowstyle{\relax}}l} \newcolumntype{Y}{&gt;{\currentrowstyle}c} \newcommand{\rowstyle}[1]{\gdef\currentrowstyle{#1}} \begin{document} \begin{tabular}{XYY} normal row &amp; 1.1 &amp; 2.2\\ bold row \rowstyle{\bfseries} &amp; 1.1 &amp; 2.2\\ \end{tabular} \end{document}   Now, I decided to switch to dcolumn, which is great, but breaks the bold-workaround, as it wraps cells in mathmode. The solution David provided here () does not really work either, as it would require a \multicolumn{1}{B}{...} in every bold cell.  Simply using mathbf instead doesnt seem to do the trick. Any suggestions are greatly appreciated.
47016
I am writing some documentation for a LaTeX package, in which I am going to be including some example LaTeX code.  What is the best way to typeset that code?  I know I could just use verbatim, but it would be nice to get syntax highlighting.  I realize that this is a duplicate of , in which the consensus was to use the  package.  The problem with listings is that it seems to only have a driver for TeX, not LaTeX.  For example, when I typeset something like this:  \begin{lstlisting}[language=TeX,                    keywordstyle=\bfseries,                    identifierstyle=\itseries,                    stringstyle=\ttfamily] \begin{minipage}{\hsize}   This is a test! \end{minipage} \end{lstlisting}   it results in something like this:     \begin{minipage}{\hsize}   &nbsp;&nbsp;This is a test!   \end{center}   which is obviously messed up.  Is there a LaTeX-specific driver for listings?  If not, is there another package that does syntax highlighting for LaTeX code?