LateX making text look like the url command [closed] - latex

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 5 years ago.
Improve this question
So I want the formatting of the url command, but not specifically to be an URL. Is that possible?

This is the formatting of the URL command:
\documentclass{article}
\usepackage{url}
\begin{document}
Regular \url{website} text.
\end{document}
To achieve the same output, use
Regular \texttt{website} text.
or
Regular {\ttfamily website} text.

It seems that you'd want to look it like a URL without attaching a URL. You can do this with: \href{run:}{text}.
Executable Example:
\documentclass{article}
\usepackage{hyperref}
\begin{document}
\href{run:}{This is my URL like text}
\end{document}
\usepackage{hyperref}
Output:

Related

Turn off numbering of sections in LaTeX [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 6 years ago.
Improve this question
I tried to turn off numbering of the sections in my LaTeX documten using \renewcommand\thesection{}.
The numbering did disappear but the title of the section is still indented.
The «Title of the section» should be at the point where the «3» used to be.
How can I do this?
It is much simpler: use the \section*{Some Text} command:
\documentstyle[12pt]{article}
\begin{document}
\section*{Some Text}
Lorum ipsum ...
\end{document}
yields

How can I capitalize the first letter while using '\cref'? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 7 years ago.
The community reviewed whether to reopen this question last month and left it closed:
Original close reason(s) were not resolved
Improve this question
I use package cleveref to refercence a figure or table in latex.
\usepackage{hyperref}
\usepackage{cleveref}
\cref{sim_figure}
The result is some like fig. 1, table I.
However, my expected result is Fig. 1 or Table I which is required by IEEEtran. How can I capitalize the first letter?
This is clearly outlines in the cleveref documentation.
You can either use \Cref, or pass the package option capitalise:
\documentclass{ieeetran}
\usepackage{hyperref}
\usepackage[capitalise]{cleveref}
\begin{document}
See \cref{fig:myfigure} or \Cref{fig:myfigure}.
\begin{figure}
\caption{Some figure}\label{fig:myfigure}
\end{figure}
\end{document}
If you wish to customize the way \Cref prints (output Fig. rather than Figure), add
\Crefname{figure}{Fig.}{Figs.}% {<type>}{<singular>}{<plural>}

LaTex: IEEEtran "\title{ title }" doesn't show [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 9 years ago.
Improve this question
I'm practicing LaTeX with IEEEtran.cls. I'm am slowly filling in the information, but I am getting stuck from the beginning.
\documentclass[12pt, journal, compsoc]{IEEEtran}
\begin{document}
\title{ This is my practice document}
\author{Yui}
\begin{abstract}
Abstract content goes here.
\end{abstract}
\end{document}
From the above simple .tex file, after compilation in the PDF, I can see the Abstract content. However, I don't see either title or author.
Any suggestions? Please and thank you.
Hawk_08 is pretty much correct, but I'll post the completed tex because you appear to have misunderstood him.
\documentclass[12pt, journal, compsoc]{IEEEtran}
\begin{document}
\title{ This is my practice document}
\author{Yui}
\maketitle
\begin{abstract}
Abstract content goes here.
\end{abstract}
\end{document}
Notice the \maketitle after the \author command
The only thing I can see you are missing is the \maketitle after further research on the IEEEtran paper I have the make title should go after the \end{abstract}. Also if you need further reference you can go here. Also I found that the pre-filled form given by IEEE were pretty good you can find them here

\begin{figure}[H] works, but \begin{figure}[htbp] doesn't [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I want to insert png files into my document.
basically, like this, it works (after invoking 'float'),
\begin{figure}[H]
\begin{center}
\includegraphics{myfigure}
\caption{short caption}{VERY LONG FIGURE LEGEND}
\label{fig:myfigure}
\end{center}
\end{figure}
but like that, it doesn't,
\begin{figure}[htbp!]
\begin{center}
\includegraphics{myfigure}
\caption{short caption}{VERY LONG FIGURE LEGEND}
\label{fig:myfigure}
\end{center}
\end{figure}
which is weird to me; obviously I invoke \usepackage{graphicx} as well since without that it wouldn't work in the first place. Any suggestions what the problem could be?
UPDATED: found the solution:
I had defined the \textsuperscript macro as in http://anthony.liekens.net/index.php/LaTeX/SubscriptAndSuperscriptInTextMode
a fix is sketched in Figures occurring after ^ and _ macros (was: LaTeX limitation?), and it seems to work for me
cheers!!
I can't test it here, but I think the combination htbp and ! is not allowed. The ! defines that LaTeX should listen to the given placement specifier and place the figure how you specify it. You say with htbp! to LaTeX something like
Place my image here, at the top, at the bottom or on a special page. And do it all!
You should choose either htbp or h!, t!, b! or p!, I think.
found the solution:
I had defined the \textsuperscript macro as in http://anthony.liekens.net/index.php/LaTeX/SubscriptAndSuperscriptInTextMode
a fix is sketched in Figures occurring after ^ and _ macros (was: LaTeX limitation?) and it seems to work for me

input a figure between title and body in twocolumn latex form [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I'm using a Latex to write a small paper using CVPR template.
I'd like to put a figure between my title+name and body(which consists with two columns) like many CVPR papers do, but I don't find the way to do that.
I tried,
\begin{figure*}
\begin{center}
\fbox{\rule{0pt}{2in} \rule{.9\linewidth}{0pt}}
\end{center}
\caption{some caption..}
\label{fig:short}
\end{figure*}
but it turned out figure-star only displays it's figure at the top of next page,
and when I just use figure like \begin{figure}[htb], it's only located one of those two columns.
Does anyone know how to put a long figure between my title+name and body context?
Thanks.
You don't mention anything about inserting a date in your title. So, why not use the date to store your image:
\documentclass[twocolumn]{article}
\usepackage{mwe}% http://ctan.org/pkg/mwe
\title{My Title}
\author{A.\ Uthor}
\date{\includegraphics[height=2in]{example-image}}
\begin{document}
\maketitle
\lipsum[1-4]
\end{document}
The mwe package provides the example image (via graphicx) and dummy text (via lipsum).

Resources