Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [default]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
2 answers
90 views

How to compact an expression in subscript vertically?

I thought LaTeX would figure out by default that it should adjust some settings for the base of the logarithm in $\log_{2\sqrt[6]x}{1994}$ but it doesn't. The root symbol is too tall and extends too ...
ByteEater's user avatar
  • 163
1 vote
0 answers
44 views

Can I change the default settings for \begin{figure}? [duplicate]

When I type \begin{figure}, it is automatically filled to the following: \begin{figure} \centering \includegraphics{} \caption{Caption} \label{fig:enter-label} \end{figure} Is it ...
lewebrom's user avatar
5 votes
3 answers
426 views

How to Invoke Roman Family Font After Calling in the Baskervald Package?

It is my understanding that when one calls in the basketvald package, the Roman family default is changed to baskervald. Hence, one can call in the baskervald font with the command \rmfamily. In the ...
DDS's user avatar
  • 9,768
2 votes
2 answers
183 views

Temporarily Disabling the Main Font

In the following MWE, I have defined cabin as the default font. \documentclass[12pt]{book} \usepackage[sfdefault]{cabin} \usepackage{lipsum} \begin{document} \thispagestyle{empty} \lipsum[12] \...
DDS's user avatar
  • 9,768
2 votes
1 answer
361 views

How to set default value of \ChoiceMenu as combo using hyperref

I can't assign default values for \ChoiceMenus in combomode. Everything I find (Google), indicates that it should work this way (like it works with \TextField). \documentclass[a4paper]{scrartcl} \...
MichaMD's user avatar
  • 33
0 votes
0 answers
96 views

How to set geometry pack to standard after title page

I'm using \usepackage[a4paper]{geometry} for my whole document but want to adjust the geometry of the title page. I have seen this solution here. My problem is that I don't know what values I have to ...
principal-ideal-domain's user avatar
0 votes
0 answers
21 views

Why are the default top and bottom margins so big [duplicate]

I read a post here that asks the exact same question, but it does not have a good answer, so I will ask it here. I understand why the side margins would be big: to make it easier to read since your ...
Amarakon's user avatar
  • 165
0 votes
1 answer
77 views

Changing the Default Vertical Page Position for a group of New Chapters with Patchcmd Command

I am using the patchcmd command in the preamble to specify a vertical position default for where new (unnumbered) chapters should begin on the page: \makeatletter \patchcmd{\@makeschapterhead}{\vspace*...
DDS's user avatar
  • 9,768
0 votes
1 answer
612 views

Default value of hyperref's pdfborderstyle setting

I have a document where I want to use underlined PDF hyperlinks for the most part, but in one certain part, I need boxed PDF hyperlinks again. I know that \hypersetup{pdfborderstyle={/S/U/W 1}} causes ...
Mew's user avatar
  • 843
1 vote
1 answer
142 views

Changing default margins in template

I need to change the margins on a template for at school-report. Right now it looks like it thinks it's a book, because every other side startes its margins to far in on the paper. This is the only ...
Helena Sønderup Lauridsen's user avatar
2 votes
3 answers
87 views

Default and sporadic fonts

I am currently working on a document where I want the default font to be, as usual, Computer Modern. In particular, unless otherwise specified, this is the font that should be displayed. ...
user265131's user avatar
2 votes
1 answer
66 views

How to set font to default from within a predefined environment?

moderncv's \cventry environment defines for its 3rd argument a slanted font: \renewcommand*{\cventry}[7][.25em]{% \cvitem[#1]{#2}{% {\bfseries#3}% \ifthenelse{\equal{#4}{}}{}{, {\slshape#4}}%...
Zubo's user avatar
  • 582
0 votes
1 answer
152 views

What's the best font for printing on a LED-printer?

my impression is that text appears to be too thin, hence hard to read and appearing grey-ish, when using LaTeX. It may look reasonable when viewing a pdf, but it's worse than e.g. Word or any other ...
MS-SPO's user avatar
  • 13.9k
1 vote
0 answers
2k views

Change default color of text

Is it possible to change the default color of the text. I.e. what is usually black. I would like to have that text be a different color without having to use \textcolor everywhere
Philippe's user avatar
  • 217
2 votes
2 answers
385 views

\newtcblisting with multiple optional arguments and defaults

I have a custom environment for code like this (it is a modified version of the code here): \documentclass[12pt,a4paper]{report} \usepackage[many]{tcolorbox} \tcbuselibrary{minted,skins} \definecolor{...
Clerni's user avatar
  • 177
2 votes
0 answers
111 views

How to set the default font in a beamer sty-file? [duplicate]

I'm currently creating a beamer sty-file and want the style to change the default font. I tried the following without success: \setmainfont has no effect. For \setbeamerfont{<type>}{family=XXX} ...
user235151's user avatar
4 votes
1 answer
305 views

Revert to default math font with Koma

I'm using a Koma-based class provided by my university. For some reason however the standard Latex math font is replaced by the following: Any idea how to revert to the default one? I suspect the ...
Jacopo's user avatar
  • 43
3 votes
1 answer
379 views

Default Spacing of Figure/Table-Enviroment

I could find it on the web. Is there a default vertical Spacing of the Figure/Table-Enviroment between the text and the picture/tabular in pt? I'm looking for the red marked space in the following ...
Titanlord's user avatar
  • 541
0 votes
1 answer
1k views

Where is the color code for darkbrown defined? (RGB value)

Where can I find the color code for darkbrown, so it's corresponding RGB value? It is not defined in xcolors.
Anderson's user avatar
  • 317
21 votes
1 answer
3k views

Why is Latin Modern the default font with xelatex and lualatex?

For xelatex and lualatex the default font family is Latin Modern. The font does not cover a wide range of Unicode. Why not extend the font characters to cover other languages' script? or define a ...
Salim Bou's user avatar
  • 17.1k
0 votes
0 answers
20 views

Pass second argument as the default first argument in a newcommand [duplicate]

I'm trying to do something along these lines: \newcommand{\pcite}[2][#2]{( #1 \cite{#2} )} I.e. make it so that, if an explicit argument is used, then use it, otherwise re-use the second argument as ...
Tasos Papastylianou's user avatar
8 votes
1 answer
1k views

Where and how does fontspec.sty specify the default font (Latin Modern Roman)?

When doing \usepackage{fontspec}, where and how is the default font name specified? On my TeX Live 2019, I see this font filename on the console log of the lualatex compilation: /usr/share/texmf/...
pts's user avatar
  • 1,103
2 votes
1 answer
1k views

Changing title's color - Classic thesis template

Default color of the title is red in classic thesis template. I tried to search the word red in the file Titlepage.tex, ClassicThesis.tex and classicthesis-config.tex, but there is not. How can I ...
Gennaro Arguzzi's user avatar
3 votes
1 answer
308 views

custom color multinode shape with inherited default color

I would like to create a multinode shape doublecirc with two node parts, say text and lower, consisting of two circles with text in each. (There are obviously ways to do this more simply -- but this ...
democritus's user avatar
4 votes
1 answer
273 views

xkeyval `boolkey` setting is persistent across macro calls: scope leak?

I thought that keyval arguments to macros were supposed to be confined in their macro scope, but the following code: \documentclass{report} \usepackage{xkeyval} % Define a custom command option ...
iago-lito's user avatar
  • 1,472
4 votes
1 answer
298 views

Wanted: question mark instead of bibtex key for missing citations (biblatex)

Instead of having the citation key showing up in the document for missing references, I want to only have [?], as it is the case when using the default bibtex without biblatex. This behavior is ...
user26372's user avatar
  • 1,716
6 votes
1 answer
1k views

Reset Tikz Style

When I use the \CircleText macro within a \node in which the text width= is specified, the text width= gets applied to \CircleText. Is there a way to reset the style so that \CircleText does not ...
Peter Grill's user avatar
2 votes
2 answers
2k views

Change colour of italics font for the whole document

I would like to see the following in my latex file: once I use the \textit{...} command, I would like to see that this text does not only get the italics font, but also gets the colour blue. I want to ...
Rutger Mauritz's user avatar
1 vote
2 answers
165 views

modify default underscore behaviour/interpretation

Is there any way to modify the default in-text underscore behaviour document-wide? I'm utilising a lot of filenames, IDs and so on which often have underscores in, and LaTeX doesn't like this (...
Joe Healey's user avatar
1 vote
1 answer
106 views

How do I get rid of the default spacing at the top of the page, as I want to move all of my text up?

I want to move all of my text up, but I can't seem to control the spacing before my title. How do I proceed? My Source code: \documentclass[10pt,a4paper]{article} \usepackage[utf8]{inputenc} ...
Leorio's user avatar
  • 11
2 votes
1 answer
2k views

Why no space between operators in super and subscript

By default operator space didn't come for super and subscripts which is correct in general. Refer the below code: \documentclass{book} \begin{document} \[ a+b\sum+\int_{a+b\quad a=b} \] \end{...
MadyYuvi's user avatar
  • 13.9k